/* ============================================================
   Rising Sun Family Primary Care — Design A: Neomorphism
   Soft-extruded surfaces on a warm cream base, deep navy + gold
   brand palette (matched to risingsunprimarycare.com), editorial
   serif headlines, and a golden-ratio (φ=1.618) spacing/type scale.
   ============================================================ */

:root{
  /* --- Neutrals (warm cream, 3-step tonal range) --- */
  --bg:            #F7F1E6;
  --bg-rgb:        247,241,230;
  --surface:       #FCFAF5;
  --surface-2:     #F0E4D1;
  --hairline:      #E4D8C0;

  /* --- Ink (brand navy doubles as text color for a cohesive, premium feel) --- */
  --ink:           #0A2B4D;
  --ink-soft:      #3E5974;
  --steel:         #7991A8;

  /* --- Brand accent: gold --- */
  --accent:        #D39A32;
  --accent-light:  #E8BC63;
  --accent-ink:    #8A6319;
  --accent-soft:   #F3E3BE;

  /* --- Brand navy (header/footer/hero-dark + gradients) --- */
  --navy:          #0A2B4D;
  --navy-mid:      #123B63;
  --navy-light:    #1F4F78;
  --navy-soft:     #E3EAF1;

  --shadow-light:  #FFFFFF;
  --shadow-dark:   #E2D5B8;
  --ambient:       0 20px 44px rgba(10,43,77,.10);
  --ambient-sm:    0 10px 24px rgba(10,43,77,.08);

  /* --- Golden-ratio (φ≈1.618) spacing scale --- */
  --phi:           1.618;
  --space-xs:      .382rem;   /* ~6px  */
  --space-sm:      .618rem;   /* ~10px */
  --space-md:      1rem;      /* 16px  */
  --space-lg:      1.618rem;  /* ~26px */
  --space-xl:      2.618rem;  /* ~42px */
  --space-2xl:     4.236rem;  /* ~68px */
  --space-3xl:     6.854rem;  /* ~110px */

  --radius:        16px;
  --radius-lg:     24px;
  --container:     1180px;

  --font-display:  "Lora", Georgia, "Times New Roman", serif;
  --font-ui:       "Work Sans", "Segoe UI", sans-serif;
  --font-body:     "Work Sans", "Segoe UI", sans-serif;
  --font-mono:     "IBM Plex Mono", monospace;

  color-scheme: light;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior:auto; } *{ animation-duration:.01ms !important; transition-duration:.01ms !important; } }

body{
  margin:0; background:var(--bg); color:var(--ink);
  font-family:var(--font-body); font-size:16px; line-height:1.6;
  -webkit-font-smoothing:antialiased;
}

.container{ width:100%; max-width:var(--container); margin:0 auto; padding:0 24px; }

img{ max-width:100%; display:block; }
a{ color:inherit; }
h1,h2,h3{ font-family:var(--font-display); font-weight:600; margin:0 0 .5em; letter-spacing:-.012em; text-wrap:balance; color:var(--ink); }
h1{ font-size:clamp(2.4rem,5.2vw,4.236rem); line-height:1.07; }
h2{ font-size:clamp(1.8rem,3.6vw,2.618rem); line-height:1.16; }
h3{ font-size:1.618rem; font-weight:600; letter-spacing:0; line-height:1.28; }
h4{ font-family:var(--font-ui); font-weight:700; font-size:.82rem; text-transform:uppercase; letter-spacing:.08em; color:var(--accent-ink); margin:0 0 .5em; }
p{ margin:0 0 1em; color:var(--ink-soft); }
.lead{ font-size:1.22rem; color:var(--ink-soft); line-height:1.55; }

