/* =========================================================================
   Klinik Psikolog Hatice Alkan Can / Mavi Psikoloji - demo redesign
   Theme "Mavi": warm cream base, deep navy brand, one warm gold accent.
   Schibsted Grotesk (display) + Lora (body). Geometric monogram, thin gold
   rules, subtle paper-plane motif. Anchored on the real Mavi Psikoloji brand.
   ========================================================================= */

:root {
  --cream:   #f5efe3;
  --paper:   #fbf7ef;
  --sand:    #ece2d1;
  --navy:    #112a45;   /* brand dark + dark bands */
  --navy-2:  #19385a;
  --ink:     #1b2733;   /* text */
  --ink-soft:#4f5e6c;
  --ink-faint:#84909b;

  --gold:    #bd8a2e;   /* locked accent (marks, rules, icons) */
  --gold-d:  #876119;   /* gold text on light (contrast safe) */
  --gold-l:  #e2b85c;   /* gold on navy */
  --gold-wash:#f4ead2;

  --line:    rgba(17,42,69,.16);
  --line-soft:rgba(17,42,69,.09);

  --shadow-sm: 0 1px 2px rgba(17,42,69,.05), 0 8px 22px rgba(17,42,69,.07);
  --shadow-md: 0 6px 16px rgba(17,42,69,.09), 0 26px 54px rgba(17,42,69,.12);

  --disp: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Lora", Georgia, "Times New Roman", serif;
  --sans: "Schibsted Grotesk", system-ui, sans-serif;

  --wrap: 1140px;
  --radius: 14px;
  --radius-lg: 20px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.72;
  font-size: 1.02rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--disp); font-weight: 600; line-height: 1.12; color: var(--ink); margin: 0 0 .5em; letter-spacing: -.015em; }
h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); font-weight: 700; }
h2 { font-size: clamp(1.95rem, 4.4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2.3vw, 1.55rem); }
p { margin: 0 0 1.15rem; }
em { font-style: italic; }

a { color: var(--gold-d); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
img, video { max-width: 100%; display: block; }

/* ---------- layout ---------- */
.wrap { width: min(100% - 2.4rem, var(--wrap)); margin-inline: auto; }
.narrow { width: min(100% - 2.4rem, 760px); margin-inline: auto; }
.section { padding: clamp(3.6rem, 8vw, 6.6rem) 0; }
.section--tight { padding: clamp(2.6rem, 5vw, 4.2rem) 0; }
.lede { font-size: clamp(1.1rem, 1.8vw, 1.3rem); color: var(--ink-soft); max-width: 60ch; }
.measure { max-width: 64ch; }
.center { text-align: center; margin-inline: auto; }

/* section label: gold mark + small caps + number */
.label { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--sans); font-weight: 600; font-size: .95rem; letter-spacing: .01em; color: var(--ink-soft); margin-bottom: 1rem; }
.label::before { content: ""; width: 24px; height: 2px; background: var(--gold); }
.label .n { font-family: var(--disp); color: var(--gold-d); font-weight: 700; font-size: 1.05rem; }

/* ---------- monogram ---------- */
.mono { width: 40px; height: 40px; flex: none; display: grid; place-items: center; background: var(--navy); border-radius: 11px; }
.mono svg { width: 22px; height: 22px; color: var(--gold-l); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--sans); font-weight: 600; font-size: .98rem; padding: .85rem 1.6rem; border-radius: 999px; border: 1px solid transparent; cursor: pointer; transition: transform .25s var(--ease), background .25s var(--ease), color .2s, box-shadow .25s var(--ease); text-decoration: none; line-height: 1; }
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--navy); color: #fff; box-shadow: 0 8px 20px rgba(17,42,69,.22); }
.btn-primary:hover { background: var(--navy-2); box-shadow: 0 12px 26px rgba(17,42,69,.28); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-d); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-l); }
.btn-on-dark { background: #fff; color: var(--navy); }
.btn-on-dark:hover { background: var(--gold-l); }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 60; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem clamp(1.1rem, 3vw, 2.3rem); transition: background .3s var(--ease), box-shadow .3s var(--ease), padding .3s var(--ease); }
.site-header.scrolled { background: rgba(245,239,227,.88); backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px); box-shadow: 0 1px 0 var(--line-soft); padding-top: .65rem; padding-bottom: .65rem; }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand .bn { display: flex; flex-direction: column; line-height: 1.05; }
.brand .bn strong { font-family: var(--disp); font-weight: 700; font-size: 1.04rem; letter-spacing: -.01em; }
.brand .bn span { font-family: var(--sans); font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); }

