/* =========================================================
   PSIHOTERAPIJA LJUBICA KRIŠTO — moderni redizajn
   Paleta izvedena iz originalne stranice:
   pijesak #EEE3CB · tamnoplava #0B203B · svijetlozelena #D0F4AB
   lila #CAC9D1 · puder #E5CFC6
   ========================================================= */

:root {
  --cream: #FBF7EE;
  --sand: #EEE3CB;
  --sand-2: #E6D7B6;
  --navy: #0B203B;
  --navy-2: #142F52;
  --navy-3: #1E4170;
  --lime: #D0F4AB;
  --lime-2: #B9E68A;
  --lilac: #CAC9D1;
  --blush: #E5CFC6;
  --ink: #18233A;
  --muted: #5E6778;
  --line: rgba(11, 32, 59, .12);
  --white: #fff;

  --f-display: "Fraunces", "Playfair Display", Georgia, serif;
  --f-body: "Manrope", "Poppins", system-ui, -apple-system, Segoe UI, sans-serif;
  --f-script: "Dancing Script", cursive;

  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 32px;
  --r-xl: 48px;

  --shadow-sm: 0 2px 10px rgba(11, 32, 59, .06);
  --shadow-md: 0 18px 40px -18px rgba(11, 32, 59, .28);
  --shadow-lg: 0 40px 80px -30px rgba(11, 32, 59, .35);

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);

  --container: 1240px;
  --header-h: 84px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}
main, .footer { overflow-x: clip; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 700; color: var(--navy); }
::selection { background: var(--lime); color: var(--navy); }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 400;
  line-height: 1.12;
  color: var(--navy);
  margin: 0 0 .5em;
  letter-spacing: -.015em;
}
h1 { font-size: clamp(2.6rem, 6.2vw, 5.4rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
h4 { font-size: 1.25rem; }
em, .italic { font-style: italic; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.container--narrow { width: min(100% - 2.5rem, 900px); margin-inline: auto; }

.section { padding: clamp(5rem, 10vw, 9rem) 0; position: relative; }
.section--tight { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section--sand { background: var(--sand); }
.section--navy { background: var(--navy); color: #DCE3EE; }
.section--navy h2, .section--navy h3, .section--navy h4 { color: var(--white); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--navy-3);
  margin-bottom: 1.2rem;
}
.eyebrow::before {
  content: "";
  width: 34px; height: 1.5px;
  background: currentColor;
  opacity: .6;
}
.section--navy .eyebrow { color: var(--lime); }

.script { font-family: var(--f-script); font-weight: 600; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.7; color: var(--ink); }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--navy);
  --fg: var(--white);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  padding: 1rem 1.7rem;
  border-radius: 999px;
  background: var(--bg);
  color: var(--fg);
  font-weight: 700;
  font-size: .86rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  overflow: hidden;
  isolation: isolate;
  border: 1.5px solid var(--bg);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), color .4s var(--ease);
  cursor: pointer;
  white-space: nowrap;
}
.btn::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--lime);
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform .55s var(--ease);
  z-index: -1;
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn:hover, .btn:focus-visible { color: var(--navy); box-shadow: var(--shadow-md); }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .5s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--ghost { --bg: transparent; --fg: var(--navy); border-color: var(--navy); }
.btn--light { --bg: var(--white); --fg: var(--navy); }
.btn--lime { --bg: var(--lime); --fg: var(--navy); }
.btn--lime::before { background: var(--white); }
.btn--sm { padding: .7rem 1.2rem; font-size: .74rem; }
.section--navy .btn--ghost { --fg: var(--white); border-color: rgba(255,255,255,.5); }

.link-arrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-weight: 700; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--navy);
  position: relative;
}
.link-arrow::after {
  content: ""; position: absolute; left: 0; bottom: -4px; height: 1.5px; width: 100%;
  background: currentColor; transform: scaleX(.25); transform-origin: left;
  transition: transform .5s var(--ease);
}
.link-arrow:hover::after { transform: scaleX(1); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .5s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-items: center;
  background: var(--sand);
  transition: opacity .7s var(--ease), visibility .7s;
}
.preloader__mark {
  width: 84px; height: 84px;
  animation: spin 2.4s linear infinite;
  filter: drop-shadow(0 8px 20px rgba(11,32,59,.18));
}
.preloader__bar {
  position: absolute; left: 50%; bottom: 18%;
  width: 140px; height: 2px; margin-left: -70px;
  background: rgba(11,32,59,.12); overflow: hidden; border-radius: 2px;
}
.preloader__bar::after {
  content: ""; position: absolute; inset: 0; background: var(--navy);
  animation: load 1.1s var(--ease-in-out) infinite;
}
body.is-loaded .preloader { opacity: 0; visibility: hidden; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes load { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }

/* ---------- Scroll progress ---------- */
.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 200;
  background: linear-gradient(90deg, var(--navy), var(--navy-3), var(--lime));
  transform-origin: 0 50%; transform: scaleX(0);
}

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: transform .6s var(--ease), background .5s var(--ease), box-shadow .5s var(--ease), height .5s var(--ease);
}
.header.is-scrolled {
  --header-h: 70px;
  background: rgba(251, 247, 238, .78);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(11,32,59,.3);
}
.header.is-hidden { transform: translateY(-100%); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }

.brand { display: flex; align-items: center; gap: .8rem; }
.brand__logo {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--sand);
  box-shadow: inset 0 0 0 1px rgba(11,32,59,.08);
  transition: transform 1.2s var(--ease);
}
.brand__logo img { width: 38px; height: auto; }
.brand:hover .brand__logo { transform: rotate(180deg); }
.brand__text { line-height: 1.1; }
.brand__name { font-family: var(--f-display); font-size: 1.45rem; color: var(--navy); letter-spacing: -.01em; }
.brand__sub { font-size: .66rem; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); font-weight: 700; }

.nav { display: flex; align-items: center; gap: .35rem; }
.nav a {
  position: relative;
  padding: .55rem 1rem;
  font-size: .92rem; font-weight: 600;
  color: var(--navy);
  border-radius: 999px;
  transition: background .4s var(--ease), color .4s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 50%; bottom: .25rem;
  width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%;
  background: var(--navy-3);
  transform: scale(0); transition: transform .45s var(--ease);
}
.nav a:hover { background: rgba(11, 32, 59, .06); }
.nav a.is-active::after { transform: scale(1); }

.header__cta { display: flex; align-items: center; gap: .8rem; }
.header__phone { display: inline-flex; }

