/* ==========================================================================
   Elite Care Services PR — styles.css
   White base · sky blue + gold accents (from the sign) · Fraunces + Figtree
   ========================================================================== */

/* ---------- Fonts (self-hosted, OFL) ---------- */
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-var-latin.woff2") format("woff2");
  font-weight: 380 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-var-latin.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --white: #ffffff;
  --sky-25: #f8fbfe;
  --sky-50: #f3f9fd;
  --sky-100: #e4f1fa;
  --sky-200: #c9e3f4;
  --sky-300: #9dcdeb;
  --sky-400: #6fb6e0;
  --sky-500: #4ba0d2;   /* brand sky (sign) */
  --sky-600: #2c85c3;   /* logo script */
  --sky-700: #1f6fa6;   /* buttons, links (AA on white) */
  --sky-800: #185b88;
  --ink: #0f2a3f;       /* headings, deep navy */
  --ink-2: #16384f;
  --text: #2a3b4a;
  --muted: #556776;
  --line: #dde8f0;
  --line-2: #c9dae6;
  --gold-50: #fbf7ec;
  --gold-100: #f6edd5;
  --gold-200: #efdfb4;
  --gold-300: #e2c77f;
  --gold-400: #d9b866;
  --gold-500: #c9a55c;  /* brand gold */
  --gold-700: #866420;  /* gold text (AA on white) */
  --error: #b42318;
  --error-bg: #fef3f2;
  --success: #17663f;

  --font-display: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --step--1: clamp(0.9rem, 0.87rem + 0.1vw, 0.95rem);
  --step-0: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.45vw, 1.4rem);
  --step-2: clamp(1.4rem, 1.22rem + 0.8vw, 1.85rem);
  --step-3: clamp(1.85rem, 1.45rem + 1.7vw, 2.9rem);
  --step-4: clamp(2.3rem, 1.6rem + 3vw, 4rem);
  --step-5: clamp(2.6rem, 1.55rem + 4.2vw, 4.75rem);

  --max: 1240px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(4.5rem, 3rem + 5vw, 8rem);

  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 34px;
  --r-pill: 999px;

  --shadow-xs: 0 1px 2px rgba(15, 42, 63, 0.06);
  --shadow-sm: 0 1px 2px rgba(15, 42, 63, 0.05), 0 4px 14px -6px rgba(18, 62, 96, 0.12);
  --shadow-md: 0 14px 34px -16px rgba(18, 62, 96, 0.26), 0 3px 8px -4px rgba(18, 62, 96, 0.08);
  --shadow-lg: 0 34px 70px -30px rgba(18, 62, 96, 0.38), 0 10px 24px -12px rgba(18, 62, 96, 0.14);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 84px;

  --z-header: 50;
  --z-menu: 60;
  --z-bar: 40;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--sky-700); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--sky-800); text-decoration-color: var(--gold-500); }
p, ul, ol, dl, figure, blockquote { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--sky-700); outline-offset: 3px; border-radius: 6px; }
main:focus { outline: none; }
::selection { background: var(--sky-200); color: var(--ink); }
[hidden] { display: none !important; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 460;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
  font-optical-sizing: auto;
}
h1 { font-size: var(--step-5); line-height: 1.03; letter-spacing: -0.022em; }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); font-weight: 560; line-height: 1.22; letter-spacing: -0.01em; }
h4 { font-family: var(--font-body); font-size: var(--step-1); font-weight: 700; letter-spacing: 0; }
p { text-wrap: pretty; }
strong { font-weight: 700; color: var(--ink); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--ink); color: var(--white); padding: 0.75rem 1.25rem; border-radius: var(--r-sm);
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 1rem; color: var(--white); }

.icon { display: inline-block; vertical-align: -0.2em; width: 1.25em; height: 1.25em; flex: none; }
a[href^="tel:"] { white-space: nowrap; }
.icon--sm { width: 1.05em; height: 1.05em; }
.icon--duo path[opacity] { opacity: 0.28; }

/* ---------- Layout ---------- */
.container { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.container--narrow { width: min(100% - 2 * var(--gutter), 860px); margin-inline: auto; }
.section { padding-block: var(--section-y); position: relative; }
.section--tint { background: var(--sky-50); }
.section--cream { background: var(--gold-50); }
.section--tight { padding-block: clamp(3rem, 2.4rem + 3vw, 5rem); }
.section + .section--tint, .section--tint + .section { }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font: 650 0.95rem/1.3 var(--font-body);
  letter-spacing: 0.035em;
  color: var(--gold-700);
  margin: 0 0 1.1rem;
}
.eyebrow::before { content: ""; width: 2.25rem; height: 1.5px; background: linear-gradient(90deg, var(--gold-500), var(--gold-300)); border-radius: 2px; flex: none; }
.eyebrow--ink { color: var(--ink); }
.eyebrow--ink::before { background: var(--ink); opacity: 0.7; }
.eyebrow--light { color: var(--gold-300); }

.lead { font-size: var(--step-1); line-height: 1.6; color: var(--text); }
.muted { color: var(--muted); }
.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.section-head h2 + .lead, .section-head h2 + p { margin-top: 1.25rem; }
.section-head--center { text-align: center; margin-inline: auto; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--split { max-width: none; display: grid; gap: 1.25rem 4rem; align-items: end; }
@media (min-width: 900px) { .section-head--split { grid-template-columns: 1.1fr 1fr; } }

/* Gold brush underline for key words */
.swash { position: relative; white-space: nowrap; color: var(--sky-700); }
.swash::after {
  content: ""; position: absolute; left: -0.04em; right: -0.04em; bottom: -0.1em; height: 0.3em; z-index: -1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 24' preserveAspectRatio='none'%3E%3Cpath d='M3 17 C 70 6, 170 4, 297 11' fill='none' stroke='%23D9B866' stroke-width='5' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3Cpath d='M30 20 C 110 13, 200 12, 280 16' fill='none' stroke='%23E2C77F' stroke-width='2.5' stroke-linecap='round' vector-effect='non-scaling-stroke' opacity='.8'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}
.swash-wrap { position: relative; z-index: 0; }

/* ---------- Buttons & links ---------- */
.btn {
  --btn-bg: var(--white); --btn-fg: var(--ink); --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 3.25rem; padding: 0.5rem 1.55rem;
  border: 1.5px solid var(--btn-bd); border-radius: var(--r-pill);
  background: var(--btn-bg); color: var(--btn-fg);
  font: 650 1.0625rem/1.2 var(--font-body); letter-spacing: 0.005em;
  text-decoration: none; text-align: center; cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.2s, border-color 0.2s, color 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.btn .icon { width: 1.2em; height: 1.2em; transition: transform 0.25s var(--ease); }
.btn:hover { transform: translateY(-2px); color: var(--btn-fg); text-decoration: none; }
.btn:hover .icon:last-child:not(:first-child) { transform: translateX(3px); }
.btn:active { transform: translateY(0) scale(0.985); }
.btn--primary { --btn-bg: var(--sky-700); --btn-fg: var(--white); box-shadow: 0 10px 22px -10px rgba(31, 111, 166, 0.75); }
.btn--primary:hover { --btn-bg: var(--sky-800); box-shadow: 0 16px 28px -12px rgba(24, 91, 136, 0.8); }
.btn--secondary { --btn-bg: var(--white); --btn-fg: var(--ink); --btn-bd: var(--line-2); box-shadow: var(--shadow-xs); }
.btn--secondary:hover { --btn-bd: var(--sky-500); --btn-bg: var(--sky-25); }
.btn--secondary .icon { color: var(--sky-700); }
.btn--ink { --btn-bg: var(--ink); --btn-fg: var(--white); box-shadow: 0 12px 24px -12px rgba(15, 42, 63, 0.7); }
.btn--ink:hover { --btn-bg: #0a1f30; }
.btn--white { --btn-bg: var(--white); --btn-fg: var(--ink); box-shadow: 0 10px 22px -14px rgba(15, 42, 63, 0.5); }
.btn--white:hover { --btn-bg: var(--sky-25); }
.btn--white .icon { color: var(--sky-700); }
.btn--gold { --btn-bg: var(--gold-400); --btn-fg: var(--ink); }
.btn--gold:hover { --btn-bg: var(--gold-300); }
.btn--lg { min-height: 3.65rem; padding: 0.6rem 1.9rem; font-size: 1.125rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.55; pointer-events: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 700; color: var(--sky-700); text-decoration: none;
  border-bottom: 1.5px solid var(--gold-300); padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s, gap 0.25s var(--ease);
}
.link-arrow:hover { color: var(--sky-800); border-color: var(--gold-500); gap: 0.75rem; }
.link-arrow .icon { width: 1.1em; height: 1.1em; }

/* ---------- Topbar ---------- */
.topbar { background: var(--ink); color: #c9e3f4; font-size: 0.9375rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 42px; }
.topbar__facts { display: flex; gap: 0; }
.topbar__facts li { display: inline-flex; align-items: center; }
.topbar__facts li + li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--gold-400); margin-inline: 0.85rem; }
.topbar__contact { display: flex; align-items: center; gap: 1.25rem; }
.topbar a { color: var(--white); text-decoration: none; display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 600; }
.topbar a:hover { color: var(--gold-300); }
.topbar .icon { color: var(--gold-400); }
.topbar__lang { padding-left: 1.25rem; border-left: 1px solid rgba(255, 255, 255, 0.18); }
@media (max-width: 1080px) { .topbar__facts li:nth-child(3) { display: none; } }
@media (max-width: 860px) { .topbar { display: none; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s, border-color 0.3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px -18px rgba(15, 42, 63, 0.35); }
.site-header__inner { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); }
.brand { display: inline-flex; flex: none; padding-block: 8px; border-radius: 8px; }
.brand img { height: 66px; width: auto; }
.site-nav { margin-inline: auto; }
.site-nav ul { display: flex; align-items: center; gap: 0.25rem; }
.site-nav a {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0.5rem 0.8rem;
  color: var(--ink-2); font-weight: 600; font-size: 1.0rem; text-decoration: none; border-radius: 10px; white-space: nowrap;
}
.site-nav a::after {
  content: ""; position: absolute; left: 0.8rem; right: 0.8rem; bottom: 6px; height: 2px; border-radius: 2px;
  background: var(--gold-400); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease);
}
.site-nav a:hover { color: var(--sky-700); }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav a[aria-current="page"] { color: var(--ink); }
.site-header__actions { display: flex; align-items: center; gap: 0.75rem; margin-left: auto; }
.site-nav + .site-header__actions { margin-left: 0; }
.header-phone { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--ink); padding: 0.25rem 0.25rem; border-radius: 12px; }
.header-phone__icon { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--sky-50); color: var(--sky-700); border: 1px solid var(--sky-100); }
.header-phone__icon .icon { width: 1.35rem; height: 1.35rem; }
.header-phone__text { display: flex; flex-direction: column; line-height: 1.15; }
.header-phone__text small { font-size: 0.8rem; color: var(--muted); font-weight: 600; }
.header-phone__text strong { font-size: 1.02rem; font-variant-numeric: tabular-nums; }
.header-phone:hover { color: var(--sky-700); }
.header-cta { min-height: 3rem; padding-inline: 1.3rem; font-size: 1rem; white-space: nowrap; }
.lang-pill {
  display: none; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 0.75rem;
  border: 1.5px solid var(--line-2); border-radius: var(--r-pill); color: var(--ink); font-weight: 700; font-size: 0.95rem; text-decoration: none;
}
.lang-pill:hover { border-color: var(--sky-500); color: var(--sky-700); }
.menu-toggle {
  display: none; position: relative; width: 48px; height: 48px; border-radius: 14px;
  border: 1.5px solid var(--line-2); background: var(--white); color: var(--ink);
}
.menu-toggle__bars { position: absolute; inset: 0; display: grid; place-content: center; gap: 5px; }
.menu-toggle__bars span { display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor; transition: transform 0.3s var(--ease), opacity 0.2s; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1339px) { .header-phone { display: none; } }
@media (max-width: 1139px) {
  .site-nav { display: none; }
  .menu-toggle { display: inline-block; }
  .lang-pill { display: inline-flex; }
  .site-header__actions, .site-nav + .site-header__actions { margin-left: auto; }
}
@media (max-width: 860px) {
  :root { --header-h: 72px; }
  .brand img { height: 54px; }
  .header-cta { display: none; }
}

