/* NOVO "Miami modern" design: shared by every page. Page-specific styles live in each page. */
/* ===== Tokens: Miami modern =====
   Novo blue and heart red come from the logo; sun and sky are Miami. */
:root {
  --ink: #0B1F44;        /* text, insurance + footer blocks */
  --blue: #1660B0;       /* NOVO wordmark blue */
  --red: #C8202A;        /* the heart + ECG line */
  --red-deep: #A51A23;   /* red hover */
  --sun: #FFC845;        /* Miami sun: social club, highlights */
  --sky: #DCEBFA;        /* Biscayne sky: calm blocks */
  --white: #FFFFFF;
  --display: "Archivo", "Arial Black", system-ui, sans-serif;
  --body: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  --bar-h: 0px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.1875rem;  /* 19px */
  line-height: 1.6;
  padding-bottom: var(--bar-h);
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 {
  font-family: var(--display);
  font-stretch: 112%;
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.015em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h2 { font-size: clamp(2.25rem, 4.6vw, 4rem); }
h3 { font-size: clamp(1.4rem, 2vw, 1.75rem); line-height: 1.12; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.lede { font-size: clamp(1.25rem, 1.6vw, 1.4rem); max-width: 40ch; }
.skip {
  position: absolute; left: 16px; top: -80px; z-index: 100;
  background: var(--sun); color: var(--ink); padding: 12px 18px; font-weight: 700;
}
.skip:focus { top: 12px; }

:focus-visible { outline: 4px solid var(--sun); outline-offset: 3px; box-shadow: 0 0 0 7px var(--ink); border-radius: 2px; }

/* Spanish echo lines: the bilingual voice, set as a second register */
.es {
  font-family: var(--body);
  font-style: italic;
  font-weight: 400;
  display: flex; gap: 12px; align-items: baseline;
}
.es b {
  font-style: normal; font-family: var(--display); font-stretch: 100%;
  font-size: .8rem; font-weight: 800; letter-spacing: .04em;
  padding: 2px 8px; border-radius: 4px; flex: none;
  background: var(--red); color: var(--white); transform: translateY(-2px);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 12px 26px;
  font-family: var(--display); font-stretch: 105%; font-weight: 800; font-size: 1.15rem;
  text-decoration: none; border: 3px solid transparent; border-radius: 999px; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn svg { width: 22px; height: 22px; flex: none; }
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-deep); }
.btn-white { background: var(--white); color: var(--blue); }
.btn-white:hover { background: var(--sun); color: var(--ink); }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn-ghost:hover { background: var(--white); color: var(--blue); border-color: var(--white); }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: var(--blue); }

/* ===== Header ===== */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  border-bottom: 4px solid var(--blue);
}
.head-row { display: flex; align-items: center; gap: 24px; min-height: 96px; max-width: 1600px; }
.logo { display: block; flex: none; }
.logo img { height: 68px; width: auto; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 12px;
  font-weight: 700; font-size: 1.05rem; text-decoration: none; border-radius: 8px;
  white-space: nowrap;
}
.nav a:hover { background: var(--sky); }
.lang {
  display: inline-flex; padding: 4px; gap: 4px; flex: none;
  background: var(--sky); border-radius: 999px;
}
.lang button {
  min-height: 44px; padding: 0 16px; border: 0; border-radius: 999px; cursor: pointer;
  font-family: var(--body); font-size: 1rem; font-weight: 700; color: var(--ink); background: transparent;
}
.lang button[aria-pressed="true"] { background: var(--blue); color: var(--white); }
.lang .short { display: none; }
.head-call { flex: none; }
.head-call.btn { min-height: 52px; font-size: 1.1rem; padding: 10px 22px; }
.menu-btn {
  display: none; min-height: 48px; min-width: 48px; padding: 0 14px;
  border: 3px solid var(--ink); background: var(--white); border-radius: 999px;
  font: 700 1rem var(--body); color: var(--ink); cursor: pointer;
}