.burger {
  display: none;
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--navy); border: 0; cursor: pointer;
  position: relative; z-index: 120;
}
.burger span {
  position: absolute; left: 15px; right: 15px; height: 2px; background: #fff; border-radius: 2px;
  transition: transform .5s var(--ease), opacity .3s, top .5s var(--ease);
}
.burger span:nth-child(1) { top: 19px; }
.burger span:nth-child(2) { top: 24px; }
.burger span:nth-child(3) { top: 29px; }
body.menu-open .burger span:nth-child(1) { top: 24px; transform: rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { top: 24px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 110;
  background: var(--navy);
  color: #fff;
  display: flex; flex-direction: column; justify-content: center;
  padding: 6rem 2rem 3rem;
  clip-path: circle(0% at calc(100% - 45px) 42px);
  transition: clip-path .9s var(--ease-in-out);
  pointer-events: none;
}
body.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 45px) 42px); pointer-events: auto; }
.mobile-menu nav { display: flex; flex-direction: column; gap: .3rem; }
.mobile-menu nav a {
  font-family: var(--f-display); font-size: clamp(2.2rem, 9vw, 3.4rem); line-height: 1.2;
  opacity: 0; transform: translateY(30px);
  transition: opacity .6s var(--ease), transform .6s var(--ease), color .3s;
}
.mobile-menu nav a:hover, .mobile-menu nav a.is-active { color: var(--lime); }
body.menu-open .mobile-menu nav a { opacity: 1; transform: none; }
body.menu-open .mobile-menu nav a:nth-child(1) { transition-delay: .25s; }
body.menu-open .mobile-menu nav a:nth-child(2) { transition-delay: .31s; }
body.menu-open .mobile-menu nav a:nth-child(3) { transition-delay: .37s; }
body.menu-open .mobile-menu nav a:nth-child(4) { transition-delay: .43s; }
body.menu-open .mobile-menu nav a:nth-child(5) { transition-delay: .49s; }
.mobile-menu__foot { margin-top: 2.5rem; display: grid; gap: .4rem; color: #C2CCDA; font-size: .95rem; opacity: 0; transition: opacity .6s .55s; }
body.menu-open .mobile-menu__foot { opacity: 1; }
body.menu-open { overflow: hidden; }
body.menu-open .header { background: transparent; box-shadow: none; backdrop-filter: none; }

/* ---------- Decorative blobs ---------- */
.blob {
  position: absolute; border-radius: 50%;
  filter: blur(60px); opacity: .65; pointer-events: none; z-index: 0;
  animation: float 16s var(--ease-in-out) infinite alternate;
}
.blob--lime { background: var(--lime); }
.blob--lilac { background: var(--lilac); animation-duration: 20s; }
.blob--blush { background: var(--blush); animation-duration: 18s; }
.blob--sand { background: var(--sand-2); }
@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -40px) scale(1.08); }
  100% { transform: translate(-20px, 20px) scale(.95); }
}

/* ---------- Social icons ---------- */
.social { display: flex; gap: .6rem; }
.social a {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1.5px solid var(--line);
  color: var(--navy);
  background: rgba(255,255,255,.4);
  transition: background .4s var(--ease), color .4s var(--ease), transform .5s var(--ease), border-color .4s;
}
.social a svg { width: 18px; height: 18px; }
.social a:hover { background: var(--navy); color: var(--lime); transform: translateY(-4px) rotate(-8deg); border-color: var(--navy); }
.section--navy .social a, .quote .social a, .footer .social a { color: #fff; border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.04); }
.section--navy .social a:hover, .quote .social a:hover, .footer .social a:hover { background: var(--lime); color: var(--navy); border-color: var(--lime); }

/* ---------- Intro (home) ---------- */
.intro__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.intro__text h2 { margin-bottom: 1.6rem; }
.intro__text h2 em { color: var(--navy-3); }
.mosaic {
  position: relative;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
}
.mosaic figure { margin: 0; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-md); background: var(--sand); }
.mosaic figure:nth-child(1) { aspect-ratio: 3/4; }
.mosaic figure:nth-child(2) { aspect-ratio: 1; margin-top: 3.5rem; }
.mosaic figure:nth-child(3) { aspect-ratio: 1; margin-top: -2.5rem; }
.mosaic figure:nth-child(4) { aspect-ratio: 3/4; margin-top: 1rem; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.mosaic figure:hover img { transform: scale(1.07); }
.mosaic .blob { width: 300px; height: 300px; left: 20%; top: 25%; z-index: -1; }

/* ---------- Profile card ---------- */
.profile {
  position: relative;
  display: grid; grid-template-columns: auto 1fr auto; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center;
  background: var(--navy);
  color: #DCE3EE;
  border-radius: var(--r-xl);
  padding: clamp(2rem, 4vw, 3.5rem);
  overflow: hidden;
  isolation: isolate;
}
.profile::before {
  content: ""; position: absolute; inset: auto -10% -60% auto; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(208,244,171,.35), transparent 65%); z-index: -1;
}
.profile__photo {
  width: clamp(120px, 14vw, 170px); aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  box-shadow: 0 0 0 6px rgba(255,255,255,.06), 0 0 0 12px rgba(208,244,171,.12);
}
.profile__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }
.profile__name { font-size: clamp(2.2rem, 4vw, 3rem); color: var(--lime); line-height: 1; margin-bottom: .6rem; display: block; }
.profile__creds { font-size: 1.02rem; color: #C9D3E1; margin: 0; }
.profile__aside { display: flex; flex-direction: column; gap: 1.2rem; align-items: flex-start; }

/* ---------- Section head ---------- */
.s-head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); flex-wrap: wrap; }
.s-head h2 { margin: 0; }
.s-head__num { font-family: var(--f-display); font-size: 1rem; color: var(--muted); }

