@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&display=swap");

:root {
  --red: #ed0018;
  --red-deep: #a60012;
  --ink: #302f5f;
  --midnight: #26254f;
  --violet: #34326f;
  --text-strong: #25245f;
  --text-muted: #c0185a;
  --text-bright: #ff0066;
  --muted: #26254f;
  --blue: #17b9d1;
  --gold: #ffb400;
  --gold-deep: #d47a00;
  --green: #78ba54;
  --rose: #ff2738;
  --paper: #fff8ef;
  --mist: #f6f8fb;
  --line: rgba(48, 47, 95, 0.12);
  --shadow: 0 26px 80px rgba(48, 47, 95, 0.18);
  --soft-shadow: 0 16px 44px rgba(48, 47, 95, 0.1);
  --radius: 28px;
  --font-body: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-family: var(--font-body);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text-strong);
  font-family: var(--font-body);
  background:
    radial-gradient(circle at 2% 16%, rgba(237, 0, 24, 0.12), transparent 28rem),
    radial-gradient(circle at 92% 8%, rgba(255, 180, 0, 0.16), transparent 24rem),
    linear-gradient(180deg, #fff 0%, var(--paper) 48%, #fff 100%);
  overflow-x: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.cursor-glow {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 0;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(237, 0, 24, 0.16), transparent 68%);
  transform: translate(-50%, -50%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 10px clamp(18px, 4vw, 70px);
  background: rgba(255, 255, 255, 0.84);
  border-bottom: 1px solid rgba(48, 47, 95, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 158px;
}

.brand-logo {
  width: 142px;
  height: 86px;
  object-fit: contain;
  padding: 0;
  background: transparent;
  border-radius: 0;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 8px 14px rgba(166, 0, 18, 0.12));
  box-shadow: none;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  color: var(--ink);
  font-size: 0.83rem;
  font-weight: 900;
}

.nav-link,
.nav-cta {
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  font-weight: 900;
}

.nav-link.active,
.nav-link:hover,
.nav-parent-toggle[aria-expanded="true"] {
  color: var(--red);
}

.nav-group {
  position: relative;
}

.nav-parent-row {
  display: flex;
  align-items: center;
}

.nav-parent-row .nav-link {
  padding-right: 5px;
}

.nav-parent-toggle {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 42px;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  cursor: pointer;
}

.nav-group::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 16px;
}

.nav-parent-toggle::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.submenu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  display: grid;
  min-width: 220px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -8px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.submenu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 12px;
  color: var(--ink);
}

.submenu a:hover {
  background: #fff3f4;
  color: var(--red);
}

.service-submenu {
  grid-template-columns: repeat(2, minmax(210px, 1fr));
  min-width: 520px;
  padding: 14px;
  gap: 4px;
}

.service-submenu a {
  min-height: 48px;
  padding: 9px 10px;
  font-size: 0.78rem;
  line-height: 1.18;
}

.submenu-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--gold));
  border-radius: 12px;
  box-shadow: 0 10px 22px rgba(237, 0, 24, 0.2);
}

.submenu-icon svg {
  width: 15px;
  height: 15px;
}

.nav-group:hover .submenu,
.nav-group.is-open .submenu,
.nav-group:focus-within .submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.main-nav.is-closing .submenu,
.main-nav.is-closing .nav-group:hover .submenu,
.main-nav.is-closing .nav-group:focus-within .submenu {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -8px);
}

.nav-cta,
.button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  box-shadow: 0 16px 36px rgba(201, 37, 49, 0.25);
}

.nav-cta {
  margin-left: 10px;
  padding-inline: 24px;
}

.nav-toggle {
  display: none;
}

main {
  overflow: hidden;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1fr);
  align-items: center;
  gap: clamp(34px, 7vw, 90px);
  min-height: calc(100vh - 98px);
  padding: clamp(38px, 5vw, 66px) clamp(20px, 6vw, 92px) 54px;
}

.hero::before {
  content: "";
  position: absolute;
  left: -90px;
  bottom: 30px;
  width: 430px;
  height: 210px;
  border-radius: 999px 999px 0 0;
  background:
    radial-gradient(circle at 66% 34%, var(--rose) 0 28%, transparent 29%),
    radial-gradient(circle at 40% 50%, var(--gold) 0 26%, transparent 27%),
    radial-gradient(circle at 78% 68%, #ff2b92 0 24%, transparent 25%);
  opacity: 0.96;
  transform: rotate(-1deg);
  z-index: -1;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.02;
}

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(3.2rem, 5.8vw, 5.55rem);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.2rem, 4.7vw, 4.9rem);
}

p {
  color: #26254f;
  line-height: 1.75;
}

.hero-text {
  max-width: 570px;
  font-size: 1.15rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 26px 0 18px;
}

.nrn-hero-cta {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background:
    linear-gradient(135deg, #ffb300 0%, #ff6b00 36%, var(--red) 70%, var(--red-deep) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.46),
    0 18px 44px rgba(237, 0, 24, 0.24),
    0 0 0 8px rgba(255, 179, 0, 0.12);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  font-weight: 950;
  cursor: pointer;
}

.button.ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
}

.button.compact {
  min-height: 44px;
  padding-inline: 22px;
  font-size: 0.82rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 580px;
}

.hero-badges span {
  padding: 10px 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--soft-shadow);
  font-size: 0.78rem;
  font-weight: 900;
}

.hero-stage {
  position: relative;
  min-height: 510px;
  display: grid;
  place-items: center;
}

.hero-art {
  width: min(100%, 650px);
  height: 455px;
  object-fit: cover;
  border-radius: 44px 120px 44px 120px;
  box-shadow: var(--shadow);
  animation: floatPhoto 7s ease-in-out infinite;
}

.hero-orbit {
  position: absolute;
  left: 0;
  top: 78px;
  width: 320px;
  height: 160px;
  border: 6px dashed var(--blue);
  border-color: transparent transparent var(--blue) var(--blue);
  border-radius: 0 0 0 100%;
  transform: rotate(-10deg);
  animation: sway 5s ease-in-out infinite;
}

.match-card {
  position: absolute;
  left: 4%;
  bottom: 42px;
  width: 230px;
  padding: 22px 24px;
  color: #fff;
  background: rgba(48, 47, 95, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 24px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.match-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 3.4rem;
  line-height: 1;
}

.match-card span {
  font-size: 0.83rem;
  font-weight: 900;
}

.floating-note {
  position: absolute;
  padding: 12px 16px;
  color: var(--ink);
  background: #fff;
  border-radius: 999px;
  box-shadow: var(--soft-shadow);
  font-size: 0.78rem;
  font-weight: 950;
}

.note-one {
  right: 5%;
  top: 56px;
}

.note-two {
  right: 2%;
  bottom: 110px;
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
  padding: 84px clamp(20px, 6vw, 92px);
}

.story-media {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(201, 37, 49, 0.85), rgba(242, 85, 115, 0.67));
  border-radius: 0 58px 58px 0;
  box-shadow: var(--shadow);
}

.story-media img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  opacity: 0.78;
}

.story-label {
  position: absolute;
  right: 50px;
  top: 50%;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-weight: 900;
  line-height: 1;
  transform: translateY(-50%);
}

.difference-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.difference-points article {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 14px;
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--line);
  box-shadow: 0 20px 60px rgba(48, 47, 95, 0.08);
}

.difference-points p {
  margin: 0;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 850;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  color: #fff;
  border-radius: 50%;
  font-weight: 950;
}

.red {
  background: var(--red);
}

.gold {
  background: var(--gold);
}

.green {
  background: var(--green);
}

.rose {
  background: var(--rose);
}

.qualities {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
  align-items: center;
  gap: clamp(34px, 7vw, 90px);
  padding: 86px clamp(20px, 6vw, 92px) 90px;
}

.quality-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 28px 0 26px;
}

.quality-grid span {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: 12px 18px 12px 52px;
  background: #fff;
  border: 1px solid rgba(48, 47, 95, 0.08);
  border-radius: 999px;
  box-shadow: var(--soft-shadow);
  color: var(--ink);
  font-size: 0.86rem;
}

.quality-grid span::before {
  content: "";
  position: absolute;
  left: 15px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 6px rgba(201, 37, 49, 0.1);
}

.quality-grid span:nth-child(2)::before {
  background: var(--gold);
  box-shadow: 0 0 0 6px rgba(245, 173, 37, 0.14);
}

.quality-grid span:nth-child(3)::before {
  background: var(--blue);
  box-shadow: 0 0 0 6px rgba(23, 185, 209, 0.14);
}

.quality-grid span:nth-child(4)::before {
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(120, 186, 84, 0.14);
}

.quality-visual {
  position: relative;
}

.quality-visual img {
  width: 100%;
  min-height: 390px;
  object-fit: cover;
  border-radius: 34px 100px 34px 100px;
  box-shadow: var(--shadow);
}

.spark {
  position: absolute;
  width: 26px;
  height: 26px;
  background: var(--gold);
  clip-path: polygon(50% 0, 61% 34%, 98% 35%, 68% 56%, 80% 94%, 50% 70%, 20% 94%, 32% 56%, 2% 35%, 39% 34%);
  animation: twinkle 2.6s ease-in-out infinite;
}

.spark-one {
  left: 8%;
  bottom: 34px;
}

.spark-two {
  right: 8%;
  top: 28px;
  background: var(--rose);
  animation-delay: 0.7s;
}

.nrn {
  padding: 105px clamp(20px, 6vw, 92px);
  text-align: center;
  background:
    linear-gradient(rgba(23, 185, 209, 0.88), rgba(23, 185, 209, 0.9)),
    url("assets/home-nanny-play.png") center/cover;
}

.nrn-inner {
  max-width: 960px;
  margin: 0 auto;
}

.nrn h2,
.nrn p,
.nrn .eyebrow {
  color: #fff;
}

.nrn p {
  margin-bottom: 32px;
}

.services {
  position: relative;
  padding: 116px clamp(20px, 6vw, 92px) 90px;
  color: #fff;
  background:
    linear-gradient(rgba(38, 37, 79, 0.86), rgba(38, 37, 79, 0.92)),
    url("assets/family-consultation.png") center/cover;
  border-radius: 50% 50% 0 0 / 8% 8% 0 0;
}

.section-heading {
  max-width: 860px;
  margin-bottom: 42px;
}

.section-heading.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.services h2,
.services .eyebrow {
  color: #fff;
}

.reason-cloud {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto 54px;
}

.reason-cloud span {
  min-height: 68px;
  display: flex;
  align-items: center;
  padding: 16px 22px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 900;
  box-shadow: 0 12px 38px rgba(0, 0, 0, 0.12);
}

.reason-cloud span:nth-child(1) {
  color: var(--red);
}

.reason-cloud span:nth-child(2) {
  color: #a46f00;
}

.reason-cloud span:nth-child(3) {
  color: #427a2e;
}

.reason-cloud span:nth-child(5) {
  color: #0089a0;
}

.reason-cloud span:nth-child(6) {
  color: #7440c2;
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  max-width: 980px;
  margin: 0 auto;
}

.stats-strip div {
  text-align: center;
}

.stats-strip strong {
  display: block;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 1;
}

.stats-strip span {
  color: #fff;
  font-weight: 950;
}

.testimonials {
  padding: 92px clamp(20px, 6vw, 92px) 110px;
  background: #fff;
}

.testimonial-feature {
  display: grid;
  grid-template-columns: 0.85fr repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 38px);
  align-items: center;
}

.quote-image {
  position: relative;
}

.quote-image img {
  min-height: 280px;
  object-fit: cover;
  border-radius: 30px 80px 30px 80px;
  box-shadow: var(--shadow);
}

.quote-image span {
  position: absolute;
  right: -18px;
  top: 12px;
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  color: #fff;
  background: var(--red);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 1;
}

.testimonial-feature article {
  min-height: 260px;
  padding: 8px 4px;
}

.testimonial-feature p {
  color: #121127;
  font-size: 0.94rem;
  font-style: italic;
}

.testimonial-feature strong {
  color: var(--ink);
  font-weight: 950;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.72fr);
  align-items: start;
  gap: clamp(34px, 6vw, 76px);
  padding: 96px clamp(20px, 6vw, 92px);
  background: var(--mist);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 950;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(48, 47, 95, 0.15);
  border-radius: 16px;
  padding: 15px 16px;
  color: var(--ink);
  background: #fbfaf8;
}

textarea {
  resize: vertical;
}

/* Shiny red and gold brand finish */
.button.primary,
.nav-cta,
.red-card .service-card-summary,
.payment-summary-card,
.booking-note,
.stat-icon,
.contact-cards article > span,
.faq-list summary::after,
.upload-drop::before,
.booking-form legend::before,
.applicant-mini-stats strong,
.payment-hero-card span,
.booking-steps span,
.nrn-steps span {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.5), transparent 30%),
    linear-gradient(135deg, var(--red) 0%, #ff2434 42%, var(--red-deep) 100%);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.5),
    inset 0 -5px 12px rgba(116, 0, 12, 0.22),
    0 16px 34px rgba(237, 0, 24, 0.22);
}

.gold-card .service-card-summary,
.booking-steps article:nth-child(2) span,
.nrn-steps article:nth-child(2) span,
.applicant-mini-stats span:nth-child(2) strong,
.contact-cards article:nth-child(2) > span {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.58), transparent 32%),
    linear-gradient(135deg, #ffd44d 0%, var(--gold) 44%, var(--gold-deep) 100%);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.62),
    inset 0 -5px 12px rgba(139, 78, 0, 0.24),
    0 16px 34px rgba(255, 180, 0, 0.22);
}

.site-header {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 250, 244, 0.88));
}

.home-hero,
.booking-hero,
.corporate-page-hero,
.contact-hero,
.payment-hero,
.nanny-hero {
  background:
    radial-gradient(circle at 8% 16%, rgba(237, 0, 24, 0.12), transparent 25rem),
    radial-gradient(circle at 92% 12%, rgba(255, 180, 0, 0.16), transparent 24rem),
    linear-gradient(135deg, #fff 0%, #fff8ef 100%);
}

.trust-dashboard,
.about-stats,
.corporate-stats {
  background:
    radial-gradient(circle at 10% 18%, rgba(255, 180, 0, 0.16), transparent 20rem),
    radial-gradient(circle at 88% 8%, rgba(237, 0, 24, 0.18), transparent 22rem),
    linear-gradient(135deg, var(--midnight), var(--ink));
}

.site-header .brand-logo {
  mix-blend-mode: multiply;
}

.site-header .brand {
  align-self: stretch;
  display: inline-flex;
  align-items: center;
}

.footer-brand {
  position: relative;
  overflow: hidden;
}

.footer-brand::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, transparent 0 42%, rgba(255, 255, 255, 0.42) 50%, transparent 58% 100%);
  transform: translateX(-100%);
  animation: logoShine 5.5s ease-in-out infinite;
}

@keyframes logoShine {
  0%,
  64% {
    transform: translateX(-110%);
  }
  82%,
  100% {
    transform: translateX(110%);
  }
}

/* Integrated logo and richer footer treatment */
.site-header .brand {
  width: 188px;
  min-width: 188px;
  height: 96px;
  overflow: hidden;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.site-header .brand-logo {
  width: 205px;
  height: 124px;
  max-width: none;
  object-fit: contain;
  transform: translate(-8px, -14px) scale(1.08);
  clip-path: inset(10px 13px 14px 13px);
  mix-blend-mode: multiply;
  filter:
    contrast(1.08)
    saturate(1.08)
    drop-shadow(0 8px 14px rgba(166, 0, 18, 0.1));
}

.site-footer {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 180, 0, 0.18), transparent 22rem),
    radial-gradient(circle at 88% 8%, rgba(237, 0, 24, 0.14), transparent 24rem),
    linear-gradient(135deg, #272650 0%, #34346d 52%, #242449 100%);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, transparent 0 44%, rgba(255, 255, 255, 0.08) 50%, transparent 58% 100%);
  opacity: 0.9;
}

.site-footer > * {
  position: relative;
  z-index: 1;
}

.site-footer .footer-brand {
  display: none;
}

.site-footer > div:first-child {
  padding: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.045));
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 22px 60px rgba(0, 0, 0, 0.14);
}

.site-footer > div:first-child::before {
  content: "Quintessential Nannies";
  display: block;
  margin-bottom: 14px;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 700;
  line-height: 0.95;
}

.site-footer > div:first-child::after {
  content: "";
  display: block;
  width: 92px;
  height: 4px;
  margin-top: 22px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, var(--red), var(--gold));
  box-shadow: 0 0 24px rgba(255, 180, 0, 0.32);
}

.site-footer nav,
.site-footer address {
  padding: 26px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 26px;
}

.site-footer strong {
  color: #fff;
}

.booking-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
  padding: 72px clamp(20px, 6vw, 92px) 84px;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 18%, rgba(255, 90, 165, 0.2), transparent 24rem),
    radial-gradient(circle at 92% 10%, rgba(217, 173, 79, 0.16), transparent 22rem),
    linear-gradient(135deg, #fff 0%, #fff6fb 100%);
}

.booking-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 660px;
}

.booking-hero-copy p {
  max-width: 570px;
  font-size: 1.08rem;
}

.booking-hero-media {
  position: relative;
  z-index: 2;
}

.booking-hero-media img {
  width: 100%;
  min-height: 460px;
  object-fit: cover;
  border-radius: 42px 120px 42px 120px;
  box-shadow: var(--shadow);
  animation: softFloat 7s ease-in-out infinite;
}

.booking-note {
  position: absolute;
  left: -34px;
  bottom: 34px;
  width: min(310px, 78%);
  padding: 22px;
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.booking-note strong,
.booking-note span {
  display: block;
}

.booking-note strong {
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: 1.55rem;
  line-height: 1.05;
}

.booking-note span {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.5;
}

.booking-arrow {
  left: 42%;
  bottom: 54px;
  border-color: transparent transparent var(--rose) var(--rose);
  transform: rotate(18deg);
}

.booking-arrow::after {
  border-color: var(--rose);
}

.booking-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 28px clamp(20px, 6vw, 92px) 74px;
  background: #fff;
}

.booking-steps article {
  min-height: 190px;
  padding: 26px;
  color: var(--ink);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(255, 246, 251, 0.96));
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--soft-shadow);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.booking-steps article:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.booking-steps span {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 22px;
  color: #fff;
  background: var(--red);
  border-radius: 50%;
  font-weight: 950;
}

.booking-steps article:nth-child(2) span {
  background: var(--gold);
}

.booking-steps article:nth-child(3) span {
  background: var(--blue);
}

.booking-steps strong {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: 1.55rem;
  line-height: 1.05;
}

.booking-steps p {
  margin: 0;
}

.booking-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
  padding: 96px clamp(20px, 6vw, 92px);
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 90, 165, 0.12), transparent 24rem),
    var(--mist);
}

.booking-form-copy {
  position: sticky;
  top: 116px;
}

.booking-form-copy p {
  max-width: 420px;
}

.booking-assurance {
  margin-top: 28px;
  padding: 26px;
  color: #fff;
  background: linear-gradient(135deg, var(--ink), var(--midnight));
  border-radius: 28px;
  box-shadow: var(--soft-shadow);
}

.booking-assurance strong {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: 1.55rem;
}

