:root {
  --bg: #edf5fb;
  --bg-soft: #ffffff;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: #ffffff;
  --ink: #14212b;
  --muted: #51687a;
  --line: rgba(20, 33, 43, 0.1);
  --primary: #1d78a8;
  --primary-deep: #146089;
  --primary-soft: #d8edf8;
  --accent: #ff1a28;
  --accent-soft: #fff1f2;
  --shadow: 0 24px 60px rgba(17, 42, 67, 0.12);
  --radius-xl: 34px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  overflow-x: hidden;
  background:
    radial-gradient(circle at top left, rgba(29, 120, 168, 0.16), transparent 24%),
    radial-gradient(circle at top right, rgba(255, 26, 40, 0.14), transparent 20%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 40%, #f7fbfe 100%);
}

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

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

.site-shell {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
  padding-bottom: 2rem;
}

.hero > *,
.split-section > *,
.contact-layout > *,
.cards > *,
.testimonial-grid > *,
.insurance-grid > * {
  min-width: 0;
}

.topbar {
  position: sticky;
  top: 1rem;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  padding: 0.9rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.brand-logo {
  width: 86px;
  height: 86px;
  padding: 0.25rem;
  border-radius: 22px;
  background: white;
  object-fit: contain;
  flex-shrink: 0;
  box-shadow: 0 12px 28px rgba(20, 33, 43, 0.08);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.brand-copy strong {
  font-size: 1rem;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.92rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.3rem;
  font-weight: 700;
}

.nav a {
  color: var(--muted);
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--primary-deep);
}

.nav-cta {
  padding: 0.85rem 1.15rem;
  border-radius: 999px;
  color: white;
  background: linear-gradient(135deg, var(--accent), #d90f1b);
}

.menu-toggle {
  display: none;
  border: 0;
  border-radius: 999px;
  padding: 0.8rem 1rem;
  font: inherit;
  font-weight: 700;
  color: white;
  background: var(--accent);
}

.hero {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 2rem;
  align-items: center;
  min-height: calc(100vh - 7rem);
  padding: 4rem 0 2rem;
}

.hero-copy h1,
.section-heading h2,
.split-copy h2,
.contact-copy h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.2rem, 4.2vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.section-heading h2,
.split-copy h2,
.contact-copy h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
}

.hero-text,
.section-heading p,
.split-copy > p,
.contact-copy p,
.service-card p,
.testimonial p,
.steps p,
.split-panel li {
  color: var(--muted);
  line-height: 1.75;
}

.hero-text {
  max-width: 58ch;
  margin: 1.4rem 0 0;
  font-size: 1.06rem;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-notices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1rem;
}

.notice-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-deep);
  font-weight: 800;
  box-shadow: 0 10px 26px rgba(17, 42, 67, 0.08);
}

.notice-pill-accent {
  background: var(--accent-soft);
  color: var(--accent);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 1.35rem;
  border-radius: 999px;
  font-weight: 800;
  text-align: center;
}