.skip-link{ position:absolute; left:-999px; top:0; background:var(--accent); color:#fff; padding:12px 18px; border-radius:0 0 10px 0; z-index:200; }
.skip-link:focus{ left:0; }

/* ---------- Neomorphic surface primitives ---------- */
.surface{
  background:var(--surface); border-radius:var(--radius-lg);
  box-shadow: 6px 6px 14px var(--shadow-dark), -6px -6px 14px var(--shadow-light), var(--ambient-sm);
}
.surface--sm{ border-radius:var(--radius); box-shadow: 5px 5px 10px var(--shadow-dark), -5px -5px 10px var(--shadow-light); }
.surface--pressed{
  background:var(--surface);
  box-shadow: inset 5px 5px 10px var(--shadow-dark), inset -5px -5px 10px var(--shadow-light);
}

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:9px;
  font-family:var(--font-ui); font-weight:700; font-size:.98rem;
  padding:14px 28px; border-radius:999px; border:none; cursor:pointer;
  text-decoration:none; transition:transform .15s ease, box-shadow .15s ease;
}
.btn--primary{
  color:#fff; background:var(--accent);
  box-shadow: 5px 5px 12px var(--shadow-dark), -4px -4px 9px var(--shadow-light), var(--ambient-sm);
}
.btn--primary:hover{ transform:translateY(-2px); box-shadow: 7px 7px 16px var(--shadow-dark), -5px -5px 11px var(--shadow-light), 0 16px 30px rgba(138,99,25,.22); }
.btn--primary:active{ transform:translateY(0); box-shadow: inset 4px 4px 8px #8A6319, inset -3px -3px 8px #F6D98A; }

.btn--ghost{
  color:var(--ink); background:var(--surface);
  box-shadow: 5px 5px 11px var(--shadow-dark), -5px -5px 11px var(--shadow-light);
}
.btn--ghost:hover{ color:var(--accent-ink); }
.btn--ghost:active{ box-shadow: inset 4px 4px 8px var(--shadow-dark), inset -4px -4px 8px var(--shadow-light); }
.btn--block{ width:100%; }

.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-family:var(--font-ui); font-weight:700; font-size:.78rem;
  text-transform:uppercase; letter-spacing:.12em; color:var(--accent-ink);
  margin-bottom:14px;
}
.eyebrow::before{ content:""; width:22px; height:2px; background:var(--accent); border-radius:2px; }

/* ---------- Nav ---------- */
.nav{ position:sticky; top:0; z-index:100; background:rgba(var(--bg-rgb),.9); backdrop-filter:blur(6px); }
.nav__inner{ display:flex; align-items:center; gap:18px; padding:16px 24px; }
.nav__brand{ display:flex; align-items:center; gap:10px; flex-shrink:0; white-space:nowrap; text-decoration:none; font-family:var(--font-display); font-weight:600; font-size:1.08rem; color:var(--ink); }
.nav__mark{ flex-shrink:0; }
span.nav__mark{
  width:40px; height:40px; border-radius:50%;
  background: radial-gradient(circle at 34% 30%, var(--accent-light), var(--accent) 70%);
  box-shadow: 4px 4px 9px var(--shadow-dark), -4px -4px 9px var(--shadow-light);
}
img.nav__mark{ height:44px; width:auto; object-fit:contain; }
.nav__links{ display:flex; gap:4px; list-style:none; margin:0; padding:0; flex:1; min-width:0; }
.nav__links a{ display:block; padding:10px 11px; border-radius:999px; text-decoration:none; white-space:nowrap; font-family:var(--font-ui); font-weight:600; font-size:.89rem; color:var(--ink-soft); transition:background .15s, color .15s; }
.nav__links a:hover, .nav__links a[aria-current="page"]{ background:var(--surface); color:var(--ink); box-shadow: 3px 3px 7px var(--shadow-dark), -3px -3px 7px var(--shadow-light); }
.nav__cta{ display:flex; align-items:center; gap:11px; margin-left:auto; flex-shrink:0; }
.nav__cta .btn{ padding:12px 22px; font-size:.91rem; }
.nav__phone{ display:flex; align-items:center; gap:6px; font-family:var(--font-ui); font-weight:700; font-size:.89rem; white-space:nowrap; text-decoration:none; color:var(--ink); }
.nav__lang{
  display:flex; align-items:center; justify-content:center; width:42px; height:42px; flex-shrink:0;
  border-radius:50%; background:var(--surface); box-shadow: 4px 4px 9px var(--shadow-dark), -4px -4px 9px var(--shadow-light);
  font-family:var(--font-ui); font-weight:700; font-size:.78rem; letter-spacing:.02em; color:var(--ink);
  text-decoration:none; transition:box-shadow .15s;
}
.nav__lang:hover{ box-shadow: inset 3px 3px 7px var(--shadow-dark), inset -3px -3px 7px var(--shadow-light); }
.mobile-nav__lang{ display:flex; align-items:center; justify-content:center; gap:8px; }
.nav__burger{ display:none; background:var(--surface); border:none; border-radius:12px; padding:9px; box-shadow: 4px 4px 8px var(--shadow-dark), -4px -4px 8px var(--shadow-light); cursor:pointer; }
.nav__burger span{ display:block; width:20px; height:2px; background:var(--ink); margin:4px 0; border-radius:2px; }