.mobile-menu {
  position: absolute; left: 0; right: 0; top: 100%;
  height: calc(100dvh - var(--header-h)); overflow-y: auto; overscroll-behavior: contain;
  background: var(--white); border-top: 1px solid var(--line);
  z-index: var(--z-menu);
}
.mobile-menu__inner { padding-block: 1.25rem 7rem; display: grid; gap: 1.5rem; }
.mobile-menu__nav li + li { border-top: 1px solid var(--line); }
.mobile-menu__nav a {
  display: flex; align-items: center; justify-content: space-between; min-height: 60px;
  font-family: var(--font-display); font-size: 1.55rem; color: var(--ink); text-decoration: none;
}
.mobile-menu__nav a[aria-current="page"] { color: var(--sky-700); }
.mobile-menu__nav a[aria-current="page"]::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-400); }
.mobile-menu__contact { display: grid; gap: 0.75rem; }
.mobile-menu__contact a {
  display: flex; align-items: center; gap: 0.9rem; padding: 0.9rem 1rem; border-radius: var(--r-md);
  background: var(--sky-50); border: 1px solid var(--sky-100); color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1.15rem;
}
.mobile-menu__contact .icon { width: 1.6rem; height: 1.6rem; color: var(--sky-700); }
.mobile-menu__contact small { display: block; font-size: 0.85rem; font-weight: 600; color: var(--muted); }
body.menu-open { overflow: hidden; }
@media (min-width: 1140px) { .mobile-menu { display: none !important; } }

