/* ==========================================================================
   Psihoterapeut – Dr Ana Mijatović
   ========================================================================== */

:root {
  --navy: #183964;
  --navy-900: #0f2747;
  --navy-700: #22477a;
  --pink: #ff939c;
  --pink-200: #ffd6da;
  --pink-50: #fff3f4;
  --pink-ink: #c64457;
  --blue: #1b7699;
  --ink: #26303f;
  --muted: #5d6778;
  --line: #e4e8ee;
  --bg: #ffffff;
  --bg-soft: #f5f7fa;

  --font-head: "Quicksand", system-ui, sans-serif;
  --font-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(15, 39, 71, .06), 0 2px 8px rgba(15, 39, 71, .05);
  --shadow: 0 2px 4px rgba(15, 39, 71, .05), 0 12px 32px rgba(15, 39, 71, .09);

  --container: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(56px, 8vw, 96px);
  --header-h: 72px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration-color: var(--pink); text-underline-offset: 3px; }
a:hover { color: var(--pink-ink); }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 700; color: var(--navy); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 .5em;
  font-weight: 700;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2rem, 4.2vw, 2.9rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; }

:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--pink); color: var(--navy); padding: 10px 16px; border-radius: var(--radius-sm);
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; margin-inline: auto; }
.section { padding: var(--section) 0; }
.section--soft { background: var(--bg-soft); }
.center { text-align: center; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--pink-ink);
  margin-bottom: .6rem;
}

/* three pink dots under headings (from the original theme) */
.dots { display: flex; gap: 6px; justify-content: center; margin: 14px 0 28px; }
.dots span { width: 6px; height: 6px; border-radius: 50%; background: var(--pink); }
.dots--left { justify-content: flex-start; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 26px;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem; letter-spacing: .01em;
  border: 2px solid transparent; border-radius: 999px;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--pink); color: var(--navy); box-shadow: 0 6px 18px rgba(255, 147, 156, .35); }