/* ---------- Service cards (home) ---------- */
.services { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.4rem; }
.svc {
  grid-column: span 2;
  position: relative;
  min-height: 460px;
  border-radius: var(--r-lg);
  overflow: hidden;
  color: #fff;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 2rem;
  isolation: isolate;
  box-shadow: var(--shadow-md);
  transform-style: preserve-3d;
  transition: box-shadow .6s var(--ease);
}
.svc:nth-child(1), .svc:nth-child(2) { grid-column: span 3; min-height: 520px; }
.svc__img { position: absolute; inset: 0; z-index: -2; }
.svc__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.svc::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(200deg, rgba(208, 244, 171, .15) 0%, rgba(11, 32, 59, .55) 40%, rgba(11, 32, 59, .96) 100%);
  transition: opacity .6s var(--ease);
}
.svc::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(300deg, rgba(208, 244, 171, .85) 0%, rgba(11, 32, 59, .97) 70%);
  opacity: 0; transition: opacity .7s var(--ease);
}
.svc:hover::after { opacity: .92; }
.svc:hover .svc__img img { transform: scale(1.08); }
.svc:hover { box-shadow: var(--shadow-lg); }
.svc__num {
  position: absolute; top: 1.6rem; left: 2rem;
  font-family: var(--f-display); font-size: 1rem; letter-spacing: .1em;
  padding: .35rem .85rem; border: 1px solid rgba(255,255,255,.35); border-radius: 999px;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.svc__icon {
  position: absolute; top: 1.4rem; right: 1.6rem;
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center; background: var(--lime); color: var(--navy);
  transform: rotate(-45deg); transition: transform .6s var(--ease);
}
.svc:hover .svc__icon { transform: rotate(0); }
.svc__icon svg { width: 22px; height: 22px; }
.svc h3 { color: #fff; margin-bottom: .8rem; }
.svc p { color: rgba(255,255,255,.85); font-size: .98rem; line-height: 1.65; margin-bottom: 1.4rem; }
.svc .link-arrow { color: var(--lime); }
.svc__body { transform: translateY(14px); transition: transform .7s var(--ease); }
.svc:hover .svc__body { transform: none; }

/* ---------- Quote ---------- */
.quote {
  position: relative; overflow: hidden; color: #fff; text-align: center;
  padding: clamp(6rem, 13vw, 11rem) 0;
  isolation: isolate;
}
.quote__bg { position: absolute; inset: -15% 0; z-index: -2; }
.quote__bg img { width: 100%; height: 100%; object-fit: cover; }
.quote::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(300deg, rgba(208, 244, 171, .55) 0%, rgba(11, 32, 59, .93) 55%, rgba(40, 0, 102, .85) 100%);
}
.quote__mark { font-family: var(--f-display); font-size: 9rem; line-height: .5; color: var(--lime); opacity: .9; display: block; height: 3.5rem; }
.quote blockquote { margin: 0 auto; max-width: 980px; }
.quote blockquote p, .quote h2, .quote h4 {
  font-family: var(--f-display); font-weight: 300; font-style: italic;
  font-size: clamp(1.8rem, 4vw, 3.3rem); line-height: 1.25; color: #fff; margin-bottom: 1.6rem;
}
.quote cite { font-style: normal; font-weight: 700; letter-spacing: .25em; text-transform: uppercase; font-size: .8rem; color: var(--lime); }
.quote .social { justify-content: center; margin-top: 2.6rem; }

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: calc(var(--header-h) + clamp(4rem, 9vw, 7rem)) 0 clamp(4rem, 8vw, 6.5rem);
  background:
    radial-gradient(900px 500px at 90% 0%, rgba(229, 207, 198, .7), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(202, 201, 209, .55), transparent 60%),
    var(--sand);
}
.page-hero .blob--lime { width: 320px; height: 320px; right: 8%; top: 25%; opacity: .5; }
.page-hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: end; }
.page-hero h1 { margin: 0; }
.page-hero__sub { font-size: clamp(1.8rem, 3vw, 2.6rem); color: var(--navy-3); display: block; margin-top: .4rem; }
.crumbs { display: flex; gap: .6rem; align-items: center; font-size: .8rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.4rem; }
.crumbs a:hover { color: var(--navy); }
.crumbs span { opacity: .5; }
.page-hero__mark { width: clamp(110px, 14vw, 180px); opacity: .9; animation: spin 40s linear infinite; }
.page-hero__line {
  position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line);
}

/* ---------- About page ---------- */
.about-intro { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.about-card {
  position: sticky; top: 110px;
  background: var(--white); border-radius: var(--r-lg); padding: 1.2rem; box-shadow: var(--shadow-md);
}
.about-card__img { border-radius: calc(var(--r-lg) - 10px); overflow: hidden; aspect-ratio: 4/4.6; background: var(--sand); }
.about-card__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.about-card__body { padding: 1.5rem 1rem 1rem; }
.about-card__name { font-size: 2.4rem; color: var(--navy-3); line-height: 1; display: block; margin-bottom: .8rem; }
.about-card__creds { font-size: .95rem; color: var(--muted); margin-bottom: 1.2rem; }
.prose p { color: #2A344A; }
.prose a:not(.btn) {
  color: var(--navy-3); font-weight: 600;
  background: linear-gradient(var(--lime), var(--lime)) 0 100% / 100% 30% no-repeat;
  transition: background-size .4s var(--ease);
  word-break: break-word;
}
.prose a:not(.btn):hover { background-size: 100% 100%; }
.prose .big { font-size: 1.15rem; }

.timeline-block { border-left: 2px solid var(--sand-2); padding-left: 1.8rem; margin-top: 2.2rem; position: relative; }
.timeline-block::before {
  content: ""; position: absolute; left: -7px; top: .5rem; width: 12px; height: 12px; border-radius: 50%;
  background: var(--lime); box-shadow: 0 0 0 4px var(--cream);
}

/* Certificates gallery */
.gallery-wrap { position: relative; }
.gallery {
  display: flex; gap: 1.2rem; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: .5rem 0 2rem; scrollbar-width: none; cursor: grab;
}
.gallery::-webkit-scrollbar { display: none; }
.gallery.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.gallery__item {
  flex: 0 0 auto; height: 300px; scroll-snap-align: start;
  border-radius: var(--r-md); overflow: hidden; background: #fff; box-shadow: var(--shadow-md);
  padding: 10px; transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.gallery__item img { height: 100%; width: auto; aspect-ratio: var(--ar, 1.41); border-radius: 12px; pointer-events: none; user-select: none; }
.gallery__item:hover { transform: translateY(-8px) rotate(-1deg); box-shadow: var(--shadow-lg); }
.gallery-nav { display: flex; gap: .6rem; }
.gallery-nav button {
  width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--navy); background: transparent; color: var(--navy);
  cursor: pointer; display: grid; place-items: center; transition: background .4s var(--ease), color .4s;
}
.gallery-nav button:hover { background: var(--navy); color: var(--lime); }
.gallery-nav svg { width: 20px; height: 20px; }

/* Media cards */
.media-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; grid-auto-flow: dense; }
.media-card {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--r-lg); background: var(--white);
  padding: 2rem; min-height: 300px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 1.6rem;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease), color .5s;
}
.media-card__bg { position: absolute; inset: 0; z-index: -2; opacity: 0; transition: opacity .7s var(--ease), transform 1.2s var(--ease); transform: scale(1.1); }
.media-card__bg img { width: 100%; height: 100%; object-fit: cover; }
.media-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: linear-gradient(300deg, rgba(208, 244, 171, .8) 0%, rgba(11, 32, 59, .95) 65%);
  transition: opacity .7s var(--ease);
}
.media-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); color: #fff; }
.media-card:hover::before, .media-card:hover .media-card__bg { opacity: 1; transform: none; }
.media-card h3 { font-size: 1.45rem; transition: color .5s; }
.media-card:hover h3 { color: #fff; }
.media-card p { font-size: .98rem; color: var(--muted); transition: color .5s; }
.media-card:hover p { color: rgba(255,255,255,.85); }
.media-card__source {
  display: inline-flex; align-items: center; gap: .5rem; align-self: flex-start;
  font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  padding: .65rem 1.1rem; border-radius: 999px; background: var(--sand); color: var(--navy);
  transition: background .5s, color .5s;
}
.media-card:hover .media-card__source { background: var(--lime); }
.media-card__source svg { width: 14px; height: 14px; }
.media-card--wide { grid-column: span 2; }

.video {
  position: relative; aspect-ratio: 16/9; border-radius: var(--r-lg); overflow: hidden; background: var(--navy);
  box-shadow: var(--shadow-lg); cursor: pointer;
}
.video img { width: 100%; height: 100%; object-fit: cover; opacity: .8; transition: transform 1.2s var(--ease), opacity .5s; }
.video:hover img { transform: scale(1.05); opacity: .65; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__play {
  position: absolute; left: 50%; top: 50%; width: 96px; height: 96px; margin: -48px 0 0 -48px;
  border-radius: 50%; background: var(--lime); color: var(--navy); display: grid; place-items: center; border: 0; cursor: pointer;
  box-shadow: 0 0 0 0 rgba(208,244,171,.6);
  animation: pulse 2.2s infinite;
}
.video__play svg { width: 34px; height: 34px; margin-left: 5px; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(208,244,171,.6); } 70% { box-shadow: 0 0 0 28px rgba(208,244,171,0); } 100% { box-shadow: 0 0 0 0 rgba(208,244,171,0); } }

/* ---------- Services page ---------- */
.svc-nav { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2rem; }
.svc-nav a {
  padding: .6rem 1.1rem; border-radius: 999px; border: 1.5px solid var(--line); background: rgba(255,255,255,.6);
  font-size: .86rem; font-weight: 700; color: var(--navy); transition: all .4s var(--ease);
}
.svc-nav a:hover { background: var(--navy); color: var(--lime); border-color: var(--navy); }

.svc-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; scroll-margin-top: 100px; }
.svc-row + .svc-row { margin-top: clamp(5rem, 10vw, 8rem); }
.svc-row:nth-of-type(even) .svc-row__media { order: 2; }
.svc-row__media { position: relative; }
.svc-row__img { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4/4.4; box-shadow: var(--shadow-lg); background: var(--sand); }
.svc-row__img img { width: 100%; height: 115%; object-fit: cover; }
.svc-row__num {
  position: absolute; top: -2.6rem; right: -1rem; z-index: 2;
  font-family: var(--f-display); font-style: italic; font-size: clamp(5rem, 10vw, 8rem); line-height: 1;
  color: var(--lime-2); text-shadow: 0 10px 30px rgba(11,32,59,.15);
  -webkit-text-stroke: 1px rgba(11,32,59,.15);
}
.svc-row:nth-of-type(even) .svc-row__num { right: auto; left: -1rem; }
.svc-row h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
.doc-btn { margin-top: 1.6rem; }