.nav { display: flex; align-items: center; gap: .15rem; }
.nav a { font-family: var(--sans); color: var(--ink); font-weight: 500; font-size: .94rem; padding: .5rem .8rem; border-radius: 8px; position: relative; }
.nav a:hover { color: var(--gold-d); text-decoration: none; background: var(--gold-wash); }
.nav a.active { color: var(--gold-d); }
.nav a.active::after { content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .28rem; height: 2px; border-radius: 2px; background: var(--gold); }

.header-tools { display: flex; align-items: center; gap: .7rem; }
.lang-toggle { display: inline-flex; background: var(--sand); border-radius: 999px; padding: 3px; }
.lang-toggle button { font-family: var(--sans); border: 0; background: transparent; cursor: pointer; font-weight: 600; font-size: .78rem; color: var(--ink-soft); padding: .32rem .62rem; border-radius: 999px; transition: background .2s, color .2s; }
.lang-toggle button[aria-pressed="true"] { background: var(--paper); color: var(--navy); box-shadow: var(--shadow-sm); }

.nav-toggle { display: none; width: 42px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: var(--paper); cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.nav-toggle span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ---------- hero ---------- */
.hero { padding: clamp(7.4rem, 14vw, 9.6rem) 0 clamp(2.4rem, 6vw, 4rem); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.8rem, 4.5vw, 3.6rem); align-items: center; }
.hero-kicker { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--sans); font-weight: 600; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); padding: .42rem .95rem; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); margin-bottom: 1.4rem; }
.hero-kicker .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.hero h1 { margin-bottom: 1rem; }
.hero h1 em { color: var(--gold-d); font-style: normal; }
.hero .lede { margin-bottom: 1.8rem; max-width: 44ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: 1.9rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 1.6rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.trust-item b { font-family: var(--disp); font-size: 1.4rem; font-weight: 700; color: var(--navy); display: block; line-height: 1; }
.trust-item b .star { color: var(--gold); }
.trust-item span { font-family: var(--sans); font-size: .8rem; color: var(--ink-faint); }

.hero-figure { position: relative; }
.hero-figure .frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--line-soft); aspect-ratio: 4/5; }
.hero-figure .frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
.hero-figure::after { content: ""; position: absolute; inset: auto -18px -18px auto; width: 58%; height: 58%; border: 1.5px solid var(--gold); border-radius: var(--radius-lg); z-index: -1; opacity: .5; }
.hero-figure .tag { position: absolute; left: -14px; bottom: 26px; background: var(--navy); color: #fff; border-radius: 12px; padding: .7rem 1rem; box-shadow: var(--shadow-md); display: flex; align-items: center; gap: .6rem; }
.hero-figure .tag .mono { width: 34px; height: 34px; border-radius: 9px; background: rgba(255,255,255,.1); }
.hero-figure .tag .mono svg { width: 18px; height: 18px; }
.hero-figure .tag b { font-family: var(--disp); font-weight: 600; font-size: .92rem; display: block; line-height: 1.1; }
.hero-figure .tag span { font-family: var(--sans); font-size: .72rem; color: var(--gold-l); }

/* ---------- divider (paper plane) ---------- */
.divider { display: flex; align-items: center; gap: 1rem; color: var(--line); }
.divider::before, .divider::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.divider svg { width: 18px; height: 18px; color: var(--gold); flex: none; }

/* ---------- service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.card { position: relative; background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 1.7rem 1.5rem; overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card .ic { width: 48px; height: 48px; border-radius: 12px; background: var(--gold-wash); color: var(--gold-d); display: grid; place-items: center; margin-bottom: 1.1rem; }
.card .ic svg { width: 25px; height: 25px; }
.card h3 { margin: 0 0 .5rem; }
.card p { color: var(--ink-soft); font-size: .97rem; margin-bottom: 0; }
.card .more { display: inline-block; margin-top: 1rem; font-family: var(--sans); font-weight: 600; font-size: .88rem; color: var(--gold-d); }

/* ---------- approach / feature ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.8rem, 5vw, 4.2rem); align-items: center; }
.feature.rev .media { order: -1; }
.feature .media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); border: 1px solid var(--line-soft); aspect-ratio: 4/5; object-fit: cover; }
.feature .media.tall img { aspect-ratio: 3/4; }
.feature .media figcaption { font-family: var(--sans); font-size: .85rem; color: var(--ink-faint); margin-top: .6rem; }

.pull { font-family: var(--body); font-style: italic; font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.4; color: var(--ink); border-left: 3px solid var(--gold); padding-left: 1.4rem; margin: 0; }

/* ---------- process steps ---------- */
.steps { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; gap: 1.1rem; }
.steps li { display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; align-items: start; }
.steps .n { width: 46px; height: 46px; border-radius: 12px; flex: none; background: var(--navy); color: var(--gold-l); display: grid; place-items: center; font-family: var(--disp); font-weight: 700; font-size: 1.1rem; }
.steps h4 { font-family: var(--disp); font-weight: 600; font-size: 1.1rem; margin: .25rem 0 .25rem; }
.steps p { color: var(--ink-soft); font-size: .96rem; margin: 0; }

/* ---------- chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip { display: inline-flex; align-items: center; gap: .5rem; padding: .55rem 1rem; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-family: var(--sans); font-weight: 500; font-size: .95rem; color: var(--ink); }
.chip .d { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex: none; }

/* ---------- quote band (her IG quote style) ---------- */
.quote-block { text-align: center; }
.quote-block blockquote { font-family: var(--body); font-style: italic; font-weight: 500; font-size: clamp(1.5rem, 3.4vw, 2.5rem); line-height: 1.35; color: var(--ink); margin: 1.4rem auto; max-width: 24ch; }
.quote-block .who { font-family: var(--sans); font-weight: 600; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); }
.quote-block .mk { width: 38px; height: 38px; margin: 0 auto; color: var(--gold); }

