:root{
  --blue:#3a9ad9;--blue-deep:#237db8;--blue-soft:#e9f5fc;
  --pink:#f08aa3;--pink-soft:#fff0f4;
  --yellow:#f5c04a;--yellow-soft:#fff8df;
  --green:#4fbf9f;--green-soft:#e9f8f3;
  --canvas:#f7f4ee;--surface:#fff;--surface-raised:#fff;
  --text:#16324b;--muted:#5f6f7e;--border:#e8e6e1;
  --danger-bg:#fdecea;--danger-text:#8a2f20;--emergency:#8a2f20;
  --shadow:0 8px 30px #16324b12;
  --radius-sm:14px;--radius:18px;--radius-lg:20px;
}
.dark{
  --canvas:#0f1d28;--surface:#172938;--surface-raised:#1d3141;
  --text:#eff7fb;--muted:#9dafbb;--border:#294050;
  --blue-soft:#173b52;--pink-soft:#462b38;--yellow-soft:#44391f;--green-soft:#183f39;
  --danger-bg:#432723;--danger-text:#ffc3b9;--emergency:#b3412f;
  --shadow:0 10px 30px #00000038;
}
/* Website layout. The colour variables (:root and .dark) are copied by build.mjs from
   src/tokens.frozen.css (FROZEN: pre-012 palette; the app moved to lavender-peach in 012). */
/* optional + preload: the brand font when it arrives in time (always on repeat visits), never a reflow (CLS). */
@font-face{font-family:"Readex Pro";src:url(/fonts/readex-400.woff2) format("woff2");font-weight:300 500;font-display:optional}
@font-face{font-family:"Readex Pro";src:url(/fonts/readex-600.woff2) format("woff2");font-weight:600 800;font-display:optional}