.booking-assurance p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.applicant-mini-stats {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.applicant-mini-stats span {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 10px 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 10px 26px rgba(48, 47, 95, 0.06);
  font-size: 0.82rem;
  font-weight: 850;
}

.applicant-mini-stats strong {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #fff;
  background: var(--red);
  border-radius: 50%;
  font-size: 0.86rem;
}

.applicant-mini-stats span:nth-child(2) strong {
  background: var(--gold);
}

.applicant-mini-stats span:nth-child(3) strong {
  background: var(--blue);
}

.booking-form {
  counter-reset: form-step;
  gap: 20px;
  padding: clamp(20px, 3.4vw, 36px);
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 246, 251, 0.9)),
    #fff;
}

.booking-form fieldset {
  position: relative;
  counter-increment: form-step;
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 24px 0 26px 28px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-left: 3px solid rgba(231, 53, 134, 0.18);
}

.booking-form fieldset:last-of-type {
  border-bottom: 0;
}

.booking-form legend {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.28rem, 1.65vw, 1.65rem);
  font-weight: 700;
  line-height: 1;
}

.booking-form legend::before {
  content: counter(form-step, decimal-leading-zero);
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--rose));
  border-radius: 50%;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 900;
  box-shadow: 0 10px 26px rgba(231, 53, 134, 0.22);
}

.form-grid {
  display: grid;
  gap: 14px;
}

.form-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

label b,
.checkbox-line b {
  color: var(--red);
}

.booking-form label {
  gap: 7px;
  color: #3f3d64;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.01em;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
  min-height: 44px;
  padding: 12px 14px;
  background: #fff;
  border-color: rgba(48, 47, 95, 0.12);
  border-radius: 14px;
  font-size: 0.9rem;
  box-shadow: 0 10px 22px rgba(48, 47, 95, 0.045);
}

.booking-form textarea {
  min-height: 124px;
  line-height: 1.65;
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
  outline: 3px solid rgba(237, 0, 24, 0.16);
  border-color: rgba(237, 0, 24, 0.48);
}

.checkbox-line {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px;
  background: rgba(255, 90, 165, 0.06);
  border: 1px solid rgba(231, 53, 134, 0.12);
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.55;
}

.checkbox-line input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  flex: 0 0 auto;
  accent-color: var(--red);
  box-shadow: none;
}

.nanny-hero {
  background:
    radial-gradient(circle at 8% 18%, rgba(23, 185, 209, 0.14), transparent 24rem),
    radial-gradient(circle at 92% 10%, rgba(255, 90, 165, 0.18), transparent 24rem),
    linear-gradient(135deg, #fff 0%, #fff6fb 100%);
}

.applicant-section {
  grid-template-columns: 1fr;
  gap: 30px;
}

.family-booking-section {
  grid-template-columns: 1fr;
  gap: 30px;
}

.applicant-section .booking-form-copy {
  position: relative;
  top: auto;
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(280px, 0.42fr);
  gap: 22px;
  align-items: end;
}

.applicant-section .booking-form-copy > p {
  max-width: 760px;
}

.applicant-section .booking-assurance {
  margin-top: 0;
}

.applicant-section .applicant-mini-stats {
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.applicant-section .booking-form {
  width: 100%;
  max-width: none;
}

.family-booking-section .booking-form-copy {
  position: relative;
  top: auto;
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(280px, 0.42fr);
  gap: 22px;
  align-items: end;
}

.family-booking-section .booking-form-copy > p {
  max-width: 760px;
}

.family-booking-section .booking-assurance {
  margin-top: 0;
}

.family-booking-section .booking-form {
  width: 100%;
  max-width: none;
}

.nanny-steps article:nth-child(1) span {
  background: var(--blue);
}

.nanny-steps article:nth-child(2) span {
  background: var(--red);
}

.nanny-steps article:nth-child(3) span {
  background: var(--gold);
}

.applicant-form {
  position: relative;
}

.applicant-form::before {
  content: "";
  position: absolute;
  right: 30px;
  top: 28px;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, var(--gold) 0 20%, transparent 22%),
    radial-gradient(circle at 50% 50%, transparent 0 48%, rgba(217, 173, 79, 0.24) 49% 58%, transparent 59%);
  opacity: 0.7;
  pointer-events: none;
}

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

.answer-grid label {
  position: relative;
  align-content: space-between;
  min-height: 116px;
  padding: 16px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 246, 251, 0.92));
  border: 1px solid rgba(48, 47, 95, 0.1);
  border-radius: 20px;
  box-shadow: 0 10px 24px rgba(48, 47, 95, 0.05);
}

.answer-grid label::after {
  content: "";
  position: absolute;
  right: -20px;
  top: -20px;
  width: 58px;
  height: 58px;
  background: rgba(255, 90, 165, 0.1);
  border-radius: 50%;
}

.answer-grid select {
  margin-top: 10px;
  box-shadow: none;
}

.upload-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 14px;
}

.upload-drop {
  position: relative;
  min-height: 150px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 7px;
  padding: 22px;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(255, 90, 165, 0.08), rgba(23, 185, 209, 0.08)),
    #fff;
  border: 1px dashed rgba(48, 47, 95, 0.28);
  border-radius: 22px;
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.upload-drop:hover {
  transform: translateY(-4px);
  border-color: rgba(231, 53, 134, 0.55);
  box-shadow: var(--soft-shadow);
}

.upload-drop::before {
  content: "UP";
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: #fff;
  background: var(--red);
  border-radius: 50%;
  font-size: 0.66rem;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.upload-drop input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.upload-drop span,
.upload-drop small {
  position: relative;
  z-index: 1;
}

.upload-preview {
  position: relative;
  z-index: 1;
  display: none;
  width: min(180px, 92%);
  margin: 6px auto 0;
}

.upload-drop.has-file .upload-preview {
  display: grid;
  gap: 8px;
}

.upload-preview img {
  width: 100%;
  max-height: 120px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(48, 47, 95, 0.12);
  box-shadow: 0 12px 28px rgba(48, 47, 95, 0.12);
}

.upload-file-name {
  display: block;
  padding: 7px 10px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(48, 47, 95, 0.1);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 900;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.error-page {
  min-height: 64vh;
  display: grid;
  place-items: center;
  padding: clamp(48px, 8vw, 100px) clamp(20px, 6vw, 90px);
}

.error-card {
  width: min(760px, 100%);
  padding: clamp(34px, 6vw, 70px);
  text-align: center;
  border: 1px solid rgba(237, 0, 24, 0.12);
  border-radius: 36px;
  background:
    radial-gradient(circle at 88% 6%, rgba(255, 180, 0, 0.22), transparent 14rem),
    radial-gradient(circle at 8% 96%, rgba(237, 0, 24, 0.1), transparent 16rem),
    rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.error-card h1 {
  margin-inline: auto;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
}

.jobs-hero,
.job-detail-hero {
  padding: clamp(70px, 10vw, 130px) clamp(20px, 7vw, 120px);
  background:
    radial-gradient(circle at 90% 12%, rgba(255, 180, 0, 0.2), transparent 18rem),
    radial-gradient(circle at 10% 90%, rgba(237, 0, 24, 0.1), transparent 18rem),
    linear-gradient(135deg, #fff, #fff8ef);
}

.jobs-hero h1,
.job-detail-hero h1 {
  max-width: 900px;
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 0.96;
  color: var(--ink);
}

.jobs-hero p:not(.eyebrow),
.job-detail-hero p:not(.eyebrow) {
  max-width: 760px;
  color: var(--midnight);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.8;
}

.jobs-board,
.job-detail-shell,
.account-grid,
.nanny-login-page {
  padding: clamp(48px, 7vw, 95px) clamp(20px, 7vw, 120px);
}

.job-filter-form {
  display: grid;
  grid-template-columns: minmax(210px, 1.35fr) minmax(190px, 1fr) minmax(160px, 0.85fr) minmax(150px, 0.8fr) auto;
  gap: 16px;
  align-items: end;
  margin-bottom: 28px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(circle at 82% 0%, rgba(255, 180, 0, 0.13), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 248, 239, 0.82));
  box-shadow: var(--soft-shadow);
}

.job-filter-form .button {
  min-width: 150px;
  min-height: 52px;
  white-space: nowrap;
}

.job-filter-form label,
.nanny-login-form label {
  display: grid;
  gap: 8px;
  font-weight: 900;
  color: var(--ink);
}

.job-filter-form input,
.job-filter-form select,
.nanny-login-form input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 17px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 12px 28px rgba(48, 47, 95, 0.06);
}

.job-filter-form input:focus,
.job-filter-form select:focus {
  border-color: rgba(237, 0, 24, 0.38);
  box-shadow: 0 16px 34px rgba(237, 0, 24, 0.1);
  outline: none;
}

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

.job-card,
.job-empty,
.account-card,
.job-detail-main,
.job-apply-panel,
.nanny-login-form {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.93);
  box-shadow: var(--soft-shadow);
}

.job-empty {
  position: relative;
  overflow: hidden;
  min-height: 190px;
}

.job-empty::after {
  content: "";
  position: absolute;
  right: -44px;
  top: -54px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 180, 0, 0.2), transparent 66%);
}

.job-card {
  display: grid;
  gap: 16px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.job-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.job-card > span,
.job-detail-hero .eyebrow {
  color: var(--red);
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.job-card h2,
.account-card h2,
.job-detail-main h2,
.nanny-login-form h2 {
  margin: 0;
  font-family: var(--font-display);
  color: var(--ink);
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  line-height: 1;
}

.job-card p,
.account-card p,
.job-detail-main p,
.job-apply-panel p {
  color: var(--midnight);
  font-weight: 600;
  line-height: 1.75;
}

.job-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.job-tags b {
  padding: 8px 11px;
  border-radius: 999px;
  color: var(--ink);
  background: linear-gradient(135deg, rgba(255, 180, 0, 0.22), rgba(237, 0, 24, 0.08));
  font-size: 0.74rem;
}

.job-detail-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: start;
}

.job-apply-panel {
  position: sticky;
  top: 130px;
  display: grid;
  gap: 14px;
}

.job-apply-panel strong {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--red);
}

.nanny-login-modal[hidden] {
  display: none;
}

.nanny-login-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
}

.nanny-login-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(38, 37, 79, 0.45);
  backdrop-filter: blur(10px);
}

.nanny-login-dialog {
  position: relative;
  width: min(560px, 100%);
  z-index: 1;
}

.modal-close {
  position: absolute;
  right: 16px;
  top: 14px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: var(--red);
  font-size: 1.4rem;
  cursor: pointer;
}

.nanny-login-form {
  display: grid;
  gap: 16px;
}

.nanny-login-page {
  display: grid;
  justify-content: center;
}

.nanny-login-page .nanny-login-form {
  width: min(620px, calc(100vw - 40px));
}

.login-helper a {
  color: var(--red);
  font-weight: 900;
}

.account-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 24px;
}

.account-app-list {
  display: grid;
  gap: 12px;
}

.account-app-list a {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border-radius: 18px;
  background: #fff8ef;
  border: 1px solid rgba(237, 0, 24, 0.1);
  font-weight: 900;
}

.account-app-list span {
  color: var(--red);
}

.account-profile-form {
  display: grid;
  gap: 13px;
}

.account-profile-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 900;
}

.account-profile-form input {
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  background: #fff;
}

[data-job-results].is-loading {
  opacity: 0.45;
  pointer-events: none;
}

@media (max-width: 980px) {
  .job-filter-form,
  .job-card-grid,
  .job-detail-shell,
  .account-grid {
    grid-template-columns: 1fr;
  }

  .job-apply-panel {
    position: relative;
    top: auto;
  }
}

.error-card p:not(.eyebrow) {
  max-width: 36rem;
  margin-inline: auto;
  color: #26254f;
  font-weight: 650;
}

.error-card .hero-actions {
  justify-content: center;
}

.upload-drop span {
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 900;
  line-height: 1.35;
}