.btn--primary:hover { background: #ff7f8a; color: var(--navy); transform: translateY(-1px); }
.btn--ghost { border-color: rgba(255, 255, 255, .4); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); color: #fff; }
.btn--outline { border-color: var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy);
  transition: box-shadow .25s;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(8, 22, 44, .25); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.logo { display: block; flex: none; }
.logo img { height: 46px; width: auto; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav-list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-list > li { position: relative; }
.nav-link {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: var(--radius-sm);
  font-family: var(--font-head); font-weight: 600; font-size: .95rem;
  color: rgba(255, 255, 255, .86); text-decoration: none;
  background: none; border: 0; cursor: pointer;
  transition: color .2s, background-color .2s;
}
.nav-link:hover, .nav-link[aria-expanded="true"] { color: #fff; background: rgba(255, 255, 255, .07); }
.nav-link[aria-current="page"], .nav-link.is-active { color: var(--pink); }
.nav-link .chev { width: 14px; height: 14px; transition: transform .2s; }
.nav-link[aria-expanded="true"] .chev { transform: rotate(180deg); }
.nav-cta { margin-left: 10px; min-height: 42px; padding: 8px 20px; font-size: .92rem; }

.submenu {
  position: absolute; top: calc(100% + 8px); left: -8px;
  min-width: 300px; padding: 8px;
  list-style: none; margin: 0;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.submenu::before { content: ""; position: absolute; inset: -10px 0 auto; height: 10px; }
.has-sub:hover > .submenu, .has-sub.is-open > .submenu { opacity: 1; visibility: visible; transform: none; }
.submenu a {
  display: block; padding: 9px 14px; border-radius: var(--radius-sm);
  font-family: var(--font-head); font-weight: 600; font-size: .94rem;
  color: var(--navy); text-decoration: none;
}
.submenu a:hover, .submenu a[aria-current="page"] { background: var(--pink-50); color: var(--pink-ink); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px; border: 0; border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .i-close { display: none; }
.nav-open .nav-toggle .i-open { display: none; }
.nav-open .nav-toggle .i-close { display: block; }

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px var(--gutter) 32px;
    background: var(--navy); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav-open { overflow: hidden; }
  .nav-list { flex-direction: column; align-items: stretch; }
  .nav-list > li { border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .nav-link { width: 100%; justify-content: space-between; padding: 16px 4px; font-size: 1.05rem; border-radius: 0; }
  .nav-link:hover, .nav-link[aria-expanded="true"] { background: none; }
  .submenu {
    position: static; min-width: 0; padding: 0 0 12px 8px;
    background: none; box-shadow: none;
    opacity: 1; visibility: visible; transform: none;
    display: none;
  }
  .has-sub:hover > .submenu { display: none; }
  .has-sub.is-open > .submenu { display: block; }
  .submenu a { color: rgba(255, 255, 255, .8); padding: 10px 12px; }
  .submenu a:hover, .submenu a[aria-current="page"] { background: rgba(255, 255, 255, .06); color: var(--pink); }
  .nav-cta { margin: 24px 0 0; width: 100%; min-height: 52px; font-size: 1rem; }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; overflow: hidden;
  background: #f9f9f9 url("../img/hero-oko.webp") no-repeat right center / cover;
}
.hero-inner { position: relative; min-height: min(620px, 76vh); display: flex; align-items: center; padding-block: 72px; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #f9f9f9 0%, #f9f9f9 28%, rgba(249, 249, 249, .75) 42%, rgba(249, 249, 249, 0) 58%); }
.hero-content { max-width: 540px; }
.hero-quote {
  margin: 0;
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(1.55rem, 3.2vw, 2.35rem); line-height: 1.3;
  color: var(--navy); letter-spacing: -.01em;
}
.hero-quote p { margin: 0; }
.hero-sign { display: flex; align-items: center; gap: 14px; margin: 26px 0 34px; }
.hero-sign img { width: 150px; height: auto; }
.hero-sign span { font-size: .9rem; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 860px) {
  .hero { background-position: 72% center; }
  .hero::before { background: linear-gradient(90deg, rgba(249, 249, 249, .96) 0%, rgba(249, 249, 249, .88) 60%, rgba(249, 249, 249, .55) 100%); }
  .hero-inner { min-height: 0; padding-block: 56px 64px; }
}

/* ---------- Welcome ---------- */
.welcome-text { font-size: 1.08rem; color: var(--ink); }
.callout {
  margin: 32px 0 0; padding: 22px 26px;
  border-left: 4px solid var(--pink); border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--pink-50);
  font-family: var(--font-head); font-weight: 600; font-size: 1.12rem; line-height: 1.55; color: var(--navy);
}

/* ---------- Service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); text-decoration: none; color: inherit;
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: inherit; }
.card-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-soft); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 18px; flex: 1; }
.card-title { margin: 0; font-size: 1.02rem; line-height: 1.3; }
.card-arrow {
  flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: var(--pink-50); color: var(--pink-ink); transition: background-color .2s, color .2s;
}
.card-arrow svg { width: 16px; height: 16px; }
.card:hover .card-arrow { background: var(--pink); color: var(--navy); }

@media (max-width: 980px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) {
  .cards { gap: 12px; }
  .card-body { padding: 12px 12px 14px; }
  .card-title { font-size: .93rem; }
  .card-arrow { display: none; }
}

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy); color: #fff; padding: clamp(44px, 6vw, 64px) 0; position: relative; overflow: hidden; }
.cta-band::after {
  content: ""; position: absolute; right: -120px; top: -160px; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 147, 156, .18), transparent 65%);
}
.cta-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0 0 6px; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, .75); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Quotes ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quote {
  position: relative; margin: 0; padding: 56px 28px 28px;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm);
  font-style: italic; color: var(--muted); font-size: 1rem; line-height: 1.7;
}
.quote::before {
  content: "\201C"; position: absolute; top: 14px; left: 26px;
  font-family: Georgia, serif; font-style: normal; font-size: 3.6rem; line-height: 1; color: var(--pink);
}
@media (max-width: 860px) { .quotes { grid-template-columns: 1fr; } }

/* ---------- Page header (inner pages) ---------- */
.page-head { background: var(--bg-soft); padding: clamp(40px, 6vw, 64px) 0 clamp(36px, 5vw, 52px); border-bottom: 1px solid var(--line); }
.page-head h1 { margin: 0; }
.page-head .lead { margin: 12px 0 0; color: var(--muted); font-size: 1.1rem; max-width: 640px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 14px; padding: 0; font-size: .88rem; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: #b3bac6; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--pink-ink); }

/* ---------- Service page ---------- */
.service { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.service-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.service-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.service-text { font-size: 1.12rem; line-height: 1.8; }
.service-text .term { font-family: var(--font-head); font-weight: 700; color: var(--navy); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.chips-title { width: 100%; margin: 0 0 4px; font-family: var(--font-head); font-weight: 700; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.chip {
  display: inline-block; padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff;
  font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--navy); text-decoration: none;
  transition: border-color .2s, background-color .2s, color .2s;
}
.chip:hover { border-color: var(--pink); background: var(--pink-50); color: var(--pink-ink); }

@media (max-width: 860px) {
  .service { grid-template-columns: 1fr; }
  .service-img img { aspect-ratio: 16 / 9; }
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
.contact-intro h2 { margin-bottom: 12px; }
.contact-intro > p { color: var(--muted); }
.info-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.info-item { display: flex; gap: 14px; align-items: flex-start; }
.info-icon {
  flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: var(--pink-50); color: var(--pink-ink);
}
.info-icon svg { width: 20px; height: 20px; }
.info-label { display: block; font-family: var(--font-head); font-weight: 700; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); line-height: 1.4; }
.info-value { display: block; color: var(--navy); font-weight: 600; line-height: 1.5; }
.info-value a { color: var(--navy); text-decoration: none; word-break: break-word; }
.info-value a:hover { color: var(--pink-ink); }

.socials { display: flex; gap: 10px; margin-top: 28px; }
.socials a {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line); color: var(--navy); background: #fff; transition: all .2s;
}
.socials a:hover { border-color: var(--pink); background: var(--pink); color: var(--navy); }
.socials svg { width: 18px; height: 18px; }

.map { margin-top: clamp(40px, 6vw, 64px); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); background: var(--bg-soft); }
.map iframe { display: block; width: 100%; height: 400px; border: 0; }

@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Form ---------- */
.form-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(22px, 4vw, 36px); }
.form-card h3 { margin-bottom: 4px; }
.form-card .form-sub { color: var(--muted); margin-bottom: 22px; font-size: .98rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--font-head); font-weight: 700; font-size: .9rem; color: var(--navy); }
.field label .req { color: var(--pink-ink); }
.field label .opt { font-weight: 500; color: var(--muted); }
.field input, .field textarea {
  width: 100%; padding: 13px 15px;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--bg-soft); border: 1.5px solid transparent; border-radius: 10px;
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: var(--line); }
.field input:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--navy-700); box-shadow: 0 0 0 4px rgba(24, 57, 100, .1); }
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--pink-ink); background: var(--pink-50); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 20px; margin-top: 20px; }
.form-note { margin: 0; font-size: .84rem; color: var(--muted); max-width: 340px; line-height: 1.5; }
.form-status { display: none; margin-top: 18px; padding: 14px 16px; border-radius: 10px; font-weight: 600; line-height: 1.5; }
.form-status.is-ok { display: block; background: #e8f6ee; color: #1d6b42; }
.form-status.is-error { display: block; background: var(--pink-50); color: #a3283d; }

@media (max-width: 560px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-foot .btn { width: 100%; }
}

/* help section on service pages */
.help-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
@media (max-width: 860px) { .help-grid { grid-template-columns: 1fr; } }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.about-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.about-photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about-photo img { width: 100%; height: auto; }
.about-name { margin: 20px 0 2px; font-size: 1.3rem; }
.about-role { color: var(--muted); font-size: .98rem; margin: 0; }
.about-quote {
  margin: 0 0 8px; font-family: var(--font-head); font-weight: 700;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem); line-height: 1.4; color: var(--navy);
}
.about-body p { margin-bottom: 1.2em; }
.about-body .lead { font-size: 1.16rem; color: var(--navy); }
@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; }
  .about-aside { position: static; display: grid; grid-template-columns: 120px 1fr; gap: 18px; align-items: center; }
  .about-name { margin-top: 0; }
}