.button-primary {
  color: white;
  background: linear-gradient(135deg, var(--accent), #d90f1b);
}

.button-secondary {
  border: 1px solid rgba(29, 120, 168, 0.16);
  color: var(--primary-deep);
  background: rgba(255, 255, 255, 0.9);
}

.button-light {
  color: var(--primary-deep);
  background: white;
}

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

.hero-stats li,
.service-card,
.testimonial,
.split-panel,
.contact-panel,
.photo-card,
.floating-note {
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero-stats li {
  padding: 1.15rem;
  border-radius: var(--radius-md);
}

.hero-stats strong {
  display: block;
  margin-bottom: 0.25rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.25rem;
}

.hero-stats span {
  color: var(--muted);
}

.hero-visual {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.5fr;
  gap: 1rem;
  align-items: end;
  min-height: 620px;
}

.photo-card {
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.photo-card img,
.service-image img,
.panel-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main-photo {
  height: 620px;
}

.accent-photo {
  height: 250px;
  align-self: end;
}

.floating-note {
  position: absolute;
  left: 1.2rem;
  bottom: 1.2rem;
  max-width: 250px;
  padding: 1rem 1.1rem;
  border-radius: 24px;
}

.floating-note span {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--accent);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
}

.floating-note strong {
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.3;
}

.trust-bar {
  padding-top: 1rem;
}

.trust-bar div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.trust-bar span {
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-deep);
  font-weight: 700;
}

.section {
  padding-top: 6rem;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.cards,
.testimonial-grid {
  display: grid;
  gap: 1.25rem;
}

.cards {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.service-card,
.testimonial {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.service-card {
  padding: 0 0 1.4rem;
}

.service-image {
  height: 220px;
  margin-bottom: 1.25rem;
}

.service-card .card-index,
.service-card h3,
.service-card p {
  padding-left: 1.35rem;
  padding-right: 1.35rem;
}

.card-index {
  display: inline-block;
  margin-bottom: 0.8rem;
  color: var(--accent);
  font-weight: 800;
}

.service-card h3,
.split-panel h3 {
  margin: 0 0 0.5rem;
  font-family: "Space Grotesk", sans-serif;
}

.split-section {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 1.5rem;
  align-items: start;
}

.steps {
  display: grid;
  gap: 1.2rem;
  margin-top: 2rem;
}

.steps strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1.08rem;
}

.split-panel {
  padding: 1.25rem;
  border-radius: var(--radius-xl);
}

.panel-photo {
  overflow: hidden;
  height: 280px;
  border-radius: 24px;
  margin-bottom: 1.2rem;
}

.split-panel ul {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
}

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

.insurance-grid span {
  display: grid;
  place-items: center;
  min-height: 90px;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface-strong);
  box-shadow: 0 14px 34px rgba(17, 42, 67, 0.08);
  color: var(--primary-deep);
  font-weight: 800;
  text-align: center;
}

.testimonial {
  padding: 1.6rem;
}

.testimonial footer {
  margin-top: 1rem;
  color: var(--accent);
  font-weight: 800;
}

.contact-section {
  margin-top: 6rem;
  padding: 2rem;
  border-radius: 36px;
  background:
    linear-gradient(135deg, rgba(20, 96, 137, 0.98), rgba(29, 120, 168, 0.94)),
    linear-gradient(135deg, rgba(255, 26, 40, 0.2), transparent);
  color: white;
  box-shadow: var(--shadow);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.5rem;
  align-items: start;
}

.contact-section .eyebrow,
.contact-panel span {
  color: rgba(255, 255, 255, 0.74);
}

.contact-copy p,
.contact-panel p {
  color: rgba(255, 255, 255, 0.88);
}

.contact-panel {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.1);
}

.contact-panel div {
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.contact-panel div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.contact-panel span {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.contact-panel a {
  font-size: 1.1rem;
  font-weight: 800;
}

.message-form {
  display: grid;
  gap: 0.95rem;
  padding: 1.5rem;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
}

.message-form h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.45rem;
}

.form-intro {
  margin: 0 0 0.25rem;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.6;
}

.message-form label {
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

.message-form input,
.message-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  padding: 0.95rem 1rem;
  font: inherit;
  color: white;
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.message-form input::placeholder,
.message-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.message-form input:focus,
.message-form textarea:focus {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.12);
}

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

.message-form .button {
  justify-self: start;
}

.footer {
  padding: 2rem 0 1rem;
  color: var(--muted);
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

@media (max-width: 1280px) {
  .site-shell {
    width: min(calc(100% - 1.5rem), var(--max-width));
  }

  .topbar {
    gap: 0.8rem;
    padding: 0.85rem 1rem;
  }

  .nav {
    gap: 1rem;
    font-size: 0.95rem;
  }

  .hero {
    gap: 1.5rem;
  }
}

@media (max-width: 1100px) {
  .brand-logo {
    width: 78px;
    height: 78px;
  }

  .brand-copy strong {
    font-size: 0.95rem;
  }

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

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

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 2.5rem;
  }

  .hero-visual {
    grid-template-columns: minmax(0, 1fr) 280px;
    min-height: auto;
  }

  .main-photo {
    height: 560px;
  }

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

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

  .hero-visual {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 0.55fr);
    gap: 0.85rem;
  }

  .main-photo {
    height: 520px;
  }

  .accent-photo {
    height: 220px;
  }

  .topbar {
    border-radius: 30px;
  }

  .nav {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
  }

  .nav a {
    text-align: center;
  }

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

  .menu-toggle {
    display: inline-flex;
  }
}

@media (max-width: 720px) {
  .site-shell {
    width: min(calc(100% - 1rem), var(--max-width));
  }

  .topbar {
    top: 0.5rem;
    padding: 0.9rem 1rem;
    border-radius: 24px;
  }

  .brand-logo {
    width: 70px;
    height: 70px;
  }

  .brand-copy span {
    display: none;
  }

  .hero-stats,
  .cards,
  .insurance-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    grid-template-columns: 1fr;
  }

  .main-photo,
  .accent-photo {
    height: 360px;
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
  }

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

  .floating-note {
    position: static;
    max-width: none;
    margin-top: 1rem;
  }

  .section {
    padding-top: 4.25rem;
  }

  .contact-section {
    padding: 1.5rem;
    margin-top: 4.5rem;
  }

  .service-image {
    height: 200px;
  }

  .panel-photo {
    height: 240px;
  }
}

@media (max-width: 560px) {
  .site-shell {
    width: min(calc(100% - 0.75rem), var(--max-width));
  }

  .topbar {
    padding: 0.8rem 0.85rem;
  }

  .brand {
    gap: 0.65rem;
  }

  .brand-logo {
    width: 60px;
    height: 60px;
    border-radius: 18px;
  }

  .brand-copy strong {
    font-size: 0.9rem;
  }

  .hero-copy h1,
  .section-heading h2,
  .split-copy h2,
  .contact-copy h2 {
    font-size: clamp(1.75rem, 9vw, 2.2rem);
    line-height: 1.08;
  }

  .hero-text {
    font-size: 0.98rem;
  }

  .hero-stats {
    gap: 0.8rem;
  }

  .hero-stats li,
  .testimonial,
  .contact-panel,
  .message-form {
    padding: 1.15rem;
  }

  .contact-section {
    padding: 1.2rem;
    border-radius: 28px;
  }

  .service-card .card-index,
  .service-card h3,
  .service-card p {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .button {
    min-height: 50px;
    padding: 0.85rem 1rem;
  }
}