/* Nanny careers and account experience */
.site-topbar {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 5px clamp(24px, 7vw, 120px);
  color: #fff;
  background: linear-gradient(90deg, #2f2e60, #3d316c);
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.topbar-contact,
.topbar-account { display: flex; align-items: center; gap: 18px; }
.topbar-contact a,
.topbar-login { display: inline-flex; align-items: center; gap: 7px; color: rgba(255,255,255,.9); font-size: .69rem; font-weight: 800; }
.topbar-contact a:hover,
.topbar-login:hover { color: #ffcf46; }
.topbar-contact .ui-icon { width: 14px; height: 14px; color: #ffcf46; }
.topbar-login .submenu-icon { width: 26px; height: 26px; color: #fff; background: linear-gradient(135deg, var(--red), #ff8a00); }
.topbar-user-menu .nav-user-trigger { min-height: 32px; padding: 2px 9px 2px 3px; border-color: rgba(255,255,255,.2); color: #fff; background: rgba(255,255,255,.1); box-shadow: none; }
.topbar-user-menu .nav-user-avatar { width: 27px; height: 27px; }
.topbar-user-menu .nav-user-dropdown { top: calc(100% + 7px); z-index: 1000 !important}
.page-shell { max-width: 100%; overflow-x: clip; }
.nav-login-link,
.nav-user-trigger {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px;
  border: 1px solid rgba(237, 0, 24, 0.14);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255,255,255,.88);
  font-size: .82rem;
  font-weight: 900;
  box-shadow: 0 10px 26px rgba(48,47,95,.08);
}
.nav-login-link .submenu-icon { width: 29px; height: 29px; border-radius: 50%; }
.nav-user-menu { position: relative; }
.nav-user-trigger { border: 0; cursor: pointer; font-family: inherit; }
.nav-user-avatar { width: 32px; height: 32px; display:grid; place-items:center; overflow:hidden; border-radius:50%; color:#fff; background:linear-gradient(135deg,var(--red),#ff7c23); font-weight:950; }
.nav-user-avatar img { width:100%; height:100%; object-fit:cover; }
.nav-user-chevron { width:8px; height:8px; border-right:2px solid currentColor; border-bottom:2px solid currentColor; transform:rotate(45deg) translateY(-2px); }
.nav-user-dropdown { position:absolute; top:calc(100% + 12px); right:0; z-index:20; min-width:210px; display:grid; gap:4px; padding:10px; border:1px solid var(--line); border-radius:20px; background:#fff; box-shadow:var(--shadow); opacity:0; visibility:hidden; transform:translateY(-8px); transition:.2s ease; }
.nav-user-menu.is-open .nav-user-dropdown { opacity:1; visibility:visible; transform:none; }
.nav-user-dropdown a { display:flex; align-items:center; gap:10px; padding:9px 11px; border-radius:13px; color:var(--ink); font-size:.82rem; font-weight:850; }
.nav-user-dropdown a:hover { background:#fff4ee; color:var(--red); }
.nav-user-dropdown .submenu-icon { width:30px; height:30px; }

.jobs-hero-premium { display:flex; justify-content:space-between; align-items:end; gap:30px; padding-block:clamp(55px,8vw,105px); }
.jobs-hero-premium .hero-actions { flex:0 0 auto; }
.job-list-grid { border:1px solid var(--line); border-radius:26px; overflow:hidden; background:#fff; box-shadow:var(--soft-shadow); }
.job-list-head,.job-list-row { display:grid; grid-template-columns:1.45fr .8fr .8fr .8fr 42px; gap:18px; align-items:center; }
.job-list-head { padding:14px 22px; color:#77738f; background:#fff8ef; font-size:.68rem; font-weight:950; letter-spacing:.12em; text-transform:uppercase; }
.job-list-row { min-height:112px; padding:20px 22px; color:var(--midnight); border-top:1px solid var(--line); transition:.2s ease; }
.job-list-row:hover { color:var(--ink); background:linear-gradient(90deg,rgba(255,244,238,.9),rgba(255,252,244,.7)); box-shadow:inset 4px 0 var(--red); }
.job-list-title { display:grid; gap:4px; }
.job-list-title small { color:var(--red); font-size:.65rem; font-weight:950; letter-spacing:.12em; }
.job-list-title strong { color:var(--ink); font-family:var(--font-display); font-size:1.25rem; line-height:1.1; }
.job-list-title em { color:#77738f; font-size:.72rem; font-style:normal; font-weight:800; }
.job-list-row > span:not(.job-list-title) { font-size:.82rem; font-weight:750; }
.job-list-arrow { width:34px; height:34px; display:grid; place-items:center; border-radius:50%; color:#fff; background:var(--red); font-size:1rem!important; }

.job-detail-page { background:linear-gradient(180deg,#fffaf5,#fff 46%); }
.job-detail-hero-premium { position:relative; overflow:hidden; min-height:390px; display:flex; align-items:flex-end; justify-content:space-between; gap:30px; padding:clamp(60px,8vw,110px) clamp(24px,8vw,135px); color:#fff; background:radial-gradient(circle at 82% 16%,rgba(255,180,0,.34),transparent 18rem),linear-gradient(135deg,#29285c,#3d2c69); }
.job-detail-hero-premium::after { content:""; position:absolute; right:-5%; bottom:-55%; width:470px; height:470px; border:1px solid rgba(255,255,255,.15); border-radius:50%; }
.job-detail-hero-copy { position:relative; z-index:1; max-width:900px; }
.job-detail-hero-copy h1 { max-width:800px; margin:8px 0 14px; color:#fff; font-family:var(--font-display); font-size:clamp(2.5rem,5.5vw,4.8rem); line-height:.96; }
.job-detail-hero-copy > p:not(.eyebrow) { color:rgba(255,255,255,.84); font-size:.95rem; font-weight:650; }
.job-detail-hero-copy .eyebrow { color:#ffcf46; }
.job-detail-hero-mark { position:relative; z-index:1; flex:0 0 120px; width:120px; height:120px; display:grid; place-items:center; border:1px solid rgba(255,255,255,.2); border-radius:50%; color:#fff; background:rgba(255,255,255,.08); font-family:var(--font-display); font-size:2.2rem; }
.job-detail-meta { display:flex; flex-wrap:wrap; gap:10px; margin-top:24px; }
.job-detail-meta span { display:flex; align-items:center; gap:8px; padding:9px 12px; border:1px solid rgba(255,255,255,.15); border-radius:999px; background:rgba(255,255,255,.09); font-size:.75rem; }
.job-detail-meta svg,.job-apply-trust svg,.job-skill-grid svg,.application-status-visual svg { width:18px; height:18px; flex:none; }
.job-detail-layout { display:grid; grid-template-columns:minmax(0,1fr) 370px; gap:28px; align-items:start; padding:clamp(48px,7vw,90px) clamp(20px,7vw,120px); }
.job-detail-content { display:grid; gap:18px; }
.job-detail-section { display:grid; grid-template-columns:58px minmax(0,1fr); gap:20px; padding:clamp(24px,4vw,40px); border:1px solid var(--line); border-radius:28px; background:#fff; box-shadow:var(--soft-shadow); }
.job-section-number { width:50px; height:50px; display:grid; place-items:center; border-radius:50%; color:#fff; background:linear-gradient(135deg,var(--red),#ff6e38); font-size:.76rem; font-weight:950; }
.job-detail-section h2,.job-apply-panel-premium h2 { margin:5px 0 18px; color:var(--ink); font-family:var(--font-display); font-size:clamp(1.6rem,3vw,2.35rem); line-height:1; }
.job-rich-copy { color:var(--midnight); font-size:.93rem; font-weight:600; line-height:1.85; }
.job-rich-copy h3 {
  margin: 24px 0 10px;
  color: var(--red);
  font-family: var(--sans);
  font-size: .92rem;
  font-weight: 950;
  line-height: 1.25;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.job-rich-copy h3:first-child { margin-top: 0; }
.job-rich-copy p { margin: 0 0 14px; color: inherit; font: inherit; line-height: inherit; }
.job-rich-copy ul,
.job-rich-copy ol { margin: 0 0 18px 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.job-rich-copy li { margin-bottom: 8px; }
.job-rich-copy li {
  position: relative;
  padding-left: 28px;
  margin: 0;
}
.job-rich-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--gold));
  box-shadow: 0 0 0 6px rgba(237, 0, 24, .08);
}
.job-rich-copy a { color: var(--red); font-weight: 900; text-decoration: underline; text-underline-offset: 3px; }
.job-skill-grid { display:grid; grid-template-columns:repeat(1,minmax(0,1fr)); gap:10px; }
.job-skill-grid span { display:flex; align-items:flex-start; gap:10px; padding:13px; border-radius:15px; color:var(--ink); background:#fff8ef; font-size:.8rem; line-height:1.45; }
.job-skill-grid svg { padding:2px; color:#fff; border-radius:50%; background:#70b94b; }
.job-detail-facts dl { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin:0; }
.job-detail-facts dl div { padding:15px; border-radius:16px; background:#f7f7fb; }
.job-detail-facts dt { color:#858099; font-size:.65rem; font-weight:950; letter-spacing:.1em; text-transform:uppercase; }
.job-detail-facts dd { margin:6px 0 0; color:var(--ink); font-size:.86rem; font-weight:850; }
.job-apply-panel-premium { position:sticky; top:125px; display:grid; gap:14px; padding:28px; border:1px solid rgba(237,0,24,.14); border-radius:28px; background:radial-gradient(circle at 90% 0,rgba(255,180,0,.18),transparent 11rem),#fff; box-shadow:var(--shadow); }
.job-apply-panel-premium > p { margin:0; color:var(--midnight); font-size:.85rem; font-weight:600; line-height:1.65; }
.job-apply-panel-premium .button { width:100%; }
.apply-helper { text-align:center; color:#76728a; font-size:.72rem; }.apply-helper a { color:var(--red); font-weight:900; }
.job-apply-trust { display:flex; justify-content:space-between; gap:10px; padding-top:14px; border-top:1px solid var(--line); }
.job-apply-trust span { display:flex; align-items:center; gap:5px; color:#6f6b84; font-size:.66rem; font-weight:850; }
.job-apply-alert { padding:13px; border-radius:14px; font-size:.8rem; font-weight:800; line-height:1.5; }.job-apply-alert.success{color:#185e35;background:#e9f8ef}.job-apply-alert.error{color:#9b1121;background:#fff0f2}
.application-status-visual { display:grid; gap:7px; padding:20px; border-radius:20px; background:#fff8ef; }.application-status-visual > span { width:38px;height:38px;display:grid;place-items:center;border-radius:50%;color:#fff;background:#ffb400}.application-status-visual.shortlisted>span{background:#58a83c}.application-status-visual.declined>span{background:#8790a3}.application-status-visual small{color:#77738f;font-size:.65rem;font-weight:950;text-transform:uppercase;letter-spacing:.1em}.application-status-visual strong{color:var(--ink);font-size:1.1rem}.application-status-visual p{margin:0;color:var(--midnight);font-size:.76rem;line-height:1.55}

.nanny-login-page { width:100%; max-width:100%; min-height:calc(100vh - 190px); display:grid; grid-template-columns:minmax(0,1.05fr) minmax(0,.75fr); align-items:center; gap:clamp(35px,6vw,85px); overflow:hidden; background:radial-gradient(circle at 10% 10%,rgba(255,180,0,.18),transparent 24rem),radial-gradient(circle at 95% 90%,rgba(237,0,24,.1),transparent 25rem),#fffaf6; }
.nanny-login-story,.nanny-login-panel { min-width:0; }
.nanny-login-story h1 { max-width:720px; margin:10px 0 20px; color:var(--ink); font-family:var(--font-display); font-size:clamp(2.5rem,5vw,4.8rem); line-height:.97; }.nanny-login-story>p:not(.eyebrow){max-width:620px;color:var(--midnight);font-size:.95rem;font-weight:600;line-height:1.8}
.login-benefit-list { display:grid; gap:10px; margin-top:28px; }.login-benefit-list span{display:flex;align-items:center;gap:13px;color:var(--ink);font-size:.82rem;font-weight:850}.login-benefit-list b{width:36px;height:36px;display:grid;place-items:center;border-radius:50%;color:#fff;background:var(--red);font-size:.65rem}
.nanny-login-panel { width:100%; max-width:580px; min-width:0; }.nanny-login-page .nanny-login-form{width:100%;max-width:100%;padding:clamp(25px,4vw,42px);border-radius:30px;overflow:hidden}.nanny-login-form-heading{display:flex;align-items:center;gap:14px}.login-lock-mark{width:54px;height:54px;display:grid;place-items:center;flex:none;border-radius:17px;color:#fff;background:linear-gradient(135deg,var(--red),#ff7d1b);font-weight:950}.nanny-login-form-heading h2{margin:3px 0 0}.login-form-intro{margin:0;color:var(--midnight);font-size:.8rem;font-weight:600;line-height:1.65}.nanny-login-form input{font-family:inherit;font-weight:700}.login-helper{text-align:center;color:var(--midnight);font-size:.78rem}
.login-step { display:grid; gap:16px; width:100%; opacity:0; transform:translateX(24px); transition:opacity .23s ease,transform .23s ease; }
.login-step.is-active { opacity:1; transform:none; }
.login-step.is-leaving { opacity:0; transform:translateX(-24px); }
.login-step[hidden] { display:none!important; }
.otp-step-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:14px; }
.otp-step-heading > div { display:grid; gap:4px; min-width:0; }
.otp-step-heading span { color:var(--ink); font-size:.9rem; font-weight:900; }
.otp-step-heading small { color:var(--midnight); font-size:.7rem; line-height:1.5; overflow-wrap:anywhere; }
.otp-step-heading button,.otp-resend { padding:0; border:0; color:var(--red); background:transparent; font-family:inherit; font-size:.7rem; font-weight:900; cursor:pointer; }
.otp-boxes { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:9px; }
.nanny-login-form .otp-boxes input { min-width:0; height:62px; min-height:62px; padding:0; border:2px solid #e2e0ea; border-radius:15px; text-align:center; color:var(--ink); background:#fff; font-family:var(--font-body); font-size:1.35rem; font-weight:950; box-shadow:0 10px 22px rgba(48,47,95,.06); transition:.18s ease; }
.nanny-login-form .otp-boxes input:focus { border-color:var(--red); outline:0; box-shadow:0 0 0 4px rgba(237,0,24,.1),0 12px 25px rgba(237,0,24,.09); transform:translateY(-2px); }
.otp-resend { justify-self:center; }

.nanny-dashboard-page { background:#fafaff; }.account-welcome{display:flex;justify-content:space-between;align-items:center;gap:25px;padding:clamp(45px,7vw,80px) clamp(20px,7vw,120px);color:#fff;background:radial-gradient(circle at 85% 10%,rgba(255,180,0,.3),transparent 18rem),linear-gradient(135deg,#2e2d61,#41306e)}.account-welcome h1{margin:7px 0 12px;color:#fff;font-family:var(--font-display);font-size:clamp(2.4rem,5vw,4.4rem);line-height:1}.account-welcome p:not(.eyebrow){margin:0;color:rgba(255,255,255,.82);font-size:.9rem;font-weight:650}.account-welcome-avatar{width:100px;height:100px;display:grid;place-items:center;overflow:hidden;border:4px solid rgba(255,255,255,.3);border-radius:50%;color:#fff;background:var(--red);font-family:var(--font-display);font-size:2.4rem}.account-welcome-avatar img{width:100%;height:100%;object-fit:cover}
.dashboard-shell{padding:30px clamp(20px,7vw,120px) 90px}.dashboard-tabs{position:sticky;top:92px;z-index:8;display:flex;gap:6px;margin-bottom:22px;padding:8px;border:1px solid var(--line);border-radius:18px;background:rgba(255,255,255,.92);box-shadow:var(--soft-shadow);backdrop-filter:blur(14px)}.dashboard-tabs a{padding:10px 15px;border-radius:12px;color:var(--ink);font-size:.75rem;font-weight:900}.dashboard-tabs a:hover{color:#fff;background:var(--red)}
.dashboard-overview,.dashboard-section{margin-bottom:22px;padding:clamp(22px,4vw,36px);border:1px solid var(--line);border-radius:28px;background:#fff;box-shadow:var(--soft-shadow);scroll-margin-top:160px}.dashboard-section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:24px}.dashboard-section-head h2{margin:5px 0 0;color:var(--ink);font-family:var(--font-display);font-size:clamp(1.6rem,3vw,2.25rem)}.dashboard-section-head>p{max-width:480px;margin:0;color:var(--midnight);font-size:.78rem;font-weight:600;line-height:1.6}.dashboard-periods{display:flex;gap:5px;padding:5px;border-radius:999px;background:#f2f1f7}.dashboard-periods a{padding:8px 12px;border-radius:999px;color:#67637a;font-size:.68rem;font-weight:900}.dashboard-periods a.active{color:#fff;background:var(--red)}
.dashboard-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:18px}.dashboard-metrics article{position:relative;overflow:hidden;min-height:125px;padding:20px;border-radius:21px;color:#fff}.dashboard-metrics article::after{content:"";position:absolute;right:-23px;bottom:-35px;width:95px;height:95px;border:16px solid rgba(255,255,255,.12);border-radius:50%}.dashboard-metrics .red{background:linear-gradient(135deg,#ed0018,#ff5d4a)}.dashboard-metrics .gold{background:linear-gradient(135deg,#ee9400,#ffc32e)}.dashboard-metrics .green{background:linear-gradient(135deg,#4b9d35,#7dcc53)}.dashboard-metrics .ink{background:linear-gradient(135deg,#302f5f,#4d4382)}.dashboard-metrics span{font-size:.6rem;font-weight:950;letter-spacing:.14em}.dashboard-metrics strong{display:block;margin:12px 0 4px;font-family:var(--font-display);font-size:2rem}.dashboard-metrics small{font-size:.72rem;font-weight:800}
.hours-chart{padding:22px;border-radius:22px;background:#f8f7fc}.hours-chart-head{display:flex;justify-content:space-between;align-items:start}.hours-chart-head h3,.hours-history h3{margin:0;color:var(--ink);font-family:var(--font-display);font-size:1.2rem}.hours-chart-head p{margin:4px 0 0;color:#77738f;font-size:.7rem}.hours-chart-head>strong{color:var(--red)}.hours-bars{height:180px;display:grid;grid-template-columns:repeat(var(--bar-count),minmax(8px,1fr));align-items:end;gap:clamp(3px,1vw,10px);margin-top:22px;border-bottom:1px solid #d9d7e3}.hours-bar{height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:6px}.hours-bar i{width:min(22px,70%);min-height:5px;border-radius:9px 9px 2px 2px;background:linear-gradient(180deg,#ffb400,var(--red));transition:.3s}.hours-bar span{color:#858098;font-size:.55rem;font-weight:800}
.account-job-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.account-job-grid>a{position:relative;display:grid;gap:8px;min-height:210px;padding:20px;border:1px solid var(--line);border-radius:20px;color:var(--ink);background:linear-gradient(145deg,#fff,#fff9f3);transition:.2s}.account-job-grid>a:hover{transform:translateY(-4px);box-shadow:var(--soft-shadow)}.account-job-grid small{color:var(--red);font-size:.6rem;font-weight:950;letter-spacing:.1em}.account-job-grid h3{margin:0;font-family:var(--font-display);font-size:1.25rem}.account-job-grid p{margin:0;color:var(--midnight);font-size:.74rem}.account-job-grid em{margin-top:auto;color:var(--red);font-size:.7rem;font-style:normal;font-weight:900}.application-status-dot{position:absolute;right:18px;top:18px;width:10px;height:10px;border-radius:50%;background:#ffb400}.application-status-dot.shortlisted{background:#67b54a}.application-status-dot.declined{background:#9097a7}.application-status-label{justify-self:start;padding:6px 9px;border-radius:999px;color:#9a5d00;background:#fff0c4;font-size:.6rem}.application-status-label.shortlisted{color:#216d38;background:#e7f7eb}.application-status-label.declined{color:#5e6370;background:#eceef1}
.hours-layout{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:20px}.hours-entry-form{display:grid;gap:14px;padding:22px;border-radius:20px;background:#fff8ef}.hours-entry-form label{display:grid;gap:7px;color:var(--ink);font-size:.75rem;font-weight:900}.hours-entry-form input,.hours-entry-form select,.hours-entry-form textarea,.account-profile-form textarea,.account-profile-form select{width:100%;padding:12px 14px;border:1px solid var(--line);border-radius:13px;color:var(--ink);background:#fff;font:inherit}.hours-history{display:grid;align-content:start;gap:9px}.hours-history article{display:grid;grid-template-columns:85px 1fr auto;gap:12px;align-items:center;padding:12px;border-bottom:1px solid var(--line)}.hours-history time{color:var(--red);font-size:.68rem;font-weight:900}.hours-history strong{color:var(--ink);font-size:.78rem}.hours-history p{margin:3px 0 0;color:#77738f;font-size:.66rem}.hours-history b{color:var(--ink)}.dashboard-empty{padding:25px;border-radius:18px;text-align:center;background:#f8f7fc}.dashboard-empty strong{color:var(--ink);font-family:var(--font-display);font-size:1.3rem}.dashboard-empty p{color:var(--midnight);font-size:.78rem}.profile-workspace .account-profile-form{max-width:none}.account-profile-form .form-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}

@media(max-width:1100px){.jobs-hero-premium{align-items:start;flex-direction:column}.job-list-head,.job-list-row{grid-template-columns:1.35fr .8fr .8fr 42px}.job-list-head span:nth-child(4),.job-list-row>span:nth-child(4){display:none}.job-detail-layout{grid-template-columns:1fr}.job-apply-panel-premium{position:relative;top:auto}.dashboard-metrics,.account-job-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hours-layout{grid-template-columns:1fr}}
@media(max-width:760px){.site-topbar{min-height:36px;padding-inline:16px}.topbar-contact a:first-child{display:none}.topbar-contact,.topbar-account{gap:8px}.topbar-contact a,.topbar-login{font-size:.62rem}.topbar-user-menu{width:auto}.topbar-user-menu .nav-user-trigger{width:auto;min-height:30px}.main-nav .nav-user-menu{width:100%}.nav-login-link,.main-nav .nav-user-trigger{justify-content:center;width:100%;min-height:48px}.nav-user-dropdown{position:absolute;margin-top:0;box-shadow:var(--shadow)}.nanny-login-page{grid-template-columns:1fr;padding:42px 18px}.nanny-login-story h1{font-size:2.5rem}.nanny-login-panel{max-width:none}.otp-boxes{gap:6px}.nanny-login-form .otp-boxes input{height:52px;min-height:52px;border-radius:12px;font-size:1.1rem}.job-list-head{display:none}.job-list-row{grid-template-columns:1fr 34px;gap:10px;min-height:0;padding:18px}.job-list-row>span:not(.job-list-title):not(.job-list-arrow){display:block;grid-column:1;padding-top:7px;border-top:1px solid var(--line)}.job-list-row>span:not(.job-list-title):not(.job-list-arrow)::before{content:attr(data-label) ": ";color:#8b8799;font-size:.62rem;text-transform:uppercase}.job-list-arrow{grid-column:2;grid-row:1}.job-detail-hero-premium{min-height:0;align-items:flex-start;padding-top:50px}.job-detail-hero-mark{display:none}.job-detail-hero-copy h1{font-size:2.5rem}.job-detail-meta{display:grid;grid-template-columns:1fr 1fr}.job-detail-section{grid-template-columns:1fr}.job-skill-grid,.job-detail-facts dl{grid-template-columns:1fr}.account-welcome-avatar{width:74px;height:74px;flex:none}.dashboard-tabs{top:78px;overflow-x:auto;justify-content:flex-start}.dashboard-section-head{align-items:flex-start;flex-direction:column}.dashboard-metrics,.account-job-grid{grid-template-columns:1fr}.hours-bars{height:130px}.account-profile-form .form-grid.three{grid-template-columns:1fr}.hours-history article{grid-template-columns:1fr auto}.hours-history time{grid-column:1/-1}.job-detail-layout,.dashboard-shell{padding-inline:15px}}

/* Multi-page nanny portal */
.portal-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:44px clamp(20px,7vw,120px);color:#fff;background:radial-gradient(circle at 85% 20%,rgba(237,0,24,.35),transparent 18rem),linear-gradient(135deg,#2f2e62,#463477)}.portal-hero h1{margin:5px 0 10px;color:#fff;font-family:var(--font-display);font-size:clamp(2.2rem,4.5vw,4rem)}.portal-hero>div>p:not(.eyebrow){margin:0;color:rgba(255,255,255,.84);font-size:.86rem;font-weight:650}.portal-layout{display:grid;grid-template-columns:250px minmax(0,1fr);gap:24px;align-items:start;padding:30px clamp(18px,5vw,80px) 90px;background:#f7f7fb}.portal-sidebar{position:sticky;top:112px;display:grid;gap:18px;padding:18px;border:1px solid var(--line);border-radius:24px;background:#fff;box-shadow:var(--soft-shadow)}.portal-identity{display:flex;align-items:center;gap:11px;padding-bottom:16px;border-bottom:1px solid var(--line);min-width:0}.portal-mini-avatar{width:44px;height:44px;display:grid;place-items:center;flex:none;overflow:hidden;border-radius:14px;color:#fff;background:linear-gradient(135deg,var(--red),#ff8d00);font-weight:950}.portal-mini-avatar img{width:100%;height:100%;object-fit:cover}.portal-identity>div:last-child{display:grid;gap:3px;min-width:0}.portal-identity strong{color:var(--ink);font-size:.8rem}.portal-identity small{overflow:hidden;color:#77738f;font-size:.6rem;text-overflow:ellipsis}.portal-sidebar nav{display:grid;gap:5px}.portal-sidebar nav a{display:grid;grid-template-columns:35px 1fr auto;gap:9px;align-items:center;padding:9px;border-radius:13px;color:var(--ink);font-size:.75rem}.portal-sidebar nav a>span{width:35px;height:35px;display:grid;place-items:center;border-radius:11px;color:var(--red);background:#fff2ed;font-size:.59rem;font-weight:950}.portal-sidebar nav a b{font-weight:850}.portal-sidebar nav a i{font-style:normal;font-size:1.2rem}.portal-sidebar nav a:hover,.portal-sidebar nav a.active{color:#fff;background:linear-gradient(135deg,var(--red),#b80019)}.portal-sidebar nav a:hover>span,.portal-sidebar nav a.active>span{color:var(--red);background:#fff}.portal-logout{padding:10px;text-align:center;border-radius:12px;color:#77738f;background:#f5f4f8;font-size:.7rem;font-weight:900}.portal-content{min-width:0}.portal-page-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:20px;padding:24px;border:1px solid var(--line);border-radius:24px;background:#fff;box-shadow:var(--soft-shadow)}.portal-page-head h2{margin:5px 0 7px;color:var(--ink);font-family:var(--font-display);font-size:clamp(1.8rem,3vw,2.5rem)}.portal-page-head p:not(.eyebrow){margin:0;color:var(--midnight);font-size:.76rem;font-weight:600}.portal-panel{padding:24px;border:1px solid var(--line);border-radius:24px;background:#fff;box-shadow:var(--soft-shadow)}.portal-panel .hours-bars{height:210px}.portal-dashboard-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:18px}.portal-panel-head{display:flex;justify-content:space-between;align-items:start;margin-bottom:16px}.portal-panel-head h3,.hours-entry-form h3,.hours-ledger h3{margin:4px 0 0;color:var(--ink);font-family:var(--font-display);font-size:1.25rem}.portal-panel-head>a{color:var(--red);font-size:.68rem;font-weight:900}.portal-activity-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-top:1px solid var(--line);color:var(--ink)}.portal-activity-row>div{display:grid;gap:4px}.portal-activity-row strong{font-size:.74rem}.portal-activity-row small{color:#7d788e;font-size:.63rem}.portal-activity-row>b:not(.application-status-label){font-size:.72rem}.portal-application-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.portal-application-grid>a{position:relative;display:grid;gap:9px;min-height:260px;padding:20px;border:1px solid var(--line);border-radius:20px;color:var(--ink);background:linear-gradient(145deg,#fff,#fff8ef);box-shadow:0 12px 30px rgba(48,47,95,.05);transition:.2s}.portal-application-grid>a:hover{transform:translateY(-4px);box-shadow:var(--soft-shadow)}.portal-application-grid small{color:var(--red);font-size:.6rem;font-weight:950}.portal-application-grid h3{margin:0;font-family:var(--font-display);font-size:1.25rem}.portal-application-grid p{margin:0;color:var(--midnight);font-size:.72rem}.portal-application-grid dl{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:6px 0}.portal-application-grid dt{color:#888397;font-size:.56rem;font-weight:900;text-transform:uppercase}.portal-application-grid dd{margin:3px 0 0;font-size:.67rem;font-weight:800}.portal-application-grid em{margin-top:auto;color:var(--red);font-size:.67rem;font-style:normal;font-weight:900}.portal-hours-layout{display:grid;grid-template-columns:minmax(300px,.7fr) minmax(0,1.3fr);gap:18px}.hours-total,.profile-completion{padding:9px 13px;border-radius:999px;color:#fff;background:var(--red);font-size:.7rem}.hours-ledger{display:grid;align-content:start}.hours-ledger article{display:grid;grid-template-columns:90px 1fr auto;gap:12px;padding:13px 0;border-top:1px solid var(--line)}.hours-ledger time{color:var(--red);font-size:.65rem;font-weight:900}.hours-ledger strong{color:var(--ink);font-size:.75rem}.hours-ledger p{margin:3px 0 0;color:#7c788c;font-size:.64rem}.portal-profile-form{display:grid;gap:16px}.portal-profile-form fieldset{display:grid;gap:14px;margin:0;padding:24px;border:1px solid var(--line);border-radius:22px;background:#fff;box-shadow:var(--soft-shadow)}.portal-profile-form legend{padding:0 9px;color:var(--ink);font-family:var(--font-display);font-size:1.2rem}.portal-profile-form label{display:grid;gap:7px;color:var(--ink);font-size:.72rem;font-weight:850}.portal-profile-form input,.portal-profile-form select,.portal-profile-form textarea{width:100%;min-height:46px;padding:11px 13px;border:1px solid var(--line);border-radius:13px;color:var(--ink);background:#fff;font:inherit}.portal-profile-form textarea{resize:vertical}.profile-summary-card{display:flex;align-items:center;gap:18px;padding:22px;border-radius:22px;color:#fff;background:linear-gradient(135deg,#302f5f,#4b387d)}.profile-photo-editor{display:flex;align-items:center;gap:12px}.profile-photo-editor>div{width:82px;height:82px;display:grid;place-items:center;overflow:hidden;border:3px solid rgba(255,255,255,.3);border-radius:24px;background:var(--red);font-family:var(--font-display);font-size:2rem}.profile-photo-editor img{width:100%;height:100%;object-fit:cover}.profile-photo-editor label{color:#fff}.profile-photo-editor input{max-width:230px;min-height:38px;padding:7px;color:#fff;background:rgba(255,255,255,.1)}.profile-summary-card h3{margin:0;font-family:var(--font-display);font-size:1.5rem}.profile-summary-card p{margin:5px 0;font-size:.7rem}.profile-summary-card small{color:rgba(255,255,255,.7)}.resume-present{margin-left:auto;padding:8px 11px;border-radius:999px;background:rgba(255,255,255,.12);font-size:.65rem;font-weight:900}.profile-preference-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.profile-file-input small{color:#7b778c;font-size:.62rem}
@media(max-width:1050px){.portal-layout{grid-template-columns:1fr}.portal-sidebar{position:relative;top:auto}.portal-sidebar nav{grid-template-columns:repeat(4,minmax(0,1fr))}.portal-sidebar nav a{grid-template-columns:35px 1fr}.portal-sidebar nav a i{display:none}.portal-dashboard-grid,.portal-hours-layout{grid-template-columns:1fr}.portal-application-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-preference-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.portal-hero{padding:30px 18px}.portal-layout{padding:16px 12px 60px}.portal-sidebar{padding:12px;overflow-x:auto}.portal-identity,.portal-logout{display:none}.portal-sidebar nav{min-width:520px}.portal-page-head{align-items:flex-start;flex-direction:column}.portal-dashboard-grid,.portal-application-grid,.dashboard-metrics{grid-template-columns:1fr}.profile-summary-card{align-items:flex-start;flex-direction:column}.resume-present{margin-left:0}.profile-photo-editor{align-items:flex-start;flex-direction:column}.profile-preference-grid{grid-template-columns:1fr}.hours-ledger article{grid-template-columns:1fr auto}.hours-ledger time{grid-column:1/-1}}

.upload-drop small {
  color: #6b6880;
  font-size: 0.76rem;
  font-weight: 700;
}

.corporate-page-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1fr);
  gap: clamp(30px, 5vw, 76px);
  align-items: center;
  padding: 74px clamp(20px, 6vw, 92px) 86px;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 20%, rgba(255, 90, 165, 0.18), transparent 24rem),
    radial-gradient(circle at 90% 8%, rgba(217, 173, 79, 0.13), transparent 22rem),
    linear-gradient(135deg, #fff 0%, #fff6fb 100%);
}

.corporate-page-copy {
  max-width: 690px;
}

.corporate-page-copy p {
  max-width: 590px;
  font-size: 1.05rem;
}

.corporate-page-media {
  position: relative;
}

.corporate-page-media img {
  width: 100%;
  min-height: 440px;
  object-fit: cover;
  border-radius: 120px 42px 120px 42px;
  box-shadow: var(--shadow);
  animation: softFloat 7s ease-in-out infinite;
}

.corporate-floating-card {
  position: absolute;
  left: -34px;
  bottom: 34px;
  width: min(330px, 80%);
  padding: 22px;
  color: #fff;
  background: linear-gradient(135deg, var(--ink), var(--midnight));
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.corporate-floating-card strong {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: 1.55rem;
  line-height: 1.05;
}

.corporate-floating-card span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.86rem;
  font-weight: 750;
  line-height: 1.5;
}

.corporate-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.65fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  padding: 86px clamp(20px, 6vw, 92px) 48px;
  background: #fff;
}

.corporate-intro h2 {
  max-width: 640px;
}

.corporate-intro-text {
  display: grid;
  gap: 18px;
}

.corporate-intro-text p:first-child {
  color: var(--ink);
  font-weight: 850;
}

.corporate-form-section {
  padding-top: 62px;
}

.corporate-inquiry-form {
  max-width: none;
}

.corporate-stats {
  padding-top: 86px;
  padding-bottom: 92px;
  border-radius: 90px 90px 0 0;
}

.corporate-stat-strip {
  max-width: 1120px;
  grid-column: auto;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 auto;
}

.corporate-testimonial {
  position: relative;
  overflow: hidden;
}

.corporate-quote-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 44px);
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 44px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 38px;
  box-shadow: var(--shadow);
}

.corporate-quote-card img {
  width: 100%;
  min-height: 260px;
  object-fit: cover;
  border-radius: 32px 80px 32px 80px;
}

.corporate-quote-card p {
  color: #282747;
  font-size: 1rem;
  font-style: italic;
}

.corporate-quote-card strong {
  color: var(--ink);
  font-weight: 950;
}

.quote-mark {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin-bottom: 16px;
  color: #fff;
  background: var(--red);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 1;
}

.contact-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1fr);
  gap: clamp(30px, 5vw, 76px);
  align-items: center;
  padding: 74px clamp(20px, 6vw, 92px) 80px;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 20%, rgba(255, 90, 165, 0.2), transparent 24rem),
    radial-gradient(circle at 90% 10%, rgba(23, 185, 209, 0.12), transparent 22rem),
    linear-gradient(135deg, #fff 0%, #fff6fb 100%);
}

.contact-hero-copy {
  max-width: 680px;
}

.contact-hero-copy p {
  max-width: 560px;
  font-size: 1.05rem;
}

.contact-hero-photo img {
  width: 100%;
  min-height: 420px;
  object-fit: cover;
  border-radius: 42px 120px 42px 120px;
  box-shadow: var(--shadow);
  animation: softFloat 7s ease-in-out infinite;
}

.contact-hub {
  display: grid;
  grid-template-columns: minmax(300px, 0.46fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
  padding: clamp(34px, 5vw, 70px) clamp(20px, 6vw, 92px) 92px;
  background:
    radial-gradient(circle at 8% 22%, rgba(237, 0, 24, 0.06), transparent 22rem),
    radial-gradient(circle at 94% 8%, rgba(255, 180, 0, 0.09), transparent 24rem),
    #fff;
}

.contact-cards {
  display: grid;
  gap: 16px;
  position: sticky;
  top: 126px;
}

.contact-cards article {
  position: relative;
  min-height: 128px;
  padding: 22px 24px 22px 88px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(255, 246, 251, 0.9));
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--soft-shadow);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.contact-cards article:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.contact-cards article > span {
  position: absolute;
  left: 24px;
  top: 26px;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  color: #fff;
  background: var(--red);
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 950;
}

.contact-cards article:nth-child(2) > span {
  background: var(--gold);
}

.contact-cards article:nth-child(3) > span {
  background: var(--blue);
}

.contact-cards article:nth-child(4) > span {
  background: var(--gold);
}

.contact-cards h2 {
  margin-bottom: 8px;
  font-size: clamp(1.2rem, 1.7vw, 1.65rem);
}

.contact-cards a,
.contact-cards p {
  margin: 0;
  color: #4d4a6b;
  font-size: 0.92rem;
  font-weight: 750;
}

.contact-page-form {
  width: 100%;
  max-width: none;
  margin: 0;
  align-self: stretch;
  border: 1px solid rgba(237, 0, 24, 0.1);
  background:
    radial-gradient(circle at 92% 10%, rgba(255, 212, 77, 0.2), transparent 16rem),
    radial-gradient(circle at 8% 88%, rgba(237, 0, 24, 0.08), transparent 15rem),
    linear-gradient(145deg, #fff, #fff8fb);
}

.office-location-panel {
  width: min(var(--container), calc(100% - 32px));
  margin: clamp(34px, 6vw, 76px) auto 0;
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid rgba(237, 0, 24, 0.12);
  border-radius: 34px;
  background:
    radial-gradient(circle at 10% 12%, rgba(237, 0, 24, 0.08), transparent 18rem),
    radial-gradient(circle at 90% 8%, rgba(255, 180, 0, 0.18), transparent 18rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 248, 239, 0.9));
  box-shadow: var(--soft-shadow);
}

.office-location-heading {
  display: grid;
  gap: 8px;
  max-width: 760px;
  margin-bottom: 28px;
}

.office-location-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 3.2vw, 3.4rem);
}

.office-location-heading p:not(.eyebrow) {
  margin: 0;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 650;
}

.office-location-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.office-location-card {
  position: relative;
  display: grid;
  align-content: space-between;
  min-height: 310px;
  padding: 22px;
  overflow: hidden;
  color: #fff;
  border-radius: 30px;
  background: linear-gradient(145deg, var(--red), var(--red-deep));
  box-shadow: 0 22px 46px rgba(237, 0, 24, 0.18);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.office-location-card::after {
  content: "";
  position: absolute;
  right: -42px;
  top: -42px;
  width: 140px;
  height: 140px;
  border: 22px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
}

.office-location-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 58px rgba(48, 47, 95, 0.18);
}

.office-location-card.gold {
  background: linear-gradient(145deg, #ffb400, #ef9100);
  box-shadow: 0 22px 46px rgba(255, 180, 0, 0.22);
}

.office-location-card.blue {
  background: linear-gradient(145deg, #21bfd4, #088fa9);
  box-shadow: 0 22px 46px rgba(33, 191, 212, 0.2);
}

.office-location-card.green {
  background: linear-gradient(145deg, #74c654, #3f9631);
  box-shadow: 0 22px 46px rgba(116, 198, 84, 0.2);
}

.office-location-mark {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 28px;
}

.office-location-mark span {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 0.88rem;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.office-location-mark .ui-icon {
  width: 34px;
  height: 34px;
  opacity: 0.9;
}

.office-location-card h3 {
  max-width: 230px;
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(1.45rem, 2vw, 2rem);
}

.office-location-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.92rem;
  font-weight: 760;
  line-height: 1.65;
}

.office-location-card a {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  margin-top: 24px;
  padding: 11px 14px;
  color: var(--ink);
  background: #fff;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 950;
  box-shadow: 0 14px 30px rgba(48, 47, 95, 0.16);
}

.office-location-card a .ui-icon {
  width: 16px;
  height: 16px;
}

.office-location-card a:hover {
  color: var(--red);
  transform: translateY(-2px);
}

.faq-section {
  padding: 92px clamp(20px, 6vw, 92px) 110px;
  background:
    radial-gradient(circle at 92% 14%, rgba(217, 173, 79, 0.12), transparent 24rem),
    var(--mist);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.34fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
}

.faq-note {
  position: sticky;
  top: 116px;
  padding: 26px;
  color: #fff;
  background: linear-gradient(135deg, var(--ink), var(--midnight));
  border-radius: 28px;
  box-shadow: var(--soft-shadow);
}

.faq-note strong {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: 1.65rem;
  line-height: 1.05;
}

.faq-note p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

.faq-note .button {
  margin-top: 10px;
  color: #fff;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 12px 28px rgba(48, 47, 95, 0.06);
  overflow: hidden;
}

.faq-list summary {
  position: relative;
  min-height: 62px;
  display: flex;
  align-items: center;
  padding: 18px 58px 18px 22px;
  color: var(--ink);
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 900;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: #fff;
  background: var(--red);
  border-radius: 50%;
  transform: translateY(-50%);
  font-weight: 950;
}

.faq-list details[open] summary::after {
  content: "-";
  background: var(--blue);
}

.faq-list details p {
  margin: 0;
  padding: 0 22px 22px;
  color: #26254f;
  font-size: 0.92rem;
  line-height: 1.7;
}

.payment-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 0.5fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding: 74px clamp(20px, 6vw, 92px) 82px;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 20%, rgba(217, 173, 79, 0.16), transparent 24rem),
    radial-gradient(circle at 90% 10%, rgba(255, 90, 165, 0.18), transparent 22rem),
    linear-gradient(135deg, #fff 0%, #fff6fb 100%);
}

.payment-hero-copy {
  max-width: 700px;
}

.payment-hero-copy p {
  max-width: 560px;
  font-size: 1.05rem;
}

.payment-hero-card {
  position: relative;
  min-height: 260px;
  display: grid;
  align-content: end;
  gap: 12px;
  padding: 32px;
  color: #fff;
  background:
    radial-gradient(circle at 88% 16%, rgba(217, 173, 79, 0.32), transparent 9rem),
    linear-gradient(135deg, var(--ink), var(--midnight));
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.payment-hero-card span {
  position: absolute;
  left: 28px;
  top: 28px;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  background: var(--red);
  border-radius: 50%;
  font-weight: 950;
}

.payment-hero-card strong {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1;
}

.payment-hero-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.payment-section {
  grid-template-columns: 1fr;
  gap: 30px;
}

.payment-section .booking-form-copy {
  position: relative;
  top: auto;
  display: block;
}

.payment-section .booking-form-copy > p {
  max-width: 760px;
}

.payment-summary-card {
  padding: 26px;
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  border-radius: 28px;
  box-shadow: var(--soft-shadow);
}

.inline-payment-summary {
  margin-top: 16px;
  background:
    radial-gradient(circle at 90% 16%, rgba(255, 180, 0, 0.34), transparent 8rem),
    linear-gradient(135deg, var(--red), var(--red-deep));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 18px 46px rgba(237, 0, 24, 0.22);
}

.payment-summary-card span {
  display: block;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.payment-summary-card strong {
  display: block;
  font-family: var(--font-body);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 950;
  line-height: 1;
}

.payment-summary-card p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.85rem;
}

.payment-form {
  width: 100%;
  max-width: none;
}

.payment-fee-grid {
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}

.payment-other-amount {
  grid-column: 1 / -1;
  padding: 16px;
  border: 1px solid rgba(237, 0, 24, 0.12);
  border-radius: 20px;
  background:
    radial-gradient(circle at 94% 0%, rgba(255, 180, 0, 0.18), transparent 10rem),
    linear-gradient(135deg, #fff, rgba(255, 248, 239, 0.86));
}

.payment-other-amount[hidden] {
  display: none !important;
}

.payment-other-amount .field-helper {
  color: var(--text-bright);
  font-size: 0.78rem;
  font-weight: 750;
  line-height: 1.4;
}

.career-role-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 32px);
  padding: 72px clamp(20px, 6vw, 92px);
  background: #fff;
}

.career-role-grid article {
  position: relative;
  min-height: 230px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid rgba(48, 47, 95, 0.1);
  border-radius: 30px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 180, 0, 0.2), transparent 10rem),
    linear-gradient(145deg, #fff, #fff8f4);
  box-shadow: var(--soft-shadow);
}

.career-role-grid article:nth-child(2) {
  background:
    radial-gradient(circle at 100% 0%, rgba(27, 187, 211, 0.2), transparent 10rem),
    linear-gradient(145deg, #fff, #f3fcff);
}

.career-role-grid article:nth-child(3) {
  background:
    radial-gradient(circle at 100% 0%, rgba(237, 0, 24, 0.16), transparent 10rem),
    linear-gradient(145deg, #fff, #fff5f6);
}

.career-role-grid span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 28px;
  color: #fff;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  font-weight: 950;
}

.career-role-grid h2 {
  margin: 0 0 12px;
  font-size: clamp(1.45rem, 2.2vw, 2.2rem);
}

.career-role-grid p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.65;
}

.card-input-shell {
  display: grid;
  gap: 14px;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(255, 90, 165, 0.08), rgba(23, 185, 209, 0.08)),
    #fff;
  border: 1px solid rgba(48, 47, 95, 0.1);
  border-radius: 22px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(250px, 1fr) 0.55fr 0.55fr 0.85fr;
  gap: 38px;
  padding: 68px clamp(20px, 6vw, 92px);
  color: #fff;
  background: var(--ink);
}

.footer-brand {
  width: fit-content;
  margin-bottom: 24px;
  padding: 14px 16px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(255, 248, 239, 0.86));
  border: 1px solid rgba(255, 180, 0, 0.24);
  border-radius: 24px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    0 18px 40px rgba(0, 0, 0, 0.16);
}

.footer-brand .brand-logo {
  width: 176px;
  height: 108px;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 8px 12px rgba(166, 0, 18, 0.12));
  box-shadow: none;
}

.site-footer p,
.site-footer a,
.site-footer address,
.footer-address {
  color: rgba(255, 255, 255, 0.76);
}

.footer-address {
  display: block;
  line-height: 1.55;
  font-weight: 750;
}

.site-footer nav,
.site-footer address {
  display: grid;
  gap: 12px;
  align-content: start;
  font-style: normal;
}

.site-footer nav a::before {
  content: "> ";
  color: #fff;
  font-weight: 950;
}

.site-footer strong {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.5rem;
}

.section-reveal {
  opacity: 1;
  transform: none;
  transition: transform 0.75s ease;
}

.section-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero.section-reveal {
  opacity: 1;
  transform: none;
}

.about-hero {
  position: relative;
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1fr);
  align-items: center;
  gap: clamp(34px, 7vw, 92px);
  overflow: hidden;
  padding: 88px clamp(20px, 6vw, 92px);
  background:
    radial-gradient(circle at 8% 80%, rgba(23, 185, 209, 0.14), transparent 22rem),
    linear-gradient(135deg, #fff 0%, #fff8f2 100%);
}

.about-hero::before {
  content: "";
  position: absolute;
  right: -90px;
  top: 70px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: rgba(201, 37, 49, 0.08);
}

.about-hero-copy {
  max-width: 820px;
  color: var(--ink);
}

.about-hero h1,
.about-hero p {
  color: var(--ink);
}

.about-hero h1 {
  font-size: clamp(3.4rem, 7vw, 7rem);
}

.about-hero p {
  max-width: 720px;
  font-size: 1.1rem;
}

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

.about-hero-frame img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 120px 38px 120px 38px;
  box-shadow: var(--shadow);
}

.about-floating-card {
  position: absolute;
  left: -30px;
  bottom: 38px;
  width: min(290px, 82%);
  padding: 22px 24px;
  color: #fff;
  background: rgba(48, 47, 95, 0.94);
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.about-floating-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  line-height: 1;
}

.about-floating-card span {
  display: block;
  margin-top: 8px;
  font-weight: 850;
}

.about-story {
  display: grid;
  grid-template-columns: minmax(260px, 0.6fr) minmax(0, 1fr);
  gap: clamp(34px, 6vw, 86px);
  padding: 96px clamp(20px, 6vw, 92px);
}

.story-intro {
  position: sticky;
  top: 130px;
  align-self: start;
}

.story-timeline {
  position: relative;
  display: grid;
  gap: 22px;
}

.story-timeline::before {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 31px;
  width: 3px;
  border-radius: 99px;
  background: linear-gradient(var(--red), var(--gold), var(--blue));
}

.story-chapter {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding: 26px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--soft-shadow);
}

.story-chapter span {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  color: #fff;
  background: var(--red);
  border: 8px solid #fff;
  border-radius: 50%;
  font-weight: 950;
}

.story-chapter:nth-child(2) span {
  background: var(--gold);
}

.story-chapter:nth-child(3) span {
  background: var(--blue);
}

.story-chapter:nth-child(4) span {
  background: var(--green);
}

.story-chapter p {
  margin: 0;
}

.about-story-lab {
  padding: 96px clamp(20px, 6vw, 92px);
}

.story-intro-wide {
  max-width: 940px;
  margin-bottom: 44px;
}

.story-collage {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr 1fr;
  grid-auto-rows: minmax(220px, auto);
  gap: 22px;
  align-items: stretch;
}

.story-card,
.story-photo-card {
  overflow: hidden;
  border-radius: 32px;
  box-shadow: var(--soft-shadow);
}

.story-card {
  display: grid;
  align-content: start;
  padding: clamp(24px, 4vw, 40px);
  background: #fff;
  border: 1px solid var(--line);
}

.story-card span {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 18px;
  padding: 9px 13px;
  color: #fff;
  background: var(--red);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.story-card p {
  margin: 0;
}

.large-card {
  min-height: 0;
  align-content: center;
  background:
    linear-gradient(rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.88)),
    radial-gradient(circle at 0 100%, rgba(245, 173, 37, 0.3), transparent 18rem);
}

.story-photo-card {
  grid-column: span 2;
  min-height: 360px;
}

.story-photo-card img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.accent-card {
  background: var(--paper);
}

.accent-card span {
  background: var(--gold);
}

.dark-card {
  color: #fff;
  background: var(--ink);
}

.dark-card p {
  color: rgba(255, 255, 255, 0.82);
}

.dark-card span {
  background: var(--blue);
}

.slim-card {
  grid-column: 1 / 3;
}

.about-origin {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  align-items: center;
  gap: clamp(34px, 6vw, 84px);
  padding: 90px clamp(20px, 6vw, 92px);
  background: #fff;
}

.origin-card {
  padding: clamp(28px, 5vw, 56px);
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, rgba(201, 37, 49, 0.42), rgba(23, 185, 209, 0.36)) border-box;
  border: 1px solid transparent;
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.origin-visual {
  position: relative;
}

.origin-visual img {
  width: 100%;
  min-height: 440px;
  object-fit: cover;
  border-radius: 34px 110px 34px 110px;
  box-shadow: var(--shadow);
}

.origin-note {
  position: absolute;
  left: -24px;
  bottom: 34px;
  max-width: 250px;
  padding: 18px 22px;
  color: #fff;
  background: rgba(48, 47, 95, 0.94);
  border-radius: 22px;
  box-shadow: var(--shadow);
  font-weight: 950;
}

.mission-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(34px, 6vw, 84px);
  padding: 82px clamp(20px, 6vw, 92px);
}

.mission-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 26px;
  background: #fff;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.mission-card h3 {
  margin: 0 0 6px;
  color: var(--ink);
}

.mission-card p {
  margin: 0;
}

.mission-copy {
  max-width: 780px;
}

.philosophy-section {
  background:
    linear-gradient(135deg, rgba(48, 47, 95, 0.96), rgba(48, 47, 95, 0.86)),
    url("assets/family-consultation.png") center/cover;
  color: #fff;
}

.philosophy-section h2,
.philosophy-section p,
.philosophy-section .eyebrow {
  color: #fff;
}

.philosophy-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.26);
}

.philosophy-section .philosophy-card h3 {
  color: var(--ink);
}

.philosophy-section .philosophy-card p {
  color: #26254f;
}

.about-process-list {
  display: grid;
  gap: 0.75rem;
  margin: 0.9rem 0 0;
  padding: 0;
  list-style: none;
}

.about-process-list li {
  position: relative;
  padding-left: 1.5rem;
  color: #26254f;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.5;
}

.about-process-list li::before {
  content: "";
  position: absolute;
  top: 0.48rem;
  left: 0;
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff3047, #ffad0a);
  box-shadow: 0 0 0 5px rgba(255, 48, 71, 0.12);
}

.philosophy-section .about-signature {
  max-width: 32rem;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.55;
}

.about-stats {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding: 108px clamp(20px, 6vw, 92px);
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(48, 47, 95, 0.96), rgba(48, 47, 95, 0.82)),
    url("assets/about-newborn-care.png") center/cover;
  border-radius: 0;
}

.about-stats::before {
  content: "";
  position: absolute;
  right: -120px;
  top: -160px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
}

.about-stats::after {
  content: "";
  position: absolute;
  left: clamp(20px, 6vw, 92px);
  bottom: 44px;
  width: 120px;
  height: 4px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--red), var(--rose), var(--gold), var(--blue));
}

.impact-copy {
  position: relative;
  z-index: 1;
}

.impact-copy h2,
.impact-copy p,
.impact-copy .eyebrow {
  color: #fff;
}

.impact-copy p {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.78);
}

.about-stat-grid {
  position: relative;
  z-index: 1;
  max-width: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.about-stat-grid strong {
  color: #fff;
  font-family: var(--font-body);
  font-size: clamp(2rem, 3.2vw, 3.5rem);
  font-weight: 900;
  line-height: 0.95;
  white-space: nowrap;
}

.home-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(430px, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  min-height: auto;
  padding: clamp(36px, 5vw, 66px) clamp(20px, 6vw, 92px) 58px;
  background:
    radial-gradient(circle at 0 85%, rgba(255, 90, 165, 0.16), transparent 26rem),
    radial-gradient(circle at 95% 20%, rgba(217, 173, 79, 0.12), transparent 22rem),
    linear-gradient(135deg, #fff 0%, #fff5fb 100%);
}

.home-hero-copy {
  max-width: 680px;
}

.home-hero-copy h1 {
  font-size: clamp(3rem, 5.4vw, 5.75rem);
}

.home-hero-copy p {
  max-width: 570px;
  font-size: 0.95rem;
  font-weight:600;
}

.playful-layer,
.dashboard-sparkles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.doodle-star,
.doodle-dot,
.doodle-arrow,
.doodle-loop {
  position: absolute;
  pointer-events: none;
}

.doodle-star {
  width: 30px;
  height: 30px;
  background: var(--gold);
  clip-path: polygon(50% 0, 61% 34%, 98% 35%, 68% 56%, 80% 94%, 50% 70%, 20% 94%, 32% 56%, 2% 35%, 39% 34%);
  filter: drop-shadow(0 12px 20px rgba(245, 173, 37, 0.24));
  animation: twinkle 2.8s ease-in-out infinite;
}

.doodle-dot {
  width: 18px;
  height: 18px;
  border: 4px solid var(--blue);
  border-radius: 50%;
  animation: bob 4.5s ease-in-out infinite;
}

.doodle-arrow {
  width: 116px;
  height: 62px;
  border-bottom: 4px dashed var(--blue);
  border-left: 4px dashed var(--blue);
  border-radius: 0 0 0 80px;
  transform: rotate(-16deg);
  animation: arrowDrift 5.5s ease-in-out infinite;
}

.doodle-arrow::after {
  content: "";
  position: absolute;
  right: -7px;
  bottom: -8px;
  width: 18px;
  height: 18px;
  border-right: 4px solid var(--blue);
  border-bottom: 4px solid var(--blue);
  transform: rotate(-35deg);
}

.doodle-loop {
  width: 120px;
  height: 72px;
  border: 4px dashed var(--rose);
  border-color: transparent transparent var(--rose) var(--rose);
  border-radius: 0 0 0 90px;
  transform: rotate(-18deg);
  animation: loopWiggle 5s ease-in-out infinite;
}

.star-one {
  left: 8%;
  bottom: 54px;
}

.star-two {
  right: 7%;
  top: 100px;
  width: 22px;
  height: 22px;
  background: var(--rose);
  animation-delay: 0.7s;
}

.dot-one {
  left: 45%;
  top: 80px;
}

.dot-two {
  right: 4%;
  bottom: 116px;
  border-color: var(--green);
  animation-delay: 1s;
}

.hero-arrow {
  left: 42%;
  bottom: 86px;
}

.hero-service-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 620px;
  margin-top: 28px;
}

.hero-service-rail span {
  min-height: 64px;
  display: flex;
  align-items: end;
  padding: 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 16px 44px rgba(48, 47, 95, 0.08);
  font-weight: 950;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-service-rail span::before {
  content: "";
  width: 10px;
  height: 10px;
  margin: 0 9px 5px 0;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 7px rgba(201, 37, 49, 0.1);
}

.hero-service-rail span:nth-child(2)::before {
  background: var(--blue);
  box-shadow: 0 0 0 7px rgba(23, 185, 209, 0.12);
}

.hero-service-rail span:nth-child(3)::before {
  background: var(--gold);
  box-shadow: 0 0 0 7px rgba(245, 173, 37, 0.16);
}

.hero-service-rail span:hover,
.match-tile:hover,
.passport-track article:hover,
.story-strip article:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 58px rgba(48, 47, 95, 0.14);
}

.home-hero-gallery {
  position: relative;
  min-height: 470px;
}

.home-hero-gallery img {
  object-fit: cover;
  box-shadow: var(--shadow);
  transition: transform 0.55s ease, box-shadow 0.55s ease;
}

.gallery-main {
  width: 78%;
  height: 420px;
  margin-left: auto;
  border-radius: 34px 120px 34px 120px;
  animation: floatPhoto 7s ease-in-out infinite;
}

.gallery-small {
  position: absolute;
  width: 230px;
  height: 165px;
  border: 10px solid #fff;
}

.gallery-small.top {
  left: 0;
  top: 34px;
  border-radius: 34px;
  animation: softFloat 6.4s ease-in-out infinite;
}

.gallery-small.bottom {
  left: 7%;
  bottom: 0;
  border-radius: 70px 28px 70px 28px;
  animation: softFloat 7.1s ease-in-out infinite reverse;
}

.gallery-card {
  position: absolute;
  right: 4%;
  bottom: 18px;
  width: 210px;
  padding: 20px;
  color: #fff;
  background: rgba(48, 47, 95, 0.94);
  border-radius: 24px;
  box-shadow: var(--shadow);
  animation: cardPulse 4.8s ease-in-out infinite;
}

.gallery-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1;
}

.gallery-card span {
  font-weight: 900;
}

.match-studio {
  position: relative;
  padding: 82px clamp(20px, 6vw, 92px);
  background: #fff;
}

.match-studio::before {
  content: "";
  position: absolute;
  left: clamp(18px, 5vw, 72px);
  top: 24px;
  width: 86px;
  height: 86px;
  border: 12px solid rgba(245, 173, 37, 0.18);
  border-radius: 50%;
  animation: bob 5.6s ease-in-out infinite;
}

.match-arrow {
  right: clamp(26px, 8vw, 120px);
  top: 104px;
  border-color: transparent transparent var(--rose) var(--rose);
}

.match-arrow::after {
  border-color: var(--rose);
}

.match-studio .section-heading h2,
.trust-dashboard .section-heading h2,
.parent-stories .section-heading h2 {
  font-size: clamp(2.35rem, 3.9vw, 4rem);
}

.match-studio-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  grid-auto-rows: minmax(180px, auto);
  gap: 22px;
}

.match-tile {
  display: grid;
  align-content: end;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--soft-shadow);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.match-tile:hover {
  border-color: rgba(201, 37, 49, 0.24);
}

.match-tile h3 {
  margin: 14px 0 8px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.45rem;
}

.match-tile p {
  margin-bottom: 0;
}

.photo-tile {
  grid-row: span 2;
  padding: 0;
  overflow: hidden;
}

.photo-tile img {
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
}

.tall-tile {
  background: var(--paper);
}

.dark-tile {
  color: #fff;
  background: var(--ink);
}

.dark-tile h3,
.dark-tile p {
  color: #fff;
}

.wide-tile {
  background:
    radial-gradient(circle at 100% 0, rgba(242, 85, 115, 0.1), transparent 12rem),
    #fff;
}

.home-care-scenes {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.05fr 1fr;
  gap: 18px;
  align-items: stretch;
  padding: 28px clamp(20px, 6vw, 92px) 92px;
  background: #fff;
}

.location-finder {
  position: relative;
  padding: clamp(66px, 7vw, 106px) clamp(20px, 6vw, 92px);
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 12%, rgba(255, 180, 0, 0.18), transparent 24rem),
    radial-gradient(circle at 88% 14%, rgba(237, 0, 24, 0.13), transparent 26rem),
    linear-gradient(135deg, #fff 0%, #fff8ef 100%);
}

.location-finder .section-heading p:last-child {
  max-width: 620px;
  margin: 16px auto 0;
  color: #26254f;
}

.location-finder-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 14px;
  margin: 42px auto 0;
  max-width: 1260px;
}

.location-finder-grid a {
  display: grid;
  min-height: 92px;
  place-items: center;
  padding: 18px;
  color: var(--ink);
  font-weight: 950;
  text-align: center;
  border: 1px solid rgba(237, 0, 24, 0.11);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(255, 248, 239, 0.9));
  box-shadow: 0 18px 44px rgba(48, 47, 95, 0.08);
  transition: transform 0.24s ease, box-shadow 0.24s ease, color 0.24s ease;
}

.location-finder-grid a:hover {
  color: var(--red);
  transform: translateY(-5px);
  box-shadow: 0 24px 54px rgba(237, 0, 24, 0.13);
}

.scenes-loop {
  right: 8%;
  top: -20px;
}

.scene-card {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border-radius: 34px;
  box-shadow: var(--shadow);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.scene-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.scene-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 28%, rgba(22, 21, 48, 0.78) 100%);
}

.scene-card div {
  position: absolute;
  inset: auto 22px 22px;
  z-index: 1;
}

.scene-card span {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 8px 12px;
  color: #fff;
  background: var(--red);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 950;
}

.scene-card strong {
  display: block;
  max-width: 440px;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.12;
}

.scene-card:hover img {
  transform: scale(1.04);
}

.scene-card:hover {
  box-shadow: 0 32px 92px rgba(48, 47, 95, 0.22);
}

.scene-card.planning {
  transform: translateY(42px);
}

.scene-card.planning:hover {
  transform: translateY(30px);
}

.scene-card.planning span {
  background: var(--gold);
}

.scene-card.arrival span {
  background: var(--blue);
}

.care-passport {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.6fr) minmax(0, 1.2fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: center;
  padding: 96px clamp(20px, 6vw, 92px);
  background:
    radial-gradient(circle at 8% 10%, rgba(245, 173, 37, 0.18), transparent 18rem),
    var(--paper);
}

.passport-star {
  right: 6%;
  top: 54px;
  background: var(--blue);
}

.passport-copy {
  max-width: 520px;
}

.passport-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.passport-track article {
  min-height: 200px;
  display: grid;
  align-content: space-between;
  padding: 24px;
  background: linear-gradient(180deg, #fff, #fff8f2);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--soft-shadow);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.passport-track span {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 8px rgba(201, 37, 49, 0.1);
}

.passport-track article:nth-child(2) span {
  background: var(--gold);
  box-shadow: 0 0 0 8px rgba(245, 173, 37, 0.14);
}

.passport-track article:nth-child(3) span {
  background: var(--blue);
  box-shadow: 0 0 0 8px rgba(23, 185, 209, 0.14);
}

.passport-track article:nth-child(4) span {
  background: var(--green);
  box-shadow: 0 0 0 8px rgba(120, 186, 84, 0.14);
}

.passport-track strong {
  display: block;
  color: var(--ink);
  font-size: 1.2rem;
}

.passport-track small {
  color: #6b6880;
  font-weight: 800;
}

.nrn-feature {
  position: relative;
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding: 92px clamp(20px, 6vw, 92px);
  background:
    linear-gradient(135deg, rgba(23, 185, 209, 0.14), transparent),
    var(--mist);
}

.nrn-arrow {
  left: 46%;
  top: 56px;
  border-color: transparent transparent var(--gold) var(--gold);
  transform: rotate(16deg);
}

.nrn-arrow::after {
  border-color: var(--gold);
}

.nrn-photo img {
  width: 100%;
  min-height: 430px;
  object-fit: cover;
  border-radius: 110px 34px 110px 34px;
  box-shadow: var(--shadow);
  animation: softFloat 7.5s ease-in-out infinite;
}

.nrn-panel {
  padding: clamp(30px, 5vw, 58px);
  color: #fff;
  background: var(--ink);
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.nrn-panel h2,
.nrn-panel p,
.nrn-panel .eyebrow {
  color: #fff;
}

.trust-dashboard {
  position: relative;
  padding: 96px clamp(20px, 6vw, 92px);
  background:
    radial-gradient(circle at 12% 20%, rgba(23, 185, 209, 0.18), transparent 20rem),
    linear-gradient(135deg, var(--midnight), var(--ink));
}

.dashboard-sparkles span {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 10px rgba(245, 173, 37, 0.11);
  animation: sparklePop 3.6s ease-in-out infinite;
}

.dashboard-sparkles span:nth-child(1) {
  left: 12%;
  top: 132px;
}

.dashboard-sparkles span:nth-child(2) {
  right: 13%;
  top: 94px;
  background: var(--blue);
  box-shadow: 0 0 0 10px rgba(23, 185, 209, 0.12);
  animation-delay: 0.8s;
}

.dashboard-sparkles span:nth-child(3) {
  right: 28%;
  bottom: 82px;
  background: var(--rose);
  box-shadow: 0 0 0 10px rgba(242, 85, 115, 0.12);
  animation-delay: 1.5s;
}

.trust-dashboard h2,
.trust-dashboard .eyebrow {
  color: #fff;
}

.dashboard-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(390px, 0.82fr);
  gap: clamp(24px, 3.6vw, 46px);
  align-items: stretch;
  max-width: 1420px;
  margin: 0 auto;
}

.dashboard-reasons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-content: start;
}

.dashboard-reasons span {
  min-height: 88px;
  display: flex;
  align-items: center;
  padding: 20px 22px;
  color: #fff;
  background: rgba(255, 255, 255, 0.105);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  font-size: clamp(0.94rem, 1.05vw, 1.06rem);
  font-weight: 850;
  line-height: 1.45;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.11);
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.dashboard-reasons span:hover {
  transform: translateX(6px);
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.25);
}

.dashboard-photo {
  grid-row: span 2;
  overflow: hidden;
  border-radius: 34px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
}

.dashboard-photo img {
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
}

.dashboard-stats {
  grid-column: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: none;
  margin: 8px 0 0;
}

.dashboard-stats div {
  min-width: 0;
  padding: 24px 24px 22px;
  text-align: left;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 26px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.dashboard-stats strong {
  color: #fff;
  font-family: var(--font-body);
  font-size: clamp(2rem, 3.2vw, 3.5rem);
  font-weight: 900;
  line-height: 0.95;
  white-space: nowrap;
}

.dashboard-stats span {
  display: block;
  max-width: 12rem;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.86rem;
  font-weight: 850;
  line-height: 1.35;
}

.parent-stories {
  position: relative;
  padding: 92px clamp(20px, 6vw, 92px);
  background: #fff;
}

.stories-loop {
  right: 12%;
  top: 56px;
  border-color: transparent transparent var(--blue) var(--blue);
}

.story-strip {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.story-strip img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  border-radius: 34px 90px 34px 90px;
  box-shadow: var(--shadow);
}

.story-strip article {
  padding: 30px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 28px;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.story-strip article p {
  color: #23223c;
  font-style: italic;
}

.story-strip strong {
  color: var(--ink);
  font-weight: 950;
}

.services-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(460px, 1fr);
  gap: clamp(36px, 7vw, 92px);
  align-items: center;
  min-height: 650px;
  overflow: hidden;
  padding: 78px clamp(20px, 6vw, 92px);
  background:
    radial-gradient(circle at 7% 20%, rgba(201, 37, 49, 0.14), transparent 21rem),
    radial-gradient(circle at 90% 18%, rgba(23, 185, 209, 0.16), transparent 20rem),
    linear-gradient(135deg, #fff 0%, #fff8f2 100%);
}

.services-hero::before {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -180px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(201, 37, 49, 0.12);
  border-radius: 50%;
}

.services-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.services-hero h1 {
  font-size: clamp(3.2rem, 6vw, 6.4rem);
}

.services-hero-copy p {
  max-width: 650px;
  font-size: 0.95rem;
  font-weight:600;
}

.services-hero-stage {
  position: relative;
  min-height: 520px;
}

.service-hero-main,
.service-hero-float {
  position: absolute;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.service-hero-main {
  right: 0;
  top: 28px;
  width: 78%;
  height: 430px;
  border-radius: 42px 140px 42px 110px;
  animation: floatPhoto 7s ease-in-out infinite;
}

.service-hero-float {
  border: 10px solid #fff;
}

.service-hero-float.one {
  left: 0;
  top: 0;
  width: 260px;
  height: 180px;
  border-radius: 34px;
  animation: softFloat 6.5s ease-in-out infinite;
}

.service-hero-float.two {
  left: 8%;
  bottom: 18px;
  width: 285px;
  height: 190px;
  border-radius: 80px 30px 80px 30px;
  animation: softFloat 7.5s ease-in-out infinite reverse;
}

.services-star {
  right: 6%;
  top: 20px;
}

.services-arrow {
  left: 35%;
  bottom: 88px;
  border-color: transparent transparent var(--rose) var(--rose);
}

.services-arrow::after {
  border-color: var(--rose);
}

.services-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 86px);
  align-items: end;
  padding: 86px clamp(20px, 6vw, 92px) 30px;
  background: #fff;
}

.services-intro h2 {
  font-size: clamp(2.3rem, 4.5vw, 4.7rem);
}

.services-intro > p {
  margin-bottom: 24px;
}

.services-board {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  grid-auto-rows: auto;
  gap: clamp(18px, 2.4vw, 28px);
  padding: 44px clamp(20px, 6vw, 92px) 76px;
  background: #fff;
}

.services-board.is-masonry {
  display: block;
}

.services-board.is-masonry .service-card {
  position: absolute;
  margin: 0;
  transition:
    left 0.32s ease,
    top 0.32s ease,
    transform 0.32s ease,
    box-shadow 0.32s ease;
}

.service-board-loop {
  right: 10%;
  top: 30px;
  z-index: 2;
}

.service-card {
  position: relative;
  align-self: start;
  min-height: 0;
  display: grid;
  grid-template-rows: 230px auto auto;
  overflow: hidden;
  border-radius: 38px;
  background: #fff;
  box-shadow: var(--soft-shadow);
  transition: transform 0.32s ease, box-shadow 0.32s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.service-card:hover img {
  transform: scale(1.045);
}

.service-card-summary {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: auto;
  min-height: 0 !important;
  height: 118px;
  max-height: 118px;
  margin: -38px 24px 26px;
  padding: 18px 82px 18px 24px;
  text-align: left;
  color: #fff;
  border: 0;
  border-radius: 0 0 26px 26px;
  box-shadow: 0 20px 46px rgba(48, 47, 95, 0.16);
  cursor: pointer;
  isolation: isolate;
  transition: transform 0.28s ease, filter 0.28s ease;
}

.service-card-summary::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 42%);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.service-card-summary:hover,
.service-card-summary:focus-visible {
  filter: saturate(1.08);
  outline: 0;
  transform: translateY(-2px);
}

.service-card-summary:hover::after,
.service-card-summary:focus-visible::after {
  opacity: 1;
}

.service-card-summary > span {
  position: absolute;
  right: 18px;
  top: -30px;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
  border: 3px solid rgba(255, 255, 255, 0.56);
  border-radius: 50%;
  font-weight: 950;
}

.service-card-summary > i {
  position: absolute;
  right: 22px;
  bottom: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.service-card-summary > i::before,
.service-card-summary > i::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 3px;
  border-radius: 999px;
  background: #fff;
  transform: translate(-50%, -50%);
}

.service-card-summary > i::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform 0.24s ease;
}

.service-card.is-expanded .service-card-summary > i::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.service-card h3 {
  position: relative;
  z-index: 1;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  margin: 0;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(1.04rem, 1.38vw, 1.36rem);
  line-height: 1.08;
  max-width: 100%;
  overflow: visible;
  transform: none;
}

.service-card h3:empty::before {
  content: attr(data-service-title);
}

.service-card-summary p {
  display: none;
  margin-top: 16px;
}

.service-card.is-expanded .service-card-summary {
  justify-content: flex-start;
  height: auto;
  max-height: none;
  min-height: 172px !important;
  margin-bottom: 0;
  border-radius: 0;
}

.service-card.is-expanded .service-card-summary p {
  display: block;
}

.service-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.88rem;
  line-height: 1.5;
}

.service-card-detail {
  margin: 0 24px 24px;
  padding: 20px 22px 22px;
  color: #fff;
  border: 0;
  border-top: 0;
  border-radius: 0 0 28px 28px;
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  box-shadow: 0 24px 50px rgba(48, 47, 95, 0.09);
  animation: serviceDetailIn 0.28s ease both;
}

.service-card-detail p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.86rem;
  line-height: 1.62;
}

.service-card-detail p + p {
  margin-top: 12px;
}

.service-card-detail ul:not(.service-detail-list) {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding-left: 20px;
  color: rgba(255, 255, 255, 0.92);
}

.service-card-detail li {
  color: rgba(255, 255, 255, 0.92);
}

.service-card-detail h4 {
  margin: 18px 0 10px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.service-detail-list {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.service-detail-list li {
  position: relative;
  padding-left: 22px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.84rem;
  font-weight: 760;
  line-height: 1.45;
}

.service-detail-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.16);
}

.service-card-detail .button {
  margin-top: 18px;
  padding: 12px 18px;
  font-size: 0.8rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.5);
}

@keyframes serviceDetailIn {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.feature-card {
  min-height: 0;
}

.wide-service {
  grid-column: span 2;
  grid-template-columns: 1fr;
  grid-template-rows: 250px auto auto;
}

.wide-service img {
  width: 100%;
  height: 100%;
  min-height: 0;
}

.wide-service .service-card-summary {
  align-self: auto;
  max-width: 760px;
  margin: -38px clamp(24px, 4vw, 42px) 26px;
  border-radius: 0 0 30px 30px;
}

.wide-service.is-expanded .service-card-summary {
  margin-bottom: 0;
  border-radius: 0;
}

.wide-service .service-card-detail {
  max-width: 760px;
  margin-inline: clamp(24px, 4vw, 42px);
}

.red-card .service-card-summary {
  background: linear-gradient(135deg, var(--red), var(--red-deep));
}

.red-card .service-card-detail {
  background: linear-gradient(135deg, #ef001c, #b80016);
}

.gold-card .service-card-summary {
  background: linear-gradient(135deg, var(--gold), #f28c16);
}

.gold-card .service-card-detail {
  background: linear-gradient(135deg, #f8b51c, #df8100);
}

.blue-card .service-card-summary {
  background: linear-gradient(135deg, var(--blue), #0b91af);
}

.blue-card .service-card-detail {
  background: linear-gradient(135deg, #22bfd0, #07859f);
}

.green-card .service-card-summary {
  background: linear-gradient(135deg, var(--green), #4e9436);
}

.green-card .service-card-detail {
  background: linear-gradient(135deg, #77c750, #438c32);
}

.purple-card .service-card-summary {
  background: linear-gradient(135deg, #9448ee, #6c3bd2);
}

.purple-card .service-card-detail {
  background: linear-gradient(135deg, #9346ef, #6131c7);
}

.rose-card .service-card-summary {
  background: linear-gradient(135deg, var(--rose), #cf2d4a);
}

.rose-card .service-card-detail {
  background: linear-gradient(135deg, #ff5172, #c71d3a);
}

.ink-card .service-card-summary {
  background: linear-gradient(135deg, var(--ink), var(--midnight));
}

.ink-card .service-card-detail {
  background: linear-gradient(135deg, #34326f, #25245f);
}

.services-nrn {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 86px);
  align-items: center;
  padding: 96px clamp(20px, 6vw, 92px);
  background:
    radial-gradient(circle at 94% 18%, rgba(245, 173, 37, 0.18), transparent 21rem),
    var(--paper);
}

.nrn-service-copy {
  max-width: 680px;
}

.nrn-steps {
  display: grid;
  gap: 16px;
}

.nrn-steps article {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 106px;
  padding: 22px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--soft-shadow);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.nrn-steps article:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow);
}

.nrn-steps span {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 58px;
  height: 58px;
  color: #fff;
  background: var(--red);
  border-radius: 50%;
  font-weight: 950;
}

.nrn-steps article:nth-child(2) span {
  background: var(--gold);
}

.nrn-steps article:nth-child(3) span {
  background: var(--blue);
}

.nrn-steps strong {
  font-family: var(--font-display);
  font-size: 1.45rem;
}

.corporate-care {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: center;
  padding: 96px clamp(20px, 6vw, 92px);
  background: #fff;
}

.corporate-photo img {
  width: 100%;
  min-height: 440px;
  object-fit: cover;
  border-radius: 120px 34px 120px 34px;
  box-shadow: var(--shadow);
}

.corporate-panel {
  padding: clamp(30px, 5vw, 58px);
  color: #fff;
  background: var(--ink);
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.corporate-panel h2,
.corporate-panel p,
.corporate-panel .eyebrow {
  color: #fff;
}

.services-trust {
  border-radius: 90px 90px 0 0;
}

.impact-stat {
  min-height: 0;
  padding: 24px 24px 22px;
  text-align: left;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 26px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
}

.impact-stat:nth-child(even) {
  transform: none;
}

.impact-stat small {
  display: block;
  max-width: 12rem;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.86rem;
  font-weight: 850;
  line-height: 1.35;
}

.stat-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  color: #fff;
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 950;
}

.red-stat .stat-icon {
  background: var(--red);
}

.gold-stat .stat-icon {
  background: var(--gold);
}

.blue-stat .stat-icon {
  background: var(--blue);
}

.rose-stat .stat-icon {
  background: var(--rose);
}

@keyframes floatPhoto {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-18px) rotate(1deg);
  }
}

@keyframes sway {
  0%,
  100% {
    transform: rotate(-10deg) translateY(0);
  }
  50% {
    transform: rotate(-5deg) translateY(16px);
  }
}

@keyframes twinkle {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
  }
  50% {
    transform: scale(1.25) rotate(18deg);
  }
}

@keyframes softFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes bob {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-14px) scale(1.04);
  }
}

@keyframes arrowDrift {
  0%,
  100% {
    transform: rotate(-16deg) translate(0, 0);
  }
  50% {
    transform: rotate(-10deg) translate(14px, -10px);
  }
}

@keyframes loopWiggle {
  0%,
  100% {
    transform: rotate(-18deg) translateY(0);
  }
  50% {
    transform: rotate(-10deg) translateY(12px);
  }
}

@keyframes cardPulse {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-8px) scale(1.025);
  }
}

@keyframes sparklePop {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(0.82);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

.state-hero,
.state-locations,
.state-services,
.state-proof,
.state-standards,
.state-cta {
  position: relative;
  padding: 96px clamp(22px, 6vw, 118px);
}

.state-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: clamp(34px, 6vw, 88px);
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 180, 0, 0.18), transparent 30%),
    radial-gradient(circle at 88% 16%, rgba(237, 0, 24, 0.14), transparent 34%),
    linear-gradient(135deg, #fff 0%, #fff8ef 55%, #fff 100%);
}

.state-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 18px;
  background: linear-gradient(90deg, var(--red), var(--gold), var(--red));
  opacity: 0.92;
}

.state-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 740px;
}

.state-hero h1,
.state-locations h2,
.state-services h2,
.state-proof h2,
.state-standards h2,
.state-cta h2 {
  color: var(--ink);
  font-family: var(--display-font);
  letter-spacing: 0;
}

.state-hero h1 {
  max-width: 820px;
  margin: 0 0 28px;
  font-size: clamp(3rem, 4.8vw, 5rem);
  line-height: 0.96;
}

.state-hero p {
  max-width: 670px;
  color: #26254f;
  font-size: 1.08rem;
  line-height: 1.9;
}

.state-hero-media {
  position: relative;
  min-height: 610px;
}

.state-hero-media img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  border: 10px solid rgba(255, 255, 255, 0.92);
  border-radius: 90px 28px 90px 28px;
  box-shadow: 0 34px 90px rgba(237, 0, 24, 0.14), 0 18px 52px rgba(38, 38, 83, 0.13);
}

.state-floating-note {
  position: absolute;
  right: clamp(12px, 4vw, 54px);
  bottom: -24px;
  width: min(390px, 72%);
  padding: 28px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(237, 0, 24, 0.95), rgba(255, 180, 0, 0.92));
  box-shadow: 0 26px 70px rgba(237, 0, 24, 0.24);
}

.state-floating-note strong,
.state-floating-note span {
  display: block;
}

.state-floating-note strong {
  margin-bottom: 8px;
  font-family: var(--display-font);
  font-size: 1.45rem;
}

.state-star-one {
  right: 8%;
  top: 22%;
}

.state-dot-one {
  left: 47%;
  top: 17%;
}

.state-locations {
  display: grid;
  grid-template-columns: minmax(280px, 0.66fr) minmax(0, 1fr);
  gap: 42px;
  align-items: start;
  background: #fff;
}

.state-locations h2,
.state-services h2,
.state-proof h2,
.state-standards h2,
.state-cta h2 {
  margin: 0;
  font-size: clamp(2.25rem, 4vw, 4.6rem);
  line-height: 1.02;
}

.location-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.location-pills span {
  padding: 13px 18px;
  color: var(--ink);
  font-weight: 850;
  border: 1px solid rgba(237, 0, 24, 0.12);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 248, 239, 0.95));
  box-shadow: 0 14px 30px rgba(38, 38, 83, 0.08);
}

.location-pills span:nth-child(3n + 1) {
  color: var(--red);
}

.location-pills span:nth-child(3n + 2) {
  color: var(--gold-deep);
}

.state-services {
  background:
    linear-gradient(180deg, rgba(255, 248, 239, 0.65), #fff 52%),
    radial-gradient(circle at 92% 18%, rgba(255, 180, 0, 0.18), transparent 22%);
}

.state-service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 48px;
}

.state-service-grid article {
  position: relative;
  min-height: 300px;
  padding: 30px;
  color: #fff;
  overflow: hidden;
  border-radius: 34px;
  background: linear-gradient(145deg, var(--ink), #3b3970);
  box-shadow: 0 24px 60px rgba(38, 38, 83, 0.12);
}

.state-service-grid article::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 78% 16%, rgba(255, 255, 255, 0.25), transparent 24%);
  pointer-events: none;
}

.state-service-grid article:nth-child(4n + 1) {
  background: linear-gradient(145deg, var(--red), var(--red-deep));
}

.state-service-grid article:nth-child(4n + 2) {
  background: linear-gradient(145deg, var(--gold), var(--gold-deep));
}

.state-service-grid article:nth-child(4n + 3) {
  background: linear-gradient(145deg, #21bfd5, #0891ad);
}

.state-service-grid article:nth-child(4n + 4) {
  background: linear-gradient(145deg, #7fc953, #3f9a37);
}

.state-service-grid span {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 30px;
  place-items: center;
  color: #fff;
  font-weight: 950;
  border: 2px solid rgba(255, 255, 255, 0.48);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}

.state-service-grid h3 {
  position: relative;
  margin: 0 0 14px;
  color: #fff;
  font-family: var(--display-font);
  font-size: clamp(1.45rem, 1.55vw, 1.82rem);
  line-height: 1.05;
  text-wrap: balance;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.18);
}

.state-service-grid p {
  position: relative;
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.98rem;
  font-weight: 650;
  line-height: 1.62;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.16);
}

.state-service-note {
  width: min(760px, 100%);
  margin: 34px auto 0;
  padding: 18px 24px;
  text-align: center;
  color: var(--ink);
  font-weight: 900;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(38, 38, 83, 0.09);
}

.state-proof {
  display: grid;
  grid-template-columns: minmax(360px, 0.86fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 74px);
  align-items: center;
  background: var(--ink);
}

.state-proof::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 17% 12%, rgba(255, 180, 0, 0.14), transparent 24%),
    radial-gradient(circle at 86% 74%, rgba(237, 0, 24, 0.16), transparent 28%);
  pointer-events: none;
}

.state-proof > * {
  position: relative;
  z-index: 1;
}

.state-proof-image img {
  width: 100%;
  height: 650px;
  object-fit: cover;
  border-radius: 38px 110px 38px 110px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.18);
}

.state-proof h2,
.state-proof .eyebrow {
  color: #fff;
}

.state-check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.state-check-list span,
.state-standard-grid span {
  position: relative;
  padding: 18px 18px 18px 50px;
  color: #fff;
  font-weight: 850;
  line-height: 1.35;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.1);
}

.state-check-list span::before,
.state-standard-grid span::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 21px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--red));
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.11);
}

