/* ==========================================================
   YSTOK – stil
   Paleta: krema, breskva, šljiva, mentol (sjaj), jantar (logo)
   ========================================================== */
:root {
  --cream: #FBF5F0;
  --peach: #F6E9DF;
  --blush: #EFDCCF;
  --white: #FFFFFF;
  --plum: #3B2A45;
  --plum-light: #54405F;
  --ink: #2B2030;
  --muted: #6B5A70;
  --mint: #CFE8DC;
  --amber: #C98A4B;
  --line: rgba(59, 42, 69, .14);

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 26px;
  --shadow: 0 1px 2px rgba(59,42,69,.04), 0 20px 44px -26px rgba(59,42,69,.28);
  --ease: cubic-bezier(.22,.7,.2,1);
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.08; margin: 0; color: var(--ink); letter-spacing: -.005em; }
em { font-style: italic; font-weight: 400; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 760px; }
.center { text-align: center; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--plum); color: var(--cream); padding: 10px 16px; border-radius: 12px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

section { padding-block: clamp(72px, 10vw, 128px); }
.section-head { margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2 { font-size: clamp(36px, 5vw, 58px); }
.caps {
  margin: 14px 0 0;
  font-size: 11.5px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--muted);
}

/* ---------- gumbi ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 7px 7px 7px 22px;
  background: var(--plum); color: var(--cream);
  border: 0; border-radius: 999px; cursor: pointer;
  font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap;
  transition: background .3s, transform .3s var(--ease);
}
.btn:hover { background: var(--plum-light); transform: translateY(-1px); }
.btn-arrow {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  background: var(--cream) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8h10M9 4l4 4-4 4' fill='none' stroke='%233B2A45' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .4s var(--ease);
}
.btn:hover .btn-arrow { transform: translateX(3px); }
.btn-sm { padding: 5px 5px 5px 18px; font-size: 13px; gap: 12px; }
.btn-sm .btn-arrow { width: 30px; height: 30px; background-size: 12px; }
.btn-light { background: var(--cream); color: var(--plum); }
.btn-light:hover { background: var(--white); }
.btn-light .btn-arrow { background-color: var(--plum); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8h10M9 4l4 4-4 4' fill='none' stroke='%23FBF5F0' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* ---------- luk (arch) okvir ---------- */
.arch { margin: 0; overflow: hidden; border-radius: 999px 999px 0 0; background: var(--blush); }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch-sm { width: 116px; height: 152px; margin: 0 auto 26px; border-radius: 999px 999px 14px 14px; }

/* ---------- otkrivanje pri skrolanju ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ==========================================================
   NAVIGACIJA
   ========================================================== */
.nav { position: fixed; top: 14px; left: 0; right: 0; z-index: 100; padding-inline: var(--gutter); pointer-events: none; }
.nav-bar {
  pointer-events: auto;
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: 66px; padding: 0 8px 0 22px;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-radius: 999px;
  box-shadow: 0 8px 28px -18px rgba(59,42,69,.45);
  transition: transform .45s var(--ease), max-width .5s var(--ease), height .5s var(--ease),
              background .4s, box-shadow .4s, padding .5s var(--ease);
}
.nav.at-top .nav-bar {
  max-width: 1280px; height: 96px; padding: 0 0 0 4px;
  background: transparent; box-shadow: none;
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
.nav-links { display: none; gap: 22px; transition: gap .5s var(--ease); }
.nav.at-top .nav-links { gap: 38px; }
.nav-links a { font-size: 14.5px; font-weight: 500; text-decoration: none; color: var(--ink); transition: font-size .4s var(--ease); }
.nav.at-top .nav-links a { font-size: 17px; }
.nav-links a:hover { color: var(--plum-light); text-decoration: underline; text-underline-offset: 6px; }
.nav-logo { grid-column: 1; justify-self: start; display: block; }
.nav-logo img { height: 58px; width: auto; transition: height .5s var(--ease); }
.nav.at-top .nav-logo img { height: 78px; }
.nav-cta { padding: 7px 7px 7px 22px; font-size: 14.5px; gap: 14px; }
.nav-cta .btn-arrow { width: 36px; height: 36px; background-size: 14px; }
.nav.at-top .nav-cta { font-size: 15.5px; padding: 8px 8px 8px 26px; }
.nav.at-top .nav-cta .btn-arrow { width: 40px; height: 40px; }
.nav-cta { display: none; }
.burger {
  grid-column: 3; justify-self: end;
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--plum); color: var(--cream); display: grid; place-items: center;
}
.burger span, .burger span::before, .burger span::after { display: block; width: 16px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease), opacity .2s; }
.burger span { position: relative; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -5px; }
.burger span::after { top: 5px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(5px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-5px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--cream);
  display: flex; flex-direction: column; justify-content: center; gap: 36px;
  padding: 100px var(--gutter) 40px;
  opacity: 0; visibility: hidden; transition: opacity .4s, visibility 0s .4s;
}
.menu.open { opacity: 1; visibility: visible; transition: opacity .4s; }
.menu nav { display: grid; gap: 4px; }
.menu nav a { font-family: var(--serif); font-size: 42px; line-height: 1.2; text-decoration: none; color: var(--ink); }
.menu .btn { align-self: flex-start; }
.menu-meta { display: grid; gap: 4px; font-size: 15px; color: var(--muted); }
.menu-meta a { text-decoration: none; }