.accordion { margin-top: 2.2rem; border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-btn {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.35rem 0; background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--f-display); font-size: 1.3rem; color: var(--navy);
  transition: color .3s, padding .5s var(--ease);
}
.acc-btn:hover { color: var(--navy-3); padding-left: .4rem; }
.acc-icon {
  flex: none; width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--line); position: relative;
  transition: background .4s var(--ease), border-color .4s, transform .6s var(--ease);
}
.acc-icon::before, .acc-icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 13px; height: 1.8px; margin: -1px 0 0 -6.5px; background: var(--navy); border-radius: 2px;
  transition: transform .5s var(--ease);
}
.acc-icon::after { transform: rotate(90deg); }
.acc-item.is-open .acc-icon { background: var(--lime); border-color: var(--lime); transform: rotate(180deg); }
.acc-item.is-open .acc-icon::after { transform: rotate(0); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.acc-item.is-open .acc-panel { grid-template-rows: 1fr; }
.acc-panel > div { overflow: hidden; }
.acc-panel__inner { padding: 0 0 1.6rem; color: #2A344A; font-size: 1rem; }
.acc-panel__inner ul { margin: .6rem 0 0; padding: 0; list-style: none; display: grid; gap: .5rem; }
.acc-panel__inner li { position: relative; padding-left: 1.8rem; }
.acc-panel__inner li::before {
  content: ""; position: absolute; left: 0; top: .62em; width: 14px; height: 8px;
  border-left: 2px solid var(--navy-3); border-bottom: 2px solid var(--navy-3); transform: rotate(-45deg) translateY(-3px);
}

.docs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.doc {
  display: grid; grid-template-columns: auto 1fr auto; gap: 1.3rem; align-items: center;
  padding: 1.5rem 1.6rem; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-md);
  transition: background .5s var(--ease), transform .5s var(--ease), border-color .5s;
}
.doc:hover { background: rgba(255,255,255,.1); transform: translateY(-4px); border-color: rgba(208,244,171,.5); }
.doc__icon { width: 56px; height: 56px; border-radius: 16px; background: var(--lime); display: grid; place-items: center; }
.doc__icon img { width: 30px; height: 30px; }
.doc h3 { font-size: 1.2rem; margin: 0 0 .2rem; color: #fff; }
.doc p { margin: 0; font-size: .9rem; color: #AEBBCF; }

.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.testi {
  position: relative; background: var(--white); border-radius: var(--r-lg); padding: 3.8rem 2rem 2rem;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: space-between; gap: 1.6rem;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.testi:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.testi::before {
  content: "\201C"; position: absolute; top: -.6rem; right: 1.4rem;
  font-family: var(--f-display); font-size: 6rem; line-height: 1; color: var(--lime-2);
}
.testi p { font-size: 1rem; color: #2A344A; font-style: italic; }
.testi__who { display: flex; align-items: center; gap: .9rem; font-weight: 800; color: var(--navy); }
.testi__avatar {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--lime), var(--lilac)); font-family: var(--f-display); font-size: 1.2rem; color: var(--navy);
}

/* ---------- News page ---------- */
.ig-head {
  display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; justify-content: space-between;
  background: var(--white); border-radius: var(--r-lg); padding: 1.4rem 1.6rem; box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  margin-bottom: 2.4rem;
}
.ig-head__who { display: flex; align-items: center; gap: 1.1rem; }
.ig-head__avatar {
  width: 68px; height: 68px; border-radius: 50%; padding: 3px;
  background: conic-gradient(from 210deg, var(--lime), var(--navy-3), var(--blush), var(--lime));
  animation: spin 8s linear infinite;
}
.ig-head__avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid #fff; animation: spin 8s linear infinite reverse; }
.ig-head h3 { margin: 0; font-family: var(--f-body); font-weight: 800; font-size: 1.1rem; }

.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.4rem; align-items: start; }
.post {
  background: var(--white); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
  cursor: pointer;
}
.post:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.post__img { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--sand); }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.post:hover .post__img img { transform: scale(1.06); }
.post__img::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(11,32,59,.45));
}
.post__date {
  position: absolute; left: 1rem; bottom: 1rem; z-index: 2;
  font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  background: rgba(255,255,255,.88); color: var(--navy); padding: .35rem .8rem; border-radius: 999px;
}
.post__body { padding: 1.5rem 1.6rem 1.6rem; }
.post__text {
  font-size: .97rem; color: #2A344A; white-space: pre-line;
  display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden;
  margin-bottom: 1.1rem;
}
.post__more { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.post__more span { font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--navy-3); }