/* ---------- Elite frame (sign-inspired concave corners) ---------- */
.frame {
  --cr: 30px; --off: 0px;
  --f-bg: var(--sky-500);
  --f-line-1: rgba(255, 255, 255, 0.92);
  --f-line-2: var(--gold-300);
  position: relative; isolation: isolate;
  background: var(--f-bg);
  color: var(--ink);
}
.frame, .frame__l, .frame--photo > .frame__content {
  --rr: calc(var(--cr) + var(--off));
  -webkit-mask:
    radial-gradient(circle at calc(0px - var(--off)) calc(0px - var(--off)), #0000 var(--rr), #000 calc(var(--rr) + 0.6px)) 0 0 / 51% 51% no-repeat,
    radial-gradient(circle at calc(100% + var(--off)) calc(0px - var(--off)), #0000 var(--rr), #000 calc(var(--rr) + 0.6px)) 100% 0 / 51% 51% no-repeat,
    radial-gradient(circle at calc(0px - var(--off)) calc(100% + var(--off)), #0000 var(--rr), #000 calc(var(--rr) + 0.6px)) 0 100% / 51% 51% no-repeat,
    radial-gradient(circle at calc(100% + var(--off)) calc(100% + var(--off)), #0000 var(--rr), #000 calc(var(--rr) + 0.6px)) 100% 100% / 51% 51% no-repeat;
  mask:
    radial-gradient(circle at calc(0px - var(--off)) calc(0px - var(--off)), #0000 var(--rr), #000 calc(var(--rr) + 0.6px)) 0 0 / 51% 51% no-repeat,
    radial-gradient(circle at calc(100% + var(--off)) calc(0px - var(--off)), #0000 var(--rr), #000 calc(var(--rr) + 0.6px)) 100% 0 / 51% 51% no-repeat,
    radial-gradient(circle at calc(0px - var(--off)) calc(100% + var(--off)), #0000 var(--rr), #000 calc(var(--rr) + 0.6px)) 0 100% / 51% 51% no-repeat,
    radial-gradient(circle at calc(100% + var(--off)) calc(100% + var(--off)), #0000 var(--rr), #000 calc(var(--rr) + 0.6px)) 100% 100% / 51% 51% no-repeat;
}
.frame__l { position: absolute; pointer-events: none; z-index: 0; }
.frame__l1 { --off: 10px; inset: 10px; background: var(--f-line-1); }
.frame__l2 { --off: 12px; inset: 12px; background: var(--f-bg); }
.frame__l3 { --off: 17px; inset: 17px; background: var(--f-line-2); }
.frame__l4 { --off: 19px; inset: 19px; background: radial-gradient(120% 90% at 85% 0%, rgba(255, 255, 255, 0.22), transparent 55%), var(--f-bg); }
.frame__content { position: relative; z-index: 1; }
.frame--sm { --cr: 18px; }
.frame--sm .frame__l1 { --off: 7px; inset: 7px; }
.frame--sm .frame__l2 { --off: 8.5px; inset: 8.5px; }
.frame--sm .frame__l3 { --off: 12px; inset: 12px; }
.frame--sm .frame__l4 { --off: 13.5px; inset: 13.5px; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; padding-block: clamp(2.5rem, 1.5rem + 4vw, 5.5rem) clamp(4rem, 3rem + 5vw, 8rem); overflow: clip; }
.hero__bg { position: absolute; inset: 0; pointer-events: none; z-index: -1; }
.hero__bg::before {
  content: ""; position: absolute; width: 62vw; height: 62vw; max-width: 900px; max-height: 900px; right: -18vw; top: -22vw;
  background: radial-gradient(circle, var(--sky-100) 0%, rgba(228, 241, 250, 0.5) 40%, transparent 70%);
}
.hero__bg::after {
  content: ""; position: absolute; width: 46vw; height: 46vw; left: -20vw; bottom: -26vw;
  background: radial-gradient(circle, var(--gold-50) 0%, transparent 65%);
}
.hero__grid { display: grid; gap: clamp(3rem, 2rem + 4vw, 5rem); align-items: center; }
@media (min-width: 1180px) { .hero__grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); } }
.hero__title { font-size: var(--step-5); max-width: 13.5ch; }
.hero__title .swash::after { bottom: -0.06em; }
.hero__lead { margin-top: 1.6rem; font-size: clamp(1.18rem, 1.06rem + 0.5vw, 1.42rem); line-height: 1.55; max-width: 34rem; color: var(--text); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2.25rem; }
.hero__actions .btn--secondary { font-variant-numeric: tabular-nums; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 0.75rem 1.6rem; margin-top: 2.25rem; padding-top: 1.75rem; border-top: 1px solid var(--line); max-width: 38rem; }
.hero__facts li { display: inline-flex; align-items: center; gap: 0.55rem; font-weight: 600; font-size: 1rem; color: var(--ink-2); }
.hero__facts .icon { width: 1.5rem; height: 1.5rem; color: var(--gold-500); }
@media (max-width: 560px) {
  .hero__actions .btn { width: 100%; }
  .hero__facts { flex-direction: column; gap: 0.7rem; }
}

.hero-visual { position: relative; margin: 0; min-height: 34rem; }
.hero-visual__panel { position: absolute; inset: 0 0 0 7%; }

/* Elite frame with a photo inside the gold line */
.frame--photo .frame__content { position: absolute; z-index: 1; --off: 19px; inset: 19px; overflow: hidden; background: var(--sky-100); }
.frame--photo .pic { display: block; width: 100%; height: 100%; }
@media (max-width: 639px) {
  .frame--photo { --cr: 20px; }
  .frame--photo .frame__l1 { --off: 7px; inset: 7px; }
  .frame--photo .frame__l2 { --off: 8.5px; inset: 8.5px; }
  .frame--photo .frame__l3 { --off: 12px; inset: 12px; }
  .frame--photo .frame__l4, .frame--photo .frame__content { --off: 13.5px; inset: 13.5px; }
}

/* Small "sample plan" card over the bottom of the hero photo */
.plan-mini {
  position: absolute; z-index: 3; left: 0; bottom: 1.6rem; width: min(22rem, 76%);
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.2rem 0.9rem; align-items: center;
  padding: 1rem 1.15rem 0.95rem; background: var(--white); border-radius: var(--r-md);
  border: 1px solid var(--sky-100); box-shadow: 0 18px 40px -26px rgba(15, 42, 63, 0.4);
}
.plan-mini__icon { display: grid; place-items: center; width: 2.8rem; height: 2.8rem; border-radius: 50%; background: var(--sky-50); color: var(--sky-700); border: 1px solid var(--sky-100); }
.plan-mini__icon .icon { width: 1.5rem; height: 1.5rem; }
.plan-mini__label { font-size: 0.74rem; font-weight: 750; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-700); }
.plan-mini__title { font-family: var(--font-display); font-size: 1.16rem; font-weight: 560; color: var(--ink); line-height: 1.2; }
.plan-mini__meta { margin-top: 0.15rem; font-size: 0.9rem; color: var(--muted); line-height: 1.35; }
.plan-mini__cta {
  grid-column: 1 / -1; display: flex; align-items: center; gap: 0.4rem; margin-top: 0.7rem; padding-top: 0.65rem;
  border-top: 1px solid var(--line); font-weight: 700; font-size: 0.95rem; text-decoration: none;
}
.plan-mini__cta .icon { transition: transform 0.25s var(--ease); }
.plan-mini__cta:hover .icon { transform: translateX(3px); }

.seal {
  position: absolute; z-index: 4; top: 2rem; left: 0; width: 6.4rem; height: 6.4rem; border-radius: 50%;
  display: grid; place-content: center; text-align: center; background: var(--white);
  box-shadow: inset 0 0 0 5px var(--white), inset 0 0 0 6.5px var(--gold-300), 0 12px 28px -18px rgba(15, 42, 63, 0.45);
  transform: rotate(-8deg);
}
.seal span { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-700); }
.seal strong { font-family: var(--font-display); font-weight: 560; font-size: 1.7rem; line-height: 1; color: var(--ink); }

@media (max-width: 1179px) {
  .hero__grid { gap: clamp(1.75rem, 1rem + 3vw, 3rem); }
  .hero-visual { order: -1; min-height: 0; width: 100%; max-width: 44rem; margin-inline: auto; }
  .hero-visual__panel { position: relative; inset: auto; aspect-ratio: 16 / 10; }
  .plan-mini { left: auto; right: 1.25rem; bottom: -1.75rem; width: min(22rem, 70%); }
  .hero-visual { margin-bottom: 1.75rem; }
  .seal { top: 1rem; left: 1rem; width: 5rem; height: 5rem; }
  .seal strong { font-size: 1.35rem; }
  .seal span { font-size: 0.62rem; }
}
@media (max-width: 639px) {
  .hero-visual__panel { aspect-ratio: 3 / 2; }
  .plan-mini { display: none; }
  .hero-visual { margin-bottom: 0; }
  .seal { top: 0.55rem; left: 0.55rem; width: 4.4rem; height: 4.4rem; box-shadow: inset 0 0 0 4px var(--white), inset 0 0 0 5.5px var(--gold-300), 0 8px 20px -12px rgba(15, 42, 63, 0.5); }
  .seal strong { font-size: 1.18rem; }
  .seal span { font-size: 0.56rem; letter-spacing: 0.12em; }
}

/* ---------- ¿Te suena familiar? ---------- */
.familiar__grid { display: grid; gap: clamp(2.5rem, 2rem + 3vw, 4.5rem); }
@media (min-width: 960px) {
  .familiar__grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); grid-template-areas: "intro thoughts" "answer answer"; align-items: center; }
  .familiar__intro { grid-area: intro; }
  .thoughts { grid-area: thoughts; padding-bottom: 2.5rem; }
  .familiar__answer { grid-area: answer; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 1.25rem clamp(2rem, 1rem + 3vw, 4.5rem); align-items: center; padding: clamp(2rem, 1.5rem + 2vw, 3rem) clamp(2rem, 1.5rem + 2vw, 3.25rem); }
  .familiar__answer .familiar__resolve { margin: 0; }
}
.familiar__intro .lead { margin-top: 1.25rem; max-width: 30rem; }
.thoughts { display: grid; gap: 1rem; }
@media (min-width: 640px) {
  .thoughts { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
  .thought:nth-child(even) { transform: translateY(2.5rem); }
}
.thought {
  position: relative; padding: 1.6rem 1.6rem 1.5rem 1.6rem; border-radius: var(--r-lg);
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.thought:nth-child(1) { border-top-left-radius: 6px; }
.thought:nth-child(2) { border-top-right-radius: 6px; }
.thought:nth-child(3) { border-bottom-left-radius: 6px; }
.thought:nth-child(4) { border-bottom-right-radius: 6px; }
.thought__mark { display: block; font-family: var(--font-display); font-size: 3.4rem; line-height: 0.6; height: 1.6rem; color: var(--gold-400); }
.thought p { font-family: var(--font-display); font-size: var(--step-1); line-height: 1.35; color: var(--ink); font-weight: 450; }
.thought__who { margin-top: 0.85rem; font-size: 0.92rem; color: var(--muted); font-weight: 600; }
.familiar__answer { padding: 2rem; border-radius: var(--r-lg); background: var(--sky-50); border: 1px solid var(--sky-100); }
.familiar__resolve { font-family: var(--font-display); font-size: var(--step-3); line-height: 1.12; color: var(--ink); letter-spacing: -0.015em; margin-bottom: 1rem; position: relative; z-index: 0; }
.familiar__answer-text p { margin-bottom: 1.25rem; max-width: 36rem; }

/* ---------- Services (bento) ---------- */
.bento { display: grid; gap: 1.25rem; }
@media (min-width: 720px) { .bento { grid-template-columns: 1fr 1fr; } .svc-card--feature { grid-column: 1 / -1; } }
@media (min-width: 1080px) {
  .bento { grid-template-columns: 1.2fr 1fr 1fr; grid-template-rows: auto auto; }
  .svc-card--feature { grid-column: 1; grid-row: 1 / span 2; }
}
.svc-card {
  position: relative; display: flex; flex-direction: column; gap: 0.9rem;
  padding: 1.75rem 1.75rem 1.6rem; border-radius: var(--r-lg);
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-xs);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.3s;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--sky-200); }
.svc-card__icon { display: grid; place-items: center; width: 3.6rem; height: 3.6rem; border-radius: 18px; background: var(--sky-50); color: var(--sky-700); border: 1px solid var(--sky-100); }
.svc-card__icon .icon { width: 2rem; height: 2rem; }
.svc-card h3 { font-size: clamp(1.3rem, 1.12rem + 0.55vw, 1.55rem); }
.svc-card__pain { font-weight: 700; color: var(--ink); font-size: 1.05rem; line-height: 1.45; }
.svc-card p:not(.svc-card__pain) { color: var(--muted); font-size: 1rem; line-height: 1.6; }
.svc-card .link-arrow { margin-top: auto; align-self: flex-start; font-size: 1rem; }
.svc-card__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.svc-card--feature { --f-bg: var(--sky-500); background: none; border: 0; box-shadow: none; padding: 0; }
.svc-card--feature:hover { box-shadow: none; }
.svc-card--feature .frame { height: 100%; }
.svc-card--feature .frame__content { height: 100%; display: flex; flex-direction: column; gap: 1rem; padding: clamp(2.2rem, 1.6rem + 2vw, 3rem); }
.svc-card--feature .svc-card__icon { background: var(--white); border-color: transparent; width: 4.25rem; height: 4.25rem; border-radius: 22px; }
.svc-card--feature .svc-card__icon .icon { width: 2.4rem; height: 2.4rem; }
.svc-card--feature h3 { font-size: var(--step-3); font-weight: 480; }
.svc-card--feature .svc-card__pain { font-family: var(--font-display); font-weight: 450; font-size: var(--step-1); }
.svc-card--feature p:not(.svc-card__pain) { color: var(--ink); font-size: 1.05rem; }
.svc-card--feature .link-arrow { color: var(--ink); border-color: var(--white); }
.svc-card__sched { margin-top: auto; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, 0.45); }
.svc-card__sched-label { font-size: 0.85rem !important; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink) !important; margin-bottom: 0.75rem; }
.svc-card__sched ul { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.svc-card__sched li { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.4rem 0.8rem 0.4rem 0.55rem; border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.92); color: var(--ink); font-weight: 650; font-size: 0.93rem; }
.svc-card__sched .icon { width: 1.1rem; height: 1.1rem; color: var(--sky-700); }
.svc-card--feature .link-arrow { margin-top: 0.5rem; }
.services__note { display: flex; align-items: flex-start; gap: 0.65rem; margin-top: 2rem; color: var(--muted); font-size: 1rem; max-width: 52rem; }
.services__note .icon { color: var(--gold-500); margin-top: 0.2rem; }

/* ---------- Dignity / photo slots ---------- */
.dignity__grid { display: grid; gap: clamp(2.5rem, 2rem + 4vw, 5.5rem); align-items: center; }
@media (min-width: 960px) { .dignity__grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); } }
.dignity__copy .lead { margin-top: 1.4rem; }
.dignity__copy h2 { font-size: var(--step-3); }
.elder-note {
  margin-top: 2rem; padding: 1.5rem 1.6rem; border-left: 3px solid var(--gold-400); background: var(--gold-50);
  border-radius: 0 var(--r-md) var(--r-md) 0;
}
.elder-note p { font-size: 1.08rem; color: var(--ink-2); }
.elder-note strong { display: block; font-family: var(--font-display); font-size: var(--step-1); font-weight: 560; margin-bottom: 0.35rem; }