@media (min-width: 980px) {
  .nav-links { display: flex; grid-column: 2; justify-self: center; }
  .nav-logo { grid-column: 1; justify-self: start; }
  .nav-cta { display: inline-flex; grid-column: 3; justify-self: end; }
  .burger, .menu { display: none; }
}

/* ==========================================================
   HERO – pozadinska fotografija
   ========================================================== */
.hero {
  position: relative; overflow: hidden;
  min-height: min(100svh, 860px);
  display: flex; align-items: center;
  padding-block: 130px 90px;
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(251,245,240,.78) 0%, rgba(251,245,240,.55) 30%, rgba(251,245,240,.1) 55%, rgba(251,245,240,0) 68%),
    linear-gradient(0deg, var(--cream) 0%, rgba(251,245,240,0) 22%);
}
.hero-glow {
  position: absolute; z-index: 1; left: -200px; bottom: -220px; width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(190,226,208,.7), rgba(207,232,220,0));
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; max-width: calc(1440px + 2 * var(--gutter)); }
.hero-kicker { font-family: var(--serif); font-size: clamp(22px, 2.6vw, 30px); line-height: 1.2; color: var(--ink); margin: 0; }
.hero-rule { display: block; width: 120px; height: 1px; background: var(--plum); opacity: .4; margin: 22px 0 24px; }
.hero h1 { font-size: clamp(48px, 7.4vw, 92px); line-height: 1; max-width: 9.5em; margin-bottom: 22px; }
.hero-sub { font-size: 16.5px; color: var(--ink); font-weight: 500; max-width: 44ch; margin-bottom: 32px; }

@media (max-width: 760px) {
  .hero { align-items: flex-end; min-height: 100svh; }
  .hero-bg { object-position: 40% 50%; }
  .hero::before {
    background: linear-gradient(0deg, var(--cream) 0%, rgba(251,245,240,.78) 38%, rgba(251,245,240,.2) 62%, rgba(251,245,240,0) 100%);
  }
}

/* ==========================================================
   PREPOZNAVANJE
   ========================================================== */
