:root {
  /* Primary blue + variants */
  --teal: #4d94c7;
  --teal-deep: #2f6f9c;
  --teal-ink: #1e4d6e;
  --mint: #d6eaf6;
  --mint-2: #b5d7ec;
  --mint-soft: #eef5fa;
  --primary-bright: #6aabd4;

  /* Complementary accent (brand red) */
  --accent: #c5322c;
  --accent-deep: #9e2823;
  --accent-soft: #f8e4e3;

  --ink: #151b1f;
  --muted: #5a6b78;
  --line: rgba(30, 77, 110, 0.12);
  --white: #ffffff;
  --bg: #f5f9fc;
  /* Distinct from brand accent so missing copy stays obvious */
  --placeholder: #b45309;
  --radius: 1.5rem;
  --radius-sm: 999px;
  --font-display: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  --font-body: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  --header-h: 5.75rem;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--teal);
}

button,
input,
textarea {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--white);
  color: var(--teal-deep);
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  z-index: 100;
}

.skip-link:focus {
  top: 1rem;
}

.wrap {
  width: min(1180px, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* Placeholder / TBD content — always red */
.placeholder,
.placeholder-box {
  color: var(--placeholder) !important;
}

p.placeholder,
.placeholder-box {
  border: 1px dashed color-mix(in srgb, var(--placeholder) 45%, transparent);
  background: color-mix(in srgb, var(--placeholder) 6%, white);
  padding: 0.85rem 1rem;
  border-radius: 0.75rem;
}

.placeholder-box {
  display: grid;
  place-items: center;
  text-align: center;
  min-height: 8rem;
  font-weight: 600;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--teal) 94%, transparent);
  backdrop-filter: blur(12px);
  color: var(--white);
}

.site-header.is-scrolled {
  background: color-mix(in srgb, var(--teal-deep) 96%, transparent);
  box-shadow: 0 10px 30px rgba(17, 79, 86, 0.18);
}

.site-header .site-nav > a:hover,
.site-header .nav-item > a:hover {
  color: inherit;
}

.top-bar {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: color-mix(in srgb, var(--teal-deep) 55%, transparent);
}

.top-bar-inner {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1rem;
  min-height: 2rem;
  padding-block: 0.3rem;
}

.top-bar-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.01em;
}

.top-bar-phone-icon {
  display: block;
  flex-shrink: 0;
}

.top-bar-phone:hover {
  color: var(--white);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.logo-img {
  display: block;
  width: auto;
  height: 3.15rem;
  max-width: min(260px, 48vw);
  object-fit: contain;
}

.site-footer .logo-img {
  height: 3.25rem;
  max-width: min(260px, 70vw);
}

.site-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.2rem;
  flex-wrap: wrap;
}

.site-nav > a,
.nav-item > a {
  padding: 0.55rem 0.85rem;
  border-radius: 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  display: inline-block;
  transition: color 160ms var(--ease-out);
}

.site-nav > a:hover,
.site-nav > a.is-active,
.nav-item > a:hover,
.nav-item > a.is-active {
  background: transparent;
  color: var(--white);
}

.nav-item {
  position: relative;
}

.nav-sub {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 14rem;
  padding: 0.5rem;
  background: var(--white);
  border-radius: 0.85rem;
  box-shadow: 0 12px 40px rgba(17, 79, 86, 0.18);
  z-index: 20;
}

.site-header .nav-sub a,
.site-header .nav-sub a:visited {
  display: block;
  padding: 0.55rem 0.75rem;
  border-radius: 0.55rem;
  color: var(--ink);
  font-size: 0.9rem;
}

.site-header .nav-sub a:hover,
.site-header .nav-sub a:focus {
  background: var(--mint-soft);
  color: var(--teal-ink);
}

.nav-item:hover .nav-sub,
.nav-item:focus-within .nav-sub {
  display: block;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  border-radius: 0;
  padding: 0;
  line-height: 0;
  cursor: not-allowed;
  opacity: 0.9;
}

.lang-toggle .flag-es {
  display: block;
}

.site-header .header-cta,
.site-header .header-cta:visited {
  display: inline-flex;
  padding: 0.65rem 1.15rem;
  border-radius: var(--radius-sm);
  background: #ffffff;
  color: #1e4d6e;
  font-weight: 700;
  font-size: 0.95rem;
}