/* ---------- Photos (temporary Pexels placeholders, swap for real Elite Care photos) ---------- */
.photo { position: relative; margin: 0; overflow: hidden; isolation: isolate; border-radius: var(--r-xl); background: var(--sky-100); }
.photo .pic { display: block; width: 100%; height: 100%; }
.photo img, .frame--photo img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
@media (max-width: 759px) { .photo img, .frame--photo img { object-position: var(--pos-m, var(--pos, 50% 50%)); } }
.photo--ruled::after {
  content: ""; position: absolute; inset: 14px; z-index: 1; pointer-events: none;
  border: 1.5px solid rgba(217, 184, 102, 0.9); border-radius: calc(var(--r-xl) - 14px);
}
.photo--ruled-light::after { border-color: rgba(255, 255, 255, 0.82); }
.photo--arch { aspect-ratio: 4 / 5; border-radius: 50% 50% var(--r-xl) var(--r-xl) / 40% 40% var(--r-xl) var(--r-xl); }
.photo--arch::after {
  content: ""; position: absolute; inset: 14px; z-index: 1; pointer-events: none; border: 1.5px solid rgba(217, 184, 102, 0.9);
  border-radius: 50% 50% calc(var(--r-xl) - 14px) calc(var(--r-xl) - 14px) / 40% 40% calc(var(--r-xl) - 14px) calc(var(--r-xl) - 14px);
}
@media (max-width: 959px) {
  .photo--arch { aspect-ratio: 1 / 1; width: 100%; max-width: 30rem; margin-inline: auto; border-radius: 50% 50% var(--r-xl) var(--r-xl) / 50% 50% var(--r-xl) var(--r-xl); }
  .photo--arch::after { border-radius: 50% 50% calc(var(--r-xl) - 14px) calc(var(--r-xl) - 14px) / 50% 50% calc(var(--r-xl) - 14px) calc(var(--r-xl) - 14px); }
}
@media (max-width: 639px) {
  .photo { border-radius: var(--r-lg); }
  .photo--ruled::after { inset: 10px; border-radius: calc(var(--r-lg) - 10px); }
  .photo--arch { border-radius: 50% 50% var(--r-lg) var(--r-lg) / 50% 50% var(--r-lg) var(--r-lg); }
  .photo--arch::after { inset: 10px; border-radius: 50% 50% calc(var(--r-lg) - 10px) calc(var(--r-lg) - 10px) / 50% 50% calc(var(--r-lg) - 10px) calc(var(--r-lg) - 10px); }
}
.about__photo { aspect-ratio: 5 / 4; }
.careers-photo { aspect-ratio: 3 / 2; margin-top: 2.25rem; }
@media (max-width: 759px) { .careers-photo { aspect-ratio: 4 / 3; } }

/* ---------- How it works ---------- */
.how__grid { display: grid; gap: clamp(2.5rem, 2rem + 3vw, 5rem); }
@media (min-width: 960px) { .how__grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); align-items: start; } .how__intro { position: sticky; top: calc(var(--header-h) + 2rem); } }
.how__intro .lead { margin-top: 1.25rem; }
.how__intro .btn { margin-top: 2rem; }
.how__alt { margin-top: 1rem; color: var(--muted); font-size: 1rem; }
.how__alt a { font-weight: 700; white-space: nowrap; }
.steps { position: relative; display: grid; gap: 1.25rem; counter-reset: step; }
.steps::before { content: ""; position: absolute; left: 2.15rem; top: 2.5rem; bottom: 2.5rem; width: 1.5px; background: linear-gradient(var(--gold-300), var(--sky-200)); }
.step { position: relative; display: grid; grid-template-columns: 4.3rem 1fr; gap: 1.4rem; align-items: start; padding: 1.75rem 1.75rem 1.75rem 0; }
.step__num {
  position: relative; z-index: 1; display: grid; place-items: center; width: 4.3rem; height: 4.3rem; border-radius: 50%;
  background: var(--white); border: 1.5px solid var(--gold-300); box-shadow: 0 0 0 6px var(--white);
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 520; color: var(--gold-700);
}
.step h3 { margin-top: 0.55rem; }
.step p { margin-top: 0.6rem; color: var(--muted); max-width: 34rem; }
.step__tag { display: inline-flex; align-items: center; gap: 0.45rem; margin-top: 0.9rem; font-size: 0.95rem; font-weight: 650; color: var(--sky-700); }
.step__tag .icon { width: 1.15rem; height: 1.15rem; }
.section--tint .step__num { box-shadow: 0 0 0 6px var(--sky-50); }

/* ---------- Families abroad ---------- */
.abroad__panel { --cr: 34px; }
.abroad__panel .frame__content { padding: clamp(2.5rem, 1.5rem + 4vw, 4.75rem); }
.abroad__grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 980px) { .abroad__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); } }
.abroad h2 { font-size: var(--step-3); color: var(--ink); }
.abroad__copy > p { margin-top: 1.25rem; color: var(--ink); font-size: var(--step-0); max-width: 34rem; }
.abroad__list { display: grid; gap: 0.75rem; margin-top: 1.75rem; }
.abroad__list li { display: flex; align-items: center; gap: 0.8rem; font-weight: 650; color: var(--ink); }
.abroad__list .abroad__ico { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: rgba(255, 255, 255, 0.9); color: var(--sky-700); flex: none; }
.abroad__list .icon { width: 1.3rem; height: 1.3rem; }
.abroad__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2.25rem; }
.abroad__visual { position: relative; justify-self: center; width: min(100%, 27rem); padding-bottom: 2.75rem; }
.abroad__photo { aspect-ratio: 4 / 5; }
.abroad__card {
  position: absolute; z-index: 2; left: -2.25rem; bottom: 0; width: min(16.5rem, 70%);
  padding: 0.75rem 0.75rem 0.9rem; background: var(--white); border-radius: var(--r-md);
  box-shadow: 0 18px 40px -26px rgba(15, 42, 63, 0.45);
}
.abroad__card img { width: 100%; height: auto; border-radius: 10px; background: var(--sky-50); }
.abroad__route { display: grid; gap: 0.3rem; margin-top: 0.65rem; padding-inline: 0.2rem; font-size: 0.88rem; font-weight: 700; line-height: 1.3; color: var(--ink); }
.abroad__route span { display: flex; align-items: center; gap: 0.45rem; }
.abroad__route .icon { width: 1.1rem; height: 1.1rem; color: var(--sky-700); }
@media (max-width: 979px) { .abroad__visual { justify-self: start; width: min(100%, 26rem); } .abroad__photo { aspect-ratio: 4 / 3; } .abroad__card { left: auto; right: -0.5rem; width: min(15rem, 66%); } }
@media (max-width: 639px) {
  .abroad__visual { padding-bottom: 2.25rem; }
  .abroad__card { right: 0.75rem; width: auto; max-width: calc(100% - 1.5rem); padding: 0.65rem 0.85rem; }
  .abroad__card img { display: none; }
  .abroad__route { margin-top: 0; padding: 0; }
}

/* ---------- Urgent banner ---------- */
.urgent { padding-block: 0 var(--section-y); }
.urgent__inner {
  display: grid; gap: 1.5rem; align-items: center; padding: clamp(1.75rem, 1.2rem + 2vw, 2.5rem) clamp(1.5rem, 1rem + 2vw, 3rem);
  border-radius: var(--r-xl); background: var(--white); border: 1.5px solid var(--gold-200);
  box-shadow: 0 24px 50px -36px rgba(134, 100, 32, 0.45);
  background-image: linear-gradient(100deg, var(--gold-50), var(--white) 55%);
}
@media (min-width: 900px) { .urgent__inner { grid-template-columns: auto 1fr auto; gap: 2rem; } }
.urgent__icon { display: grid; place-items: center; width: 4.2rem; height: 4.2rem; border-radius: 50%; background: var(--white); color: var(--gold-700); border: 1.5px solid var(--gold-200); }
.urgent__icon .icon { width: 2.1rem; height: 2.1rem; }
.urgent h2 { font-size: var(--step-2); font-weight: 540; }
.urgent p { margin-top: 0.4rem; color: var(--muted); }

/* ---------- Promise (why Elite) ---------- */
.promise__grid { display: grid; gap: clamp(2.5rem, 2rem + 3vw, 4.5rem); }
@media (min-width: 1000px) { .promise__grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: start; } }
.promise__intro .lead { margin-top: 1.25rem; }
.promise__badge { margin-top: 2.25rem; width: min(100%, 300px); filter: drop-shadow(0 22px 30px rgba(18, 62, 96, 0.22)); }
.promise-list { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
@media (min-width: 640px) { .promise-list { grid-template-columns: 1fr 1fr; } }
.promise-item { background: var(--white); padding: 1.75rem 1.6rem; }
.section--tint .promise-item { background: var(--white); }
.promise-item dt { display: flex; align-items: center; gap: 0.75rem; font-family: var(--font-display); font-size: var(--step-1); font-weight: 560; color: var(--ink); line-height: 1.25; }
.promise-item dt .icon { width: 1.6rem; height: 1.6rem; color: var(--gold-500); }
.promise-item dd { margin: 0.6rem 0 0; color: var(--muted); font-size: 1rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0.85rem; }
.faq details { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white); transition: border-color 0.25s, box-shadow 0.25s; }
.faq details[open] { border-color: var(--sky-200); box-shadow: var(--shadow-sm); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; cursor: pointer; list-style: none;
  padding: 1.25rem 1.4rem; font-family: var(--font-display); font-size: var(--step-1); font-weight: 520; color: var(--ink); line-height: 1.3;
  border-radius: var(--r-md);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 2.1rem; height: 2.1rem; border-radius: 50%;
  background: var(--sky-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256' fill='%231F6FA6'%3E%3Cpath d='M224 128a8 8 0 0 1-8 8h-80v80a8 8 0 0 1-16 0v-80H40a8 8 0 0 1 0-16h80V40a8 8 0 0 1 16 0v80h80a8 8 0 0 1 8 8Z'/%3E%3C/svg%3E") center / 1rem no-repeat;
  border: 1px solid var(--sky-100); transition: transform 0.3s var(--ease), background-color 0.2s;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--gold-50); border-color: var(--gold-200); }
.faq summary:hover { color: var(--sky-700); }
.faq__body { padding: 0 1.4rem 1.4rem; color: var(--text); max-width: 60rem; }
.faq__body p + p, .faq__body p + ul, .faq__body ul + p { margin-top: 0.75rem; }
.faq__body ul { padding-left: 1.2rem; }
.faq-preview__grid { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .faq-preview__grid { grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); } }
.faq-preview__intro .lead { margin-top: 1.25rem; }
.faq-preview__intro .link-arrow { margin-top: 1.75rem; }