.caps-label {
  margin: 0 0 18px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--amber);
}
.recognize { padding-top: clamp(48px, 7vw, 96px); }
.recognize-grid { display: grid; gap: clamp(36px, 6vw, 80px); align-items: center; }
.recognize-img {
  margin: 0; width: min(100%, 440px); justify-self: center;
  aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: 999px 999px var(--radius) var(--radius);
  background: var(--blush); box-shadow: var(--shadow);
}
.recognize-img img { width: 100%; height: 100%; object-fit: cover; }
.recognize h2 { font-size: clamp(34px, 4.4vw, 52px); line-height: 1.1; margin-bottom: clamp(28px, 4vw, 40px); }
.recognize h2 em { display: block; color: var(--plum-light); }
.thoughts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.thoughts li {
  position: relative;
  padding: 18px 0 18px 30px;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2.1vw, 24px); line-height: 1.3; color: var(--ink);
}
.thoughts li::before {
  content: ""; position: absolute; left: 4px; top: 50%;
  width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%;
  background: var(--mint); box-shadow: 0 0 0 4px rgba(207,232,220,.45);
}
.recognize-note { margin: 28px 0 0; max-width: 46ch; color: var(--muted); }

@media (min-width: 900px) {
  .recognize-grid { grid-template-columns: 5fr 6fr; }
  .recognize-img { justify-self: start; }
}

/* ==========================================================
   KAKO POČINJEMO
   ========================================================== */
.begin { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--cream) 0%, #EEF5F0 45%, #EEF5F0 60%, var(--cream) 100%); }
.steps-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .32;
  -webkit-mask-image: radial-gradient(90% 85% at 50% 50%, #000 45%, transparent 100%);
          mask-image: radial-gradient(90% 85% at 50% 50%, #000 45%, transparent 100%);
}
.begin::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(45% 50% at 85% 10%, rgba(207,232,220,.7), transparent 70%),
              radial-gradient(40% 45% at 10% 90%, rgba(239,220,207,.6), transparent 70%);
}
.begin .container { position: relative; z-index: 2; }
.steps-head { text-align: center; margin-bottom: clamp(40px, 6vw, 64px); }
.begin h2 { font-size: clamp(38px, 5.6vw, 64px); }
.begin h2 em { color: var(--plum-light); }
.steps-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.steps-list li {
  padding: 28px 26px 26px; border-radius: var(--radius);
  background: rgba(255,255,255,.78); border: 1px solid rgba(255,255,255,.9);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
}
.step-num { display: block; font-family: var(--serif); font-size: 44px; line-height: 1; color: var(--amber); margin-bottom: 18px; }
.steps-list h3 { font-size: 28px; margin-bottom: 10px; }
.steps-list p { margin: 0; color: var(--muted); font-size: 15px; }
.steps-cta { display: flex; justify-content: center; margin-top: clamp(36px, 5vw, 52px); }

@media (min-width: 900px) {
  .steps-list { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .steps-list li:nth-child(2) { transform: translateY(28px); }
  .steps-list li:nth-child(2).reveal:not(.is-visible) { transform: translateY(46px); }
  .steps-cta { margin-top: 72px; }
}

/* ==========================================================
   USLUGE – bento raspored
   ========================================================== */
.services { background: linear-gradient(180deg, var(--cream) 0%, var(--peach) 30%, var(--peach) 100%);  padding-block: clamp(64px, 8vw, 104px);}
.services-head { display: grid; gap: 14px; margin-bottom: clamp(28px, 4vw, 40px); }
.services-head h2 { font-size: clamp(38px, 5.4vw, 62px); }
.services-intro { margin: 0; max-width: 46ch; color: var(--muted); font-size: 16.5px; }

.svc-grid { display: grid; gap: 18px; }
.svc {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow);
  transition: opacity .9s var(--ease), transform .6s var(--ease), box-shadow .5s var(--ease);
}
.svc:hover { transform: translateY(-4px); box-shadow: 0 1px 2px rgba(59,42,69,.05), 0 30px 60px -30px rgba(59,42,69,.4); }
.svc-body { position: relative; display: flex; flex-direction: column; padding: clamp(20px, 2.4vw, 28px); }
.svc-num {
  display: inline-grid; place-items: center; align-self: flex-start;
  min-width: 40px; height: 26px; padding: 0 10px; margin-bottom: 12px;
  border: 1px solid var(--line); border-radius: 999px;
  font-size: 12px; font-weight: 600; letter-spacing: .08em; color: var(--plum);
}
.svc h3 { font-size: clamp(28px, 2.6vw, 34px); line-height: 1.04; margin-bottom: 10px; }
.svc h3 em { color: var(--plum-light); }
.svc p { margin: 0 0 14px; color: var(--muted); font-size: 15px; max-width: 46ch; }
.svc-foot { margin-top: auto; padding-top: 4px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
.svc-meta { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--plum); }