.state-standards {
  display: grid;
  grid-template-columns: minmax(280px, 0.68fr) minmax(0, 1fr);
  gap: 46px;
  align-items: center;
  background: #fff;
}

.state-standard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.state-testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.state-testimonial-grid blockquote {
  position: relative;
  min-height: 230px;
  margin: 0;
  padding: 72px 30px 30px;
  color: var(--ink);
  font-family: var(--display-font);
  font-size: clamp(1.55rem, 2.3vw, 2.45rem);
  line-height: 1.08;
  border: 1px solid rgba(237, 0, 24, 0.1);
  border-radius: 34px;
  background:
    radial-gradient(circle at 86% 16%, rgba(255, 180, 0, 0.18), transparent 24%),
    linear-gradient(145deg, #fff, #fff8ef);
  box-shadow: 0 22px 58px rgba(38, 38, 83, 0.08);
}

.state-testimonial-grid blockquote::before {
  content: "“";
  position: absolute;
  left: 26px;
  top: 12px;
  color: var(--red);
  font-family: Georgia, serif;
  font-size: 5rem;
  line-height: 1;
}

.state-standard-grid span {
  color: var(--ink);
  border-color: rgba(237, 0, 24, 0.1);
  background: linear-gradient(145deg, #fff, #fff8ef);
}

.state-cta {
  margin: 0 clamp(18px, 5vw, 88px) 90px;
  padding: clamp(54px, 7vw, 92px);
  text-align: center;
  color: #fff;
  overflow: hidden;
  border-radius: 54px;
  background:
    radial-gradient(circle at 16% 26%, rgba(255, 180, 0, 0.36), transparent 26%),
    linear-gradient(135deg, var(--red), var(--red-deep) 48%, var(--ink));
  box-shadow: 0 28px 80px rgba(237, 0, 24, 0.2);
}

.state-cta .eyebrow,
.state-cta h2 {
  color: #fff;
}

.state-cta h2 {
  max-width: 1040px;
  margin: 0 auto 34px;
}

.state-cta .button {
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.45), 0 18px 44px rgba(0, 0, 0, 0.22);
}

.centered-actions {
  justify-content: center;
}

.button.ghost.light {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.24);
}