.site-header .header-cta:hover,
.site-header .header-cta:focus {
  background: #ffffff;
  color: #000000;
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  cursor: pointer;
  place-items: center;
  gap: 6px;
  flex-direction: column;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  padding: 0.85rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.breadcrumbs a:hover {
  color: var(--teal);
}

/* Hero (home) */
.hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: grid;
  align-items: center;
  background: linear-gradient(120deg, var(--teal-ink) 0%, var(--teal-deep) 42%, var(--teal) 78%, var(--primary-bright) 100%);
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 92% center;
  opacity: 0.9;
  mask-image: linear-gradient(90deg, transparent 0%, transparent 34%, #000 58%, #000 100%);
}

.hero .wrap {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 46rem;
  padding: clamp(4rem, 10vw, 6.5rem) 0;
}

.hero-content .lede {
  max-width: 42rem;
}

.brand-signal {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--mint);
}

.hero h1,
.page-hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 5.5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.lede {
  margin: 0 0 1.5rem;
  max-width: 34rem;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.88);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}

/* Page heroes without photos — bold primary band */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4.5rem, 10vw, 7.5rem) 0 clamp(3.5rem, 7vw, 5.5rem);
  background: var(--teal-deep);
  color: var(--white);
}

.page-hero::before {
  content: "";
  position: absolute;
  right: -32%;
  top: 50%;
  transform: translateY(-50%);
  width: min(78vw, 52rem);
  height: min(78vw, 52rem);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  pointer-events: none;
}

.page-hero .wrap {
  position: relative;
  z-index: 1;
}

.page-hero .eyebrow {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
  margin-bottom: 0.85rem;
}

.page-hero h1 {
  color: var(--white);
  max-width: 16ch;
  font-size: clamp(2.75rem, 7vw, 4.6rem);
  margin-bottom: 1.25rem;
}

.page-hero .lede {
  color: rgba(255, 255, 255, 0.9);
  max-width: 38rem;
  font-size: clamp(1.12rem, 2.2vw, 1.35rem);
  line-height: 1.55;
  margin-bottom: 1.75rem;
}

.page-hero .btn-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.65);
  background: transparent;
}

.page-hero .btn-outline:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.page-hero--media {
  position: relative;
  min-height: min(52vh, 520px);
  display: grid;
  align-items: end;
  padding: clamp(3.5rem, 8vw, 5.5rem) 0 clamp(2rem, 4vw, 3rem);
  background: #111;
  color: var(--white);
  overflow: hidden;
}

.page-hero--media::before {
  display: none;
}

.page-hero-media {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.page-hero--media::after {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(0, 0, 0, 0.82) 0%,
    rgba(0, 0, 0, 0.62) 42%,
    rgba(0, 0, 0, 0.28) 70%,
    rgba(0, 0, 0, 0.12) 100%
  );
  pointer-events: none;
}

.page-hero--media .wrap {
  position: relative;
  z-index: 1;
}

.page-hero--media .eyebrow {
  color: rgba(255, 255, 255, 0.78);
}

.page-hero--media h1 {
  color: var(--white);
  font-size: clamp(2.3rem, 5.5vw, 3.8rem);
}

.page-hero--media .lede {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.8rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 0;
  font-weight: 700;
  cursor: pointer;
  transition: transform 160ms var(--ease-out), filter 200ms var(--ease-out);
}

.btn:active {
  transform: scale(0.97);
}

.btn-mint {
  background: var(--mint);
  color: var(--teal-deep);
}

.btn-mint:hover {
  color: var(--teal-deep);
  filter: brightness(1.03);
}

.btn-white {
  background: var(--white);
  color: var(--teal-deep);
}

.btn-white:hover {
  color: var(--teal-ink);
  background: var(--white);
  filter: brightness(0.97);
}

.btn-accent {
  background: var(--accent);
  color: var(--white);
}

.btn-accent:hover {
  color: var(--white);
  background: var(--accent-deep);
}

.btn-teal {
  background: var(--teal);
  color: var(--white);
}

.btn-teal:hover {
  color: var(--white);
  background: var(--teal-deep);
}