.chips { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 6px 13px; border-radius: 999px; background: var(--peach); color: var(--plum); font-size: 13px; }
.chips b { font-family: var(--serif); font-size: 17px; font-weight: 600; margin-right: 2px; }

/* 01 – velika kartica s fotografijom preko cijele površine */
.svc-feature { min-height: 420px; display: flex; align-items: flex-end; background: var(--plum); color: var(--cream); }
.svc-bg { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.svc-feature::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(43,32,48,0) 25%, rgba(43,32,48,.55) 55%, rgba(43,32,48,.9) 100%);
}
.svc:hover .svc-bg, .svc:hover .svc-img img { transform: scale(1.04); }
.svc-feature .svc-body { width: 100%; }
.svc-feature .svc-num { border-color: rgba(251,245,240,.35); color: var(--cream); }
.svc-feature h3 { color: var(--cream); font-size: clamp(34px, 3.8vw, 46px); }
.svc-feature h3 em { color: var(--mint); }
.svc-feature p { color: rgba(251,245,240,.85); }
.svc-feature .chips { margin: 0; }
.svc-feature .chips li { background: rgba(251,245,240,.14); color: var(--cream); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }

/* 02, 03 – vodoravne kartice */
.svc-row { display: grid; }
.svc-img { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; }
.svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.svc-row .svc-body { height: 100%; }

/* 03 – tamna kartica */
.svc-dark { background: var(--plum); }
.svc-dark .svc-num { border-color: rgba(251,245,240,.3); color: var(--cream); }
.svc-dark h3 { color: var(--cream); }
.svc-dark h3 em { color: var(--mint); }
.svc-dark p { color: rgba(251,245,240,.78); }
.svc-dark .svc-meta { color: var(--mint); }

@media (min-width: 640px) {
  .svc-row { grid-template-columns: 2fr 3fr; }
  .svc-img { aspect-ratio: auto; height: 100%; min-height: 200px; }
}
@media (min-width: 960px) {
  .services-head { grid-template-columns: 1fr 1fr; align-items: end; gap: 48px; }
  .services-intro { justify-self: end; }
  .svc-grid { grid-template-columns: 1fr 1.15fr; grid-template-rows: auto auto; gap: 18px; }
  .svc-feature { grid-row: 1 / span 2; min-height: 0; }
  .svc-row { grid-template-columns: 2fr 3fr; }
}

/* ==========================================================
   NAŠ TIM
   ========================================================== */
.team { background: linear-gradient(180deg, var(--cream) 0%, var(--peach) 50%, var(--cream) 100%); }
.team .caps-label { text-align: center; }
.team-intro { max-width: 52ch; margin: 18px auto 0; color: var(--muted); }
.team-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.member {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 14px 14px 30px; text-align: center;
}
.member-photo {
  position: relative; margin: 0 0 24px; aspect-ratio: 4 / 4.6; overflow: hidden;
  border-radius: 999px 999px 18px 18px; background: var(--blush);
}
.member-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; transition: transform 1.2s var(--ease); }
.member:hover .member-photo img { transform: scale(1.04); }
.member-photo.is-empty {
  display: grid; place-items: center;
  background: radial-gradient(60% 50% at 30% 20%, rgba(207,232,220,.9), transparent 70%), var(--blush);
}
.member-photo.is-empty span { font-family: var(--serif); font-size: 64px; color: var(--plum); opacity: .35; }
.member-role { margin: 0 0 8px; font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--amber); }
.member h3 { font-size: 30px; margin-bottom: 12px; }
.member p:last-child { margin: 0 auto; max-width: 32ch; color: var(--muted); font-size: 15px; padding-inline: 10px; }

@media (min-width: 900px) {
  .team-grid { grid-template-columns: repeat(3, 1fr); gap: 26px; }
  .team-grid .member:nth-child(2) { margin-top: 40px; }
}