.modal {
  position: fixed; inset: 0; z-index: 300;
  display: grid; place-items: center; padding: 1.2rem;
  background: rgba(11, 32, 59, .7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s;
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal__box {
  width: min(100%, 980px); max-height: 90vh; overflow: hidden;
  background: var(--cream); border-radius: var(--r-lg); display: grid; grid-template-columns: 1fr 1fr;
  transform: translateY(40px) scale(.97); transition: transform .6s var(--ease);
  box-shadow: var(--shadow-lg);
}
.modal.is-open .modal__box { transform: none; }
.modal__img { background: var(--sand); }
.modal__img img { width: 100%; height: 100%; object-fit: cover; max-height: 90vh; }
.modal__content { padding: 2.4rem 2rem 2rem; overflow-y: auto; max-height: 90vh; }
.modal__content p { white-space: pre-line; font-size: 1rem; color: #2A344A; }
.modal__close {
  position: absolute; top: 1.2rem; right: 1.2rem; width: 52px; height: 52px; border-radius: 50%;
  border: 0; background: var(--lime); color: var(--navy); cursor: pointer; display: grid; place-items: center; z-index: 2;
  transition: transform .5s var(--ease);
}
.modal__close:hover { transform: rotate(90deg); }
.modal__close svg { width: 22px; height: 22px; }
.lightbox .modal__box { display: block; width: auto; max-width: 92vw; background: transparent; box-shadow: none; }
.lightbox img { max-height: 86vh; max-width: 92vw; border-radius: var(--r-md); box-shadow: var(--shadow-lg); margin: auto; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.c-card {
  position: relative; overflow: hidden;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 2rem 1.6rem; box-shadow: var(--shadow-sm);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease), background .5s;
}
.c-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.c-card__icon {
  width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 1.4rem;
  background: var(--navy); color: var(--lime); transition: transform .6s var(--ease), border-radius .6s var(--ease);
}
.c-card:hover .c-card__icon { transform: rotate(-10deg) scale(1.06); border-radius: 50%; }
.c-card__icon svg { width: 26px; height: 26px; }
.c-card h3 { font-family: var(--f-body); font-weight: 800; font-size: .82rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: .6rem; }
.c-card p, .c-card a { font-size: 1.06rem; font-weight: 600; color: var(--navy); word-break: break-word; }
.c-card a:hover { color: var(--navy-3); }
.map {
  margin-top: 1.6rem; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); height: clamp(320px, 45vw, 500px);
  background: var(--sand); position: relative;
}
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.35) contrast(1.05) sepia(.12); }
.love { text-align: center; }
.love h2 { max-width: 920px; margin: 0 auto 2rem; font-style: italic; font-weight: 300; }
.love .social { justify-content: center; }

