/* ==========================================================================
   Uzm. Dr. Ali Bülent Çekem — Psikiyatri Kliniği
   Design System: Soft UI Evolution · Deep Teal + Health Green + Cream
   Fonts: Lora (headings) · Raleway (body)
   ========================================================================== */

/* ---------- Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;500;600;700&family=Raleway:wght@300;400;500;600;700&display=swap');

/* ---------- Design Tokens ---------- */
:root {
  /* Brand */
  --primary:        #0C6E64;   /* deep teal — buttons, links (white text ~5:1) */
  --primary-hover:  #095A52;
  --primary-dark:   #0A4F49;
  --primary-tint:   #E6F2F0;   /* light teal surface */
  --primary-tint-2: #D2E8E4;
  --accent:         #0E9E74;   /* health green — icons, highlights */
  --accent-soft:    #E4F5EE;
  --secondary:      #4FB8AB;

  /* Neutrals — warm cream base */
  --bg:             #FBF9F4;   /* page background (warm cream) */
  --surface:        #FFFFFF;   /* cards */
  --surface-muted:  #F2F6F4;   /* subtle teal-cream */
  --sand:           #F4EEE2;   /* warm accent band */
  --fg:             #16302E;   /* primary text (deep teal-slate) */
  --fg-muted:       #4C605C;   /* secondary text */
  --fg-subtle:      #7A8B87;
  --border:         #E3E9E5;
  --border-strong:  #CFD8D3;

  /* Status */
  --whatsapp:       #25D366;
  --star:           #E6A817;
  --danger:         #C43E3E;

  /* Type scale */
  --fs-xs:   0.78rem;
  --fs-sm:   0.9rem;
  --fs-base: 1rem;
  --fs-md:   1.125rem;
  --fs-lg:   1.375rem;
  --fs-xl:   1.75rem;
  --fs-2xl:  2.25rem;
  --fs-3xl:  3rem;
  --fs-4xl:  3.75rem;

  /* Spacing (8pt) */
  --sp-1: 0.25rem; --sp-2: 0.5rem; --sp-3: 0.75rem; --sp-4: 1rem;
  --sp-5: 1.5rem; --sp-6: 2rem; --sp-7: 3rem; --sp-8: 4rem; --sp-9: 6rem;

  /* Radius */
  --r-sm: 8px; --r-md: 14px; --r-lg: 22px; --r-xl: 32px; --r-full: 999px;

  /* Shadow — soft UI evolution */
  --sh-xs: 0 1px 2px rgba(16,48,46,.06);
  --sh-sm: 0 2px 8px rgba(16,48,46,.06), 0 1px 2px rgba(16,48,46,.04);
  --sh-md: 0 8px 24px rgba(16,48,46,.08), 0 2px 6px rgba(16,48,46,.05);
  --sh-lg: 0 20px 48px rgba(12,110,100,.12), 0 6px 16px rgba(16,48,46,.06);
  --sh-teal: 0 14px 34px rgba(12,110,100,.22);

  --container: 1180px;
  --nav-h: 74px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --dur: .28s;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Raleway', system-ui, -apple-system, sans-serif;
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, picture { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; padding: 0; }
input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3, h4 { font-family: 'Lora', Georgia, serif; font-weight: 600; line-height: 1.18; color: var(--fg); letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5vw, var(--fs-4xl)); }
h2 { font-size: clamp(1.7rem, 4vw, var(--fs-2xl)); }
h3 { font-size: var(--fs-lg); }
p { color: var(--fg-muted); }
strong { color: var(--fg); font-weight: 600; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--sp-5); }
.section { padding-block: clamp(3.5rem, 8vw, var(--sp-9)); }
.section--tint { background: var(--surface-muted); }
.section--sand { background: var(--sand); }
.section--primary { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); color: #fff; }
.section--primary h2, .section--primary h3 { color: #fff; }
.section--primary p { color: rgba(255,255,255,.85); }

.grid { display: grid; gap: var(--sp-5); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Section header ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-size: var(--fs-sm); font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--primary); background: var(--primary-tint);
  padding: .4rem .9rem; border-radius: var(--r-full); margin-bottom: var(--sp-4);
}
.eyebrow svg { width: 16px; height: 16px; }
.section-head { max-width: 640px; margin-bottom: var(--sp-6); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: var(--sp-3); font-size: var(--fs-md); }
.lead { font-size: var(--fs-md); color: var(--fg-muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  padding: .85rem 1.6rem; border-radius: var(--r-full);
  font-weight: 600; font-size: var(--fs-base); line-height: 1;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur);
  white-space: nowrap; min-height: 48px;
}
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn--primary { background: var(--primary); color: #fff; box-shadow: var(--sh-teal); }
.btn--primary:hover { background: var(--primary-hover); transform: translateY(-2px); }
.btn--accent { background: var(--accent); color: #fff; box-shadow: 0 12px 30px rgba(14,158,116,.28); }
.btn--accent:hover { background: #0B865F; transform: translateY(-2px); }
.btn--wa { background: var(--whatsapp); color: #fff; box-shadow: 0 12px 30px rgba(37,211,102,.3); }
.btn--wa:hover { background: #1FB855; transform: translateY(-2px); }
.btn--ghost { background: var(--surface); color: var(--primary); box-shadow: inset 0 0 0 1.5px var(--border-strong); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--primary); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--primary); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--sh-md); }
.btn--lg { padding: 1.05rem 2rem; font-size: var(--fs-md); }
.btn--block { display: flex; width: 100%; }

/* ---------- Top utility bar ---------- */
.topbar {
  background: var(--primary-dark); color: rgba(255,255,255,.92);
  font-size: var(--fs-sm);
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); padding-block: .5rem; }
.topbar__info { display: flex; align-items: center; gap: var(--sp-5); }
.topbar__item { display: inline-flex; align-items: center; gap: .45rem; }
.topbar__item svg { width: 15px; height: 15px; opacity: .9; }
.topbar a.topbar__item:hover { color: #fff; }
.topbar__social { display: flex; gap: var(--sp-3); }
.topbar__social a { display: grid; place-items: center; width: 30px; height: 30px; border-radius: var(--r-full); background: rgba(255,255,255,.1); transition: background var(--dur); }
.topbar__social a:hover { background: rgba(255,255,255,.25); }
.topbar__social svg { width: 16px; height: 16px; }

/* ---------- Header / Nav ---------- */
.header { position: sticky; top: 0; z-index: 100; background: rgba(251,249,244,.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); transition: box-shadow var(--dur); }
.header.is-scrolled { box-shadow: var(--sh-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); gap: var(--sp-5); }
.brand { display: flex; align-items: center; gap: var(--sp-3); }
.brand__mark { width: 44px; height: 44px; border-radius: 13px; background: linear-gradient(140deg, var(--primary), var(--accent)); display: grid; place-items: center; color: #fff; box-shadow: var(--sh-sm); flex-shrink: 0; }
.brand__mark svg { width: 24px; height: 24px; }
.brand__text { line-height: 1.15; }
.brand__name { font-family: 'Lora', serif; font-weight: 600; font-size: 1.05rem; color: var(--fg); }
.brand__role { font-size: var(--fs-xs); color: var(--fg-subtle); letter-spacing: .02em; }

.nav__links { display: flex; align-items: center; gap: var(--sp-2); }
.nav__links > li > a { display: inline-flex; align-items: center; gap: .3rem; padding: .55rem .8rem; border-radius: var(--r-sm); font-weight: 500; font-size: var(--fs-sm); color: var(--fg); transition: color var(--dur), background var(--dur); }
.nav__links > li > a:hover, .nav__links > li > a[aria-current="page"] { color: var(--primary); background: var(--primary-tint); }
.nav__actions { display: flex; align-items: center; gap: var(--sp-3); }

/* dropdown */
.has-dd { position: relative; }
.dd { position: absolute; top: calc(100% + 8px); left: 0; min-width: 250px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); box-shadow: var(--sh-lg); padding: var(--sp-2); opacity: 0; visibility: hidden; transform: translateY(6px); transition: all var(--dur) var(--ease); }
.has-dd:hover .dd, .has-dd:focus-within .dd { opacity: 1; visibility: visible; transform: translateY(0); }
.dd a { display: flex; align-items: center; gap: var(--sp-3); padding: .6rem .7rem; border-radius: var(--r-sm); font-size: var(--fs-sm); color: var(--fg-muted); transition: background var(--dur), color var(--dur); }
.dd a:hover { background: var(--surface-muted); color: var(--primary); }
.dd a svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; }

/* lang switch */
.lang { display: inline-flex; background: var(--surface-muted); border-radius: var(--r-full); padding: 3px; }
.lang a { padding: .3rem .6rem; border-radius: var(--r-full); font-size: var(--fs-xs); font-weight: 600; color: var(--fg-subtle); }
.lang a.is-active { background: var(--primary); color: #fff; }

/* burger */
.burger { display: none; width: 46px; height: 46px; border-radius: var(--r-sm); place-items: center; background: var(--surface-muted); }
.burger svg { width: 24px; height: 24px; color: var(--fg); }

/* mobile drawer */
.drawer { position: fixed; inset: 0 0 0 auto; width: min(88vw, 360px); background: var(--surface); z-index: 200; transform: translateX(100%); transition: transform .35s var(--ease); box-shadow: var(--sh-lg); display: flex; flex-direction: column; padding: var(--sp-5); overflow-y: auto; }
.drawer.is-open { transform: translateX(0); }
.drawer__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--sp-5); }
.drawer__close { width: 44px; height: 44px; border-radius: var(--r-sm); display: grid; place-items: center; background: var(--surface-muted); }
.drawer__close svg { width: 24px; height: 24px; }
.drawer nav a { display: block; padding: .85rem .5rem; font-size: var(--fs-md); font-weight: 500; border-bottom: 1px solid var(--border); }
.drawer nav a:hover { color: var(--primary); }
.drawer .btn { margin-top: var(--sp-3); }
.overlay { position: fixed; inset: 0; background: rgba(16,48,46,.5); z-index: 150; opacity: 0; visibility: hidden; transition: opacity var(--dur); }
.overlay.is-open { opacity: 1; visibility: visible; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(2.5rem, 6vw, 5rem); }
.hero::before { content: ""; position: absolute; top: -20%; right: -10%; width: 640px; height: 640px; background: radial-gradient(circle, var(--primary-tint) 0%, transparent 65%); z-index: 0; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: var(--sp-8); align-items: center; position: relative; z-index: 1; }
.hero__badge { display: inline-flex; align-items: center; gap: .5rem; background: var(--surface); border: 1px solid var(--border); padding: .45rem 1rem; border-radius: var(--r-full); font-size: var(--fs-sm); font-weight: 600; color: var(--fg-muted); box-shadow: var(--sh-xs); margin-bottom: var(--sp-5); }
.hero__badge svg { width: 16px; height: 16px; color: var(--star); }
.hero h1 { margin-bottom: var(--sp-4); }
.hero h1 .accent { color: var(--primary); font-style: italic; }
.hero__lead { font-size: var(--fs-md); max-width: 46ch; margin-bottom: var(--sp-6); }
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-bottom: var(--sp-6); }
.hero__trust { display: flex; gap: var(--sp-6); flex-wrap: wrap; }
.hero__trust-item { }
.hero__trust-num { font-family: 'Lora', serif; font-size: var(--fs-xl); font-weight: 600; color: var(--primary); }
.hero__trust-label { font-size: var(--fs-sm); color: var(--fg-subtle); }