/* ==========================================================
   O MENI
   ========================================================== */
.about { background: var(--cream); }
.about .section-head h2 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.12; }
.about-grid { display: grid; gap: 44px; align-items: start; }
.portrait { margin: 0 auto; width: min(100%, 380px); }
.arch-lg { aspect-ratio: 3 / 3.7; box-shadow: var(--shadow); }
.arch-lg img { object-position: 50% 28%; }
.portrait figcaption { text-align: center; margin-top: 16px; }
.portrait figcaption em { display: block; font-family: var(--serif); font-size: 24px; color: var(--ink); }
.portrait figcaption span { font-size: 13px; color: var(--muted); }
.about-text .lead { font-family: var(--serif); font-size: clamp(22px, 2.4vw, 27px); line-height: 1.3; color: var(--ink); }
.about-text p { color: var(--muted); }
.about-text .accordion { margin: 30px 0 32px; }
.trust {
  list-style: none; margin: clamp(56px, 7vw, 80px) 0 0; padding: 26px 0 0;
  border-top: 1px solid var(--line);
  display: grid; gap: 18px; grid-template-columns: 1fr 1fr;
  text-align: center;
}
.trust li { font-size: 14px; font-weight: 600; color: var(--plum); }
.trust span { display: block; font-weight: 400; font-size: 12.5px; color: var(--muted); }
@media (min-width: 900px) {
  .about-grid { grid-template-columns: 380px 1fr; gap: 72px; }
  .portrait { position: sticky; top: 100px; }
  .trust { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- accordion ---------- */
.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-item h3 { font-size: inherit; margin: 0; }
.acc-btn {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 0; background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--sans); font-size: 15.5px; font-weight: 600; color: var(--ink);
}
.acc-btn::after {
  content: ""; flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5 6 7.5 9 4.5' fill='none' stroke='%233B2A45' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
  transition: transform .4s var(--ease), background-color .3s;
}
.acc-btn[aria-expanded="true"]::after { transform: rotate(180deg); background-color: var(--peach); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.acc-panel > div { overflow: hidden; }
.acc-panel p, .acc-panel ul { margin: 0 0 20px; color: var(--muted); font-size: 15px; max-width: 64ch; }
.acc-panel ul { padding-left: 18px; display: grid; gap: 6px; }
.acc-item.open .acc-panel { grid-template-rows: 1fr; }

/* ==========================================================
   KONTAKT
   ========================================================== */
.contact { position: relative; overflow: hidden; isolation: isolate; background: var(--cream); }
/* meke mrlje boje bez rubova – sekcija se stapa s pozadinom stranice */
.contact-glow {
  position: absolute; inset: -10% -20%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(38% 46% at 18% 38%, rgba(239,220,207,.85), rgba(239,220,207,0) 70%),
    radial-gradient(34% 42% at 82% 62%, rgba(207,232,220,.7), rgba(207,232,220,0) 70%),
    radial-gradient(26% 30% at 60% 15%, rgba(246,233,223,.8), rgba(246,233,223,0) 70%);
  filter: blur(10px);
}
.contact-grid { display: grid; gap: clamp(36px, 5vw, 64px); align-items: center; }
.contact-info h2 { font-size: clamp(40px, 5.4vw, 64px); margin-bottom: 18px; }
.contact-lead { max-width: 42ch; color: var(--muted); font-size: 16.5px; margin-bottom: 30px; }

.contact-list { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; max-width: 460px; }
.contact-list a, .contact-list div {
  display: flex; align-items: center; gap: 16px;
  padding: 12px 18px 12px 12px; border-radius: 20px;
  background: rgba(255,255,255,.55); border: 1px solid rgba(255,255,255,.8);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  text-decoration: none; color: var(--ink);
  font-family: var(--serif); font-size: 22px; line-height: 1.2; word-break: break-word;
  transition: background .3s, transform .4s var(--ease);
}
.contact-list a:hover { background: var(--white); transform: translateX(4px); }
.contact-list small {
  display: block; margin-bottom: 2px;
  font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}
.contact-ico {
  flex: none; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; background: var(--plum); color: var(--cream);
}
.contact-ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.contact-img { margin: 0 0 22px; max-width: 460px; aspect-ratio: 16 / 9; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); }
.contact-img img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 55%; }
.price-note { margin: 0; color: var(--muted); font-size: 14px; }