/* ---------- Footer ---------- */
.footer { background: #071729; color: #B5C0D0; padding-top: clamp(4rem, 8vw, 6.5rem); position: relative; overflow: hidden; }
.footer::before {
  content: ""; position: absolute; right: -200px; top: -200px; width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(208,244,171,.12), transparent 65%);
}
.footer__cta {
  display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap;
  padding-bottom: 3.5rem; border-bottom: 1px solid rgba(255,255,255,.1); margin-bottom: 3.5rem;
}
.footer__big { font-family: var(--f-display); font-size: clamp(2.2rem, 5vw, 4rem); color: #fff; line-height: 1.05; }
.footer__big a { display: inline-block; transition: color .4s; }
.footer__big a:hover { color: var(--lime); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; position: relative; }
.footer h4 { color: #fff; font-family: var(--f-body); font-weight: 800; font-size: .8rem; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 1.2rem; }
.footer p { margin: 0 0 .4rem; font-size: .98rem; }
.footer a:hover { color: var(--lime); }
.footer .brand__name { color: #fff; }
.footer .brand__logo { background: rgba(255,255,255,.92); }
.footer__links { display: grid; gap: .45rem; }
.footer__links a { display: inline-flex; align-items: center; gap: .5rem; transition: color .3s, transform .4s var(--ease); }
.footer__links a:hover { transform: translateX(5px); }
.footer__bottom {
  margin-top: 4rem; padding: 1.6rem 0; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .85rem; color: #8392A8;
}
.footer__bottom a { color: #C9D3E1; }

/* ---------- Floating call + back to top ---------- */
.fab {
  position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--navy); color: var(--lime); border: 0; cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0; transform: translateY(20px) scale(.8); transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.fab.is-visible { opacity: 1; transform: none; }
.fab svg.ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.fab svg.ring circle { fill: none; stroke: var(--lime); stroke-width: 2.5; stroke-dasharray: 163.4; stroke-dashoffset: 163.4; }
.fab .arrow { width: 20px; height: 20px; }
.fab-call {
  position: fixed; left: 1.4rem; bottom: 1.4rem; z-index: 90;
  opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .5s var(--ease), transform .5s var(--ease);
  display: none; align-items: center; gap: .6rem;
  padding: .85rem 1.2rem; border-radius: 999px; background: var(--lime); color: var(--navy);
  font-weight: 800; font-size: .85rem; box-shadow: var(--shadow-md);
}
.fab-call svg { width: 18px; height: 18px; }
.fab-call.is-visible { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- Cursor ---------- */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 999; pointer-events: none;
  width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%;
  border: 1.5px solid var(--navy-3);
  transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s, border-color .35s, opacity .3s;
  opacity: 0; mix-blend-mode: multiply;
}
.cursor.is-active { opacity: .7; }
.cursor.is-hover { width: 70px; height: 70px; margin: -35px 0 0 -35px; background: rgba(208,244,171,.45); border-color: transparent; }

/* ---------- Page transition ---------- */
.page-fade {
  position: fixed; inset: 0; z-index: 900; background: var(--sand); pointer-events: none;
  transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease-in-out);
}
.page-fade.is-leaving { transform: scaleY(1); pointer-events: auto; }

/* ---------- Reveal animations ---------- */
.js [data-reveal] {
  opacity: 0;
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease), clip-path 1.3s var(--ease), filter 1.1s var(--ease);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}
.js [data-reveal="up"] { transform: translateY(50px); }
.js [data-reveal="down"] { transform: translateY(-40px); }
.js [data-reveal="left"] { transform: translateX(-60px); }
.js [data-reveal="right"] { transform: translateX(60px); }
.js [data-reveal="zoom"] { transform: scale(.88); }
.js [data-reveal="blur"] { filter: blur(14px); transform: translateY(20px); }
.js [data-reveal="clip"] { clip-path: inset(100% 0 0 0 round var(--r-lg)); opacity: 1; }
.js [data-reveal="clip-x"] { clip-path: inset(0 100% 0 0); opacity: 1; }
.js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }
.js [data-reveal="clip"].is-in, .js [data-reveal="clip-x"].is-in { clip-path: inset(0 0 0 0 round 0); }

.split-word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split-word > span { display: inline-block; transform: translateY(110%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 60ms + var(--d, 0s)); }
.is-in .split-word > span, .split-word.is-in > span { transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav, .header__phone { display: none; }
  .burger { display: block; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .svc, .svc:nth-child(1), .svc:nth-child(2) { grid-column: span 1; min-height: 460px; }
  .svc:nth-child(5) { grid-column: span 2; }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .media-grid { grid-template-columns: repeat(2, 1fr); }
  .media-card--wide { grid-column: span 2; }
}
@media (max-width: 900px) {
  body { font-size: 16px; }
  .hero__grid, .intro__grid, .about-intro, .svc-row { grid-template-columns: 1fr; }
  .hero { padding-top: calc(var(--header-h) + 2rem); }
  .hero__visual { order: -1; width: min(82%, 380px); margin-top: 1rem; }
  .hero__badge { right: -10px; }
  .hero__ring { left: -30px; top: -30px; width: 120px; height: 120px; }
  .svc-row:nth-of-type(even) .svc-row__media { order: 0; }
  .profile { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .profile__aside { align-items: center; }
  .about-card { position: relative; top: 0; max-width: 520px; }
  .testimonials { grid-template-columns: 1fr; }
  .docs { grid-template-columns: 1fr; }
  .modal__box { grid-template-columns: 1fr; overflow-y: auto; }
  .modal__img img { max-height: 46vh; }
  .modal__content { max-height: none; overflow: visible; }
  .page-hero__mark { display: none; }
  .page-hero__inner { grid-template-columns: 1fr; }
  .fab-call { display: inline-flex; }
  .scroll-cue { display: none; }
}
@media (max-width: 640px) {
  :root { --header-h: 72px; }
  .services { grid-template-columns: 1fr; }
  .svc, .svc:nth-child(1), .svc:nth-child(2), .svc:nth-child(5) { grid-column: span 1; min-height: 420px; }
  .contact-grid, .footer__grid, .media-grid { grid-template-columns: 1fr; }
  .media-card--wide { grid-column: span 1; }
  .brand__sub { display: none; }
  .gallery__item { height: 230px; }
  .hero__actions .btn { width: 100%; }
  .doc { grid-template-columns: auto 1fr; }
  .doc .btn { grid-column: 1 / -1; }
}

@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; filter: none; clip-path: none; }
  .split-word > span { transform: none; }
}

/* izbornik otvoren: header iznad overlaya */
body.menu-open .header { z-index: 130; transform: none; }
body.menu-open .header .brand__name { color: #fff; }
body.menu-open .header .brand__sub { color: #C2CCDA; }
body.menu-open .burger { background: var(--lime); }
body.menu-open .burger span { background: var(--navy); }

/* =========================================================
   V2 — moderniji raspored
   ========================================================= */

/* ---------- Plutajući header (pill) ---------- */
.header { top: 14px; height: auto; pointer-events: none; }
.header .header__inner {
  pointer-events: auto;
  padding: .55rem .6rem .55rem .7rem;
  border-radius: 999px;
  background: rgba(251, 247, 238, .72);
  backdrop-filter: blur(18px) saturate(1.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: 0 0 0 1px rgba(11, 32, 59, .07), 0 12px 40px -18px rgba(11, 32, 59, .35);
  transition: box-shadow .5s var(--ease), background .5s var(--ease);
}
.header.is-scrolled { background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.header.is-scrolled .header__inner { background: rgba(251, 247, 238, .9); }
.header.is-hidden { transform: translateY(calc(-100% - 20px)); }
.header .brand__logo { width: 46px; height: 46px; }
.header .brand__logo img { width: 32px; }
.header .header__phone { padding: .8rem 1.3rem; }
body.menu-open .header .header__inner { background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }

/* ---------- Hero v2 ---------- */
.hero2 {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  min-height: 100svh;
  background:
    radial-gradient(900px 600px at 0% 100%, rgba(202, 201, 209, .45), transparent 60%),
    radial-gradient(700px 500px at 45% 0%, rgba(208, 244, 171, .28), transparent 60%),
    var(--cream);
}
.hero2__copy {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--header-h) + 4rem) clamp(1.5rem, 4vw, 4.5rem) 4rem max(1.25rem, calc((100vw - var(--container)) / 2));
}
.hero2__name { font-size: clamp(2.4rem, 4vw, 3.6rem); color: var(--navy-3); line-height: 1; margin-bottom: 1rem; }
.hero2__title {
  font-size: clamp(2.9rem, 6vw, 6.2rem);
  line-height: .98; letter-spacing: -.035em; font-weight: 400;
  margin-bottom: 2rem;
}
.hero2__title em { color: var(--navy-3); font-weight: 300; }
.hero2__creds { max-width: 540px; color: var(--muted); font-size: 1rem; line-height: 1.7; margin-bottom: 2.2rem; }
.hero2__actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero2__foot { display: flex; align-items: center; gap: 1.6rem; flex-wrap: wrap; margin-top: 2.8rem; padding-top: 1.8rem; border-top: 1px solid var(--line); max-width: 560px; }
.hero2__addr { display: inline-flex; align-items: center; gap: .5rem; font-size: .92rem; font-weight: 600; color: var(--navy); }
.hero2__addr svg { width: 18px; height: 18px; color: var(--navy-3); }

.hero2__media { position: relative; padding: 14px 14px 14px 0; }
.hero2__img {
  position: relative; height: 100%; min-height: 560px;
  border-radius: 36px 36px 36px 260px;
  overflow: hidden; background: var(--sand);
  clip-path: inset(0 0 0 100% round 36px 36px 36px 260px);
  animation: heroReveal 1.6s .35s var(--ease) forwards;
}
.hero2__img img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 22%;
  transform: scale(1.18);
  animation: heroZoom 2.6s .35s var(--ease) forwards;
}
.hero2__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,32,59,0) 55%, rgba(11,32,59,.45)); }
@keyframes heroReveal { to { clip-path: inset(0 0 0 0 round 36px 36px 36px 260px); } }
@keyframes heroZoom { to { transform: scale(1); } }