/* ===== Hero ===== */
.hero { background: var(--blue); color: var(--white); }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px); align-items: start;
  padding-top: clamp(40px, 6vw, 88px); padding-bottom: clamp(48px, 6vw, 88px);
}
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--sun); color: var(--ink); font-weight: 700;
  padding: 8px 18px; border-radius: 999px; margin-bottom: 28px;
}
.badge::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--red); }
.hero h1 {
  font-size: clamp(3rem, 7.2vw, 6.6rem);
  font-stretch: 118%; font-weight: 900; line-height: .95; letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.hero .es { font-size: clamp(1.35rem, 2.2vw, 1.8rem); margin-bottom: 28px; }
.hero .es b { background: var(--white); color: var(--red); }
.hero-text { font-size: clamp(1.2rem, 1.5vw, 1.35rem); max-width: 34em; }
.hero-facts { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.hero-facts li { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; }
.hero-facts svg { width: 26px; height: 26px; flex: none; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.hero-form {
  background: var(--white); color: var(--ink);
  border-radius: 28px; padding: clamp(24px, 3vw, 36px);
  border-top: 12px solid var(--red);
}
.hero-form h2 { font-size: clamp(1.7rem, 2.4vw, 2.1rem); margin-bottom: 6px; }
.hero-form > p { margin-bottom: 18px; }

/* ===== Forms ===== */
.field { margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { display: block; font-weight: 700; margin-bottom: 6px; font-size: 1.05rem; }
input, select, textarea {
  width: 100%; min-height: 54px; padding: 12px 14px;
  font: inherit; font-size: 1.125rem; color: var(--ink); background: var(--white);
  border: 2px solid #44587d; border-radius: 12px;
}
textarea { min-height: 110px; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { border-color: var(--blue); }
.form-submit { width: 100%; margin-top: 4px; }
.hp { position: absolute !important; left: -9999px; opacity: 0; }

/* ===== Heartbeat band: the one moment ===== */
.beat { background: var(--white); position: relative; overflow: hidden; }
.beat-line {
  display: flex; align-items: center; height: 120px;
  max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter);
}
.beat-line .flat { flex: 1; height: 5px; background: var(--red); border-radius: 3px; }
.beat-line .flat.tail { flex: 0 0 18%; }
.beat-line svg { flex: none; width: clamp(220px, 26vw, 340px); height: auto; aspect-ratio: 340 / 120; overflow: visible; }
.beat-sweep { animation: sweep 1.9s cubic-bezier(.45,.05,.3,1) .25s both; }
@keyframes sweep {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0 0 0); }
}
.beat-heart { transform-origin: center; animation: thump .7s ease-out 2.1s both; }
@keyframes thump { 0% { transform: scale(1); } 40% { transform: scale(1.18); } 100% { transform: scale(1); } }
.beat-note {
  position: absolute; right: var(--gutter); bottom: 10px;
  font-weight: 700; font-size: 1rem;
}

/* Proof strip right under the heartbeat */
.proof { display: grid; grid-template-columns: 1.4fr 1fr 1fr; min-height: 340px; }
.proof figure { margin: 0; position: relative; }
.proof figure img { width: 100%; height: 100%; object-fit: cover; }
.proof-block { padding: clamp(28px, 3.5vw, 52px); display: flex; flex-direction: column; justify-content: flex-end; }
.proof-block h2 { font-size: clamp(1.9rem, 3vw, 2.8rem); margin-bottom: 12px; }
.proof-block p { margin: 0; font-size: 1.2rem; }
.proof-red { background: var(--red); color: var(--white); }
.proof-sky { background: var(--sky); }
.proof-sky a { font-weight: 700; display: inline-flex; min-height: 44px; align-items: center; margin-top: 6px; color: var(--blue); }
.score, .proof-block .score, .score-card .score { font-family: var(--display); font-weight: 900; font-stretch: 125%; font-size: clamp(4.5rem, 8vw, 7rem); line-height: .9; }
.stars { display: flex; gap: 4px; margin: 12px 0 8px; }
.stars svg { width: 28px; height: 28px; }
.proof-red a { font-weight: 700; display: inline-flex; min-height: 44px; align-items: center; }

/* ===== Celebration slot ===== */
.celebration-slot { background: var(--white); padding: clamp(40px, 6vw, 72px) var(--gutter); --celebration-radius: 24px; }
.celebration-slot[hidden] { display: none; }
.celebration-slot .novo-celebration { max-width: 1040px; margin: 0 auto; }
.celebration-slot .novo-celebration img { width: auto; max-width: 100%; margin: 0 auto; max-height: min(78vh, 760px); }
.celebration-slot figcaption { font-size: 1.2rem; font-weight: 700; opacity: 1 !important; margin: 16px auto 0; }

/* ===== Section shells ===== */
.section { padding: clamp(64px, 9vw, 128px) 0; }
.section-head { max-width: 860px; margin-bottom: clamp(36px, 5vw, 64px); }

/* ===== Family (about + social club) ===== */
.family { background: var(--sun); }
.family-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.family h2 { font-size: clamp(2.6rem, 6vw, 5.2rem); font-stretch: 118%; font-weight: 900; line-height: .96; }
.family .es { font-size: clamp(1.3rem, 2vw, 1.6rem); margin: 0 0 28px; }
.values { list-style: none; margin: 36px 0 0; padding: 0; border-top: 3px solid var(--ink); }
.values li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 18px 0; border-bottom: 3px solid var(--ink); }
.values svg { width: 34px; height: 34px; margin-top: 2px; }
.values strong { display: block; font-family: var(--display); font-stretch: 110%; font-weight: 800; font-size: 1.35rem; line-height: 1.2; }
.values span { display: block; }
.mosaic { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 14px; }
.mosaic figure { margin: 0; overflow: hidden; border-radius: 24px; background: var(--ink); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.mosaic .wide { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
.mosaic .tall { aspect-ratio: 3 / 4; }
.mosaic figcaption { position: absolute; }
.mosaic-note { grid-column: 1 / -1; font-weight: 700; margin: 4px 0 0; }

/* ===== Services ===== */
.services-lead { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; }
.svc-big { border-radius: 28px; padding: clamp(28px, 3.5vw, 48px); position: relative; overflow: hidden; }
.svc-big h3 { font-size: clamp(1.9rem, 3vw, 2.7rem); font-stretch: 115%; }
.svc-big p { max-width: 36ch; }
.svc-primary { grid-column: 1 / -1; background: var(--blue); color: var(--white); display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.svc-primary .tag { display: inline-block; background: var(--sun); color: var(--ink); font-weight: 700; padding: 4px 14px; border-radius: 999px; margin-bottom: 18px; }
.svc-primary ul { list-style: none; margin: 0; padding: 0; }
.svc-primary li { font-family: var(--display); font-stretch: 108%; font-weight: 700; font-size: clamp(1.2rem, 1.7vw, 1.5rem); padding: 14px 0; border-top: 2px solid rgba(255,255,255,.55); }
.svc-primary li:last-child { border-bottom: 2px solid rgba(255,255,255,.55); }
.svc-pt { grid-column: span 7; background: var(--red); color: var(--white); display: grid; grid-template-columns: 1fr 0.8fr; gap: 28px; padding-right: 0; padding-bottom: 0; padding-top: 0; }
.svc-pt .txt { padding: clamp(28px, 3.5vw, 48px) 0 clamp(28px, 3.5vw, 48px); }
.svc-pt img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; min-height: 320px; }
.svc-mh { grid-column: span 5; background: var(--ink); color: var(--white); }
.svc-big .more {
  display: inline-flex; align-items: center; min-height: 48px; margin-top: 8px;
  font-weight: 700; font-size: 1.15rem; text-underline-offset: 5px; text-decoration-thickness: 2px;
}
.svc-mh .more { color: var(--sun); }

.svc-list { list-style: none; padding: 0; margin: clamp(40px, 5vw, 64px) 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(24px, 4vw, 56px); }
.svc-list li { border-top: 5px solid var(--blue); padding: 22px 0 34px; }
.svc-list li:nth-child(3n+2) { border-top-color: var(--red); }
.svc-list li:nth-child(3n) { border-top-color: var(--sun); }
.svc-list h3 { margin-bottom: 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.svc-list p { margin: 0; }
.soon { font-family: var(--body); font-stretch: 100%; font-size: .95rem; font-weight: 700; letter-spacing: 0; background: var(--sun); color: var(--ink); padding: 3px 12px; border-radius: 999px; }

/* ===== Insurance ===== */
.insurance { background: var(--ink); color: var(--white); }
.ins-names { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 0; }
.ins-names li {
  font-family: var(--display); font-stretch: 120%; font-weight: 900;
  font-size: clamp(2rem, 4.8vw, 4.4rem); line-height: 1.1; letter-spacing: -0.02em;
  display: inline-flex; align-items: center;
}
.ins-names li:not(:last-child)::after {
  content: ""; width: .5em; height: .5em; margin: 0 .45em;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 22'%3E%3Cpath fill='%23C8202A' d='M12 21.5 10.3 20C4.2 14.5 0 10.8 0 6.3 0 2.7 2.8 0 6.4 0c2 0 4 .9 5.6 2.4C13.6.9 15.6 0 17.6 0 21.2 0 24 2.7 24 6.3c0 4.5-4.2 8.2-10.3 13.7z'/%3E%3C/svg%3E");
}
.ins-note { margin-top: 44px; font-size: 1.3rem; max-width: 46ch; }
.ins-feature {
  background: var(--sun); color: var(--ink); border-radius: 28px;
  padding: clamp(28px, 4vw, 48px); margin: 0 0 clamp(36px, 5vw, 56px); max-width: 980px;
}
.ins-feature-title {
  font-family: var(--display); font-weight: 900; font-stretch: 120%; line-height: .95;
  font-size: clamp(2.4rem, 5.6vw, 4.8rem); margin: 0 0 14px; letter-spacing: -0.02em;
}
.ins-feature p:last-child { margin: 0; font-size: clamp(1.15rem, 1.5vw, 1.35rem); max-width: 52ch; }
.cash-badge {
  display: inline-grid; place-items: center; flex: none;
  width: .92em; height: .92em; margin-right: .28em; border-radius: 50%;
  background: var(--sun); color: var(--ink);
  font-family: var(--display); font-weight: 900; font-stretch: 100%; font-size: 1em; line-height: 1;
}
.ins-cash .cash-badge { font-size: .62em; width: 1.35em; height: 1.35em; margin-right: .3em; }
.cash-badge-sm { width: 26px; height: 26px; margin: 0; font-size: 1.05rem; }
.ins-sub { font-size: clamp(1.3rem, 1.8vw, 1.6rem); font-stretch: 108%; margin: 0 0 8px; color: var(--sky); }
.ins-note a { color: var(--sun); font-weight: 700; white-space: nowrap; }

/* ===== Reviews ===== */
.reviews-grid { display: grid; grid-template-columns: minmax(260px, 340px) minmax(0, 1fr); gap: clamp(24px, 3vw, 40px); align-items: stretch; }
.score-card { background: var(--red); color: var(--white); border-radius: 28px; padding: 36px 32px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.score-card p { margin: 0; font-size: 1.2rem; }
.score-card .btn { align-self: stretch; padding: 12px 18px; }
.quotes-wrap { min-width: 0; }
.quotes {
  list-style: none; margin: 0; padding: 0 0 12px; display: grid; grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 380px); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
}
.quotes li { scroll-snap-align: start; background: var(--sky); border-radius: 28px; padding: 30px 28px; display: flex; flex-direction: column; }
.quotes li:nth-child(even) { background: var(--white); border: 3px solid var(--blue); }
.quotes blockquote { margin: 0 0 20px; font-size: 1.25rem; line-height: 1.5; flex: 1; }
.quotes blockquote::before { content: "\201C"; display: block; font-family: var(--display); font-weight: 900; font-size: 4.5rem; line-height: .7; color: var(--blue); margin-bottom: 4px; }
.quotes cite { font-style: normal; font-weight: 700; display: block; }
.quotes .when { font-size: 1rem; }
.quotes-ctrl { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.quotes-ctrl button {
  width: 56px; height: 56px; border-radius: 50%; border: 3px solid var(--ink); background: var(--white);
  color: var(--ink); cursor: pointer; display: grid; place-items: center;
}
.quotes-ctrl button:hover { background: var(--ink); color: var(--white); }
.quotes-ctrl svg { width: 24px; height: 24px; }
.quotes-ctrl span { font-weight: 700; }

/* ===== Telemedicine ===== */
.tele { background: var(--sky); }
.tele-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.checks { list-style: none; margin: 28px 0 36px; padding: 0; }
.checks li { display: grid; grid-template-columns: 36px 1fr; gap: 12px; padding: 10px 0; font-size: 1.25rem; font-weight: 700; }
.checks svg { width: 30px; height: 30px; margin-top: 2px; }
.phone-art {
  background: var(--blue); color: var(--white); border-radius: 44px; padding: 26px 22px 34px;
  max-width: 340px; margin: 0 auto; border: 10px solid var(--ink); text-align: center;
}
.phone-art .screen { background: var(--white); border-radius: 24px; padding: 34px 16px 20px; margin-bottom: 22px; }
.phone-art .screen svg { width: 100%; height: auto; }
.phone-art h3 { font-size: 1.8rem; margin-bottom: 8px; }
.phone-art p { margin: 0; }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.info { margin: 0; }
.info > div { padding: 20px 0; border-top: 3px solid var(--ink); display: grid; grid-template-columns: 150px 1fr; gap: 16px; }
.info > div:last-child { border-bottom: 3px solid var(--ink); }
.info dt { font-family: var(--display); font-stretch: 110%; font-weight: 800; font-size: 1.3rem; }
.info dd { margin: 0; font-size: 1.25rem; }
.info dd a { font-weight: 700; display: inline-flex; min-height: 44px; align-items: center; text-underline-offset: 4px; }
.info .big a { font-family: var(--display); font-stretch: 112%; font-weight: 900; font-size: clamp(1.6rem, 2.6vw, 2.2rem); color: var(--red); }
.hours { border-collapse: collapse; }
.hours th { text-align: left; font-weight: 700; padding: 2px 20px 2px 0; }
.hours td { padding: 2px 0; }
.contact-form { background: var(--blue); color: var(--white); border-radius: 28px; padding: clamp(24px, 3.5vw, 44px); }
.contact-form h3 { font-size: clamp(1.8rem, 2.6vw, 2.3rem); }
.contact-form input, .contact-form select, .contact-form textarea { border-color: var(--white); }
.contact-form .btn-red { border-color: var(--white); }
.success { display: none; text-align: left; }
.success.visible { display: block; }
.success h4 { font-family: var(--display); font-size: 2rem; margin: 0 0 8px; }

/* ===== Footer ===== */
.foot { background: var(--ink); color: var(--white); padding: 72px 0 40px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; }
.foot-logo { background: var(--white); border-radius: 20px; padding: 14px 18px; display: inline-block; margin-bottom: 18px; }
.foot-logo img { height: 60px; width: auto; }
.foot h2 { font-size: 1.3rem; font-stretch: 105%; margin-bottom: 12px; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.foot li a:hover { text-decoration: underline; color: var(--sun); }
.foot-legal { margin-top: 48px; padding-top: 24px; border-top: 2px solid rgba(255,255,255,.4); display: flex; flex-wrap: wrap; gap: 4px 28px; align-items: center; font-size: 1.05rem; }
.foot-legal a { display: inline-flex; min-height: 44px; align-items: center; text-underline-offset: 4px; }
.foot-legal a:hover { color: var(--sun); }

/* The shared accessibility widget leaves its closed panel's shadow on the left edge; hide it while closed */
#a11y-panel:not(.open) { box-shadow: none; }

/* ===== Mobile call bar ===== */
.callbar { display: none; }

/* ===== Responsive ===== */
/* Header: seven menu items + language switch + phone button need ~1500px at full size.
   Shorten the language labels first, then collapse the menu, so the phone button never leaves the screen. */
@media (max-width: 1600px) {
  .head-row { gap: 18px; }
  .nav a { padding: 0 10px; }
  .lang .long { display: none; }
  .lang .short { display: inline; }
}
@media (max-width: 1420px) {
  .menu-btn { display: inline-flex; align-items: center; margin-left: auto; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; background: var(--white); padding: 8px var(--gutter) 20px;
    border-bottom: 4px solid var(--blue); margin: 0;
  }
  .nav.open { display: flex; }
  .nav a { min-height: 56px; font-size: 1.2rem; border-bottom: 2px solid var(--sky); border-radius: 0; }
  .lang { margin-left: auto; }
  .menu-btn { margin-left: 0; }
}
@media (max-width: 1024px) {
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; background: var(--white); padding: 8px var(--gutter) 20px;
    border-bottom: 4px solid var(--blue); margin: 0;
  }
  .nav.open { display: flex; }
  .nav a { min-height: 56px; font-size: 1.2rem; border-bottom: 2px solid var(--sky); border-radius: 0; }
  .hero-grid { grid-template-columns: 1fr; }
  .proof { grid-template-columns: 1fr 1fr; }
  .proof figure { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
  .family-grid, .tele-grid, .contact-grid, .reviews-grid { grid-template-columns: 1fr; }
  .svc-pt, .svc-mh { grid-column: 1 / -1; }
  .svc-list { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  :root { --bar-h: 76px; }
  html { scroll-padding-top: 80px; }
  body { font-size: 1.125rem; }
  .head-row { min-height: 72px; gap: 10px; }
  .logo img { height: 42px; }
  .head-call { display: none; }
  .lang button { padding: 0 12px; }
  .callbar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: var(--red); color: var(--white); padding: 10px 16px; gap: 10px;
    border-top: 4px solid var(--white); box-shadow: 0 -2px 0 var(--red);
  }
  .callbar a {
    flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 52px; color: var(--white); font-family: var(--display); font-weight: 900; font-stretch: 110%;
    font-size: 1.3rem; text-decoration: none; border-radius: 999px; border: 3px solid var(--white);
  }
  .callbar svg { width: 24px; height: 24px; }
  #a11y-trigger { bottom: calc(var(--bar-h) + 14px) !important; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .hero-actions .btn { width: 100%; }
  .proof { grid-template-columns: 1fr; }
  .svc-primary { grid-template-columns: 1fr; }
  .svc-pt { grid-template-columns: 1fr; padding: 0; }
  .svc-pt .txt { padding: 28px 24px 4px; }
  .svc-pt img { min-height: 0; aspect-ratio: 4 / 3; }
  .svc-list { grid-template-columns: 1fr; }
  .info > div { grid-template-columns: 1fr; gap: 4px; }
  .hours, .hours tbody, .hours tr, .hours th, .hours td { display: block; }
  .hours tr { margin-bottom: 8px; }
  .foot-grid { grid-template-columns: 1fr; }
  .beat-line { height: 96px; }
  .beat-line .flat.tail { flex-basis: 8%; }
  .beat-note { display: none; }
  .quotes { grid-auto-columns: 86%; }
  .ins-names li { font-size: 1.7rem; font-stretch: 104%; }
}
@media (max-width: 400px) {
  .logo img { height: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .beat-sweep, .beat-heart { animation: none; }
  .btn { transition: none; }
}

/* Get directions: small map icon */
.dir-link { gap: 12px; margin-top: 6px; }
.dir-icon { width: 60px; height: 60px; flex: none; }

/* Header BMI calculator shortcut */
.head-bmi {
  flex: none; display: inline-grid; place-items: center; width: 52px; height: 52px;
  border-radius: 14px; color: var(--blue); text-decoration: none;
}
.head-bmi svg { width: 44px; height: 44px; }
.head-bmi:hover { background: var(--sky); }
.head-bmi[aria-current="page"] { background: var(--sky); }
@media (max-width: 720px) {
  .head-bmi { width: 48px; height: 48px; }
  .head-bmi svg { width: 40px; height: 40px; }
}
@media (min-width: 721px) and (max-width: 860px) {
  .head-row { gap: 12px; }
  .head-call.btn { padding: 10px 16px; font-size: 1.05rem; }
}
@media (max-width: 400px) {
  .head-row { gap: 6px; }
  .lang button { padding: 0 9px; }
  .menu-btn { padding: 0 10px; }
}

/* Website forms: sending state, errors and crisis note */
.success h3 { font-family: var(--display); font-size: 2rem; margin: 0 0 8px; }
.form-error { margin: 14px 0 0; padding: 12px 16px; border-radius: 12px; background: #FFF4F4; color: var(--red-deep); font-weight: 700; border: 2px solid var(--red); }
.form-crisis { margin: 14px 0 0; padding: 12px 16px; border-radius: 12px; background: #FFF4F4; color: var(--ink); border: 2px solid var(--red); }
.form-crisis a { color: var(--red-deep); font-weight: 700; }
.form-submit:disabled { opacity: .7; cursor: progress; }

/* Spanish mode: note above legal documents that are only in English */
.legal-es-note { margin: 0 0 28px; padding: 14px 18px; border-radius: 14px; background: var(--sun); color: var(--ink); font-weight: 700; }
.legal-es-note a { color: var(--ink); }
/* The small Spanish taglines repeat the heading once the whole page is in Spanish */
html[lang="es"] .es { display: none; }

/* ===== Party photo carousel (home page, next to "You're family") ===== */
.party-carousel { position: relative; }
.pc-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 100%;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  border-radius: 28px; scrollbar-width: none;
}
.pc-track::-webkit-scrollbar { display: none; }
.pc-track:focus-visible { outline: 4px solid var(--blue); outline-offset: 4px; }
.pc-slide { position: relative; margin: 0; aspect-ratio: 1 / 1; scroll-snap-align: start; background: var(--ink); overflow: hidden; }
.pc-slide img { position: relative; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; display: block; }
/* Landscape photos: shown whole, with a soft blurred copy filling the frame behind them */
.pc-slide.fit img { object-fit: contain; }
.pc-slide.fit::before { content: ""; position: absolute; inset: -30px; background: var(--bg) center / cover no-repeat; filter: blur(26px) brightness(.75); }
@media (max-width: 720px) { .pc-slide { aspect-ratio: 4 / 5; } }
.pc-slide figcaption {
  position: absolute; left: 16px; bottom: 16px; padding: 6px 16px; border-radius: 999px;
  background: var(--sun); color: var(--ink); font-weight: 700; font-size: 1rem;
}
.pc-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 14px; }
.pc-btn {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; cursor: pointer;
  border: 3px solid var(--ink); background: var(--white); color: var(--ink);
}
.pc-btn svg { width: 26px; height: 26px; }
.pc-btn:hover { background: var(--ink); color: var(--white); }
.pc-btn:focus-visible { outline: 4px solid var(--blue); outline-offset: 3px; }
.pc-count { min-width: 5ch; text-align: center; font-weight: 700; font-size: 1.15rem; }
.party-carousel .mosaic-note { margin-top: 12px; }
.party-photos { display: grid; gap: 22px; }
.party-photos .mosaic { margin: 0; }
/* The older party photos sit in one row under the carousel */
.party-photos .mosaic { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: auto; }
.party-photos .mosaic .wide, .party-photos .mosaic .tall { grid-column: auto; aspect-ratio: auto; height: clamp(150px, 17vw, 240px); }
@media (max-width: 720px) { .party-photos .mosaic { grid-template-columns: 1fr 1fr; } .party-photos .mosaic .wide { grid-column: 1 / -1; } }