/* ---------- Careers teaser ---------- */
.careers-teaser { display: grid; gap: 2rem; align-items: center; padding: clamp(2rem, 1.4rem + 3vw, 3.5rem); border-radius: var(--r-xl); background: var(--sky-50); border: 1px solid var(--sky-100); position: relative; overflow: hidden; }
@media (min-width: 900px) { .careers-teaser { grid-template-columns: auto 1fr auto; gap: 2.5rem; } }
.careers-teaser__icon { display: grid; place-items: center; width: 5rem; height: 5rem; border-radius: 24px; background: var(--white); color: var(--sky-700); box-shadow: var(--shadow-sm); }
.careers-teaser__icon .icon { width: 2.6rem; height: 2.6rem; }
.careers-teaser h2 { font-size: var(--step-3); }
.careers-teaser p { margin-top: 0.6rem; color: var(--muted); max-width: 38rem; }
.careers-teaser__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ---------- CTA band ---------- */
.cta-band { padding-block: 0 var(--section-y); }
.section--tint + .cta-band, .section--cream + .cta-band { padding-top: var(--section-y); }
.cta-band__panel { --cr: 36px; }
.cta-band__content { padding: clamp(3rem, 2rem + 4vw, 5.5rem) clamp(1.75rem, 1rem + 5vw, 6rem); text-align: center; }
.cta-band h2 { font-size: var(--step-4); max-width: 20ch; margin-inline: auto; color: var(--ink); }
.cta-band p { margin: 1.25rem auto 0; max-width: 40rem; color: var(--ink); font-size: var(--step-1); }
.cta-band__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.85rem; margin-top: 2.25rem; }
.cta-band__actions .btn--white { font-variant-numeric: tabular-nums; }
@media (max-width: 560px) { .cta-band__actions .btn { width: 100%; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #b9cddc; padding-top: clamp(3.5rem, 2.5rem + 4vw, 5.5rem); font-size: 1rem; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: var(--gold-300); text-decoration: underline; text-decoration-color: var(--gold-400); }
.site-footer__grid { display: grid; gap: 2.75rem 2rem; padding-bottom: 3rem; }
@media (min-width: 720px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .site-footer__grid { grid-template-columns: 1.35fr 0.9fr 0.9fr 1.25fr; } }
.site-footer__logo { display: inline-block; border-radius: 8px; }
.site-footer__logo img { width: 210px; height: auto; }
.site-footer__brand p { margin-top: 1.25rem; max-width: 22rem; line-height: 1.6; }
.site-footer__tag { display: inline-flex !important; align-items: center; gap: 0.5rem; padding: 0.45rem 0.85rem; border-radius: var(--r-pill); border: 1px solid rgba(226, 199, 127, 0.35); color: var(--gold-300); font-weight: 650; font-size: 0.92rem; }
.site-footer__title { font-family: var(--font-body); font-size: 0.85rem; font-weight: 750; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-300); margin-bottom: 1.1rem; }
.site-footer__col li + li { margin-top: 0.7rem; }
.site-footer__col a { display: inline-flex; min-height: 28px; align-items: center; }
.site-footer__contact li { display: flex; gap: 0.75rem; align-items: flex-start; }
.site-footer__contact li + li { margin-top: 1rem; }
.site-footer__contact .icon { color: var(--gold-400); margin-top: 0.2rem; }
.site-footer__contact small { display: block; font-size: 0.82rem; color: #8fa9bd; font-weight: 600; letter-spacing: 0.02em; }
.site-footer__contact a { word-break: break-word; font-weight: 600; }
.site-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 2rem; padding-block: 1.6rem; border-top: 1px solid rgba(201, 227, 244, 0.14); font-size: 0.92rem; color: #8fa9bd; }
.site-footer__meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; align-items: center; }
@media (max-width: 900px) { .site-footer { padding-bottom: 5.5rem; } }

/* ---------- Sticky mobile bar ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-bar);
  display: none; grid-template-columns: 1fr; gap: 0.6rem;
  padding: 0.6rem max(0.75rem, env(safe-area-inset-left)) calc(0.6rem + env(safe-area-inset-bottom)) max(0.75rem, env(safe-area-inset-right));
  background: rgba(255, 255, 255, 0.97); border-top: 1px solid var(--line);
  box-shadow: 0 -10px 30px -18px rgba(15, 42, 63, 0.45);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.mobile-bar__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem; min-height: 3.3rem; border-radius: var(--r-pill);
  font-weight: 750; font-size: 1.08rem; text-decoration: none;
}
.mobile-bar__btn .icon { width: 1.4rem; height: 1.4rem; }
.mobile-bar__btn--call { background: var(--sky-700); color: var(--white); }
.mobile-bar__btn--call:hover { color: var(--white); background: var(--sky-800); }
.mobile-bar__hours { display: block; margin-top: 0.05rem; font-size: 0.78rem; font-weight: 600; opacity: 0.9; text-align: left; }
.mobile-bar__btn span { line-height: 1.15; }
@media (max-width: 900px) { .mobile-bar { display: grid; } body { padding-bottom: 0; } }
body.menu-open .mobile-bar { display: none; }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; overflow: clip; padding-block: clamp(2.5rem, 1.8rem + 3vw, 4.5rem) clamp(3rem, 2.2rem + 3.5vw, 5.5rem); background: linear-gradient(180deg, var(--sky-50), var(--white)); border-bottom: 1px solid var(--line); }
.page-hero__ornament { position: absolute; right: -6rem; top: -6rem; width: 26rem; height: 26rem; border-radius: 50%; border: 1.5px solid var(--gold-200); pointer-events: none; }
.page-hero__ornament::before { content: ""; position: absolute; inset: 2.5rem; border-radius: 50%; border: 1px solid var(--sky-200); }
.page-hero__ornament::after { content: ""; position: absolute; inset: 6rem; border-radius: 50%; background: radial-gradient(circle, var(--sky-100), transparent 70%); }
.page-hero__inner { position: relative; }
.page-hero h1 { font-size: var(--step-4); max-width: 18ch; }
.page-hero__lead { margin-top: 1.4rem; max-width: 42rem; }
.page-hero__extra { margin-top: 2rem; }
.page-hero--split .page-hero__inner { display: grid; gap: clamp(2.25rem, 1.5rem + 3vw, 4rem); align-items: center; }
@media (min-width: 1000px) { .page-hero--split .page-hero__inner { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); } }
.page-hero__photo { aspect-ratio: 5 / 4; }
@media (max-width: 999px) { .page-hero__photo { aspect-ratio: 16 / 10; width: 100%; max-width: 44rem; } }
.breadcrumb { margin-bottom: 1.75rem; font-size: 0.95rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0.4rem; color: var(--muted); }
.breadcrumb li { display: inline-flex; align-items: center; gap: 0.4rem; }
.breadcrumb li + li::before { content: "/"; color: var(--gold-500); }
.breadcrumb a { color: var(--muted); text-decoration: none; font-weight: 600; }
.breadcrumb a:hover { color: var(--sky-700); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--ink); font-weight: 650; }
.jump-links { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.jump-links a {
  display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; padding: 0.4rem 1rem 0.4rem 0.6rem; border-radius: var(--r-pill);
  background: var(--white); border: 1px solid var(--line-2); color: var(--ink); font-weight: 650; font-size: 0.98rem; text-decoration: none;
  transition: border-color 0.2s, transform 0.25s var(--ease);
}
.jump-links a:hover { border-color: var(--sky-500); transform: translateY(-1px); color: var(--sky-700); }
.jump-links .icon { width: 1.35rem; height: 1.35rem; color: var(--sky-700); }

/* ---------- Service rows (zig-zag) ---------- */
.svc-rows { display: grid; gap: clamp(4rem, 3rem + 4vw, 7rem); }
.svc-row { display: grid; gap: clamp(2rem, 1.5rem + 3vw, 4.5rem); align-items: center; scroll-margin-top: calc(var(--header-h) + 24px); }
@media (min-width: 960px) {
  .svc-row { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
  .svc-row:nth-child(even) { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
  .svc-row:nth-child(even) .svc-row__visual { order: 2; }
}
.svc-row__visual { position: relative; }
.svc-row__photo { aspect-ratio: 5 / 4; }
.svc-row__badge {
  position: absolute; z-index: 2; top: -1.15rem; left: -1.15rem; display: grid; place-items: center;
  width: 4.5rem; height: 4.5rem; border-radius: 50%; background: var(--white); color: var(--sky-700);
  box-shadow: 0 0 0 1px var(--sky-100), 0 14px 30px -20px rgba(15, 42, 63, 0.45);
}
.svc-row__badge .icon { width: 2.25rem; height: 2.25rem; }
.svc-row:nth-child(even) .svc-row__badge { left: auto; right: -1.15rem; }
.svc-row__quote { position: absolute; z-index: 2; left: clamp(0.5rem, 2vw, 1.5rem); bottom: -1.5rem; max-width: min(82%, 24rem); padding: 0.95rem 1.2rem 1rem 1.1rem; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--sky-100); box-shadow: 0 16px 36px -24px rgba(15, 42, 63, 0.4); font-family: var(--font-display); font-size: 1.12rem; line-height: 1.35; color: var(--ink); }
.svc-row__quote-label { display: block; margin-bottom: 0.3rem; font-family: var(--font-body); font-size: 0.74rem; font-weight: 750; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-700); }
.svc-row__quote-text::before { content: "“"; color: var(--gold-400); font-size: 2rem; line-height: 0; vertical-align: -0.45rem; margin-right: 0.2rem; }
.svc-row:nth-child(even) .svc-row__quote { left: auto; right: clamp(0.5rem, 2vw, 1.5rem); }
@media (max-width: 959px) {
  .svc-row__visual { margin-bottom: 1.25rem; }
  .svc-row__badge, .svc-row:nth-child(even) .svc-row__badge { top: -0.9rem; left: 0.9rem; right: auto; width: 3.75rem; height: 3.75rem; }
  .svc-row__badge .icon { width: 1.9rem; height: 1.9rem; }
}
.svc-row__num { font-family: var(--font-display); font-size: 1rem; font-weight: 560; color: var(--gold-700); letter-spacing: 0.08em; }
.svc-row h2 { font-size: var(--step-3); margin-top: 0.5rem; }
.svc-row__pain { margin-top: 1rem; font-family: var(--font-display); font-size: var(--step-1); color: var(--sky-700); line-height: 1.35; }
.svc-row__text { margin-top: 1rem; }
.checklist { display: grid; gap: 0.7rem; margin-top: 1.5rem; }
.checklist li { display: flex; gap: 0.7rem; align-items: flex-start; }
.checklist .chk { display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--sky-50); border: 1px solid var(--sky-200); color: var(--sky-700); flex: none; margin-top: 0.12rem; }
.checklist .chk .icon { width: 0.95rem; height: 0.95rem; }
.svc-row__actions { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; margin-top: 2rem; }
.note {
  display: flex; gap: 1rem; align-items: flex-start; padding: 1.35rem 1.5rem; border-radius: var(--r-md);
  background: var(--gold-50); border: 1px solid var(--gold-200); color: var(--ink-2);
}
.note .icon { width: 1.5rem; height: 1.5rem; color: var(--gold-700); margin-top: 0.15rem; }
.note--sky { background: var(--sky-50); border-color: var(--sky-100); }
.note--sky .icon { color: var(--sky-700); }
.note strong { color: var(--ink); }
.note p + p { margin-top: 0.5rem; }