/* Contrast on the web (Lighthouse AA): text on the brand blue uses the deeper blue. */
:root{--brand:#1f6fa5;--brand-text:#fff;--wa:#0e7a40;--link:#1f6fa5;--pill-blue:#1d5f8c}
.dark{--brand:#3a9ad9;--brand-text:#0b1a24;--wa:#3fbf7a;--link:#8fcbf0;--pill-blue:#8fcbf0}

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-padding-top:120px}
body{margin:0;font-family:"Readex Pro",system-ui,sans-serif;background:var(--canvas);color:var(--text);line-height:1.7;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
h1,h2,h3,p{margin:0}
a{color:var(--link)}
button,input,select{font:inherit;color:inherit}
[hidden]{display:none!important}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip{position:absolute;inset-inline-start:12px;top:-60px;background:var(--surface);padding:8px 14px;border-radius:10px;z-index:30}
.skip:focus{top:12px}
:focus-visible{outline:3px solid var(--brand);outline-offset:2px}

.wrap{width:100%;max-width:1100px;margin-inline:auto;padding-inline:16px}
main{padding-block:20px 48px;display:grid;gap:28px}
.muted{color:var(--muted)}
.small{font-size:13px}
.lead{font-size:16px;color:var(--muted);max-width:60ch}
.page-title{font-size:26px;line-height:1.35}
.eyebrow{color:var(--link);font-size:13px;font-weight:600;display:block;margin-bottom:4px}

/* header */
.site-header{position:sticky;top:0;z-index:20;background:var(--canvas);border-bottom:1px solid var(--border)}
.header-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-block:10px}
.brand{display:flex;align-items:center;gap:10px;color:var(--text);text-decoration:none;min-width:0}
.brand img{border-radius:12px;flex:none}
.brand b{display:block;font-size:16px;line-height:1.3;white-space:nowrap}
.brand small{display:block;color:var(--muted);font-size:12px}
.header-actions{display:flex;gap:8px;flex:none}
.site-nav{display:flex;gap:4px;overflow-x:auto;scrollbar-width:none;padding-bottom:8px}
.site-nav::-webkit-scrollbar{display:none}
.site-nav a{flex:none;color:var(--muted);text-decoration:none;font-size:14px;padding:8px 12px;border-radius:12px;min-height:44px;display:flex;align-items:center}
.site-nav a[aria-current=page]{background:var(--blue-soft);color:var(--link);font-weight:600}

/* buttons */
.btn{border:0;border-radius:var(--radius-sm);min-height:44px;padding:0 16px;font-size:14px;font-weight:600;display:inline-flex;align-items:center;justify-content:center;gap:8px;cursor:pointer;text-decoration:none;white-space:nowrap}
.btn-lg{min-height:52px;padding:0 22px;font-size:16px}
.btn-primary{background:var(--brand);color:var(--brand-text)}
.btn-wa{background:var(--wa);color:#fff}
.dark .btn-wa{color:#06200f}
.btn-secondary{background:var(--blue-soft);color:var(--link)}
.btn-ghost{background:var(--surface);color:var(--text);border:1px solid var(--border)}
.btn-block{width:100%}
.icon-btn{width:44px;height:44px;border-radius:50%;border:0;background:var(--surface-raised);display:grid;place-items:center;cursor:pointer}
.link{color:var(--link);font-weight:600;text-decoration:none;display:inline-flex;align-items:center;gap:6px;min-height:44px}
.link:hover{text-decoration:underline}

/* hero */
.hero{display:grid;gap:18px;align-items:center}
.hero-photo img{width:100%;aspect-ratio:480/338;object-fit:cover;border-radius:var(--radius-lg);box-shadow:var(--shadow)}
/* 020 item D: the logo first, on a light lavender panel in both themes (its colours are the app's light ones). */
.hero-photo img.hero-logo{object-fit:contain;padding:28px 32px;background:linear-gradient(180deg,#fff,#ece8ff)}
.hero h1{font-size:28px;line-height:1.35}
.hero .sep{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.hero .specialty{display:block;font-size:18px;font-weight:600;color:var(--muted)}
.hero-copy{display:grid;gap:12px}
.cta{display:flex;flex-wrap:wrap;gap:10px}

/* sections and cards */
.section-title{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px}
.section-title h2{font-size:20px}
.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:0 4px 16px #16324b06;padding:16px}
.grid{display:grid;gap:14px}
.grid-videos{grid-template-columns:repeat(auto-fill,minmax(158px,1fr))}
.pill{border-radius:20px;padding:2px 10px;font-size:12px;font-weight:600;display:inline-flex;width:fit-content}
.blue-pill{background:var(--blue-soft);color:var(--pill-blue)}
.pink-pill{background:var(--pink-soft);color:#a3405b}
.green-pill{background:var(--green-soft);color:#1a6e57}
.dark .pink-pill{color:#ffb4c6}.dark .green-pill{color:#79d8bc}
.notice{border-radius:var(--radius-sm);padding:12px 14px;font-size:14px;margin:0}
.notice.info{background:var(--blue-soft);color:var(--text)}
.notice.warn{background:var(--yellow-soft);color:var(--text)}
.review-note{display:inline-block;border:1px dashed currentColor;border-radius:8px;padding:0 7px;font-size:12px;font-weight:600;color:#7d5800;background:var(--yellow-soft);margin-inline-start:6px}
.dark .review-note{color:#ffd46d}

/* clinics */
.clinic{display:grid;gap:8px;align-content:start}
.clinic-head{display:flex;justify-content:space-between;align-items:center;gap:8px}
.clinic h3{font-size:18px}
.clinic-address{color:var(--muted)}
.prices{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:8px;margin:4px 0}
.prices div{background:var(--canvas);border-radius:12px;padding:8px 10px}
.prices dt{font-size:12px;color:var(--muted)}
.prices dd{margin:0;font-weight:600}
.hours h4{margin:4px 0 6px;font-size:15px;font-weight:600}
.hours dl{margin:0;display:grid;gap:2px}
.hours-row{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid var(--border);padding:4px 0;font-size:14px}
.hours-row dd{margin:0;color:var(--muted)}
.contact{display:flex;flex-wrap:wrap;gap:8px}

/* videos and tips */
.video-card{padding:0;overflow:hidden;display:flex;flex-direction:column}
.short{position:relative;border:0;padding:0;margin:0;cursor:pointer;background:#0f1d28;aspect-ratio:9/16;width:100%;overflow:hidden}
.short img{width:100%;height:100%;object-fit:cover;opacity:.92}
.short .play{position:absolute;inset:0;margin:auto;width:52px;height:52px;border-radius:50%;background:#ffffffe6;color:#16324b;display:grid;place-items:center}
.short .thumb-fallback{display:none;position:absolute;inset:0;padding:16px 14px 88px;align-items:flex-end;justify-content:center;text-align:center;font-weight:600;font-size:15px;line-height:1.5;color:#2a2350;background:linear-gradient(135deg,#f5f2ff 0%,#eeebff 40%,#fff1e3 100%)}
.short.no-thumb{background:#f5f2ff}
.short.no-thumb .thumb-fallback{display:flex}
.short.no-thumb .play{background:#6c5ce7;color:#fff}
@media (prefers-color-scheme:dark){.short .thumb-fallback{color:#f3f0ff;background:linear-gradient(135deg,#2e2760 0%,#352b78 45%,#3b1b2a 100%)}.short.no-thumb{background:#2e2760}.short.no-thumb .play{background:#8b7cf6}}
.clinic-photo{width:100%;aspect-ratio:16/9;height:auto;object-fit:cover;border-radius:14px;display:block}
.tip-cover{width:100%;aspect-ratio:16/9;height:auto;object-fit:cover;border-radius:12px;display:block}
.tip-cover.square{aspect-ratio:1/1}
.short-frame{width:100%;aspect-ratio:9/16;border:0;display:block;background:#000}
.video-copy{padding:10px 12px 12px;display:grid;gap:6px}
.video-card h3,.tip-card h3{font-size:15px;line-height:1.5}
.tip-card{display:grid;gap:8px;align-content:start}
.content-list{display:grid;gap:20px}
.content-switch{display:flex;gap:4px;padding:4px;max-width:420px;border-radius:14px;background:var(--blue-soft)}
.switch-tab{flex:1;min-height:44px;display:flex;align-items:center;justify-content:center;padding:8px 18px;border-radius:10px;color:var(--muted);text-decoration:none;font-weight:600}
.switch-tab[aria-current=page]{background:var(--surface);color:var(--link);box-shadow:0 1px 4px #16324b1f}
.guide-entry{display:flex;align-items:center;gap:14px;text-decoration:none;color:inherit}
/* 022b: the guide's own picture, as the app's «محتوى» card: on the pink tile, cropped to fill. */
.guide-entry-pic{flex:none;width:64px;height:64px;border-radius:16px;background:var(--pink-soft);overflow:hidden}
.guide-entry-pic img{display:block;width:100%;height:100%;object-fit:cover}
.guide-entry-text{flex:1;display:grid;gap:2px;min-width:0}
.guide-entry>svg,.guide-entry>.icon-forward{flex:none;color:var(--link)}
.grid-tips{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));align-items:start}
.tip-card p{font-size:14px;color:var(--muted)}
.filters{display:grid;gap:10px}
.search{position:relative;display:block}
.search svg{position:absolute;inset-inline-start:14px;top:50%;transform:translateY(-50%);color:var(--muted)}
.input{width:100%;min-height:48px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);padding:0 14px;font-size:16px;color:var(--text)}
.search .input{padding-inline-start:44px}
.chips{display:flex;gap:8px;overflow-x:auto;padding-bottom:4px;scrollbar-width:thin}
.chip{border:1px solid var(--border);background:var(--surface);border-radius:20px;padding:0 16px;min-height:44px;font-size:14px;white-space:nowrap;cursor:pointer}
.chip.active{background:var(--brand);border-color:var(--brand);color:var(--brand-text);font-weight:600}

/* vaccines */
.age-group h3{font-size:16px;margin-bottom:6px}
.age-group ul{margin:0;padding:0;list-style:none;display:grid;gap:6px}
.age-group li{font-size:14px;border-top:1px solid var(--border);padding-top:6px}
.table-wrap{overflow-x:auto;border-radius:var(--radius);border:1px solid var(--border);background:var(--surface)}
table{border-collapse:collapse;width:100%;min-width:420px}
th,td{text-align:start;padding:10px 12px;border-bottom:1px solid var(--border);font-size:14px;vertical-align:top}
thead th{background:var(--blue-soft);font-weight:600}
tbody th{font-weight:600}
tbody th small{display:block;font-weight:400}

/* package and prose */
.package-price .big{font-size:24px;font-weight:700;color:var(--link)}
.rules h2{font-size:18px;margin-bottom:8px}
.checks{margin:0;padding:0;list-style:none;display:grid;gap:8px}
.checks li{position:relative;padding-inline-start:26px}
.checks li::before{content:"✓";position:absolute;inset-inline-start:0;color:var(--green);font-weight:700}
.prose{display:grid;gap:8px}
.prose h2{font-size:20px;margin-top:8px}
.prose h3{font-size:16px;margin-top:6px}
.prose ul{margin:0;padding-inline-start:20px}
.app-promo{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px}
.app-promo h2{font-size:18px}

/* WhatsApp dialog */
dialog{border:0;border-radius:var(--radius-lg);padding:0;width:min(440px,calc(100% - 24px));background:var(--surface);color:var(--text);box-shadow:var(--shadow)}
dialog::backdrop{background:#0f1d2899}
.wa-form{display:grid;gap:10px;padding:18px}
.dialog-head{display:flex;justify-content:space-between;align-items:center}
.dialog-head h2{font-size:19px}
.field{display:grid;gap:4px;font-size:14px;font-weight:600}
select.input{appearance:auto}

/* footer */
.site-footer{border-top:1px solid var(--border);background:var(--surface);padding-block:24px}
.footer-grid{display:grid;gap:16px}
.footer-grid nav{display:flex;flex-wrap:wrap;gap:4px 16px}
.footer-grid nav a{color:var(--link);text-decoration:none;min-height:44px;display:inline-flex;align-items:center}

/* phones: shorter header labels */
@media (max-width:560px){
  .site-header{position:static}
  .site-nav{flex-wrap:wrap;overflow:visible;gap:2px}
  .site-nav a{padding:6px 10px}
  .brand small{display:none}
  .header-actions .btn-wa span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
  .header-actions .btn-wa{padding:0;width:44px}
  .header-actions .btn{font-size:13px;padding:0 12px}
}
@media (min-width:700px){
  .hero{grid-template-columns:1fr 1.1fr;gap:32px}
  .hero h1{font-size:34px}
  .grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}
  .grid-3{grid-template-columns:repeat(2,minmax(0,1fr))}
  .grid-videos{grid-template-columns:repeat(auto-fill,minmax(200px,1fr))}
  .page-title{font-size:30px}
  .footer-grid{grid-template-columns:1fr 1fr}
}
@media (min-width:1000px){
  .grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
/* Grid items may shrink below their content (scrolling chip rows, wide tables). */
main>*,.filters>*,.hero>*{min-width:0}
/* Very narrow phones: the header buttons get their own row under the name. */
@media (max-width:400px){
  .header-row{flex-wrap:wrap}
  .header-actions{width:100%}
  .header-actions .btn-primary{flex:1}
}
/* 011 breastfeeding guide */
.btn-danger{background:var(--emergency);color:#fff}
.notice.danger{background:var(--danger-bg);color:var(--danger-text)}
.guide-intro{margin-bottom:18px}
.guide-section{margin:0 0 28px}
.guide-section>h2{font-size:22px;margin:0 0 10px}
.guide-row{display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;padding:2px 2px 10px;margin:0 -2px}
.guide-row>div{flex:0 0 86%;scroll-snap-align:start}
@media (min-width:900px){.guide-row{display:grid;grid-template-columns:repeat(3,1fr);overflow:visible}.guide-row>div{flex:none}}
.guide-item h3{font-size:18px;margin:12px 0 8px}
.guide-pic{background:#fcf8f4;border-radius:var(--radius-sm);padding:8px;display:flex;justify-content:center}
.guide-pic>picture{display:flex;justify-content:center;width:100%}
.guide-img{width:100%;max-width:330px;height:auto;aspect-ratio:276/220;object-fit:contain}
.guide-steps{padding-inline-start:22px;margin:0 0 10px;line-height:1.8;list-style-type:arabic-indic}
.guide-steps .checks{margin:6px 0 0}
.guide-suits{background:var(--green-soft);border-radius:var(--radius-sm);padding:10px 12px;margin:8px 0 0;font-size:14px}
.guide-warning{margin-top:8px}
.guide-bullets{line-height:1.9;padding-inline-start:22px;margin:8px 0}
.table-wrap{overflow-x:auto}
.guide-table{width:100%;border-collapse:collapse;margin:6px 0 10px;font-size:15px}
.guide-table th,.guide-table td{border:1px solid var(--border);padding:10px;text-align:start}
.guide-table thead th{background:var(--blue-soft)}
.guide-call{margin-top:10px;padding:16px}
.guide-call h2{font-size:18px;margin:0 0 6px;color:inherit}
.guide-call-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:10px}
/* RTL arrow audit (2026-11-10): forward icons are drawn for LTR and mirrored in RTL. */
.icon-forward{display:inline-flex;line-height:0}
.icon-forward svg{width:14px;height:14px}
.section-title{gap:8px}
.section-title .link{gap:1px;white-space:nowrap}
[dir="rtl"] .icon-forward svg{transform:scaleX(-1)}
/* The doctor's card of additional vaccines (013 on the website): one card per vaccine, one price per brand. */
.vaccine-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:12px}
.vaccine-card{display:grid;gap:6px;align-content:start}
.vaccine-card h3{margin:0;font-size:17px}
.vaccine-card .latin{font-size:13px;font-weight:400;color:var(--muted)}
.vaccine-card p{margin:0}
.brand-prices{list-style:none;margin:0;padding:0;display:grid;gap:4px}
.brand-prices li{display:flex;justify-content:space-between;gap:12px;border-top:1px solid var(--border);padding-top:6px}
.one-price{font-size:16px}

/* 021: a tip's category picture (when the doctor set no cover), on a light lavender tile in both themes. */
.tip-clay{width:64px;height:64px;padding:6px;border-radius:16px;background:#ece8ff;margin-bottom:8px}