.fee-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  color: var(--ink);
  border: 1px solid rgba(237, 0, 24, 0.1);
  border-radius: 20px;
  background: linear-gradient(145deg, #fff, #fff8ef);
  box-shadow: 0 14px 34px rgba(38, 38, 83, 0.07);
}

.fee-summary + .fee-summary {
  margin-top: 12px;
}

.fee-summary span {
  color: #26254f;
  font-weight: 850;
}

.fee-summary strong {
  font-family: var(--display-font);
  font-size: 1.55rem;
}

.fee-summary.total {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.12);
  background: linear-gradient(135deg, var(--red), var(--red-deep));
}

.fee-summary.total span {
  color: rgba(255, 255, 255, 0.88);
}

.state-cta-arrow {
  position: absolute;
  right: 8%;
  top: 16%;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 1180px) {
  .main-nav {
    font-size: 0.78rem;
  }

  .nav-link {
    padding-inline: 9px;
  }

  .hero,
  .story-grid,
  .qualities,
  .contact-section,
  .booking-hero,
  .booking-section,
  .corporate-page-hero,
  .corporate-intro,
  .contact-hero,
  .contact-hub,
  .faq-layout,
  .faq-section,
  .payment-hero,
  .payment-section,
  .match-studio,
  .home-care-scenes,
  .care-passport,
  .nrn-feature,
  .trust-dashboard,
  .parent-stories,
  .about-story,
  .about-origin,
  .mission-section,
  .about-hero,
  .about-stats,
  .home-hero,
  .services-hero,
  .services-intro,
  .services-nrn,
  .corporate-care,
  .corporate-stat-strip,
  .care-passport,
  .nrn-feature,
  .dashboard-layout {
    grid-template-columns: 1fr;
  }

  .story-intro {
    position: static;
  }

  .hero-stage {
    min-height: 520px;
  }

  .reason-cloud,
  .booking-steps,
  .story-collage,
  .testimonial-feature,
  .match-studio-grid,
  .home-care-scenes,
  .services-board,
  .passport-track,
  .story-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .story-photo-card,
  .slim-card,
  .photo-tile,
  .tall-tile,
  .wide-tile,
  .wide-service,
  .dashboard-photo,
  .dashboard-stats {
    grid-column: auto;
    grid-row: auto;
  }

  .feature-card {
    grid-row: auto;
    min-height: 360px;
  }

  .feature-card img {
    height: 232px;
  }

  .wide-service {
    grid-column: span 2;
  }

  .dashboard-photo {
    grid-row: auto;
  }

  .booking-form-copy {
    position: static;
  }

  .services-hero-stage {
    min-height: 520px;
  }
}