.hero2__ring {
  position: absolute; left: -74px; top: 22%; z-index: 3;
  width: 148px; height: 148px; border-radius: 50%;
  background: var(--cream);
  box-shadow: 0 20px 50px -20px rgba(11,32,59,.4);
  opacity: 0; animation: fadeIn .8s 1.4s var(--ease) forwards;
}
.hero2__ring svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 24s linear infinite; }
.hero2__ring text { font-family: var(--f-body); font-size: 9.5px; font-weight: 800; fill: var(--navy); text-transform: uppercase; }
.hero2__ring-core { position: absolute; inset: 37px; border-radius: 50%; background: var(--navy); display: grid; place-items: center; }
.hero2__ring-core img { width: 46px; filter: brightness(0) invert(1); }
@keyframes fadeIn { from { opacity: 0; transform: scale(.8); } to { opacity: 1; transform: none; } }

.hero2__card {
  position: absolute; right: 38px; bottom: 38px; z-index: 3;
  display: grid; gap: .15rem;
  padding: 1.2rem 1.4rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, .78);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-md);
  font-size: .9rem; color: var(--ink);
  opacity: 0; animation: cardIn 1s 1.6s var(--ease) forwards;
}
.hero2__card-label { font-size: .7rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: .3rem; }
.hero2__card-phone {
  display: inline-flex; align-items: center; gap: .5rem; margin-top: .7rem;
  font-weight: 800; font-size: 1.05rem; color: var(--navy);
}
.hero2__card-phone svg { width: 18px; height: 18px; padding: 6px; box-sizing: content-box; border-radius: 50%; background: var(--lime); }
@keyframes cardIn { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }

/* ---------- About v2 (naslovnica) ---------- */
.about2__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2.5rem, 7vw, 7rem); align-items: center; }
.about2__media { position: relative; border-radius: 220px 220px 32px 32px; overflow: hidden; aspect-ratio: 1 / 1.05; background: var(--sand); box-shadow: var(--shadow-lg); }
.about2__media img { width: 100%; height: 108%; object-fit: cover; }
.about2__tag {
  position: absolute; left: 50%; bottom: 1.4rem; transform: translateX(-50%);
  font-size: 2rem; color: #fff; text-shadow: 0 4px 20px rgba(0,0,0,.35);
}
.about2__h { font-size: clamp(2rem, 3.6vw, 3.1rem); margin-bottom: 1.8rem; }
.about2__h em { color: var(--navy-3); }
.fill-text { font-family: var(--f-display); font-size: clamp(1.35rem, 2.1vw, 1.85rem); line-height: 1.45; color: var(--navy); margin-bottom: 1.6rem; letter-spacing: -.01em; }
.fill-text .fw { opacity: .16; transition: opacity .25s linear; }
.fill-text .fw.on { opacity: 1; }

/* ---------- Kvalifikacije (chips) ---------- */
.creds2-wrap { padding-bottom: clamp(4rem, 8vw, 7rem); }
.creds2 {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 300px 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
  background: var(--navy); border-radius: var(--r-xl); padding: clamp(1.4rem, 3vw, 2rem);
  color: #DCE3EE;
}
.creds2::before {
  content: ""; position: absolute; right: -180px; bottom: -260px; width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle, rgba(208,244,171,.32), transparent 65%); z-index: -1;
  animation: float 14s var(--ease-in-out) infinite alternate;
}
.creds2__photo { border-radius: calc(var(--r-xl) - 14px); overflow: hidden; aspect-ratio: 1 / 1.15; }
.creds2__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; transition: transform 1.4s var(--ease); }
.creds2:hover .creds2__photo img { transform: scale(1.05); }
.creds2__body { padding: 1rem clamp(0rem, 2vw, 2rem) 1rem 0; }
.creds2__name { font-size: clamp(2.6rem, 4.5vw, 3.6rem); color: var(--lime); line-height: 1; display: block; margin-bottom: 1.6rem; }
.chips { list-style: none; margin: 0 0 2.2rem; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.chips li {
  padding: .6rem 1.05rem; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.05);
  font-size: .92rem; font-weight: 600; color: #E6ECF4;
  transition: background .4s var(--ease), color .4s, border-color .4s;
}
.chips li:hover { background: var(--lime); color: var(--navy); border-color: var(--lime); }
.creds2__actions { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.creds2 .social a { color: #fff; border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.04); }
.creds2 .social a:hover { background: var(--lime); color: var(--navy); border-color: var(--lime); }

/* ---------- Usluge: interaktivna lista ---------- */
.svc-list { border-top: 1px solid var(--line); }
.svc-item {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: 70px minmax(0, 1fr) minmax(0, 1.05fr) 64px; gap: 2rem; align-items: center;
  padding: 2.2rem 1.2rem;
  border-bottom: 1px solid var(--line);
  color: var(--navy);
  transition: color .5s var(--ease), padding .6s var(--ease);
}
.svc-item::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--navy); border-radius: 28px;
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .6s var(--ease), border-radius .6s var(--ease);
}
.svc-item:hover::before { transform: scaleY(1); }
.svc-item:hover { color: #fff; padding-left: 2rem; padding-right: 2rem; }
.svc-item__num { font-family: var(--f-display); font-style: italic; font-size: 1.3rem; color: var(--muted); transition: color .5s; }
.svc-item:hover .svc-item__num { color: var(--lime); }
.svc-item__title { margin: 0; font-size: clamp(1.5rem, 2.4vw, 2.2rem); color: inherit; transition: transform .6s var(--ease); }
.svc-item__text { font-size: .97rem; line-height: 1.65; color: var(--muted); transition: color .5s; display: grid; gap: .8rem; }
.svc-item:hover .svc-item__text { color: rgba(255,255,255,.78); }
.svc-item__more { font-size: .76rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--navy-3); transition: color .5s; }
.svc-item:hover .svc-item__more { color: var(--lime); }
.svc-item__arrow {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid var(--line); color: var(--navy);
  transition: background .5s var(--ease), color .5s, border-color .5s, transform .6s var(--ease);
}
.svc-item__arrow svg { width: 24px; height: 24px; }
.svc-item:hover .svc-item__arrow { background: var(--lime); border-color: var(--lime); color: var(--navy); transform: rotate(45deg); }
.svc-item__thumb { display: none; }