.mobile-nav{ position:fixed; inset:0; z-index:200; background:var(--bg); transform:translateX(100%); transition:transform .3s ease; padding:22px; overflow-y:auto; }
.mobile-nav.is-open{ transform:translateX(0); }
.mobile-nav__top{ display:flex; justify-content:space-between; align-items:center; margin-bottom:26px; }
.mobile-nav__close{ background:var(--surface); border:none; border-radius:12px; padding:10px; box-shadow: 4px 4px 8px var(--shadow-dark), -4px -4px 8px var(--shadow-light); }
.mobile-nav__links{ list-style:none; margin:0 0 24px; padding:0; display:flex; flex-direction:column; gap:10px; }
.mobile-nav__links a{ display:block; padding:14px 18px; border-radius:16px; background:var(--surface); text-decoration:none; font-family:var(--font-ui); font-weight:600; color:var(--ink); box-shadow: 5px 5px 10px var(--shadow-dark), -5px -5px 10px var(--shadow-light); }

@media (max-width:1040px){
  .nav__links{ display:none; }
  .nav__burger{ display:block; }
  .nav__phone span.txt{ display:none; }
}

/* ---------- Hero ---------- */
.hero{ padding:var(--space-2xl) 0 var(--space-3xl); position:relative; overflow:hidden; }
.hero__bg-mark{
  position:absolute; top:-160px; right:-200px; width:680px; height:680px; border-radius:50%;
  border:64px solid var(--surface-2); z-index:0; pointer-events:none;
}
.hero__bg-mark::after{
  content:""; position:absolute; inset:64px; border-radius:50%; border:1px solid var(--hairline);
}
.hero__grid{ display:grid; grid-template-columns:1.618fr 1fr; gap:var(--space-2xl); align-items:center; position:relative; z-index:1; }
.hero__kicker-rule{ width:46px; height:3px; background:var(--accent); border-radius:2px; margin-bottom:18px; }
.hero__actions{ display:flex; gap:14px; flex-wrap:wrap; margin-top:var(--space-lg); }
.hero__trust{ display:flex; gap:22px; margin-top:var(--space-xl); flex-wrap:wrap; padding-top:var(--space-lg); border-top:1px solid var(--hairline); }
.hero__trust div{ display:flex; align-items:center; gap:10px; font-family:var(--font-ui); font-weight:700; font-size:.86rem; color:var(--ink-soft); }
.hero__trust svg{ width:19px; height:19px; color:var(--navy); flex-shrink:0; }

/* Editorial portrait card (Home hero, neomorphism) */
.portrait-wrap{ position:relative; max-width:400px; margin:0 auto; }
.portrait-frame{
  position:relative; border-radius:32px; overflow:hidden; aspect-ratio:4/5;
  background:var(--surface);
  box-shadow: 14px 14px 30px var(--shadow-dark), -14px -14px 30px var(--shadow-light), var(--ambient);
}
.portrait-frame img{ width:100%; height:100%; object-fit:cover; display:block; filter:saturate(.94) contrast(1.06); }
.portrait-frame::after{
  content:""; position:absolute; inset:0; border-radius:inherit; pointer-events:none;
  background: linear-gradient(155deg, rgba(10,43,77,.2), transparent 48%, rgba(211,154,50,.16));
  mix-blend-mode:multiply;
}
.portrait-frame::before{
  content:""; position:absolute; inset:10px; border-radius:24px; border:1px solid rgba(255,255,255,.5); z-index:2; pointer-events:none;
}
.portrait-frame__badge{
  position:absolute; left:-22px; bottom:32px; z-index:3;
  background:var(--surface); border-radius:18px; padding:14px 20px 14px 16px;
  box-shadow: 8px 8px 18px var(--shadow-dark), -7px -7px 16px var(--shadow-light), var(--ambient-sm);
  display:flex; align-items:center; gap:11px; max-width:220px;
}
.portrait-frame__badge svg{ width:24px; height:24px; color:var(--accent); flex-shrink:0; }
.portrait-frame__badge strong{ display:block; font-family:var(--font-display); font-weight:600; font-size:.88rem; color:var(--ink); line-height:1.25; }
.portrait-frame__badge span{ display:block; font-size:.7rem; color:var(--steel); margin-top:1px; }