@media (max-width: 860px) {
  .career-role-grid {
    grid-template-columns: 1fr;
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .site-header {
    align-items: center;
    padding: 14px clamp(20px, 6vw, 34px);
    background: rgba(255, 255, 255, 0.92);
  }

  .nav-toggle {
    display: grid;
    gap: 8px;
    width: 74px;
    height: 74px;
    place-content: center;
    border: 0;
    border-radius: 50%;
    background: var(--midnight);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.18),
      0 18px 38px rgba(38, 37, 79, 0.18);
  }

  .nav-toggle span {
    width: 34px;
    height: 3px;
    background: #fff;
    border-radius: 999px;
  }

  .main-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 10px);
    display: grid;
    justify-content: stretch;
    justify-items: stretch;
    gap: 8px;
    max-height: calc(100vh - 110px);
    overflow: auto;
    padding: 18px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.22s ease, transform 0.22s ease;
  }

  .main-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-link,
  .nav-cta {
    justify-content: space-between;
    width: 100%;
    margin: 0;
  }

  .main-nav > a,
  .nav-group {
    width: 100%;
  }

  .nav-parent-row {
    width: 100%;
  }

  .nav-parent-row .nav-link {
    flex: 1;
  }

  .nav-parent-toggle {
    width: 46px;
    min-width: 46px;
  }

  .submenu {
    position: static;
    width: 100%;
    min-width: 0;
    margin: 4px 0 8px;
    padding: 8px;
    box-shadow: none;
    background: #faf8f5;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    display: none;
  }

  .service-submenu {
    grid-template-columns: 1fr;
    min-width: 0;
    gap: 6px;
  }

  .service-submenu a {
    min-height: 46px;
    font-size: 0.82rem;
  }

  .submenu-icon {
    width: 32px;
    height: 32px;
  }

  .nav-group.is-open .submenu {
    display: grid;
  }

  .nav-group::after {
    display: none;
  }

  .nav-group:hover .submenu,
  .nav-group:focus-within .submenu {
    transform: none;
  }

  .hero {
    min-height: auto;
    padding-top: 48px;
  }

  .hero-art {
    height: 430px;
  }

  .difference-points,
  .quality-grid,
  .reason-cloud,
  .booking-steps,
  .stats-strip,
  .testimonial-feature,
  .story-collage,
  .about-stat-grid,
  .match-studio-grid,
  .home-care-scenes,
  .services-board,
  .passport-track,
  .dashboard-reasons,
  .dashboard-stats,
  .story-strip,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .booking-hero,
  .booking-section,
  .corporate-page-hero,
  .corporate-intro,
  .corporate-quote-card,
  .corporate-stat-strip,
  .contact-hero,
  .contact-hub,
  .faq-layout,
  .payment-hero,
  .payment-section .booking-form-copy,
  .payment-fee-grid,
  .family-booking-section .booking-form-copy,
  .applicant-section .booking-form-copy,
  .applicant-section .applicant-mini-stats,
  .answer-grid,
  .upload-grid,
  .form-grid.two,
  .form-grid.three {
    grid-template-columns: 1fr;
  }

  .booking-hero-media img {
    min-height: 340px;
    border-radius: 38px;
  }

  .booking-note {
    position: relative;
    left: auto;
    bottom: auto;
    width: 100%;
    margin-top: 16px;
  }

  .corporate-page-media img {
    min-height: 340px;
    border-radius: 38px;
  }

  .corporate-floating-card {
    position: relative;
    left: auto;
    bottom: auto;
    width: 100%;
    margin-top: 16px;
  }

  .contact-hero-photo img {
    min-height: 340px;
    border-radius: 38px;
  }

  .faq-note {
    position: static;
  }

  .dashboard-layout {
    gap: 22px;
  }

  .dashboard-stats strong {
    font-size: clamp(2.15rem, 11vw, 3rem);
  }

  .impact-stat:nth-child(even) {
    transform: none;
  }

  .scene-card.planning {
    transform: none;
  }

  .hero-arrow,
  .match-arrow,
  .nrn-arrow,
  .scenes-loop,
  .stories-loop {
    display: none;
  }

  .services-hero {
    min-height: auto;
  }

  .services-hero-stage {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    min-height: auto;
  }

  .service-hero-main,
  .service-hero-float {
    position: static;
    width: 100%;
    border: 0;
  }

  .service-hero-main {
    height: 360px;
    grid-column: 1 / -1;
    border-radius: 40px;
  }

  .service-hero-float.one,
  .service-hero-float.two {
    width: 100%;
    height: 190px;
    border-radius: 26px;
  }

  .services-trust {
    border-radius: 60px 60px 0 0;
  }

  .wide-service {
    grid-column: auto;
    grid-template-columns: 1fr;
    grid-template-rows: 232px auto auto;
  }

  .wide-service img {
    min-height: 0;
  }

  .wide-service .service-card-summary {
    margin: -38px 24px 26px;
  }

  .wide-service .service-card-detail {
    margin-inline: 24px;
  }

  .story-media,
  .story-media img {
    min-height: 380px;
  }

  .services {
    border-radius: 70px 70px 0 0;
  }
}