/* ---------- stats / credibility ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.stat { text-align: center; padding: 1.6rem 1rem; background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius); }
.stat b { font-family: var(--disp); font-weight: 700; font-size: clamp(1.8rem, 3.4vw, 2.4rem); color: var(--navy); display: block; }
.stat span { font-family: var(--sans); font-size: .82rem; color: var(--ink-soft); }

/* ---------- dark band ---------- */
.band-dark { background: var(--navy); color: #cdd6df; position: relative; overflow: hidden; }
.band-dark h2, .band-dark h3 { color: #fff; }
.band-dark .lede { color: #aab6c2; }
.band-dark a { color: var(--gold-l); }
.band-dark .plane { position: absolute; right: -40px; top: -30px; width: 280px; color: rgba(226,184,92,.16); pointer-events: none; }
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-band .btns { display: flex; gap: .7rem; flex-wrap: wrap; }

/* contact list on dark */
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.2rem; }
.contact-list li { display: grid; grid-template-columns: auto 1fr; gap: .9rem; align-items: start; }
.contact-list .ic { width: 42px; height: 42px; border-radius: 11px; background: rgba(226,184,92,.14); color: var(--gold-l); display: grid; place-items: center; flex: none; }
.contact-list .ic svg { width: 20px; height: 20px; }
.contact-list b { color: #fff; font-family: var(--disp); font-weight: 600; display: block; font-size: .98rem; }
.contact-list span, .contact-list a { color: #aab6c2; font-size: .96rem; }

/* ---------- about values ---------- */
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; margin-top: 1.6rem; }
.value { background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 1.3rem 1.4rem; }
.value .ic { color: var(--gold-d); margin-bottom: .7rem; }
.value .ic svg { width: 24px; height: 24px; }
.value h4 { font-family: var(--disp); font-weight: 600; font-size: 1.05rem; margin: 0 0 .35rem; }
.value p { color: var(--ink-soft); font-size: .93rem; margin: 0; }

/* ---------- promo film ---------- */
.film { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(1.6rem, 4vw, 3.4rem); align-items: center; position: relative; z-index: 1; }
.film .vid { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid rgba(255,255,255,.14); background: #000; max-width: 320px; }
.film .vid video { width: 100%; aspect-ratio: 9/16; object-fit: cover; display: block; }

/* ---------- page hero ---------- */
.page-hero { padding: clamp(7.6rem, 13vw, 10rem) 0 clamp(1.6rem, 4vw, 2.8rem); }
.page-hero h1 { font-size: clamp(2.3rem, 5.4vw, 3.8rem); }
.crumbs { font-family: var(--sans); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 1.1rem; }
.crumbs a { color: var(--ink-soft); }

/* deep service block */
.svc { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.4rem, 4vw, 3.2rem); align-items: center; padding: clamp(2rem, 4vw, 3rem) 0; }
.svc:not(:last-child) { border-bottom: 1px solid var(--line-soft); }
.svc.rev .s-media { order: -1; }
.svc .s-media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); aspect-ratio: 4/5; object-fit: cover; border: 1px solid var(--line-soft); }
.svc .s-num { font-family: var(--disp); font-weight: 700; color: var(--gold-d); font-size: 1.05rem; }
.svc ul { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .6rem; }
.svc ul li { display: grid; grid-template-columns: auto 1fr; gap: .6rem; color: var(--ink-soft); font-size: .96rem; }
.svc ul li svg { width: 18px; height: 18px; color: var(--gold); margin-top: .3rem; flex: none; }

/* note */
.note { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.6rem; background: var(--gold-wash); display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; }
.note .ic { width: 38px; height: 38px; border-radius: 10px; background: #fff; color: var(--gold-d); display: grid; place-items: center; flex: none; }
.note .ic svg { width: 20px; height: 20px; }
.note h4 { font-family: var(--disp); font-weight: 600; font-size: 1rem; margin: 0 0 .3rem; }
.note p { font-size: .92rem; color: var(--ink-soft); margin: 0; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.8rem, 4vw, 3rem); align-items: start; }
.map-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--line-soft); }
.map-frame iframe { width: 100%; height: 330px; border: 0; display: block; }
.form { display: grid; gap: 1rem; margin-top: 1.4rem; }
.field { display: grid; gap: .4rem; }
.field label { font-family: var(--sans); font-weight: 600; font-size: .85rem; color: var(--ink-soft); }
.field input, .field textarea { font-family: var(--body); font-size: 1rem; color: var(--ink); padding: .8rem 1rem; border-radius: 10px; border: 1px solid var(--line); background: var(--paper); transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-wash); }
.field textarea { min-height: 120px; resize: vertical; }
.hours-table { width: 100%; border-collapse: collapse; margin-top: .4rem; }
.hours-table th, .hours-table td { text-align: left; padding: .6rem 0; border-bottom: 1px solid var(--line-soft); font-size: .96rem; }
.hours-table th { font-family: var(--sans); font-weight: 600; color: var(--ink); }
.hours-table td { color: var(--ink-soft); text-align: right; }
.hours-table td.closed { color: var(--ink-faint); }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: #9fabb6; padding: clamp(3rem,6vw,4.4rem) 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2rem; }
.site-footer h4 { color: #fff; font-family: var(--disp); font-weight: 600; font-size: .92rem; letter-spacing: .02em; margin: 0 0 1rem; }
.site-footer a { color: #9fabb6; }
.site-footer a:hover { color: #fff; }
.footer-brand .brand .bn strong { color: #fff; }
.footer-brand .brand .bn span { color: #7d8a96; }
.footer-brand p { margin-top: 1rem; font-size: .95rem; max-width: 34ch; color: #7d8a96; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; font-family: var(--sans); font-size: .94rem; }
.footer-bottom { margin-top: 2.6rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; justify-content: space-between; font-size: .82rem; color: #74818d; }
.disclaimer { max-width: 72ch; line-height: 1.55; }

/* ---------- reveal ---------- */
.reveal { will-change: transform, opacity; }

/* ---------- responsive ---------- */
@media (max-width: 920px) {
  .hero-grid, .feature, .svc, .contact-grid, .film { grid-template-columns: 1fr; }
  .feature.rev .media, .svc.rev .s-media { order: 0; }
  .hero-figure { max-width: 460px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .film .vid { max-width: 280px; margin-inline: auto; }
}
@media (max-width: 680px) {
  .nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav.open { display: flex; flex-direction: column; align-items: stretch; position: absolute; top: 100%; left: 0; right: 0; background: var(--paper); padding: 1rem 1.4rem 1.4rem; gap: .1rem; box-shadow: var(--shadow-md); border-top: 1px solid var(--line-soft); }
  .nav.open a { padding: .8rem .4rem; border-bottom: 1px solid var(--line-soft); }
  .nav.open a.active::after { display: none; }
  .cards { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 460px) { .stats { grid-template-columns: 1fr 1fr; } .hero-trust { gap: 1rem; } }