.btn-outline,
.btn-outline-light {
  background: transparent;
  border: 1.5px solid currentColor;
}

.btn-outline {
  color: var(--teal-deep);
}

.btn-outline-light {
  color: var(--white);
}

.btn-outline-light:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-weight: 600;
}

.hero .text-link {
  color: var(--white);
}

.hero .text-link:hover {
  color: var(--mint);
}

/* Sections */
.section {
  padding: clamp(3.25rem, 7vw, 5.5rem) 0;
}

.section-muted {
  background: var(--mint-soft);
}

.section-primary {
  background: var(--teal);
  color: var(--white);
}

.section-primary .section-head {
  border-left-color: rgba(255, 255, 255, 0.55);
}

.section-primary .eyebrow {
  color: rgba(255, 255, 255, 0.78);
}

.section-primary .section-head h2,
.section-primary .section-head h1 {
  color: var(--white);
}

.section-primary .prose p,
.section-primary .prose li,
.section-primary .prose h3 {
  color: rgba(255, 255, 255, 0.92);
}

.section-primary a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.section-primary a:hover {
  color: var(--mint);
}

.section-head {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1.75rem;
  padding-left: 1rem;
  border-left: 3px solid var(--teal);
}

.eyebrow {
  margin: 0;
  color: var(--teal);
  font-weight: 600;
}

.section-head h2,
.page-hero .eyebrow + h1 {
  margin: 0;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  max-width: 18ch;
}

.service-detail .section-head h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 5.5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.02;
  color: var(--ink);
  max-width: 18ch;
}

.section-cta {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.prose {
  max-width: 68ch;
}

.prose h3 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

.prose p,
.prose li {
  color: var(--ink);
}

.prose p + p {
  margin-top: 0.9rem;
}

.split-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.info-card {
  display: grid;
  gap: 0.55rem;
  padding: 1.35rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 220ms var(--ease-out), border-color 220ms var(--ease-out);
}

.info-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--teal) 35%, var(--line));
  color: inherit;
}

.info-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.info-card p {
  margin: 0;
  color: var(--muted);
}

.leader-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.leader-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.leader-photo {
  min-height: 12rem;
  margin-bottom: 1rem;
  border-radius: 1rem;
}

.leader-card h3 {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
}

.leader-card .meta {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0 0 0.85rem;
}

.pub-list {
  padding-left: 1.1rem;
}

.pub-list li {
  margin-bottom: 0.65rem;
}

.chip-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip-list li {
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  background: var(--mint);
  color: var(--teal-deep);
  font-weight: 600;
  font-size: 0.9rem;
}

/* Trust strip (home) */
.trust-strip {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 1.75rem 0;
}

.trust-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem 2rem;
}

.trust-list li {
  display: grid;
  gap: 0.25rem;
}

.trust-list strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--teal-ink);
  font-weight: 700;
}

.trust-list span {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

/* Insurance / payors */
.insurance-block {
  display: grid;
  gap: 1.25rem;
}

.payor-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.payor-list li {
  padding: 0.65rem 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  font-weight: 600;
  color: var(--teal-ink);
  font-size: 0.95rem;
}

.section-muted .payor-list li {
  background: var(--mint-soft);
}

.insurance-note {
  margin: 0;
  color: var(--muted);
  max-width: 42rem;
}

.insurance-block .section-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 0.25rem;
}

/* Intake journey */
.journey-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  counter-reset: none;
}

.journey-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.15rem 1.35rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.journey-step:last-child {
  border-bottom: 0;
}

.journey-num {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--teal);
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.journey-body h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--teal-ink);
}

.journey-happens {
  margin: 0 0 0.55rem;
  color: var(--ink);
  max-width: 40rem;
}

.journey-leave {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 40rem;
}

.journey-cta {
  margin-top: 1.75rem;
  display: grid;
  gap: 1rem;
  justify-items: start;
}

.journey-docs {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.steps-ol {
  padding-left: 1.2rem;
  display: grid;
  gap: 0.65rem;
}

.job {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 0.85rem 1.1rem;
  margin-bottom: 0.75rem;
}

.job summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
}

.job .prose {
  margin-top: 0.85rem;
}