.hero__portrait{ position:relative; aspect-ratio:1/1; border-radius:50%; padding:16px; }
.hero__portrait-inner{
  width:100%; height:100%; border-radius:50%; overflow:hidden; position:relative;
  background: radial-gradient(circle at 32% 26%, var(--accent-soft), var(--surface-2) 72%);
  display:flex; align-items:center; justify-content:center;
}
.hero__portrait-inner img{ filter:saturate(.94) contrast(1.06); }
.hero__portrait-inner::after{
  content:""; position:absolute; inset:0; border-radius:inherit; pointer-events:none;
  background: linear-gradient(155deg, rgba(10,43,77,.18), transparent 50%, rgba(211,154,50,.14));
  mix-blend-mode:multiply;
}
.hero__portrait-initials{ font-family:var(--font-display); font-weight:600; font-size:5rem; color:var(--accent-ink); opacity:.55; }
.pending-badge{
  position:absolute; bottom:14px; right:14px; background:#fff; color:var(--accent-ink);
  font-family:var(--font-ui); font-weight:700; font-size:.7rem; text-transform:uppercase; letter-spacing:.05em;
  padding:6px 12px; border-radius:999px; box-shadow: 4px 4px 8px var(--shadow-dark), -4px -4px 8px var(--shadow-light);
}

@media (max-width:900px){
  .hero__grid{ grid-template-columns:1fr; gap:44px; }
  .hero__portrait{ max-width:280px; margin:0 auto; }
  .portrait-wrap{ max-width:300px; }
  .hero__bg-mark{ display:none; }
}

/* ---------- Sections ---------- */
section{ padding:clamp(2.618rem,6vw,var(--space-2xl)) 0; }
.section--tight{ padding:clamp(1.618rem,4vw,var(--space-xl)) 0; }
.section-head{ max-width:640px; margin:0 0 var(--space-xl); }
.section-head--center{ margin-left:auto; margin-right:auto; text-align:center; }

/* ---------- Services grid ---------- */
.servicios-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:22px; }
.servicio-card{ padding:28px 24px; display:flex; flex-direction:column; gap:14px; transition:transform .2s ease, box-shadow .2s ease; }
.servicio-card:hover{ transform:translateY(-4px); box-shadow: 6px 6px 14px var(--shadow-dark), -6px -6px 14px var(--shadow-light), var(--ambient); }
.servicio-card__icon{
  width:52px; height:52px; border-radius:16px; display:flex; align-items:center; justify-content:center;
  background:var(--surface); box-shadow: inset 3px 3px 6px var(--shadow-dark), inset -3px -3px 6px var(--shadow-light);
  color:var(--accent);
}
.servicio-card__icon svg{ width:26px; height:26px; }
.servicio-card h3{ margin:0; font-size:1.1rem; }
.servicio-card ul{ margin:0; padding-left:18px; color:var(--ink-soft); font-size:.9rem; line-height:1.65; }
.servicio-card p{ font-size:.92rem; margin:0; }

@media (max-width:1080px){ .servicios-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .servicios-grid{ grid-template-columns:1fr; } }