.schedule-strip { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr)); }
.schedule-strip li { display: flex; flex-direction: column; gap: 0.6rem; padding: 1.35rem; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line); }
.schedule-strip .icon { width: 2rem; height: 2rem; color: var(--sky-700); }
.schedule-strip strong { font-family: var(--font-display); font-size: 1.25rem; font-weight: 540; }
.schedule-strip span { color: var(--muted); font-size: 0.98rem; line-height: 1.45; }

/* ---------- Generic two-col + cards ---------- */
.split { display: grid; gap: clamp(2.5rem, 2rem + 3vw, 5rem); align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; } .split--wide-left { grid-template-columns: 1.15fr 0.85fr; } .split--wide-right { grid-template-columns: 0.85fr 1.15fr; } }
.split .lead { margin-top: 1.25rem; }
.split p + p { margin-top: 1rem; }
.value-grid { display: grid; gap: 1.25rem; }
@media (min-width: 720px) { .value-grid { grid-template-columns: 1fr 1fr; } }
.value-card { padding: 1.9rem 1.75rem; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); }
.value-card:nth-child(odd) { transform: none; }
@media (min-width: 720px) { .value-grid--stagger .value-card:nth-child(even) { transform: translateY(2rem); } }
.value-card__icon { display: grid; place-items: center; width: 3.2rem; height: 3.2rem; border-radius: 16px; background: var(--gold-50); color: var(--gold-700); border: 1px solid var(--gold-200); margin-bottom: 1.1rem; }
.value-card__icon .icon { width: 1.75rem; height: 1.75rem; }
.value-card h3 { font-size: var(--step-1); font-weight: 580; }
.value-card p { margin-top: 0.6rem; color: var(--muted); font-size: 1rem; }
.facts-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts-strip li { padding: 1.75rem 1.25rem; text-align: center; }
.facts-strip li + li { border-left: 1px solid var(--line); }
.facts-strip strong { display: block; font-family: var(--font-display); font-size: var(--step-3); font-weight: 480; line-height: 1; color: var(--ink); }
.facts-strip span { display: block; margin-top: 0.55rem; color: var(--muted); font-size: 0.98rem; font-weight: 600; }
@media (max-width: 640px) { .facts-strip li + li { border-left: 0; border-top: 1px solid var(--line); } }
.trust-block { padding: clamp(2rem, 1.5rem + 2vw, 3rem); border-radius: var(--r-xl); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.trust-block h2 { font-size: var(--step-3); }
.trust-block p { margin-top: 1rem; }

/* ---------- Service areas / map ---------- */
.areas-map { position: relative; padding: clamp(1.25rem, 1rem + 2vw, 2.5rem); border-radius: var(--r-xl); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.pr-map { width: 100%; height: auto; overflow: visible; }
.pr-map .muni { fill: var(--sky-100); stroke: var(--white); stroke-width: 1.2; transition: fill 0.2s; cursor: default; }
.pr-map .muni:nth-child(3n) { fill: #d8ebf8; }
.pr-map .muni:nth-child(3n+1) { fill: #cfe6f6; }
.pr-map .muni:hover, .pr-map .muni.is-active, .pr-map .muni:focus { fill: var(--sky-500); outline: none; }
.pr-map .outline { fill: none; stroke: var(--gold-400); stroke-width: 2; pointer-events: none; }
.map-tip { position: absolute; z-index: 3; pointer-events: none; transform: translate(-50%, -130%); padding: 0.4rem 0.75rem; border-radius: 10px; background: var(--ink); color: var(--white); font-weight: 700; font-size: 0.92rem; white-space: nowrap; box-shadow: var(--shadow-md); }
.map-legend { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; margin-top: 1.25rem; color: var(--muted); font-size: 0.98rem; }
.map-legend span { display: inline-flex; align-items: center; gap: 0.5rem; }
.map-legend i { width: 0.9rem; height: 0.9rem; border-radius: 4px; background: #cfe6f6; border: 1px solid var(--sky-300); }
.map-legend b { width: 1.4rem; height: 2px; background: var(--gold-400); display: inline-block; }
.muni-search { display: grid; gap: 1rem; padding: clamp(1.5rem, 1.2rem + 1.5vw, 2.25rem); border-radius: var(--r-lg); background: var(--sky-50); border: 1px solid var(--sky-100); }
.muni-search label { font-family: var(--font-display); font-size: var(--step-2); color: var(--ink); font-weight: 520; line-height: 1.2; }
.muni-search__field { position: relative; }
.muni-search__field .icon { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); width: 1.4rem; height: 1.4rem; color: var(--sky-700); pointer-events: none; }
.muni-search__field .input { padding-left: 3rem; }
.muni-result { min-height: 1.6rem; font-weight: 650; color: var(--ink-2); }
.muni-result.is-yes { color: var(--success); }
.muni-result a { font-weight: 700; }
.muni-list { columns: 2 8.5rem; column-gap: 1.5rem; }
@media (min-width: 900px) { .muni-list { columns: 4; } }
.muni-list li { break-inside: avoid; display: flex; align-items: center; gap: 0.55rem; padding: 0.42rem 0; border-bottom: 1px dashed var(--line); font-weight: 600; color: var(--ink-2); }
.muni-list li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-400); flex: none; }
.muni-list li.is-match { color: var(--sky-700); }
.muni-list li.is-match::before { background: var(--sky-500); box-shadow: 0 0 0 4px var(--sky-100); }

/* ---------- Forms (shared) ---------- */
.form-card { padding: clamp(1.5rem, 1rem + 2.5vw, 3rem); border-radius: var(--r-xl); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.form-section + .form-section { margin-top: 2.25rem; padding-top: 2.25rem; border-top: 1px solid var(--line); }
.form-section__title { display: flex; align-items: center; gap: 0.75rem; font-size: var(--step-2); margin-bottom: 1.4rem; }
.form-section__title span { display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--gold-50); border: 1px solid var(--gold-200); color: var(--gold-700); font-size: 1rem; font-family: var(--font-body); font-weight: 750; flex: none; }
.form-grid { display: grid; gap: 1.25rem; }
@media (min-width: 720px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field { display: grid; gap: 0.5rem; align-content: start; }
.field__label, .fieldset__legend { font-weight: 700; color: var(--ink); font-size: 1.02rem; }
.field__label .opt-tag, .fieldset__legend .opt-tag { font-weight: 500; color: var(--muted); font-size: 0.92rem; }
.field__label .req, .fieldset__legend .req { color: var(--error); margin-left: 0.15rem; }
.field-hint { font-size: 0.93rem; color: var(--muted); line-height: 1.45; }
.input, .select, .textarea {
  width: 100%; min-height: 3.35rem; padding: 0.75rem 1rem; border-radius: var(--r-sm);
  border: 1.5px solid var(--line-2); background: var(--white); color: var(--ink); font-size: 1.06rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.textarea { min-height: 8rem; resize: vertical; line-height: 1.5; }
.select { appearance: none; -webkit-appearance: none; padding-right: 2.75rem; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256' fill='%231F6FA6'%3E%3Cpath d='m213.66 101.66-80 80a8 8 0 0 1-11.32 0l-80-80a8 8 0 0 1 11.32-11.32L128 164.69l74.34-74.35a8 8 0 0 1 11.32 11.32Z'/%3E%3C/svg%3E") right 1rem center / 1.1rem no-repeat; }
.input::placeholder, .textarea::placeholder { color: #6a7c8e; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--sky-300); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--sky-700); box-shadow: 0 0 0 4px rgba(75, 160, 210, 0.22); }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: var(--error); background-color: var(--error-bg); }
.field-error, .step-error { display: none; align-items: center; gap: 0.45rem; color: var(--error); font-weight: 650; font-size: 0.95rem; }
.field.has-error .field-error, .step-error.is-visible { display: flex; }
.field-error .icon, .step-error .icon { width: 1.1rem; height: 1.1rem; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.fieldset__legend { padding: 0; margin-bottom: 0.75rem; }
.hidden-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.pill-group { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.pill span {
  display: inline-flex; align-items: center; gap: 0.45rem; min-height: 46px; padding: 0.5rem 1rem; border-radius: var(--r-pill);
  border: 1.5px solid var(--line-2); background: var(--white); font-weight: 650; font-size: 0.99rem; color: var(--ink-2);
  transition: border-color 0.2s, background-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.pill:hover span { border-color: var(--sky-400); }
.pill input:checked + span { border-color: var(--sky-700); background: var(--sky-50); color: var(--ink); box-shadow: inset 0 0 0 1px var(--sky-700); }
.pill input:checked + span::before { content: ""; width: 0.95rem; height: 0.95rem; border-radius: 50%; background: var(--sky-700) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256' fill='white'%3E%3Cpath d='M229.66 77.66l-128 128a8 8 0 0 1-11.32 0l-56-56a8 8 0 0 1 11.32-11.32L96 188.69 218.34 66.34a8 8 0 0 1 11.32 11.32Z'/%3E%3C/svg%3E") center / 0.62rem no-repeat; }
.pill input:focus-visible + span { outline: 3px solid var(--sky-700); outline-offset: 3px; }
.check { display: flex; gap: 0.75rem; align-items: flex-start; cursor: pointer; font-size: 1rem; line-height: 1.5; }
.check input { width: 1.35rem; height: 1.35rem; margin: 0.12rem 0 0; accent-color: var(--sky-700); flex: none; cursor: pointer; }
.file-drop {
  position: relative; display: grid; justify-items: center; gap: 0.5rem; padding: 1.75rem 1.25rem; text-align: center;
  border: 1.5px dashed var(--sky-300); border-radius: var(--r-md); background: var(--sky-25); transition: border-color 0.2s, background-color 0.2s;
}
.file-drop:hover, .file-drop.is-drag { border-color: var(--sky-700); background: var(--sky-50); }
.file-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.file-drop .icon { width: 2.2rem; height: 2.2rem; color: var(--sky-700); }
.file-drop strong { color: var(--ink); }
.file-drop__name { font-weight: 700; color: var(--success); word-break: break-all; }
.form-foot { display: grid; gap: 1.25rem; margin-top: 2rem; }
.form-foot .field-hint a { font-weight: 650; }
.form-status { display: none; padding: 1rem 1.2rem; border-radius: var(--r-sm); font-weight: 650; }
.form-status.is-error { display: block; background: var(--error-bg); color: var(--error); border: 1px solid #fecdca; }
.form-success { text-align: center; padding: clamp(2rem, 1.5rem + 3vw, 3.5rem) 1rem; }
.form-success__icon { display: grid; place-items: center; width: 5rem; height: 5rem; margin: 0 auto 1.4rem; border-radius: 50%; background: var(--sky-50); color: var(--sky-700); border: 1.5px solid var(--sky-200); }
.form-success__icon .icon { width: 2.6rem; height: 2.6rem; }
.form-success h2 { font-size: var(--step-3); }
.form-success p { margin: 1rem auto 0; max-width: 34rem; }
.btn.is-loading { pointer-events: none; opacity: 0.8; }
.btn.is-loading::after { content: ""; width: 1.05rem; height: 1.05rem; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Thank-you screens ---------- */

.thanks-screen {
  position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-xl);
  box-shadow: var(--shadow-md); padding: clamp(1.5rem, 1rem + 2.5vw, 3rem); scroll-margin-top: calc(var(--header-h) + 1rem);
}
.thanks-screen:focus { outline: none; }

.thanks-screen { text-align: left; }
.thanks-screen__badge { display: grid; place-items: center; width: 4.5rem; height: 4.5rem; border-radius: 50%; background: var(--gold-50); color: var(--gold-700); border: 1.5px solid var(--gold-200); margin-bottom: 1.5rem; }
.thanks-screen__badge .icon { width: 2.4rem; height: 2.4rem; }
.thanks-screen h2 { font-size: var(--step-4); max-width: 18ch; }
.thanks-screen > p { margin-top: 1rem; font-size: var(--step-1); max-width: 40rem; }
.next-steps { display: grid; gap: 1rem; margin-top: 2rem; counter-reset: ns; }
.next-steps li { display: grid; grid-template-columns: 2.6rem 1fr; gap: 1rem; align-items: start; padding: 1.2rem 1.25rem; border-radius: var(--r-md); background: var(--sky-50); border: 1px solid var(--sky-100); }
.next-steps li::before { counter-increment: ns; content: counter(ns); display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--white); border: 1.5px solid var(--gold-300); font-family: var(--font-display); font-weight: 560; color: var(--gold-700); }
.next-steps strong { display: block; }
.next-steps span { color: var(--muted); font-size: 1rem; }
.thanks-urgent { margin-top: 2rem; }

/* ---------- Careers ---------- */
.perks { display: grid; gap: 1rem; }
@media (min-width: 720px) { .perks { grid-template-columns: 1fr 1fr; } }
.perks li { display: flex; gap: 1rem; align-items: flex-start; padding: 1.4rem; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line); }
.perks .perk__icon { display: grid; place-items: center; width: 2.9rem; height: 2.9rem; border-radius: 14px; background: var(--sky-50); color: var(--sky-700); flex: none; }
.perks .icon { width: 1.6rem; height: 1.6rem; }
.perks strong { display: block; font-size: 1.06rem; }
.perks span { display: block; margin-top: 0.15rem; color: var(--muted); font-size: 0.98rem; line-height: 1.5; }
.docs-list { display: grid; gap: 1rem; }
@media (min-width: 760px) { .docs-list { grid-template-columns: repeat(3, 1fr); } }
.doc-card { display: flex; flex-direction: column; gap: 1rem; padding: 1.5rem; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); transition: transform 0.3s var(--ease), box-shadow 0.3s; }
.doc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.doc-card__icon { display: grid; place-items: center; width: 3.2rem; height: 3.2rem; border-radius: 14px; background: var(--gold-50); color: var(--gold-700); border: 1px solid var(--gold-200); }
.doc-card__icon .icon { width: 1.8rem; height: 1.8rem; }
.doc-card h3 { font-size: 1.25rem; font-weight: 580; }
.doc-card p { color: var(--muted); font-size: 0.97rem; }
.doc-card .btn { margin-top: auto; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 3rem; } }
.contact-cards { display: grid; gap: 1rem; }
.contact-card { display: flex; gap: 1rem; align-items: flex-start; padding: 1.35rem 1.4rem; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line); }
.contact-card__icon { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 14px; background: var(--sky-50); color: var(--sky-700); flex: none; }
.contact-card__icon .icon { width: 1.6rem; height: 1.6rem; }
.contact-card h2, .contact-card h3 { font-family: var(--font-body); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 750; color: var(--gold-700); }
.contact-card p { margin-top: 0.3rem; color: var(--ink); font-weight: 600; }
.contact-card a { font-weight: 700; font-size: 1.12rem; color: var(--ink); text-decoration: none; }
.contact-card a:hover { color: var(--sky-700); text-decoration: underline; }
.contact-card small { display: block; color: var(--muted); font-weight: 500; font-size: 0.93rem; margin-top: 0.2rem; }

/* ---------- Prose (legal) ---------- */
.prose { max-width: 46rem; }
.prose h2 { font-size: var(--step-2); margin-top: 2.75rem; margin-bottom: 0.9rem; font-weight: 540; }
.prose p, .prose ul { margin-top: 0.9rem; }
.prose ul { padding-left: 1.3rem; }
.prose li + li { margin-top: 0.4rem; }
.prose .updated { color: var(--muted); font-weight: 600; }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding-block: clamp(4rem, 3rem + 6vw, 8rem); }
.notfound__code { font-family: var(--font-display); font-size: clamp(5rem, 3rem + 10vw, 9rem); line-height: 1; color: var(--sky-600); font-weight: 500; }
.notfound h1 { font-size: var(--step-3); margin-top: 1rem; }
.notfound p { margin: 1rem auto 0; max-width: 34rem; }
.notfound__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem; margin-top: 2rem; }

/* ---------- Reveal animations ---------- */
.reveal-ready [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--d, 0s); }
.reveal-ready [data-reveal].is-visible { opacity: 1; transform: none; }
.reveal-ready .thought[data-reveal]:nth-child(even).is-visible { transform: translateY(2.5rem); }
@media (max-width: 639px) { .reveal-ready .thought[data-reveal]:nth-child(even).is-visible { transform: none; } }
.js .hero .plan-mini { animation: riseIn 0.9s 0.35s var(--ease) both; }
.js .hero .seal { animation: popSeal 0.8s 0.6s var(--ease) both; }
@keyframes riseIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes popSeal { from { opacity: 0; transform: rotate(-30deg) scale(0.8); } to { opacity: 1; transform: rotate(-8deg) scale(1); } }
@keyframes dash { from { stroke-dashoffset: 260; opacity: 0; } to { stroke-dashoffset: 0; opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .reveal-ready [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Site assistant (static chat, no external service) ---------- */
.chat-launcher {
  position: fixed; z-index: 45; right: max(1.25rem, env(safe-area-inset-right)); bottom: max(1.25rem, env(safe-area-inset-bottom));
  display: grid; place-items: center; width: 3.9rem; height: 3.9rem; padding: 0; border: 0; border-radius: 50%;
  background: #1a7f4e; color: var(--white);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.92), 0 16px 30px -14px rgba(16, 92, 56, 0.7);
  transition: transform 0.25s var(--ease), background-color 0.2s;
}
.chat-launcher:hover { background: #146a40; transform: translateY(-2px); }
.chat-launcher { transition: transform 0.25s var(--ease), background-color 0.2s, opacity 0.2s, visibility 0s; }
.chat-launcher.is-tucked { opacity: 0; transform: scale(0.6); pointer-events: none; visibility: hidden; transition: transform 0.25s var(--ease), opacity 0.2s, visibility 0s 0.25s; }
.chat-launcher:focus-visible { outline: 3px solid var(--sky-700); outline-offset: 5px; border-radius: 50%; }
.chat-launcher__icon { width: 1.95rem; height: 1.95rem; }
.chat-launcher__dot { position: absolute; top: 0.15rem; right: 0.15rem; width: 1rem; height: 1rem; border-radius: 50%; background: #35d07f; border: 2.5px solid var(--white); }
.chat-launcher__dot::after, .chat-online::after {
  content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid #35d07f;
  animation: chatPulse 2.4s ease-out infinite;
}
@keyframes chatPulse { 0% { transform: scale(0.9); opacity: 0.85; } 75%, 100% { transform: scale(2.1); opacity: 0; } }
@media (max-width: 900px) { .chat-launcher { right: max(1rem, env(safe-area-inset-right)); bottom: calc(5.35rem + env(safe-area-inset-bottom)); width: 3.55rem; height: 3.55rem; } .chat-launcher__icon { width: 1.75rem; height: 1.75rem; } }
body.menu-open .chat-launcher { display: none; }

.chat-panel {
  position: fixed; inset: auto max(1.25rem, env(safe-area-inset-right)) calc(max(1.25rem, env(safe-area-inset-bottom)) + 4.9rem) auto;
  width: min(25rem, calc(100vw - 2.5rem)); height: min(40rem, calc(100vh - 8rem)); max-width: none; max-height: none;
  margin: 0; padding: 0; overflow: hidden; flex-direction: column;
  background: var(--white); color: var(--text); border: 1px solid var(--sky-100); border-radius: 24px;
  box-shadow: 0 30px 70px -32px rgba(15, 42, 63, 0.5), 0 8px 22px -14px rgba(15, 42, 63, 0.2);
}
.chat-panel[open] { display: flex; }
.chat-panel::backdrop { background: rgba(15, 42, 63, 0.1); }
.js .chat-panel[open] { animation: chatPanelIn 0.35s var(--ease) both; }
@keyframes chatPanelIn { from { opacity: 0; transform: translateY(14px) scale(0.98); } to { opacity: 1; transform: none; } }

.chat-panel__head {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 0.8rem; align-items: center;
  padding: 0.95rem 0.95rem 0.9rem 1.05rem; background: linear-gradient(180deg, var(--sky-50), var(--white));
  border-bottom: 1.5px solid var(--gold-200);
}
.chat-panel__avatar { width: 2.75rem; height: 2.75rem; border-radius: 14px; box-shadow: 0 0 0 1.5px var(--white), 0 0 0 3px var(--gold-300); }
.chat-panel__title { font-size: 1.14rem; font-weight: 580; line-height: 1.2; letter-spacing: -0.005em; }
.chat-panel__title:focus { outline: none; }
.chat-panel__status { display: flex; align-items: center; gap: 0.45rem; margin-top: 0.2rem; font-size: 0.8rem; font-weight: 600; line-height: 1.3; color: var(--muted); }
.chat-online { position: relative; width: 0.6rem; height: 0.6rem; border-radius: 50%; background: #22a565; flex: none; }
.chat-online::after { inset: -2px; border-width: 1.5px; }
.chat-panel__close {
  display: grid; place-items: center; width: 2.6rem; height: 2.6rem; padding: 0; border-radius: 50%;
  border: 1px solid var(--line); background: var(--white); color: var(--ink); transition: border-color 0.2s, background-color 0.2s;
}
.chat-panel__close:hover { border-color: var(--sky-300); background: var(--sky-50); }
.chat-panel__close .icon { width: 1.1rem; height: 1.1rem; }

.chat-panel__log {
  flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain;
  display: flex; flex-direction: column; gap: 0.85rem; padding: 1.1rem 1rem 0.9rem;
}
.chat-panel__log:focus-visible { outline: 2px solid var(--sky-500); outline-offset: -4px; border-radius: 12px; }
.chat-msg { display: flex; flex-direction: column; gap: 0.5rem; max-width: 90%; }
.chat-msg--bot { align-self: flex-start; }
.chat-msg--user { align-self: flex-end; align-items: flex-end; max-width: 82%; }
.chat-bubble { padding: 0.72rem 0.95rem; border-radius: 18px; font-size: 0.96rem; line-height: 1.5; overflow-wrap: anywhere; }
.chat-msg--bot .chat-bubble { background: var(--sky-50); border: 1px solid var(--sky-100); border-top-left-radius: 6px; color: var(--ink-2); }
.chat-msg--user .chat-bubble { background: var(--sky-700); color: var(--white); border-bottom-right-radius: 6px; }
.chat-bubble > * + * { margin-top: 0.5rem; }
.chat-bubble ul, .chat-bubble ol { padding-left: 1.15rem; }
.chat-bubble li + li { margin-top: 0.2rem; }
.chat-bubble a { font-weight: 650; }
.chat-bubble strong { color: var(--ink); }
.chat-actions { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.chat-action {
  display: inline-flex; align-items: center; min-height: 2.3rem; padding: 0.35rem 0.85rem; border-radius: var(--r-pill);
  background: var(--white); border: 1px solid var(--gold-300); color: var(--sky-700);
  font-size: 0.88rem; font-weight: 700; line-height: 1.2; text-decoration: none; transition: border-color 0.2s, background-color 0.2s;
}
.chat-action:hover { border-color: var(--sky-500); background: var(--sky-50); color: var(--sky-800); }
.chat-msg--thinking .chat-bubble { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--muted); font-size: 0.92rem; }
.chat-typing { display: inline-flex; gap: 4px; }
.chat-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--sky-400); animation: chatDot 1.1s infinite ease-in-out; }
.chat-typing i:nth-child(2) { animation-delay: 0.15s; }
.chat-typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes chatDot { 0%, 80%, 100% { transform: translateY(0); opacity: 0.45; } 40% { transform: translateY(-4px); opacity: 1; } }
.chat-msg.is-new .chat-bubble > * { animation: chatIn 0.45s var(--ease) both; }
.chat-msg.is-new .chat-bubble > :nth-child(2) { animation-delay: 0.14s; }
.chat-msg.is-new .chat-bubble > :nth-child(3) { animation-delay: 0.28s; }
.chat-msg.is-new .chat-bubble > :nth-child(n+4) { animation-delay: 0.4s; }
.chat-msg.is-new .chat-actions { animation: chatIn 0.45s 0.3s var(--ease) both; }
@keyframes chatIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.chat-panel__chips { display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0.65rem 1rem 0.15rem; border-top: 1px solid var(--line); }
.chat-chip {
  min-height: 2.3rem; padding: 0.3rem 0.85rem; border-radius: var(--r-pill); border: 1px solid var(--sky-200);
  background: var(--sky-50); color: var(--ink-2); font-size: 0.86rem; font-weight: 650; line-height: 1.2; white-space: nowrap;
  transition: border-color 0.2s, background-color 0.2s;
}
.chat-chip:hover { border-color: var(--sky-500); background: var(--white); }
.chat-panel__form { display: flex; gap: 0.5rem; padding: 0.6rem 1rem 0.35rem; }
.chat-panel__input {
  flex: 1; min-width: 0; min-height: 2.95rem; padding: 0.55rem 1.05rem; border-radius: var(--r-pill);
  border: 1.5px solid var(--line-2); background: var(--white); font-size: 1rem; color: var(--ink);
}
.chat-panel__input::placeholder { color: #6b7c8a; }
.chat-panel__input:focus { outline: none; border-color: var(--sky-500); box-shadow: 0 0 0 3px var(--sky-100); }
.chat-panel__send { display: grid; place-items: center; flex: none; width: 2.95rem; height: 2.95rem; padding: 0; border: 0; border-radius: 50%; background: var(--sky-700); color: var(--white); transition: background-color 0.2s; }
.chat-panel__send:hover { background: var(--sky-800); }
.chat-panel__send .icon { width: 1.3rem; height: 1.3rem; }
.chat-panel__note { padding: 0.2rem 1.1rem 0.85rem; font-size: 0.75rem; line-height: 1.4; color: var(--muted); }

@media (max-width: 640px) {
  .chat-panel {
    inset: auto 0 0 0; width: 100%; height: 88vh; height: 88dvh; border-radius: 22px 22px 0 0; border-bottom: 0;
    padding-bottom: env(safe-area-inset-bottom);
  }
  .chat-panel::backdrop { background: rgba(15, 42, 63, 0.38); }
  .chat-panel__chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 0.25rem; }
  .chat-panel__chips::-webkit-scrollbar { display: none; }
  html.chat-open { overflow: hidden; }
}

/* ---------- Print ---------- */
@media print {
  .topbar, .site-header, .mobile-bar, .cta-band, .site-footer__grid nav, .chat { display: none !important; }
  body { font-size: 12pt; color: #000; }
}

/* ---------- Small additions ---------- */
.doc-card__badge { display: inline-flex; align-items: center; margin-left: 0.3rem; padding: 0.1rem 0.55rem; border-radius: 999px; background: var(--gold-50); border: 1px solid var(--gold-200); color: var(--gold-700); font-size: 0.75rem; font-weight: 750; letter-spacing: 0.05em; text-transform: uppercase; vertical-align: 1px; }
.contact-card p + p { margin-top: 0.65rem; }
.form-card .form-section__title { font-size: var(--step-2); }
.form-success h2, .form-success h3 { margin-inline: auto; }

/* ---------- Small phones (320px): let grid items shrink instead of pushing the page sideways ---------- */
@media (max-width: 719px) { .bento { grid-template-columns: minmax(0, 1fr); } }
.bento > * { min-width: 0; }
@media (max-width: 380px) { .swash { white-space: normal; } a[href^="tel:"] { white-space: normal; } }

/* ---------- Hero: "Cuidado no médico" tag, phone hours ---------- */
.hero__tag {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 0.55rem; margin-bottom: 1.1rem;
  padding: 0.5rem 1.05rem 0.5rem 0.75rem; border-radius: var(--r-pill); background: var(--sky-50);
  border: 1.5px solid var(--gold-300); color: var(--ink-2); font-size: 0.98rem; line-height: 1.25;
}
.hero__tag .icon { width: 1.15rem; height: 1.15rem; color: var(--gold-500); flex: none; }
.hero__tag strong { font-size: 1.12rem; font-weight: 800; color: var(--sky-800); letter-spacing: -0.005em; }
.hero__tag span { color: var(--muted); font-weight: 600; }
.hero-visual__label { display: none; }
@media (max-width: 1179px) {
  .hero-visual__label {
    display: block; position: absolute; z-index: 5; right: 1.4rem; top: 1.4rem; padding: 0.45rem 0.95rem; border-radius: var(--r-pill);
    background: var(--white); color: var(--sky-800); font-weight: 800; font-size: 1rem; line-height: 1.2;
    box-shadow: 0 0 0 1.5px var(--gold-300), 0 10px 24px -16px rgba(15, 42, 63, 0.5);
  }
}
@media (max-width: 639px) { .hero-visual__label { right: 0.85rem; top: 0.85rem; font-size: 0.92rem; padding: 0.4rem 0.8rem; } }
.topbar__hours { opacity: 0.85; font-size: 0.86rem; }
.cta-band__hours { margin-top: 0.9rem; font-size: 0.95rem; font-weight: 600; opacity: 0.9; }

/* ---------- Care plan: next step (contact page, call or email) ---------- */
.plan-actions__buttons { display: flex; flex-wrap: wrap; gap: 0.85rem; }
.plan-actions__note { margin-top: 0.85rem; font-size: 0.95rem; color: var(--muted); }
.plan-actions__note a { font-weight: 650; white-space: nowrap; }
.plan-actions--center { margin-top: 2rem; }
.plan-actions--center .plan-actions__buttons { justify-content: center; }
.cta-band .plan-actions__note { color: var(--ink-2); font-size: 0.95rem; margin-top: 1rem; }
.cta-band .plan-actions__note a { color: var(--ink); }
@media (max-width: 560px) { .plan-actions__buttons .btn { width: 100%; } }
.hero__cta { margin-top: 2rem; }
.hero__plan { margin: 0 0 0.9rem; font-size: 1.05rem; color: var(--ink-2); max-width: 34rem; }
.plan-end__inner { text-align: center; max-width: 46rem; }
.plan-end__inner .lead { margin-top: 1rem; }
.step > div, .how__grid > * { min-width: 0; }
@media (max-width: 400px) { .plan-actions__note a { white-space: normal; overflow-wrap: anywhere; } }