.contact-form {
  background: var(--white); border-radius: 32px;
  padding: clamp(24px, 3.4vw, 44px);
  box-shadow: 0 1px 2px rgba(59,42,69,.04), 0 40px 80px -40px rgba(59,42,69,.35);
}
.form h3 { font-size: clamp(30px, 3vw, 36px); margin-bottom: 6px; }
.form-lead { color: var(--muted); font-size: 14.5px; margin-bottom: 22px; }
.field { margin-bottom: 14px; }
.field-row { display: grid; gap: 0 14px; grid-template-columns: 1fr 1fr; }
.field label { display: block; font-size: 12.5px; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border-radius: 14px; border: 1px solid transparent;
  background: var(--cream); font-size: 16px; color: var(--ink); transition: border-color .3s, background .3s, box-shadow .3s;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5 6 7.5 9 4.5' fill='none' stroke='%233B2A45' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 12px; padding-right: 36px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--plum); background-color: var(--white); box-shadow: 0 0 0 4px rgba(207,232,220,.6); }
.field [aria-invalid="true"] { border-color: #A8423F; }
.field textarea { resize: vertical; min-height: 96px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); line-height: 1.5; margin: 4px 0 6px; }
.consent input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--plum); }
.form-error { color: #9E3532; font-size: 13.5px; min-height: 1.3em; margin: 0 0 10px; }
.form-ok { font-size: 14px; color: #2F5E49; margin: 12px 0 0; }
.contact-form .btn { width: 100%; justify-content: space-between; }

@media (min-width: 960px) {
  .contact-grid { grid-template-columns: 1fr 1.05fr; }
}

/* ==========================================================
   FAQ
   ========================================================== */
.faq-grid { display: grid; gap: 28px; }
.faq h2 { font-size: clamp(36px, 5vw, 56px); margin-bottom: 22px; }
@media (min-width: 900px) {
  .faq-grid { grid-template-columns: 1fr 1.6fr; gap: 72px; align-items: start; }
}

/* ==========================================================
   BLOG
   ========================================================== */
.blog { background: #FFFCF9; }
.faq { background: var(--peach); border-radius: clamp(28px, 5vw, 56px) clamp(28px, 5vw, 56px) 0 0; }
/* zaobljeni kutovi FAQ-a leže preko svjetlije pozadine bloga, da se ne vidi krem ispod */
.blog + .faq { position: relative; margin-top: calc(clamp(28px, 5vw, 56px) * -1); }

.blog-head { display: grid; gap: 14px; margin-bottom: clamp(28px, 4vw, 44px); }
.blog-head h2 { font-size: clamp(38px, 5vw, 58px); }
.blog-head h2 em { color: var(--plum-light); }
.blog-intro { margin: 0; max-width: 42ch; color: var(--muted); }

/* mobitel: kartice se listaju vodoravno */
.posts {
  display: grid; grid-auto-flow: column; grid-auto-columns: 80%; gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
  scroll-padding-inline: var(--gutter);
}
.posts::-webkit-scrollbar { display: none; }
.post {
  position: relative; overflow: hidden; isolation: isolate; scroll-snap-align: start;
  display: flex; align-items: flex-end; aspect-ratio: 4 / 5;
  padding: 0; border: 0; border-radius: 24px; background: var(--plum-light);
  cursor: pointer; text-align: left; color: var(--cream);
}
.post-img { position: absolute; inset: 0; z-index: -1; }
.post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.post::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(43,32,48,0) 30%, rgba(43,32,48,.55) 60%, rgba(43,32,48,.92) 100%);
}
.post:hover .post-img img { transform: scale(1.05); }
.post-body { display: flex; flex-direction: column; gap: 8px; width: 100%; padding: 22px; }
.post-tag {
  align-self: flex-start; padding: 5px 12px; border-radius: 999px;
  background: rgba(251,245,240,.16); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
}
.post-title { font-family: var(--serif); font-size: clamp(28px, 2.6vw, 34px); line-height: 1.05; color: var(--cream); }
.post-excerpt { font-size: 14.5px; line-height: 1.5; color: rgba(251,245,240,.8); }
.post-more { display: inline-flex; align-items: center; gap: 12px; margin-top: 6px; font-size: 13.5px; font-weight: 600; }
.post-more .btn-arrow { width: 34px; height: 34px; }
.post:hover .post-more .btn-arrow { transform: translateX(4px); }
.post:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }

@media (min-width: 860px) {
  .blog-head { grid-template-columns: 1fr 1fr; align-items: end; gap: 48px; }
  .blog-intro { justify-self: end; }
  .posts { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); gap: 20px; overflow: visible; margin-inline: 0; padding-inline: 0; }
  .posts .post:nth-child(2) { transform: translateY(32px); }
  .posts .post:nth-child(2).reveal:not(.is-visible) { transform: translateY(50px); }
  .blog { padding-bottom: calc(clamp(72px, 10vw, 128px) + 32px); }
}

.article {
  border: 0; padding: 0; border-radius: 26px; background: var(--cream); color: var(--ink);
  width: min(720px, calc(100% - 24px)); max-height: calc(100dvh - 32px);
  box-shadow: 0 40px 80px -30px rgba(43,32,48,.5);
}
.article::backdrop { background: rgba(43,32,48,.55); }
.article[open] { animation: rise .45s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
.article-close {
  position: sticky; top: 14px; float: right; margin: 14px 14px 0 0; z-index: 2;
  width: 42px; height: 42px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--plum); color: var(--cream); font-size: 24px; line-height: 1;
}
.article-body { padding: clamp(28px, 5vw, 52px); }
.article-body h2 { font-size: clamp(32px, 4vw, 44px); margin-bottom: 22px; padding-right: 40px; }
.article-body h3 { font-size: 25px; margin: 26px 0 8px; }
.article-body p { color: #43374a; }
.article-body .sig { font-family: var(--serif); font-style: italic; font-size: 21px; color: var(--plum); }

/* ==========================================================
   FOOTER
   ========================================================== */
.footer { background: var(--plum); color: rgba(251,245,240,.8); padding: clamp(64px, 8vw, 96px) 0 28px; font-size: 14.5px; }
.footer-brand img { height: 110px; width: auto; margin-bottom: 14px; }
.footer-brand p { margin: 0 0 20px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: rgba(251,245,240,.7); }
.footer-brand .btn { display: inline-flex; color: var(--plum); text-decoration: none; margin: 0; }
.footer-brand .btn:hover { text-decoration: none; }
.footer-cols { display: grid; gap: 36px; }
.footer-cols h3 { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: rgba(251,245,240,.6); margin-bottom: 12px; }
.footer-cols a { display: block; color: var(--cream); text-decoration: none; margin-bottom: 6px; }
.footer-cols a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-cols p { margin: 0 0 6px; }
.crisis { margin-top: 40px; padding: 18px 20px; border-radius: 18px; background: rgba(251,245,240,.07); font-size: 13.5px; }
.crisis p { margin: 0 0 4px; }
.crisis p:first-child { color: var(--cream); font-weight: 600; }
.crisis a { color: var(--cream); font-weight: 600; }
.copy { margin: 28px 0 0; text-align: center; font-size: 12.5px; color: rgba(251,245,240,.55); }
@media (min-width: 640px) { .footer-cols { grid-template-columns: repeat(2, 1fr); } }
.footer .container { max-width: max(1180px, 80vw); }
@media (min-width: 960px) {
  .footer-cols { grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 48px; align-items: start; }
  .footer-cols > div:not(.footer-brand) { padding-top: 56px; }
}

/* ---------- smanjeno kretanje ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