@media (max-width: 560px) {
  .brand {
    min-width: auto;
  }

  .brand-logo {
    width: 188px;
    height: 118px;
    border-radius: 0;
  }

  h1 {
    font-size: 3.15rem;
  }

  h2 {
    font-size: 2.35rem;
  }

  .wide-service {
    grid-template-rows: 240px auto;
  }

  .hero::before,
  .cursor-glow,
  .hero-orbit,
  .floating-note,
  .doodle-star,
  .doodle-dot,
  .dashboard-sparkles {
    display: none;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-service-rail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .hero-service-rail span {
    min-height: 54px;
    align-items: center;
    padding: 10px;
    font-size: 0.72rem;
    line-height: 1.2;
  }

  .hero-service-rail span::before {
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    margin: 0 7px 0 0;
  }

  .hero-stage {
    min-height: auto;
  }

  .hero-art {
    height: 340px;
  }

  .home-hero-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    min-height: auto;
  }

  .gallery-main {
    position: static;
    width: 100%;
    height: 220px;
    grid-column: 1 / -1;
    margin: 0;
    border: 0;
    border-radius: 34px;
  }

  .gallery-small {
    position: static;
    width: 100%;
    height: 120px;
    margin: 0;
    border: 0;
    border-radius: 24px;
  }

  .gallery-card {
    position: static;
    width: 100%;
    grid-column: 1 / -1;
  }

  .photo-tile img,
  .story-strip img,
  .nrn-photo img,
  .dashboard-photo img {
    min-height: 250px;
  }

  .match-tile {
    padding: 20px;
  }

  .scene-card {
    min-height: 310px;
  }

  .passport-track article {
    min-height: 160px;
  }

  .dashboard-reasons span {
    min-height: 68px;
  }

  .match-card {
    position: relative;
    left: auto;
    bottom: auto;
    width: 100%;
    margin-top: 16px;
  }

  .story-grid,
  .qualities,
  .nrn,
  .services,
  .testimonials,
  .contact-section,
  .booking-hero,
  .booking-steps,
  .booking-section,
  .corporate-page-hero,
  .corporate-intro,
  .services-hero,
  .services-intro,
  .services-board,
  .services-nrn,
  .corporate-care,
  .corporate-testimonial,
  .home-hero,
  .match-studio,
  .home-care-scenes,
  .care-passport,
  .nrn-feature,
  .trust-dashboard,
  .parent-stories,
  .about-story,
  .about-origin,
  .mission-section,
  .about-stats {
    padding-left: 18px;
    padding-right: 18px;
  }

  .about-hero {
    min-height: 560px;
    padding-left: 18px;
    padding-right: 18px;
  }

  .about-hero-frame img {
    height: 380px;
    border-radius: 42px;
  }

  .about-floating-card {
    position: relative;
    left: auto;
    bottom: auto;
    width: 100%;
    margin-top: 16px;
  }

  .story-chapter {
    grid-template-columns: 1fr;
  }

  .story-timeline::before {
    display: none;
  }

  .origin-note {
    position: static;
    margin-top: 16px;
  }

  .story-media {
    border-radius: 36px;
  }

  .story-label {
    right: 24px;
  }

  .contact-section {
    grid-template-columns: 1fr;
  }

  .services-hero-stage {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-hero-main {
    height: 220px;
  }

  .service-hero-float.one,
  .service-hero-float.two {
    height: 120px;
  }

  .service-card,
  .feature-card {
    min-height: auto;
    border-radius: 30px;
  }

  .service-card img,
  .feature-card img,
  .wide-service img {
    height: 220px;
  }

  .service-card-summary {
    height: 104px;
    max-height: 104px;
    margin: -30px 16px 22px;
    padding: 16px 64px 16px 20px;
  }

  .service-card-detail {
    margin: 0 16px 22px;
    padding: 20px;
  }

  .wide-service .service-card-summary {
    margin: -30px 16px 22px;
  }

  .wide-service .service-card-detail {
    margin-inline: 16px;
  }

  .corporate-photo img {
    min-height: 280px;
    border-radius: 38px;
  }

  .services-trust {
    border-radius: 36px 36px 0 0;
  }
}

@media (max-width: 1180px) {
  .state-hero,
  .state-locations,
  .state-proof,
  .state-standards {
    grid-template-columns: 1fr;
  }

  .state-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .state-hero-media {
    min-height: auto;
  }
}

@media (max-width: 760px) {
  .state-hero,
  .state-locations,
  .state-services,
  .state-proof,
  .state-standards,
  .state-cta {
    padding: 64px 18px;
  }

  .state-hero h1 {
    font-size: clamp(3rem, 17vw, 4.8rem);
  }

  .state-hero-media img,
  .state-proof-image img {
    height: 360px;
    border-radius: 34px;
  }

  .state-floating-note {
    position: static;
    width: 100%;
    margin-top: 16px;
  }

  .state-service-grid,
  .state-check-list,
  .state-standard-grid,
  .state-testimonial-grid {
    grid-template-columns: 1fr;
  }

  .state-service-grid article {
    min-height: auto;
  }

  .state-cta {
    margin: 0 18px 64px;
    border-radius: 34px;
  }
}

/* Final site-wide polish: logo, footer, and interactive motion */
.site-header {
  min-height: 118px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.site-header .brand {
  width: 214px;
  min-width: 214px;
  height: 102px;
  overflow: visible;
}

.site-header .brand-logo {
  width: 198px;
  height: 98px;
  max-width: 198px;
  object-fit: contain;
  transform: none;
  clip-path: none;
  mix-blend-mode: multiply;
  filter:
    contrast(1.06)
    saturate(1.08)
    drop-shadow(0 12px 20px rgba(166, 0, 18, 0.14));
}

.button,
.nav-cta,
.nav-link,
.submenu a {
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease,
    background 0.24s ease,
    color 0.24s ease,
    border-color 0.24s ease;
}

.button:hover,
.nav-cta:hover {
  transform: translateY(-3px);
}

.button.primary:hover,
.nav-cta:hover {
  background: linear-gradient(135deg, #ff1d2e, var(--red-deep));
  box-shadow: 0 22px 46px rgba(237, 0, 24, 0.32), 0 0 0 6px rgba(237, 0, 24, 0.08);
}

.button.ghost:hover {
  color: var(--red);
  border-color: rgba(237, 0, 24, 0.38);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 36px rgba(48, 47, 95, 0.12);
}

.button.ghost.light:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.2);
}

.button:active,
.nav-cta:active {
  transform: translateY(-1px) scale(0.99);
}

.nav-link:hover,
.submenu a:hover {
  transform: translateY(-1px);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(280px, 1.15fr) minmax(180px, 0.7fr) minmax(160px, 0.58fr) minmax(250px, 0.88fr);
  gap: clamp(20px, 3vw, 42px);
  padding: clamp(64px, 7vw, 108px) clamp(20px, 6vw, 96px) clamp(46px, 6vw, 82px);
  color: var(--ink);
  overflow: hidden;
  background:
    radial-gradient(circle at 9% 10%, rgba(237, 0, 24, 0.11), transparent 24rem),
    radial-gradient(circle at 85% 8%, rgba(255, 180, 0, 0.2), transparent 25rem),
    linear-gradient(135deg, #fff 0%, #fff8ef 58%, #fff 100%);
  border-top: 1px solid rgba(237, 0, 24, 0.1);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 18px clamp(16px, 4vw, 52px) auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(237, 0, 24, 0.26), rgba(255, 180, 0, 0.48), transparent);
  opacity: 1;
}

.site-footer::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -120px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 180, 0, 0.24), transparent 68%);
  pointer-events: none;
}

.site-footer > * {
  position: relative;
  z-index: 1;
}