.hero__media { position: relative; }
.hero__photo-wrap { position: relative; width: 100%; max-width: 420px; margin-inline: auto; }
.hero__photo-bg { position: absolute; inset: 0; background: linear-gradient(150deg, var(--primary), var(--accent)); border-radius: 50% 50% 46% 54% / 55% 52% 48% 45%; transform: rotate(-4deg); }
.hero__photo { position: relative; z-index: 1; width: 100%; border-radius: var(--r-xl); }
.hero__float { position: absolute; background: var(--surface); border-radius: var(--r-md); box-shadow: var(--sh-lg); padding: .85rem 1.1rem; display: flex; align-items: center; gap: var(--sp-3); z-index: 2; }
.hero__float svg { width: 22px; height: 22px; color: var(--accent); }
.hero__float-1 { top: 12%; left: -6%; }
.hero__float-2 { bottom: 10%; right: -4%; }
.hero__float b { display: block; font-family: 'Lora', serif; font-size: .95rem; color: var(--fg); }
.hero__float span { font-size: var(--fs-xs); color: var(--fg-subtle); }

/* ---------- Cards ---------- */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--sp-5); box-shadow: var(--sh-sm); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }

.svc-card { display: flex; flex-direction: column; gap: var(--sp-3); height: 100%; }
.svc-card__icon { width: 54px; height: 54px; border-radius: var(--r-md); background: var(--accent-soft); display: grid; place-items: center; color: var(--accent); }
.svc-card__icon svg { width: 28px; height: 28px; }
.svc-card h3 { font-size: var(--fs-md); }
.svc-card p { font-size: var(--fs-sm); flex-grow: 1; }
.svc-card__link { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; font-size: var(--fs-sm); color: var(--primary); }
.svc-card__link svg { width: 16px; height: 16px; transition: transform var(--dur); }
.svc-card:hover .svc-card__link svg { transform: translateX(4px); }

