/* Dr. Interpreter — calm clinical ink + teal, warm sand surfaces.
   Layout idea: one readable column with full-width tinted bands; cards only where a choice is made. */
:root {
  --ink: #14304a;        /* headings, primary text */
  --text: #2b3a47;       /* body text */
  --muted: #5d6b77;      /* secondary text */
  --teal: #1d6f6a;       /* accent, buttons, links */
  --teal-dark: #155550;
  --sand: #f3ece1;       /* tinted bands */
  --paper: #fcfaf6;      /* page background */
  --line: #ddd5c7;
  --wa: #1f8f4e;         /* WhatsApp button */
  --ph-bg: #fff2a8;      /* placeholder highlight */
  --font-display: "Newsreader", Georgia, "Times New Roman", serif;
  --font-body: "Public Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --radius: 10px;
  --wrap: 1120px;
  --read: 68ch;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--text); font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65; }
img { max-width: 100%; height: auto; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--teal-dark); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.2; text-wrap: balance; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.55rem, 3vw, 2.1rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.08rem; font-family: var(--font-body); font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li { margin-bottom: .35em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.read { max-width: var(--read); }
.ph { background: var(--ph-bg); color: #5b4500; padding: 0 .3em; border-radius: 3px; font-weight: 600; font-family: var(--font-body); }

/* preview banner (preview build only) */
.preview-banner { background: #2b3a47; color: #fff; font-size: .9rem; padding: 8px 0; }
.preview-banner a { color: #fff; }

/* header */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 68px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; }
.brand-mark { width: 34px; height: 34px; border-radius: 8px; background: var(--teal); color: #fff; display: grid; place-items: center; font-family: var(--font-body); font-size: .95rem; font-weight: 700; }
.nav { display: flex; gap: 18px; flex-wrap: wrap; margin-left: auto; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; font-size: .95rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--teal); text-decoration: underline; }
.lang { display: flex; gap: 6px; font-size: .85rem; }
.lang a, .lang span { padding: 2px 7px; border: 1px solid var(--line); border-radius: 6px; text-decoration: none; color: var(--ink); }
.lang span { background: var(--ink); color: #fff; border-color: var(--ink); }

/* buttons */
.btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 1.2em; }
.btn { display: inline-block; padding: 12px 20px; border-radius: 8px; font-weight: 600; text-decoration: none; border: 2px solid var(--teal); background: var(--teal); color: #fff; font-size: 1rem; cursor: pointer; font-family: var(--font-body); }
.btn:hover { background: var(--teal-dark); border-color: var(--teal-dark); color: #fff; }
.btn.secondary { background: transparent; color: var(--teal); }
.btn.secondary:hover { background: var(--teal); color: #fff; }
.btn.wa { background: var(--wa); border-color: var(--wa); }

/* hero */
.hero { padding: 56px 0 44px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.lead { font-size: 1.2rem; color: var(--text); max-width: 60ch; }
.eyebrow { font-size: .85rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--teal); margin-bottom: .6em; }
.doctor-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.doctor-photo { aspect-ratio: 4 / 5; background: var(--sand); border-radius: 8px; display: grid; place-items: center; color: var(--muted); font-size: .9rem; text-align: center; padding: 12px; margin-bottom: 14px; }
.doctor-card .name { font-family: var(--font-display); font-size: 1.2rem; color: var(--ink); font-weight: 600; margin: 0; }
.doctor-card .role { color: var(--muted); font-size: .95rem; margin: 0; }

/* trust strip */
.trust { background: var(--ink); color: #e9eef2; }
.trust ul { list-style: none; margin: 0; padding: 18px 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.trust li { margin: 0; font-size: .97rem; padding-left: 14px; border-left: 3px solid #4fb3a9; }
.trust strong { display: block; color: #fff; }

/* sections */
.section { padding: 64px 0; }
.section.tint { background: var(--sand); }
.section-head { max-width: var(--read); margin-bottom: 28px; }

/* cards for choosing a path */
.paths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.path { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--teal); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; }
.path p { color: var(--text); }
.path ul { color: var(--text); font-size: .97rem; }
.path .btn { margin-top: auto; align-self: flex-start; }

/* short answer box */
.answer { background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--teal); border-radius: var(--radius); padding: 20px 24px; max-width: var(--read); margin: 0 0 8px; }
.answer h2 { font-size: 1.2rem; font-family: var(--font-body); font-weight: 700; margin-bottom: .4em; }
.answer p:last-child { margin-bottom: 0; }

/* steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.steps li { counter-increment: step; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin: 0; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--teal); color: #fff; font-weight: 700; margin-bottom: 10px; }
.steps h3 { font-size: 1.1rem; font-family: var(--font-body); font-weight: 700; }
.steps p { margin: 0; font-size: .97rem; }

/* two columns */
.cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.panel.do { border-top: 4px solid var(--teal); }
.panel.dont { border-top: 4px solid #8a6d3b; }
.checks { list-style: none; padding: 0; }
.checks li { padding-left: 28px; position: relative; }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 700; }
.panel.dont .checks li::before { content: "—"; color: #8a6d3b; }

/* principle quote */
.principle { border-left: 5px solid var(--teal); padding: 6px 0 6px 22px; font-family: var(--font-display); font-size: 1.35rem; color: var(--ink); max-width: var(--read); margin: 0; }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 20px; margin-bottom: 10px; max-width: 860px; }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; color: var(--ink); }
.faq details[open] summary { border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.faq details p { margin-bottom: 16px; }

/* contact */
.contact .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; align-items: start; }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 14px; }
.form label { font-weight: 600; color: var(--ink); font-size: .95rem; display: block; margin-bottom: 4px; }
.form input, .form select, .form textarea { width: 100%; padding: 11px 12px; border: 1px solid #c9bfae; border-radius: 8px; font: inherit; background: #fff; color: var(--text); }
.form textarea { min-height: 110px; resize: vertical; }
.form .consent { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; }
.form .consent input { width: auto; margin-top: 4px; }
.form .note { font-size: .88rem; color: var(--muted); margin: 0; }
.form-status { font-size: .95rem; color: var(--teal-dark); font-weight: 600; min-height: 1.4em; margin: 0; }

/* footer */
.site-footer { background: var(--ink); color: #c9d4dd; padding: 44px 0 28px; font-size: .95rem; }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer h2 { color: #fff; font-family: var(--font-body); font-size: 1.05rem; font-weight: 700; }
.site-footer a { color: #e9eef2; }
.site-footer ul { list-style: none; padding: 0; }
.site-footer .legal { grid-column: 1 / -1; border-top: 1px solid #2f4a63; padding-top: 18px; font-size: .85rem; color: #9fb0bf; }

/* floating WhatsApp */
.wa-float { position: fixed; right: 18px; bottom: 18px; background: var(--wa); color: #fff; text-decoration: none; padding: 12px 18px; border-radius: 999px; font-weight: 700; box-shadow: 0 6px 18px rgba(20, 48, 74, .25); z-index: 20; }
.wa-float:hover { color: #fff; background: #187340; }

/* breadcrumbs */
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); }

.disclaimer { font-size: .9rem; color: var(--muted); max-width: var(--read); border-top: 1px solid var(--line); padding-top: 14px; }

@media (max-width: 900px) {
  .hero .wrap, .contact .wrap, .cols { grid-template-columns: 1fr; }
  .paths { grid-template-columns: 1fr; }
  .steps, .trust ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer .wrap { grid-template-columns: 1fr; }
  .doctor-card { max-width: 360px; }
}
@media (max-width: 520px) {
  .steps, .trust ul { grid-template-columns: 1fr; }
  .nav { margin-left: 0; }
  .section { padding: 48px 0; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