.svc-float {
  position: fixed; top: 0; left: 0; z-index: 60; pointer-events: none;
  width: 300px; height: 380px; margin: -190px 0 0 -150px;
  border-radius: 24px; overflow: hidden;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transition: opacity .45s var(--ease);
}
.svc-float.is-on { opacity: 1; }
.svc-float img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Responsive v2 ---------- */
@media (max-width: 1100px) {
  .svc-item { grid-template-columns: 56px minmax(0, 1fr) 56px; }
  .svc-item__text { grid-column: 2 / 3; }
  .svc-item__arrow { grid-row: 1; grid-column: 3; width: 56px; height: 56px; }
  .creds2 { grid-template-columns: 240px 1fr; }
}
@media (max-width: 900px) {
  .hero2 { grid-template-columns: 1fr; min-height: auto; }
  .hero2__media { order: -1; padding: calc(var(--header-h) + 22px) 12px 0; }
  .hero2__img { min-height: 0; height: 68svh; max-height: 640px; border-radius: 28px 28px 28px 140px; clip-path: inset(0 0 100% 0 round 28px 28px 28px 140px); animation-name: heroRevealM; }
  @keyframes heroRevealM { to { clip-path: inset(0 0 0 0 round 28px 28px 28px 140px); } }
  .hero2__ring { left: auto; right: 26px; top: auto; bottom: -50px; width: 118px; height: 118px; }
  .hero2__ring-core { inset: 30px; }
  .hero2__ring-core img { width: 36px; }
  .hero2__card { display: none; }
  .hero2__copy { padding: 2.6rem 1.25rem 3.5rem; }
  .about2__grid { grid-template-columns: 1fr; }
  .about2__media { max-width: 440px; width: 100%; margin: 0 auto; }
  .creds2 { grid-template-columns: 1fr; }
  .creds2__photo { aspect-ratio: 4 / 3.4; }
  .creds2__body { padding: .4rem .6rem 1rem; }
  .svc-item { grid-template-columns: 1fr 52px; gap: 1rem 1.2rem; padding: 1.8rem 0; }
  .svc-item:hover { padding-left: 0; padding-right: 0; color: var(--navy); }
  .svc-item::before { display: none; }
  .svc-item__num { grid-column: 1; grid-row: 1; }
  .svc-item__thumb { display: block; grid-column: 1 / -1; grid-row: 2; border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 9; }
  .svc-item__thumb img { width: 100%; height: 100%; object-fit: cover; }
  .svc-item__title { grid-column: 1 / -1; grid-row: 3; }
  .svc-item__text { grid-column: 1 / -1; grid-row: 4; }
  .svc-item:hover .svc-item__text { color: var(--muted); }
  .svc-item:hover .svc-item__more { color: var(--navy-3); }
  .svc-item__arrow { grid-column: 2; grid-row: 1; width: 52px; height: 52px; }
  .svc-float { display: none; }
  .header { top: 10px; }
  .header .header__inner { width: min(100% - 1.25rem, var(--container)); }
}
@media (max-width: 640px) {
  .hero2__title { font-size: clamp(2.6rem, 11vw, 3.4rem); }
  .hero2__actions .btn { width: 100%; }
  .hero2__foot { gap: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hero2__img { clip-path: none; }
  .hero2__img img { transform: none; }
  .hero2__ring, .hero2__card { opacity: 1; }
  .fill-text .fw { opacity: 1; }
}

/* ---------- Tekstualni logo: Psihoterapija / Ljubica Krišto ---------- */
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__kicker {
  font-family: var(--f-body); font-size: .64rem; font-weight: 800;
  letter-spacing: .34em; text-transform: uppercase; color: var(--navy-3);
  padding-left: .15em;
}
.brand__script {
  font-family: var(--f-script); font-weight: 700;
  font-size: 1.9rem; line-height: 1.05; color: var(--navy);
  transition: color .4s var(--ease), transform .6s var(--ease);
  display: inline-block; transform-origin: left center;
}
.brand:hover .brand__script { color: var(--navy-3); transform: rotate(-2deg) scale(1.03); }
.header .header__inner { padding-left: 1.5rem; }
body.menu-open .header .brand__script { color: #fff; }
body.menu-open .header .brand__kicker { color: var(--lime); }
.brand--footer .brand__script { color: #fff; font-size: 2.4rem; }
.brand--footer .brand__kicker { color: var(--lime); }

.preloader__brand {
  display: flex; flex-direction: column; align-items: center; gap: .2rem;
  animation: preIn 1s var(--ease) both;
}
.preloader__brand .brand__kicker { font-size: .75rem; }
.preloader__brand .brand__script { font-size: clamp(2.8rem, 8vw, 4rem); }
@keyframes preIn { from { opacity: 0; transform: translateY(16px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }

.hero2__ring-core { color: var(--lime); font-size: 2rem; line-height: 1; }
@media (max-width: 900px) { .hero2__ring-core { font-size: 1.6rem; } }
@media (max-width: 640px) { .header .brand__script { font-size: 1.6rem; } .header .header__inner { padding-left: 1.1rem; } }

/* ---------- About v3: slika do lijevog ruba, zrcalno hero sekciji ---------- */
.about2 { position: relative; padding: clamp(4rem, 8vw, 7rem) 0; }
.about2 .about2__grid {
  display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 0; align-items: center;
}
.about2 .about2__media {
  position: relative; padding: 0 0 0 14px;
  aspect-ratio: auto; border-radius: 0; overflow: visible; box-shadow: none; background: none;
}
.about2__img {
  position: relative; height: clamp(520px, 78vh, 760px);
  border-radius: 36px 260px 36px 36px;
  overflow: hidden; background: var(--sand);
  box-shadow: var(--shadow-lg);
}
.js .about2__img[data-reveal="clip-x"] { clip-path: inset(0 100% 0 0 round 36px 260px 36px 36px); transition: clip-path 1.6s var(--ease); }
.js .about2__img[data-reveal="clip-x"].is-in { clip-path: inset(0 0 0 0 round 36px 260px 36px 36px); }
.about2__img img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 42% center;
  transform: scale(1.15); transition: transform 2.4s var(--ease);
}
.about2__img.is-in img { transform: scale(1); }
.about2__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, rgba(208,244,171,.18), transparent 40%, rgba(11,32,59,.25)); }
.about2__badge {
  position: absolute; right: -44px; bottom: 18%; z-index: 3;
  width: 96px; height: 96px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--lime); color: var(--navy);
  box-shadow: 0 0 0 10px var(--cream), var(--shadow-md);
}
.about2__badge svg { width: 38px; height: 38px; }
.about2 .about2__text {
  padding: 2rem max(1.25rem, calc((100vw - var(--container)) / 2)) 2rem clamp(3rem, 7vw, 7rem);
}

@media (max-width: 900px) {
  .about2 .about2__grid { grid-template-columns: 1fr; }
  .about2 .about2__media { padding: 0 12px; max-width: none; margin: 0; }
  .about2__img { height: 60svh; max-height: 560px; border-radius: 28px 140px 28px 28px; }
  .js .about2__img[data-reveal="clip-x"] { clip-path: inset(0 100% 0 0 round 28px 140px 28px 28px); }
  .js .about2__img[data-reveal="clip-x"].is-in { clip-path: inset(0 0 0 0 round 28px 140px 28px 28px); }
  .about2__badge { right: 30px; bottom: -40px; width: 80px; height: 80px; }
  .about2 .about2__text { padding: 3.5rem 1.25rem 0; }
}
@media (prefers-reduced-motion: reduce) {
  .js .about2__img[data-reveal="clip-x"] { clip-path: none; }
  .about2__img img { transform: none; }
}

/* razmak prije plave kartice */
.creds2-wrap { padding-top: clamp(3.5rem, 7vw, 6.5rem); }