/* ---------- Stat strip ---------- */
.stats{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.stat{ padding:30px 22px; text-align:center; }
.stat .v{ font-family:var(--font-display); font-weight:600; font-size:2.3rem; color:var(--accent-ink); display:block; }
.stat .l{ font-family:var(--font-ui); font-size:.88rem; color:var(--ink-soft); font-weight:600; }
@media (max-width:720px){ .stats{ grid-template-columns:1fr; } }

/* ---------- Certification badges ---------- */
.cert-badges{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.cert-badge{ padding:28px 18px; text-align:center; display:flex; flex-direction:column; align-items:center; gap:10px; }
.cert-badge .ic{
  width:56px; height:56px; border-radius:50%; flex-shrink:0;
  display:flex; align-items:center; justify-content:center; color:#fff;
  background: radial-gradient(circle at 34% 30%, var(--accent-light), var(--accent) 70%);
  box-shadow: 4px 4px 9px var(--shadow-dark), -4px -4px 9px var(--shadow-light);
}
.cert-badge .ic svg{ width:26px; height:26px; }
.cert-badge strong{ font-family:var(--font-display); font-weight:600; font-size:.96rem; color:var(--ink); line-height:1.25; }
.cert-badge span{ font-size:.8rem; color:var(--steel); }
.cert-badge--placeholder{ background:transparent; box-shadow:none; border:1.5px dashed var(--hairline); border-radius:var(--radius-lg); }
.cert-badge--placeholder .ic{ background:var(--surface-2); color:var(--steel); box-shadow:none; }
@media (max-width:900px){ .cert-badges{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:520px){ .cert-badges{ grid-template-columns:1fr; } }

/* ---------- Credentials / timeline ---------- */
.creds{ display:flex; flex-direction:column; gap:16px; }
.cred-row{ display:flex; gap:18px; align-items:flex-start; padding:20px 22px; }
.cred-row__dot{ width:38px; height:38px; border-radius:50%; flex-shrink:0; background:var(--navy-soft); color:var(--navy); display:flex; align-items:center; justify-content:center; }
.cred-row__dot svg{ width:19px; height:19px; }
.cred-row h3{ margin:0 0 3px; font-size:1.05rem; }
.cred-row p{ margin:0; font-size:.92rem; }

/* ---------- Testimonial / quote-style trust block ---------- */
.promise{ padding:var(--space-xl); text-align:center; }
.promise p{ font-family:var(--font-display); font-style:italic; font-weight:500; font-size:1.4rem; line-height:1.45; color:var(--ink); max-width:680px; margin:0 auto; }
.promise span{ display:block; margin-top:var(--space-md); font-family:var(--font-ui); font-weight:700; font-size:.85rem; color:var(--accent-ink); text-transform:uppercase; letter-spacing:.06em; }

/* ---------- CTA band ---------- */
.cta-band{ text-align:center; padding:var(--space-2xl) 0; }
.cta-band .surface{ padding:52px 40px; max-width:760px; margin:0 auto; }
.cta-band .hero__actions{ justify-content:center; }

/* ---------- Cards: blog / services detail ---------- */
.card-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
@media (max-width:980px){ .card-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:640px){ .card-grid{ grid-template-columns:1fr; } }

.post-card{ overflow:hidden; display:flex; flex-direction:column; transition:transform .2s ease, box-shadow .2s ease; }
.post-card:hover{ transform:translateY(-3px); box-shadow: 6px 6px 14px var(--shadow-dark), -6px -6px 14px var(--shadow-light), var(--ambient); }
.post-card__media{ aspect-ratio:16/10; background:var(--surface-2); display:flex; align-items:center; justify-content:center; color:var(--steel); }
.post-card__body{ padding:24px; display:flex; flex-direction:column; gap:10px; flex:1; }
.post-card__tag{ font-family:var(--font-ui); font-weight:700; font-size:.7rem; text-transform:uppercase; letter-spacing:.07em; color:var(--accent-ink); }
.post-card h3{ margin:0; font-size:1.15rem; }
.post-card p{ font-size:.92rem; margin:0; flex:1; }
.post-card__more{ font-family:var(--font-ui); font-weight:700; font-size:.88rem; color:var(--accent-ink); text-decoration:none; }

.post-byline{ display:flex; align-items:center; gap:12px; margin-top:var(--space-lg); }
.post-byline img{ width:44px; height:44px; border-radius:50%; object-fit:cover; flex-shrink:0; }
.post-byline strong{ display:block; font-family:var(--font-ui); font-weight:700; font-size:.92rem; color:var(--ink); }
.post-byline span{ font-size:.8rem; color:var(--steel); }

.post-card--featured{ grid-column:1 / -1; display:grid; grid-template-columns:1.618fr 1fr; }
.post-card--featured .post-card__media{ aspect-ratio:auto; min-height:280px; }
.post-card--featured .post-card__media svg{ width:60px; height:60px; }
.post-card--featured .post-card__body{ padding:40px 44px; justify-content:center; gap:14px; }
.post-card--featured h3{ font-size:1.7rem; line-height:1.22; }
.post-card--featured p{ font-size:1rem; }
@media (max-width:760px){
  .post-card--featured{ grid-template-columns:1fr; }
  .post-card--featured .post-card__media{ min-height:180px; }
  .post-card--featured .post-card__body{ padding:28px; }
}

/* ---------- Forms ---------- */
.form-grid{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.form-grid .full{ grid-column:1/-1; }
@media (max-width:700px){ .form-grid{ grid-template-columns:1fr; } }

.field{ display:flex; flex-direction:column; gap:8px; }
.field label{ font-family:var(--font-ui); font-weight:700; font-size:.85rem; color:var(--ink); }
.field input, .field select, .field textarea, .field-select__trigger{
  font-family:var(--font-body); font-size:.98rem; padding:14px 16px; border:none; border-radius:14px;
  background:var(--surface); box-shadow: inset 4px 4px 8px var(--shadow-dark), inset -4px -4px 8px var(--shadow-light);
  color:var(--ink); outline:none;
}
.field input:focus, .field select:focus, .field textarea:focus{ box-shadow: inset 4px 4px 8px var(--shadow-dark), inset -4px -4px 8px var(--shadow-light), 0 0 0 3px var(--accent-soft); }
.field textarea{ resize:vertical; min-height:120px; }
.field .err{ display:none; color:#B3401F; font-size:.82rem; font-weight:600; }

/* ---------- Field-select (custom date/time pickers) ---------- */
.field-select{ position:relative; }
.field-select__trigger{
  width:100%; display:flex; align-items:center; justify-content:space-between; gap:10px;
  text-align:left; cursor:pointer;
}
.field-select__trigger:focus{ box-shadow: inset 4px 4px 8px var(--shadow-dark), inset -4px -4px 8px var(--shadow-light), 0 0 0 3px var(--accent-soft); }
.field-select__value{ color:var(--ink-soft); }
.field-select__trigger.has-value .field-select__value{ color:var(--ink); font-weight:600; }
.field-select__chevron{ flex-shrink:0; opacity:.6; transition:transform .15s ease; }
.field-select__trigger[aria-expanded="true"] .field-select__chevron{ transform:rotate(180deg); }
.field-select__panel{ position:absolute; top:calc(100% + 10px); left:0; z-index:60; width:min(300px,90vw); padding:18px; display:none; }
.field-select__panel.is-open{ display:block; }

.dp-head{ display:flex; align-items:center; justify-content:space-between; margin-bottom:12px; }
.dp-head button{ background:none; border:none; cursor:pointer; width:30px; height:30px; border-radius:9px; display:flex; align-items:center; justify-content:center; color:var(--ink); }
.dp-head button:hover{ background:var(--accent-soft); }
.dp-month-label{ font-family:var(--font-ui); font-weight:700; font-size:.92rem; color:var(--ink); }
.dp-grid{ display:grid; grid-template-columns:repeat(7,1fr); gap:3px; }
.dp-grid .dow{ font-size:.66rem; text-transform:uppercase; text-align:center; color:var(--steel); font-weight:700; padding-bottom:6px; }
.dp-day{ aspect-ratio:1/1; border:none; background:none; border-radius:10px; font-size:.85rem; cursor:pointer; color:var(--ink); display:flex; align-items:center; justify-content:center; }
.dp-day:hover:not(:disabled){ background:var(--accent-soft); }
.dp-day.is-selected{ background:var(--accent); color:#fff; font-weight:700; }
.dp-day:disabled{ color:var(--hairline); cursor:not-allowed; }

.tp-list{ max-height:230px; overflow-y:auto; display:flex; flex-direction:column; gap:3px; }
.tp-option{ text-align:left; padding:10px 12px; border-radius:10px; border:none; background:none; cursor:pointer; font-size:.9rem; color:var(--ink); font-family:var(--font-body); }
.tp-option:hover{ background:var(--accent-soft); }
.tp-option.is-selected{ background:var(--accent); color:#fff; font-weight:700; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea{ box-shadow: inset 4px 4px 8px var(--shadow-dark), inset -4px -4px 8px var(--shadow-light), 0 0 0 3px rgba(179,64,31,.3); }
.field.is-invalid .err{ display:block; }
.form-note{ font-size:.82rem; color:var(--steel); }
.form-status{ padding:14px 18px; border-radius:14px; font-weight:600; font-size:.92rem; margin-top:18px; display:none; }
.form-status.is-visible{ display:block; }
.form-status.is-error{ background:#F6DCD3; color:#8A2A10; }

/* ---------- Footer ---------- */
.footer{ padding:var(--space-2xl) 0 30px; margin-top:var(--space-xl); background: linear-gradient(165deg, var(--navy-mid) 0%, var(--navy) 65%); border-radius:var(--radius-lg) var(--radius-lg) 0 0; color:rgba(255,255,255,.8); }
.footer__grid{ display:grid; grid-template-columns:1.618fr 1fr 1fr 1fr; gap:34px; margin-bottom:34px; }
.footer__brand{ display:flex; align-items:center; gap:10px; font-family:var(--font-display); font-weight:600; margin-bottom:12px; color:#fff; }
.footer p{ color:rgba(255,255,255,.72); }
.footer h4{ margin-bottom:14px; color:var(--accent-light); }
.footer ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:9px; }
.footer a{ text-decoration:none; color:rgba(255,255,255,.8); font-size:.92rem; }
.footer a:hover{ color:#fff; }
.footer__bottom{ display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; padding-top:24px; border-top:1px solid rgba(255,255,255,.18); font-size:.82rem; color:rgba(255,255,255,.6); }
@media (max-width:820px){ .footer__grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:520px){ .footer__grid{ grid-template-columns:1fr; } }

/* ---------- Cookie banner ---------- */
.cookie-banner{
  position:fixed; left:20px; right:20px; bottom:20px; z-index:300; max-width:560px; margin:0 auto;
  padding:22px 24px; display:none; gap:16px; flex-direction:column;
}
.cookie-banner.is-visible{ display:flex; }
.cookie-banner p{ margin:0; font-size:.9rem; }
.cookie-banner__actions{ display:flex; gap:10px; flex-wrap:wrap; }

/* ---------- WhatsApp float ---------- */
.wa-float{
  position:fixed; right:22px; bottom:22px; z-index:250; width:58px; height:58px; border-radius:50%;
  background:#25D366; color:#fff; display:flex; align-items:center; justify-content:center;
  box-shadow: 7px 7px 14px var(--shadow-dark), -6px -6px 12px var(--shadow-light), var(--ambient-sm);
  text-decoration:none;
}
.wa-float svg{ width:27px; height:27px; }

/* ---------- Reveal on scroll ---------- */
.reveal-on-scroll{ opacity:0; transform:translateY(22px); transition:opacity .6s ease, transform .6s ease; }
.reveal-on-scroll.is-visible{ opacity:1; transform:none; }

/* ---------- Breadcrumb / page hero (inner pages) ---------- */
.page-hero{ padding:var(--space-2xl) 0 var(--space-xl); position:relative; overflow:hidden; }
.page-hero .container{ position:relative; z-index:1; }
.page-hero .hero__bg-mark{ top:-260px; right:-240px; width:560px; height:560px; }
.breadcrumb{ font-size:.85rem; color:var(--steel); margin-bottom:10px; }
.breadcrumb a{ text-decoration:none; color:var(--steel); }
.breadcrumb a:hover{ color:var(--accent-ink); }

/* ---------- 404 ---------- */
.error-page{ min-height:60vh; display:flex; align-items:center; }
.error-page .surface{ padding:56px 44px; text-align:center; max-width:560px; margin:0 auto; }
.error-page .code{ font-family:var(--font-display); font-weight:600; font-size:4.6rem; color:var(--accent); margin-bottom:6px; }

/* ---------- legal pages ---------- */
.legal{ max-width:760px; }
.legal h2{ margin-top:1.6em; }
.legal ul, .legal ol{ color:var(--ink-soft); }

/* ---------- misc ---------- */
.pill-list{ display:flex; flex-wrap:wrap; gap:10px; }
.pill{ padding:9px 16px; border-radius:999px; font-family:var(--font-ui); font-size:.85rem; font-weight:600; color:var(--ink-soft); background:var(--surface); box-shadow: 3px 3px 7px var(--shadow-dark), -3px -3px 7px var(--shadow-light); }