/* feature / value */
.feature { display: flex; gap: var(--sp-4); align-items: flex-start; }
.feature__icon { width: 48px; height: 48px; border-radius: var(--r-md); background: var(--primary-tint); color: var(--primary); display: grid; place-items: center; flex-shrink: 0; }
.feature__icon svg { width: 24px; height: 24px; }
.feature h3 { font-size: var(--fs-md); margin-bottom: var(--sp-2); }
.feature p { font-size: var(--fs-sm); }

/* stat */
.stat { text-align: center; }
.stat__num { font-family: 'Lora', serif; font-size: var(--fs-3xl); font-weight: 700; color: var(--primary); line-height: 1; }
.section--primary .stat__num { color: #fff; }
.stat__label { margin-top: var(--sp-2); font-size: var(--fs-sm); color: var(--fg-muted); }
.section--primary .stat__label { color: rgba(255,255,255,.8); }

/* process step */
.step { position: relative; padding-left: 0; }
.step__num { width: 46px; height: 46px; border-radius: var(--r-full); background: var(--primary); color: #fff; font-family: 'Lora', serif; font-weight: 600; display: grid; place-items: center; margin-bottom: var(--sp-3); box-shadow: var(--sh-teal); }
.step h3 { font-size: var(--fs-md); margin-bottom: var(--sp-2); }
.step p { font-size: var(--fs-sm); }

/* testimonial */
.quote { display: flex; flex-direction: column; gap: var(--sp-4); height: 100%; }
.quote__stars { display: flex; gap: 2px; color: var(--star); }
.quote__stars svg { width: 18px; height: 18px; }
.quote__text { font-size: var(--fs-md); color: var(--fg); font-style: italic; line-height: 1.6; flex-grow: 1; }
.quote__who { display: flex; align-items: center; gap: var(--sp-3); }
.quote__avatar { width: 44px; height: 44px; border-radius: var(--r-full); background: var(--primary-tint); color: var(--primary); display: grid; place-items: center; font-weight: 700; font-family: 'Lora', serif; }
.quote__name { font-weight: 600; color: var(--fg); font-size: var(--fs-sm); }
.quote__meta { font-size: var(--fs-xs); color: var(--fg-subtle); }

/* ---------- About / bio ---------- */
.about__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: var(--sp-8); align-items: center; }
.about__photo { position: relative; }
.about__photo img { border-radius: var(--r-xl); box-shadow: var(--sh-lg); background: var(--primary-tint); }
.about__badge { position: absolute; bottom: -18px; left: 50%; transform: translateX(-50%); background: var(--surface); box-shadow: var(--sh-lg); border-radius: var(--r-full); padding: .7rem 1.3rem; display: flex; align-items: center; gap: var(--sp-2); font-weight: 600; font-size: var(--fs-sm); white-space: nowrap; }
.about__badge svg { width: 18px; height: 18px; color: var(--accent); }
.check-list { display: grid; gap: var(--sp-3); margin-top: var(--sp-5); }
.check-list li { display: flex; align-items: flex-start; gap: var(--sp-3); font-size: var(--fs-sm); color: var(--fg-muted); }
.check-list svg { width: 22px; height: 22px; color: var(--accent); flex-shrink: 0; margin-top: 1px; }

/* ---------- Timeline (education) ---------- */
.timeline { position: relative; display: grid; gap: var(--sp-5); }
.timeline::before { content: ""; position: absolute; left: 21px; top: 8px; bottom: 8px; width: 2px; background: var(--border-strong); }
.tl-item { position: relative; padding-left: 60px; }
.tl-item::before { content: ""; position: absolute; left: 14px; top: 4px; width: 16px; height: 16px; border-radius: var(--r-full); background: var(--primary); border: 3px solid var(--bg); box-shadow: 0 0 0 2px var(--primary-tint-2); }
.tl-year { font-weight: 700; color: var(--primary); font-size: var(--fs-sm); }
.tl-item h3 { font-size: var(--fs-md); margin: var(--sp-1) 0; }
.tl-item p { font-size: var(--fs-sm); }

/* ---------- FAQ accordion ---------- */
.faq { display: grid; gap: var(--sp-3); max-width: 820px; margin-inline: auto; }
.faq__item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; transition: box-shadow var(--dur); }
.faq__item[open] { box-shadow: var(--sh-sm); }
.faq__q { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); padding: 1.1rem 1.4rem; font-weight: 600; font-family: 'Lora', serif; font-size: var(--fs-md); color: var(--fg); cursor: pointer; list-style: none; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q svg { width: 22px; height: 22px; color: var(--primary); transition: transform var(--dur); flex-shrink: 0; }
.faq__item[open] .faq__q svg { transform: rotate(45deg); }
.faq__a { padding: 0 1.4rem 1.3rem; }
.faq__a p { font-size: var(--fs-sm); }