.site-footer .footer-brand {
  display: inline-flex;
  width: auto;
  margin: 0 0 22px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.site-footer .footer-brand .brand-logo {
  width: 188px;
  height: 104px;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 12px 20px rgba(166, 0, 18, 0.13));
}

.site-footer > div:first-child,
.site-footer nav,
.site-footer address {
  padding: clamp(22px, 2.6vw, 34px);
  color: var(--ink);
  border: 1px solid rgba(237, 0, 24, 0.09);
  border-radius: 30px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(255, 248, 239, 0.78));
  box-shadow: 0 22px 60px rgba(48, 47, 95, 0.09);
}

.site-footer > div:first-child::before,
.site-footer > div:first-child::after {
  display: none;
}

.site-footer p,
.site-footer a,
.site-footer address,
.footer-address {
  color: rgba(48, 47, 95, 0.78);
}

.site-footer p {
  margin: 0;
  max-width: 26rem;
  line-height: 1.75;
}

.site-footer nav,
.site-footer address {
  display: grid;
  gap: 13px;
  align-content: start;
  font-style: normal;
}

.site-footer nav a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  font-weight: 850;
}

.site-footer nav a::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--gold));
  box-shadow: 0 0 0 5px rgba(237, 0, 24, 0.08);
}

.site-footer nav a:hover,
.site-footer address a:hover {
  color: var(--red);
  transform: translateX(3px);
}

.site-footer strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.6vw, 2.35rem);
  line-height: 1;
}

.footer-address {
  margin: 2px 0 4px;
  padding: 14px 16px;
  color: var(--ink);
  border-radius: 18px;
  background: rgba(255, 180, 0, 0.12);
  line-height: 1.6;
}

@media (max-width: 1180px) {
  .site-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .site-header {
    min-height: 96px;
  }

  .site-header .brand {
    width: 172px;
    min-width: 172px;
    height: 82px;
  }

  .site-header .brand-logo {
    width: 160px;
    height: 80px;
    max-width: 160px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding-top: 54px;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 142px;
  }

  .site-header .brand {
    width: 196px;
    min-width: 196px;
    height: 124px;
  }

  .site-header .brand-logo {
    width: 188px;
    height: 118px;
    max-width: 188px;
  }

  .site-footer .footer-brand .brand-logo {
    width: 156px;
    height: 86px;
  }
}

/* Form and footer alignment refinements */
.booking-form .checkbox-line,
.contact-form .checkbox-line,
.checkbox-line {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: auto;
  padding: 18px 22px;
}

.checkbox-line input,
.booking-form .checkbox-line input,
.contact-form .checkbox-line input {
  align-self: center;
  width: 20px;
  height: 20px;
  min-height: 20px;
  margin: 0;
  padding: 0;
  border-radius: 5px;
}

.checkbox-line span {
  display: block;
  min-width: 0;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 850;
  line-height: 1.45;
}

.site-footer {
  grid-template-columns: minmax(360px, 1.28fr) minmax(230px, 0.78fr) minmax(230px, 0.68fr) minmax(370px, 1fr);
  align-items: stretch;
}

.site-footer > div:first-child,
.site-footer nav,
.site-footer address {
  min-height: 100%;
}

.site-footer nav[aria-label="Policy links"] {
  align-content: center;
  justify-items: start;
  min-width: 0;
}

.site-footer nav[aria-label="Policy links"]::before {
  content: "Payments";
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.2vw, 2.25rem);
  font-weight: 700;
  line-height: 1;
}

.site-footer nav[aria-label="Policy links"] a {
  padding: 13px 18px;
  color: #fff;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  box-shadow: 0 16px 32px rgba(237, 0, 24, 0.18);
}

.site-footer nav[aria-label="Policy links"] a::before {
  background: #fff;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.16);
}

.site-footer nav[aria-label="Policy links"] a:hover {
  color: #fff;
  transform: translateY(-2px);
}

.site-footer address {
  min-width: 0;
}

.site-footer address a {
  overflow-wrap: anywhere;
  line-height: 1.35;
}

@media (max-width: 1320px) {
  .site-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .checkbox-line span {
    font-size: 0.84rem;
  }
}

/* Final scale and footer structure refinements */
h1,
.home-hero-copy h1,
.about-hero h1,
.services-hero h1,
.booking-hero-copy h1,
.corporate-page-copy h1,
.payment-hero-copy h1,
.contact-hero h1,
.state-hero h1 {
  font-size: clamp(2.55rem, 4.4vw, 4.65rem);
  line-height: 1;
}

h2,
.section-heading h2,
.match-studio .section-heading h2,
.trust-dashboard .section-heading h2,
.parent-stories .section-heading h2,
.services-intro h2,
.corporate-intro h2,
.nrn-panel h2,
.trust-dashboard h2,
.philosophy-section h2,
.impact-copy h2,
.state-locations h2,
.state-services h2,
.state-proof h2,
.state-standards h2,
.state-cta h2 {
  font-size: clamp(1.95rem, 3.25vw, 3.55rem);
  line-height: 1.06;
}

.state-testimonial-grid blockquote {
  min-height: 170px;
  padding: 58px 24px 24px;
  font-family: var(--font-body);
  font-size: clamp(0.98rem, 1.15vw, 1.2rem);
  font-weight: 850;
  line-height: 1.5;
}

.state-testimonial-grid blockquote::before {
  top: 10px;
  left: 22px;
  font-size: 3.8rem;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(360px, 1.2fr) minmax(280px, 0.8fr) minmax(360px, 1fr);
  gap: 0;
  align-items: stretch;
  padding: clamp(54px, 6vw, 82px) clamp(24px, 6vw, 96px);
  border-top: 1px solid rgba(237, 0, 24, 0.1);
}

.site-footer nav[aria-label="Policy links"] {
  display: none;
}

.site-footer > div:first-child,
.site-footer nav,
.site-footer address {
  min-height: auto;
  padding: clamp(20px, 3vw, 42px);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.site-footer > div:first-child {
  padding-left: 0;
}

.site-footer nav[aria-label="Footer links"],
.site-footer address {
  border-left: 1px solid rgba(48, 47, 95, 0.12);
}

.site-footer nav[aria-label="Footer links"] {
  grid-template-columns: repeat(1, minmax(0, 1fr));
  column-gap: 24px;
}

.site-footer nav[aria-label="Footer links"] a {
  align-self: start;
}

.ui-icon {
  width: 1.05em;
  height: 1.05em;
  flex: 0 0 auto;
}

.icon-line {
  display: grid !important;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.icon-line > .ui-icon {
  width: 34px;
  height: 34px;
  padding: 8px;
  color: var(--red);
  border-radius: 13px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(255, 248, 239, 0.78));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 10px 22px rgba(237, 0, 24, 0.1);
}

.footer-social-link {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin-top: 6px;
  padding: 12px 16px;
  color: #fff !important;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff6576, var(--red) 48%, var(--red-deep));
  box-shadow: 0 16px 34px rgba(237, 0, 24, 0.18);
}

.footer-social-link .ui-icon {
  width: 20px;
  height: 20px;
}

.footer-social-link:hover {
  color: #fff !important;
  transform: translateY(-2px) !important;
}

.contact-cards article > span .ui-icon {
  width: 26px;
  height: 26px;
  color: #fff;
}

.site-flash {
  width: min(1120px, calc(100% - 40px));
  margin: 20px auto 0;
  padding: 16px 20px;
  border-radius: 18px;
  color: var(--ink);
  background: rgba(120, 186, 84, 0.15);
  border: 1px solid rgba(120, 186, 84, 0.28);
  font-weight: 850;
}

.site-flash.error {
  background: rgba(237, 0, 24, 0.09);
  border-color: rgba(237, 0, 24, 0.2);
}

.care-captcha {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) minmax(150px, 0.45fr);
  gap: 16px;
  align-items: center;
  margin: 18px 0;
  padding: 16px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 92% 12%, rgba(255, 180, 0, 0.18), transparent 10rem),
    linear-gradient(135deg, #fff, rgba(255, 248, 239, 0.9));
  border: 1px solid rgba(237, 0, 24, 0.12);
  box-shadow: 0 14px 34px rgba(48, 47, 95, 0.07);
}

.care-captcha-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  font-weight: 950;
  box-shadow: 0 14px 28px rgba(237, 0, 24, 0.18);
}

.care-captcha-copy strong,
.care-captcha-copy span {
  display: block;
}

.care-captcha-copy span {
  margin-top: 4px;
  color: #26254f;
  font-size: 0.86rem;
}

.care-captcha label {
  display: grid;
  gap: 6px;
  margin: 0;
}

.care-captcha label span {
  color: var(--ink);
  font-weight: 950;
}

.care-captcha input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(48, 47, 95, 0.14);
  border-radius: 15px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 850;
}

.square-payment-shell {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 90% 10%, rgba(32, 191, 212, 0.16), transparent 12rem),
    linear-gradient(135deg, #fff, rgba(255, 248, 239, 0.82));
  border: 1px solid rgba(48, 47, 95, 0.12);
  box-shadow: 0 16px 38px rgba(48, 47, 95, 0.08);
}

.square-payment-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.square-payment-head strong {
  color: var(--ink);
}

.square-payment-head span {
  padding: 8px 11px;
  color: #fff;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  font-size: 0.78rem;
  font-weight: 950;
}

.square-card-container {
  min-height: 92px;
  padding: 14px;
  border-radius: 18px;
  background: #fff;
  border: 1px dashed rgba(48, 47, 95, 0.18);
}

.square-payment-note {
  margin: 0;
  color: var(--text-bright);
  font-size: 0.86rem;
}

.has-field-error input,
.has-field-error select,
.has-field-error textarea {
  border-color: rgba(237, 0, 24, 0.68) !important;
  box-shadow: 0 0 0 4px rgba(237, 0, 24, 0.08), 0 16px 34px rgba(237, 0, 24, 0.08) !important;
}

.checkbox-line.has-field-error,
.care-captcha.has-field-error {
  border-color: rgba(237, 0, 24, 0.28);
  background:
    radial-gradient(circle at 92% 12%, rgba(255, 180, 0, 0.14), transparent 10rem),
    linear-gradient(135deg, rgba(255, 246, 248, 0.98), rgba(255, 248, 239, 0.86));
}

.field-error {
  display: block;
  margin-top: 8px;
  color: var(--red-deep);
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.35;
}

.form-status-message {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin: 0 0 22px;
  padding: 16px 18px;
  border-radius: 22px;
  border: 1px solid rgba(48, 47, 95, 0.12);
  background:
    radial-gradient(circle at 92% 20%, rgba(255, 180, 0, 0.14), transparent 9rem),
    linear-gradient(135deg, #fff, rgba(255, 248, 239, 0.92));
  box-shadow: 0 18px 42px rgba(48, 47, 95, 0.08);
  opacity: 0;
  transform: translateY(-10px) scale(0.98);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.form-status-message.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.form-status-message span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  color: #fff;
  font-weight: 950;
  background: linear-gradient(135deg, var(--green), #329b58);
  box-shadow: 0 12px 24px rgba(120, 186, 84, 0.22);
}

.form-status-message.error span {
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  box-shadow: 0 12px 24px rgba(237, 0, 24, 0.2);
}

.form-status-message p {
  margin: 0;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 850;
  line-height: 1.5;
}

.contact-form.is-submitting {
  position: relative;
}

.contact-form.is-submitting::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.36), transparent);
  animation: formSweep 1.25s ease-in-out infinite;
}

.contact-form button[disabled] {
  cursor: wait;
  filter: saturate(0.92);
}

@keyframes formSweep {
  from {
    transform: translateX(-100%);
  }

  to {
    transform: translateX(100%);
  }
}

.text-blue {
  color: var(--aqua);
  font-weight: 950;
}

.legal-content {
  width: min(1060px, calc(100% - 40px));
  margin: 70px auto;
}

.legal-content article {
  padding: clamp(28px, 5vw, 64px);
  border: 1px solid rgba(237, 0, 24, 0.12);
  border-radius: 34px;
  background:
    radial-gradient(circle at 94% 8%, rgba(255, 180, 0, 0.16), transparent 14rem),
    linear-gradient(135deg, #fff, rgba(255, 248, 239, 0.82));
  box-shadow: 0 24px 70px rgba(48, 47, 95, 0.08);
}

.legal-content h2,
.legal-content h3 {
  color: var(--ink);
}

.legal-content h3 {
  margin-top: 28px;
  font-size: 1.05rem;
}

.legal-content p {
  color: var(--muted);
  line-height: 1.8;
}

.checkbox-line a {
  color: var(--red);
  font-weight: 950;
  text-decoration: none;
}

.checkbox-line a:hover {
  text-decoration: underline;
}

.site-footer address {
  padding-right: 0;
}

.footer-address {
  width: min(100%, 420px);
}

@media (max-width: 1180px) {
  .location-finder-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .site-footer > div:first-child,
  .site-footer nav,
  .site-footer address {
    padding-left: 0;
    padding-right: 0;
  }

  .site-footer nav[aria-label="Footer links"],
  .site-footer address {
    border-left: 0;
    border-top: 1px solid rgba(48, 47, 95, 0.12);
  }
}

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

  h1,
  .home-hero-copy h1,
  .about-hero h1,
  .services-hero h1,
  .booking-hero-copy h1,
  .corporate-page-copy h1,
  .payment-hero-copy h1,
  .contact-hero h1,
  .state-hero h1 {
    font-size: clamp(2.35rem, 12vw, 3.3rem);
  }

  h2,
  .section-heading h2,
  .state-locations h2,
  .state-services h2,
  .state-proof h2,
  .state-standards h2,
  .state-cta h2 {
    font-size: clamp(1.75rem, 9vw, 2.55rem);
  }

  .site-footer nav[aria-label="Footer links"] {
    grid-template-columns: 1fr;
  }

  .care-captcha {
    grid-template-columns: 1fr;
  }
}

/* Final mobile readability and form cleanup */
@media (max-width: 860px) {
  .site-header {
    min-height: 92px;
    padding: 8px 18px;
  }

  .site-header .brand {
    width: 150px;
    min-width: 150px;
    height: 78px;
  }

  .site-header .brand-logo {
    width: 146px;
    height: 76px;
    max-width: 146px;
  }

  .nav-toggle {
    width: 52px;
    height: 52px;
    gap: 5px;
  }

  .nav-toggle span {
    width: 24px;
    height: 2px;
  }

  .booking-form {
    padding: 18px 16px;
    border-radius: 24px;
  }

  .booking-form fieldset {
    gap: 12px;
    padding: 18px 0 20px 16px;
    border-left-width: 2px;
  }

  .booking-form legend {
    gap: 10px;
    margin-bottom: 6px;
    font-size: clamp(1rem, 5.2vw, 1.22rem);
    line-height: 1.08;
  }

  .booking-form legend::before {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    font-size: 0.66rem;
  }

  .booking-form label {
    font-size: 0.74rem;
  }

  .booking-form input,
  .booking-form select,
  .booking-form textarea {
    min-height: 42px;
    padding: 10px 12px;
    border-radius: 13px;
    font-size: 0.84rem;
  }

  .booking-assurance {
    padding: 18px;
    border-radius: 22px;
  }

  .booking-assurance strong {
    font-size: 1.2rem;
  }

  .booking-assurance p {
    font-size: 0.82rem;
    line-height: 1.5;
  }
}

@media (max-width: 560px) {
  p,
  .home-hero-copy p,
  .booking-hero-copy p,
  .corporate-page-copy p,
  .contact-hero-copy p,
  .payment-hero-copy p,
  .state-hero p,
  .booking-form-copy p,
  .family-booking-section .booking-form-copy > p,
  .applicant-section .booking-form-copy > p,
  .payment-section .booking-form-copy > p {
    font-size: 0.84rem;
    line-height: 1.58;
  }

  .home-hero-copy p {
    max-width: 100%;
  }

  .home-hero {
    background: #fff;
  }

  .site-header {
    min-height: 86px;
    padding: 7px 16px;
  }

  .site-header .brand {
    width: 132px;
    min-width: 132px;
    height: 70px;
  }

  .site-header .brand-logo {
    width: 128px;
    height: 68px;
    max-width: 128px;
  }

  .nav-toggle {
    width: 48px;
    height: 48px;
  }

  .nav-toggle span {
    width: 22px;
  }

  .booking-section,
  .family-booking-section,
  .applicant-section,
  .payment-section {
    padding-left: 14px;
    padding-right: 14px;
  }

  .booking-form {
    padding: 16px 12px;
    border-radius: 22px;
  }

  .booking-form fieldset {
    padding-left: 12px;
  }

  .form-grid,
  .answer-grid,
  .upload-grid,
  .payment-fee-grid {
    gap: 12px;
  }

  .payment-summary-card {
    padding: 20px;
    border-radius: 22px;
  }

  .payment-summary-card strong {
    font-size: clamp(1.9rem, 12vw, 2.6rem);
  }
}

/* Shared hero paragraph polish */
.home-hero p,
.about-hero p,
.services-hero p,
.services-hero-copy p,
.booking-hero p,
.booking-hero-copy p,
.corporate-page-hero p,
.corporate-page-copy p,
.contact-hero p,
.contact-hero-copy p,
.payment-hero p,
.payment-hero-copy p,
.nanny-hero p,
.state-hero p,
.careers-hero p {
  color: #26254f;
  font-size: 0.95rem;
  font-weight: 600;
}

.mobile-sticky-actions {
  display: none;
}

@media (max-width: 760px) {
  body {
    padding-bottom: 86px;
  }

  .mobile-sticky-actions {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 1200;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 10px;
    border: 1px solid rgba(237, 0, 24, 0.14);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 45px rgba(38, 37, 79, 0.18);
    backdrop-filter: blur(16px);
  }

  .mobile-sticky-actions:has(.mobile-sticky-action:only-child) {
    grid-template-columns: 1fr;
  }

  .mobile-sticky-action {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid rgba(38, 37, 79, 0.11);
    border-radius: 18px;
    color: var(--ink);
    background: #fff;
    font-size: 0.78rem;
    font-weight: 950;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(38, 37, 79, 0.08);
  }

  .mobile-sticky-action.primary {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, var(--red), #b90017);
  }

  .mobile-sticky-action .submenu-icon {
    width: 26px;
    height: 26px;
    margin: 0;
    color: inherit;
    background: rgba(255, 255, 255, 0.16);
  }

  .mobile-sticky-action:not(.primary) .submenu-icon {
    color: #fff;
    background: linear-gradient(135deg, var(--red), #ff9e00);
  }
}

@media (max-width: 1180px) {
  .contact-cards {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .office-location-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .contact-hub {
    padding: 34px 16px 64px;
  }

  .contact-cards {
    grid-template-columns: 1fr;
  }

  .contact-cards article {
    min-height: 118px;
    padding: 20px 20px 20px 82px;
    border-radius: 24px;
  }

  .contact-page-form {
    border-radius: 28px;
  }

  .office-location-panel {
    width: calc(100% - 32px);
    margin-top: 34px;
    padding: 24px 18px;
    border-radius: 28px;
  }

  .office-location-grid {
    grid-template-columns: 1fr;
  }

  .office-location-card {
    min-height: 260px;
  }

  .office-location-heading h2 {
    font-size: 1.9rem;
  }
}