/* ---------- Blog ---------- */
.posts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.post-card {
  display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); text-decoration: none; color: inherit; transition: transform .25s, box-shadow .25s;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: inherit; }
.post-card .card-img { aspect-ratio: 16 / 9; }
.post-card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-date { font-size: .85rem; color: var(--muted); font-weight: 600; }
.post-card h2 { font-size: 1.35rem; margin: 6px 0 10px; }
.post-card p { color: var(--muted); font-size: .98rem; }
.read-more { margin-top: auto; padding-top: 14px; font-family: var(--font-head); font-weight: 700; color: var(--pink-ink); display: inline-flex; align-items: center; gap: 6px; }
.read-more svg { width: 16px; height: 16px; transition: transform .2s; }
.post-card:hover .read-more svg { transform: translateX(3px); }
@media (max-width: 720px) { .posts { grid-template-columns: 1fr; } }

.article-cover { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-bottom: 40px; }
.article-cover img { width: 100%; max-height: 480px; object-fit: cover; }
.article { font-size: 1.1rem; line-height: 1.8; }
.article h2 { font-size: 1.45rem; margin: 1.8em 0 .6em; }
.article cite { display: block; margin-top: 1.4em; font-size: .95rem; color: var(--muted); }
.article-back { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255, 255, 255, .72); font-size: .96rem; }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding: 60px 0 44px; }
.footer-logo img { height: 50px; width: auto; }
.footer-about { margin-top: 16px; max-width: 320px; }
.site-footer h3 { color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.site-footer a:hover { color: var(--pink); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .88rem; }
.site-footer .socials { margin: 0; }
.site-footer .socials a { width: 38px; height: 38px; border-color: rgba(255, 255, 255, .18); background: transparent; color: #fff; }
.site-footer .socials a:hover { background: var(--pink); border-color: var(--pink); color: var(--navy); }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding-block: clamp(80px, 12vw, 140px); }
.notfound .code { font-family: var(--font-head); font-weight: 700; font-size: clamp(4rem, 12vw, 7rem); color: var(--pink); line-height: 1; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
.about-name small { font-size: .78em; font-weight: 500; color: var(--muted); }

/* ---------- Hero H1 ---------- */
.hero-title {
  margin: 0 0 18px;
  font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; line-height: 1.5;
  color: var(--pink-ink);
}

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: transparent; box-shadow: var(--shadow-sm); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; cursor: pointer; list-style: none;
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: var(--navy);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex: none; width: 10px; height: 10px; margin-right: 4px;
  border-right: 2.4px solid var(--pink-ink); border-bottom: 2.4px solid var(--pink-ink);
  transform: rotate(45deg) translateY(-3px); transition: transform .2s;
}
.faq-item[open] summary::after { transform: rotate(225deg) translateY(-3px); }
.faq-item p { margin: 0; padding: 0 22px 20px; color: var(--muted); }

/* ---------- Animations ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes hero-in { from { background-position-x: calc(100% + 90px); } }

/* entrance on load: hero (home) and page header (inner pages) */
.hero { animation: hero-in 1.6s cubic-bezier(.2, .65, .25, 1) both; }
.hero-content > * { animation: rise .9s cubic-bezier(.2, .65, .25, 1) both; }
.hero-content > :nth-child(2) { animation-delay: .12s; }
.hero-content > :nth-child(3) { animation-delay: .26s; }
.hero-content > :nth-child(4) { animation-delay: .4s; }
.page-head .breadcrumb, .page-head h1, .page-head .lead { animation: rise .7s cubic-bezier(.2, .65, .25, 1) both; }
.page-head h1 { animation-delay: .08s; }
.page-head .lead { animation-delay: .16s; }

/* scroll reveal (classes added by main.js) */
.reveal {
  opacity: 0;
  transition: opacity .8s cubic-bezier(.2, .65, .25, 1), transform .8s cubic-bezier(.2, .65, .25, 1);
  transition-delay: var(--d, 0s);
}
.reveal--up { transform: translateY(28px); }
.reveal--right { transform: translateX(32px); }
.reveal--zoom { transform: scale(.96); }
.reveal.is-visible { opacity: 1; transform: none; }

.card.reveal .card-img img, .post-card.reveal .card-img img { transition: transform 1.4s cubic-bezier(.2, .65, .25, 1); transition-delay: var(--d, 0s); }
.card.reveal:not(.is-visible) .card-img img, .post-card.reveal:not(.is-visible) .card-img img { transform: scale(1.12); }

.dots.reveal { opacity: 1; transform: none; }
.dots.reveal span { transform: scale(0); transition: transform .5s cubic-bezier(.3, 1.6, .5, 1) .15s; }
.dots.reveal span:nth-child(2) { transition-delay: .25s; }
.dots.reveal span:nth-child(3) { transition-delay: .35s; }
.dots.reveal.is-visible span { transform: none; }
.nav-cta[aria-current="page"] { box-shadow: 0 0 0 3px rgba(255, 255, 255, .35); }