/* ---------- Contact / form ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: var(--sp-7); align-items: start; }
.info-card { display: flex; gap: var(--sp-4); padding: var(--sp-5); background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); box-shadow: var(--sh-xs); }
.info-card__icon { width: 46px; height: 46px; border-radius: var(--r-md); background: var(--primary-tint); color: var(--primary); display: grid; place-items: center; flex-shrink: 0; }
.info-card__icon svg { width: 22px; height: 22px; }
.info-card h3 { font-size: var(--fs-base); margin-bottom: 2px; }
.info-card p, .info-card a { font-size: var(--fs-sm); color: var(--fg-muted); }
.info-card a:hover { color: var(--primary); }

.form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--sp-6); box-shadow: var(--sh-md); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
.field { margin-bottom: var(--sp-4); }
.field label { display: block; font-size: var(--fs-sm); font-weight: 600; margin-bottom: var(--sp-2); color: var(--fg); }
.field label .req { color: var(--danger); }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem 1rem; background: var(--bg);
  border: 1.5px solid var(--border); border-radius: var(--r-sm);
  transition: border-color var(--dur), box-shadow var(--dur); min-height: 48px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-tint); }
.form__note { font-size: var(--fs-xs); color: var(--fg-subtle); margin-top: var(--sp-3); text-align: center; }
.form__success { display: none; text-align: center; padding: var(--sp-6) var(--sp-4); }
.form__success svg { width: 64px; height: 64px; color: var(--accent); margin: 0 auto var(--sp-4); }
.form__success h3 { margin-bottom: var(--sp-2); }
.form.is-sent .form__body { display: none; }
.form.is-sent .form__success { display: block; }

/* ---------- Map ---------- */
.map-embed { width: 100%; height: 340px; border: 0; border-radius: var(--r-lg); box-shadow: var(--sh-sm); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); color: #fff; padding-block: clamp(2.5rem, 6vw, 4.5rem); position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; bottom: -50%; right: -5%; width: 500px; height: 500px; background: radial-gradient(circle, rgba(255,255,255,.08), transparent 65%); }
.page-hero h1 { color: #fff; margin-bottom: var(--sp-3); }
.page-hero p { color: rgba(255,255,255,.85); max-width: 60ch; font-size: var(--fs-md); }
.breadcrumb { display: flex; align-items: center; gap: .5rem; font-size: var(--fs-sm); color: rgba(255,255,255,.75); margin-bottom: var(--sp-4); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb svg { width: 15px; height: 15px; }

/* ---------- Prose (article) ---------- */
.prose { max-width: 760px; }
.prose h2 { margin: var(--sp-6) 0 var(--sp-3); }
.prose h3 { margin: var(--sp-5) 0 var(--sp-2); }
.prose p { margin-bottom: var(--sp-4); font-size: var(--fs-md); line-height: 1.8; }
.prose ul { display: grid; gap: var(--sp-2); margin-bottom: var(--sp-4); }
.prose ul li { position: relative; padding-left: 1.8rem; color: var(--fg-muted); }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.callout { background: var(--primary-tint); border-left: 4px solid var(--primary); border-radius: var(--r-sm); padding: var(--sp-4) var(--sp-5); margin: var(--sp-5) 0; }
.callout p { margin: 0; color: var(--fg); }

/* ---------- Detail (service) layout ---------- */
.detail-grid { display: grid; grid-template-columns: 1.7fr .9fr; gap: var(--sp-7); align-items: start; }
.detail-side { position: sticky; top: calc(var(--nav-h) + 20px); display: grid; gap: var(--sp-4); }
.side-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--sp-5); box-shadow: var(--sh-sm); }
.side-card--cta { background: linear-gradient(150deg, var(--primary-dark), var(--primary)); color: #fff; }
.side-card--cta h3, .side-card--cta p { color: #fff; }
.side-card--cta p { color: rgba(255,255,255,.85); font-size: var(--fs-sm); margin: var(--sp-2) 0 var(--sp-4); }
.side-card h3 { font-size: var(--fs-md); margin-bottom: var(--sp-2); }
.side-card .btn { margin-top: var(--sp-2); }
.side-links { display: grid; gap: var(--sp-1); }
.side-links a { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-2); padding: .7rem .3rem; border-bottom: 1px solid var(--border); font-size: var(--fs-sm); font-weight: 500; color: var(--fg); transition: color var(--dur); }
.side-links a:last-child { border-bottom: none; }
.side-links a:hover { color: var(--primary); }
.side-links a svg { width: 16px; height: 16px; color: var(--accent); }
.symptom-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-2) var(--sp-4); margin: var(--sp-4) 0; }
.symptom-grid li { display: flex; align-items: flex-start; gap: var(--sp-2); font-size: var(--fs-sm); color: var(--fg-muted); padding: 0; }
.symptom-grid li::before { display: none; }
.symptom-grid svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
@media (max-width: 900px) {
  .detail-grid { grid-template-columns: 1fr; }
  .detail-side { position: static; }
  .symptom-grid { grid-template-columns: 1fr; }
}