.link-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.link-list a {
  color: var(--teal);
  font-weight: 600;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
  align-items: start;
}

.map-embed {
  margin-top: 1rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--mint-soft);
  min-height: 16rem;
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: min(420px, 55vw);
  min-height: 280px;
  border: 0;
}

.contact-form {
  display: grid;
  gap: 0.85rem;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--mint-soft);
  border: 1px solid color-mix(in srgb, var(--teal) 12%, transparent);
}

.contact-form h3 {
  margin: 0;
  font-family: var(--font-display);
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.92rem;
  color: var(--muted);
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: var(--white);
  color: var(--ink);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid color-mix(in srgb, var(--teal) 45%, transparent);
  border-color: color-mix(in srgb, var(--teal) 40%, var(--line));
}

.contact-form button {
  justify-self: start;
  padding: 0.8rem 1.3rem;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--teal);
  color: var(--white);
  font-weight: 700;
  cursor: pointer;
}

.contact-form button:disabled {
  opacity: 0.65;
}

.form-status {
  min-height: 1.3em;
  margin: 0;
}

.form-status.is-error {
  color: var(--placeholder);
}

.form-status.is-success {
  color: var(--teal);
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.gallery-item {
  min-height: 10rem;
  aspect-ratio: 4 / 3;
}

/* CTA band + footer */
.cta-band {
  background: var(--teal);
  color: var(--white);
  padding: 3.25rem 0;
}

.cta-band-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
}

.cta-band h2 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.cta-band p {
  margin: 0;
  max-width: 38rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  line-height: 1.5;
}

.cta-band-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.cta-band .btn-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.65);
}

.cta-band .btn-outline:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.site-footer {
  background: var(--teal-deep);
  color: rgba(255, 255, 255, 0.84);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
}

.site-footer h3 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  color: var(--white);
  font-size: 1rem;
}

.site-footer .footer-subhead {
  margin-top: 1rem;
}

.site-footer p {
  margin: 0 0 0.65rem;
  font-size: 0.92rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.9);
}

.site-footer a:hover {
  color: var(--mint);
}

.footer-tag {
  margin-top: 0.75rem !important;
  max-width: 42ch;
  line-height: 1.5;
}

.footer-contact {
  margin: 0 0 0.85rem;
  display: grid;
  gap: 0.75rem;
}

.footer-contact-row {
  display: grid;
  grid-template-columns: 1.25rem minmax(0, 1fr);
  gap: 0.65rem;
  align-items: start;
  font-size: 0.92rem;
}

.footer-address {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.footer-icon {
  display: inline-flex;
  color: var(--mint-2);
  margin-top: 0.1rem;
}

.footer-icon svg {
  display: block;
}

.footer-links {
  display: grid;
  gap: 0.55rem;
  font-size: 0.92rem;
}

.footer-links a {
  display: block;
  line-height: 1.45;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: flex-end;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
}

.footer-legal {
  display: grid;
  gap: 0.25rem;
}

.footer-legal p {
  margin: 0;
}

.footer-credit {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-credit a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-credit a:hover {
  color: var(--mint);
}

.hablamos {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
}

.hablamos .flag-es {
  display: block;
  flex-shrink: 0;
}

@media (max-width: 960px) {
  .header-inner {
    grid-template-columns: auto auto auto;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--teal-deep);
    padding: 1rem;
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-item .nav-sub {
    position: static;
    display: none;
    box-shadow: none;
    background: transparent;
    padding-left: 0.75rem;
  }

  .nav-item.is-open .nav-sub {
    display: block;
  }

  .nav-sub a {
    color: rgba(255, 255, 255, 0.9);
  }

  .nav-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .header-actions .header-cta {
    display: inline-flex;
  }

  .hero-media img {
    mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.4) 40%, #000 75%);
  }

  .trust-list {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }

  .split-2,
  .leader-grid,
  .contact-grid,
  .footer-grid,
  .card-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .card-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .card-grid {
    grid-template-columns: 1fr;
  }

  .journey-step {
    grid-template-columns: auto 1fr;
    gap: 0.85rem;
  }

  .payor-list li {
    font-size: 0.88rem;
    padding: 0.55rem 0.85rem;
  }
}