/* ---------- Blog cards ---------- */
.blog-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.blog-card__media { aspect-ratio: 16/10; background: linear-gradient(135deg, var(--primary-tint), var(--accent-soft)); display: grid; place-items: center; color: var(--primary); }
.blog-card__media svg { width: 56px; height: 56px; opacity: .7; }
.blog-card__body { padding: var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-2); flex-grow: 1; }
.blog-card__tag { font-size: var(--fs-xs); font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: .05em; }
.blog-card h3 { font-size: var(--fs-md); }
.blog-card p { font-size: var(--fs-sm); flex-grow: 1; }
.blog-card__meta { font-size: var(--fs-xs); color: var(--fg-subtle); display: flex; align-items: center; gap: var(--sp-2); }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); border-radius: var(--r-xl); padding: clamp(2.5rem, 5vw, var(--sp-8)); text-align: center; color: #fff; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; top: -40%; left: -10%; width: 400px; height: 400px; background: radial-gradient(circle, rgba(255,255,255,.1), transparent 60%); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin-bottom: var(--sp-3); }
.cta-band p { color: rgba(255,255,255,.88); max-width: 52ch; margin: 0 auto var(--sp-5); font-size: var(--fs-md); }
.cta-band__btns { display: flex; gap: var(--sp-3); justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer { background: var(--primary-dark); color: rgba(255,255,255,.78); padding-block: var(--sp-8) var(--sp-5); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: var(--sp-6); margin-bottom: var(--sp-7); }
.footer__brand .brand__name { color: #fff; }
.footer__brand .brand__role { color: rgba(255,255,255,.6); }
.footer__about { margin: var(--sp-4) 0; font-size: var(--fs-sm); color: rgba(255,255,255,.7); max-width: 34ch; }
.footer h4 { color: #fff; font-family: 'Lora', serif; font-size: var(--fs-base); margin-bottom: var(--sp-4); }
.footer__links { display: grid; gap: var(--sp-2); }
.footer__links a { font-size: var(--fs-sm); color: rgba(255,255,255,.7); transition: color var(--dur); }
.footer__links a:hover { color: #fff; }
.footer__contact li { display: flex; gap: var(--sp-3); font-size: var(--fs-sm); margin-bottom: var(--sp-3); color: rgba(255,255,255,.7); }
.footer__contact svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.footer__social { display: flex; gap: var(--sp-3); margin-top: var(--sp-4); }
.footer__social a { width: 38px; height: 38px; border-radius: var(--r-full); background: rgba(255,255,255,.1); display: grid; place-items: center; transition: background var(--dur); }
.footer__social a:hover { background: var(--accent); }
.footer__social svg { width: 18px; height: 18px; color: #fff; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: var(--sp-5); display: flex; justify-content: space-between; align-items: center; gap: var(--sp-4); font-size: var(--fs-xs); color: rgba(255,255,255,.6); flex-wrap: wrap; }
.footer__bottom a:hover { color: #fff; }

/* ---------- Mobile sticky call bar ---------- */
.callbar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 90; display: none; background: var(--surface); border-top: 1px solid var(--border); box-shadow: 0 -4px 20px rgba(16,48,46,.1); padding: .55rem; gap: .55rem; padding-bottom: calc(.55rem + env(safe-area-inset-bottom)); }
.callbar a { flex: 1; display: flex; align-items: center; justify-content: center; gap: .4rem; padding: .7rem; border-radius: var(--r-sm); font-weight: 600; font-size: var(--fs-sm); min-height: 48px; }
.callbar a svg { width: 18px; height: 18px; }
.callbar__call { background: var(--primary); color: #fff; }
.callbar__wa { background: var(--whatsapp); color: #fff; }
.callbar__apt { background: var(--accent); color: #fff; }

/* ---------- Floating WhatsApp ---------- */
.fab-wa { position: fixed; right: 20px; bottom: 24px; z-index: 80; width: 58px; height: 58px; border-radius: var(--r-full); background: var(--whatsapp); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(37,211,102,.45); transition: transform var(--dur); }
.fab-wa:hover { transform: scale(1.08); }
.fab-wa svg { width: 30px; height: 30px; color: #fff; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Helpers ---------- */
.mt-6 { margin-top: var(--sp-6); }
.text-center { text-align: center; }
.hide-mobile { }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--sp-6); }
  .hero__grid { gap: var(--sp-6); }
  .cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav__links, .nav__actions .lang, .nav__actions .btn { display: none; }
  .burger { display: grid; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { order: -1; max-width: 340px; margin-inline: auto; }
  .hero__float-1 { left: 0; } .hero__float-2 { right: 0; }
  .about__grid, .contact__grid { grid-template-columns: 1fr; gap: var(--sp-6); }
  .about__photo { max-width: 380px; margin-inline: auto; }
  .topbar__info .topbar__item--addr { display: none; }
  .callbar { display: flex; }
  .fab-wa { display: none; }
  body { padding-bottom: 72px; }
  .footer { padding-bottom: 84px; }
}
@media (max-width: 640px) {
  .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .topbar__info { gap: var(--sp-4); }
  .topbar__social { display: none; }
  .hero__trust { gap: var(--sp-5); }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
