:root {
  --red: #e10c0c;
  --navy: #2c3347;
  --white: #ffffff;
  --ink: #151827;
  --muted: #687184;
  --line: #e6e8ee;
  --soft: #f6f7fa;
  --soft-red: #fff1f1;
  --shadow: 0 24px 70px rgba(44, 51, 71, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
p { margin: 0; }
h1, h2, h3, p, a, summary { overflow-wrap: anywhere; }
h1, h2, h3 {
  margin: 0;
  color: var(--navy);
  line-height: 1.04;
  letter-spacing: 0;
}
h1 { max-width: 860px; font-size: clamp(2.45rem, 4.7vw, 5rem); }
h2 { font-size: clamp(2rem, 3.2vw, 3.8rem); }
h3 { font-size: clamp(1.28rem, 1.7vw, 1.9rem); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 12px clamp(18px, 4vw, 64px);
  border-bottom: 1px solid rgba(230, 232, 238, 0.84);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}
.brand {
  display: inline-flex;
  min-width: 190px;
  gap: 10px;
  align-items: center;
}
.brand > img { width: 46px; height: 46px; object-fit: contain; }
.brand-wordmark-wrap { display: block; width: 132px; line-height: 0; }
.brand-wordmark { width: 100%; height: auto; object-fit: contain; }
.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 1.5vw, 24px);
  color: var(--navy);
  font-size: 0.93rem;
  font-weight: 800;
}
.site-nav a { position: relative; padding: 9px 0; }
.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  content: "";
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}
.site-nav a:hover::after, .site-nav a.active::after { transform: scaleX(1); }
.header-cta, .button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-weight: 900;
  line-height: 1;
}
.header-cta {
  padding: 0 18px;
  color: var(--white);
  background: var(--red);
  box-shadow: 0 12px 30px rgba(225, 12, 12, 0.22);
}
.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}
.menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--navy);
}

section { padding: clamp(40px, 5vw, 66px) clamp(20px, 5vw, 80px); }
.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.section-heading { max-width: 980px; margin-bottom: 30px; }
.section-heading.narrow { max-width: 820px; margin-right: auto; margin-left: auto; text-align: center; }
.section-logo {
  width: 67px;
  height: 67px;
  margin: -12px 0 14px calc(50vw - clamp(20px, 5vw, 80px) - 33.5px);
  object-fit: contain;
}
.section-heading.narrow .section-logo {
  margin-right: auto;
  margin-left: auto;
}
.light-logo {
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.22));
}
.section-heading p:not(.eyebrow), .hero-lead, .pain-grid p, .service-feature p, .service-card p,
.structure-section p, .journey p, .faq-list p, .contact-section p, .site-footer p, .split-copy p,
.page-lead, .feature-list p, .detail-card p, .proof-strip p { color: var(--muted); }

.hero {
  display: grid;
  min-height: calc(100vh - 82px);
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.78fr);
  gap: clamp(32px, 5vw, 76px);
  align-items: center;
  padding-top: clamp(48px, 7vw, 104px);
  background:
    linear-gradient(120deg, rgba(44, 51, 71, 0.05), rgba(225, 12, 12, 0.04)),
    var(--white);
}
.hero-copy { max-width: 760px; }
.hero-lead { max-width: 700px; margin-top: 26px; font-size: clamp(1.06rem, 1.4vw, 1.25rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { padding: 0 22px; border: 1px solid transparent; }
.button.primary { color: var(--white); background: var(--red); box-shadow: 0 16px 38px rgba(225, 12, 12, 0.2); }
.button.secondary { color: var(--navy); border-color: var(--line); background: var(--white); }
.button.light { color: var(--white); border-color: rgba(255,255,255,0.36); }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.trust-row span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--navy);
  background: rgba(255,255,255,0.78);
  font-size: 0.9rem;
  font-weight: 850;
}
.hero-media {
  position: relative;
  width: 100%;
  max-width: 760px;
  justify-self: end;
}
.hero-media img, .section-photo, .service-feature img, .service-card img, .page-hero-media img, .split-media img {
  width: 100%;
  object-fit: cover;
  background: var(--soft);
}
.hero-media img {
  aspect-ratio: 4 / 3;
  max-height: 620px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.image-focus-hero { object-position: 42% 50%; }
.image-focus-center { object-position: center; }
.image-focus-top { object-position: center 22%; }
.floating-note {
  position: absolute;
  right: -18px;
  bottom: 28px;
  display: grid;
  max-width: 300px;
  gap: 5px;
  padding: 20px;
  border-left: 5px solid var(--red);
  border-radius: 8px;
  color: var(--white);
  background: var(--navy);
  box-shadow: var(--shadow);
}
.floating-note span { color: rgba(255,255,255,0.76); }

.pain-section, .journey-section, .page-soft { background: var(--soft); }
.pain-section { padding-bottom: clamp(34px, 4vw, 52px); }
.services-section { padding-top: clamp(38px, 5vw, 62px); }
.pain-grid, .service-cards, .journey, .faq-list, .feature-list, .detail-grid { display: grid; gap: 18px; }
.pain-grid, .service-cards, .journey { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pain-grid article, .service-card, .journey div, .faq-list details, .feature-list article, .detail-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}
.pain-grid article, .journey div, .feature-list article, .detail-card { padding: 28px; }

.services-section { background: var(--white); }
.service-feature {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  max-width: 1120px;
  margin: 0 auto 22px;
  padding: clamp(22px, 3vw, 34px);
  border-radius: 8px;
  color: var(--white);
  background: var(--navy);
  box-shadow: var(--shadow);
}
.service-feature img { aspect-ratio: 5 / 4; border-radius: 6px; }
.service-feature h3, .service-feature p { color: var(--white); }
.service-feature ul { display: grid; gap: 8px; margin: 22px 0; padding: 0; list-style: none; }
.service-feature li { position: relative; padding-left: 22px; color: rgba(255,255,255,0.82); }
.service-feature li::before {
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  content: "";
  background: var(--red);
}
.text-link {
  color: var(--white);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-decoration-thickness: 3px;
  text-underline-offset: 7px;
}
.service-cards { max-width: 1120px; margin: 0 auto; }
.service-card { display: grid; gap: 16px; padding: 16px 16px 26px; transition: transform 180ms ease, box-shadow 180ms ease; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 18px 50px rgba(44,51,71,0.12); }
.service-card img { aspect-ratio: 4 / 3; border-radius: 6px; }
.service-card h3, .service-card p { padding: 0 8px; }
.service-tag { padding: 0 8px; color: var(--red); font-size: 0.9rem; font-weight: 950; }

.structure-section { color: var(--white); background: var(--navy); }
.structure-section h2, .structure-section .eyebrow { color: var(--white); }
.structure-section .section-heading p:not(.eyebrow) { margin: 22px 0 30px; color: rgba(255,255,255,0.75); font-size: 1.08rem; }
.structure-layout { display: grid; grid-template-columns: 0.95fr 1fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.section-photo { aspect-ratio: 5 / 4; border-radius: 8px; box-shadow: var(--shadow); }

.journey span {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--red);
  font-weight: 900;
}
.faq-list { max-width: 920px; }
.faq-list details { padding: 0 24px; }
.faq-list summary { cursor: pointer; padding: 22px 0; color: var(--navy); font-size: 1.06rem; font-weight: 900; }
.faq-list p { padding-bottom: 20px; }

.contact-section {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--red), #a50707);
}
.contact-section h2, .contact-section .eyebrow, .contact-section p { color: var(--white); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.contact-section .button.primary { color: var(--red); background: var(--white); box-shadow: none; }
.site-footer {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  padding: 28px clamp(20px, 5vw, 80px);
  border-top: 1px solid var(--line);
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.8fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: 500px;
  background: linear-gradient(120deg, rgba(44,51,71,0.05), rgba(225,12,12,0.04)), var(--white);
}
.page-hero h1 { font-size: clamp(2.25rem, 4vw, 4.45rem); }
.page-lead { max-width: 710px; margin-top: 24px; font-size: clamp(1.06rem, 1.4vw, 1.24rem); }
.page-hero-media img { aspect-ratio: 5 / 4; border-radius: 8px; box-shadow: var(--shadow); }
.split-section { display: grid; grid-template-columns: 0.85fr 1fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.split-copy { display: grid; gap: 18px; }
.split-media img { aspect-ratio: 4 / 3; border-radius: 8px; box-shadow: var(--shadow); }
.cutout-panel {
  display: grid;
  min-height: 430px;
  place-items: end center;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(225, 12, 12, 0.08), rgba(44, 51, 71, 0.08)),
    var(--white);
  box-shadow: var(--shadow);
}
.cutout-panel img {
  width: min(74%, 420px);
  max-height: 520px;
  aspect-ratio: auto;
  object-fit: contain;
}
.feature-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: clamp(42px, 6vw, 70px) clamp(20px, 5vw, 80px);
  background: var(--navy);
}
.proof-strip article { padding: 22px; border-left: 4px solid var(--red); background: rgba(255,255,255,0.07); border-radius: 8px; }
.proof-strip h3, .proof-strip p { color: var(--white); }
.proof-strip p { opacity: 0.72; }
.proof-brand .section-logo {
  width: 61px;
  height: 61px;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 14px;
}

@media (max-width: 1040px) {
  .site-header { grid-template-columns: auto auto; justify-content: space-between; }
  .menu-button { display: block; }
  .site-nav, .header-cta { display: none; }
  .site-nav.is-open {
    position: absolute;
    top: 100%;
    right: 16px;
    left: 16px;
    display: grid;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }
  .site-nav.is-open a { padding: 14px; }
  .hero, .page-hero, .structure-layout, .split-section, .contact-section { grid-template-columns: 1fr; }
  .pain-grid, .service-cards, .journey, .feature-list, .detail-grid, .proof-strip { grid-template-columns: 1fr; }
  .contact-actions { justify-content: flex-start; }
  .hero-media { justify-self: stretch; max-width: none; }
  .floating-note { right: 18px; }
}

@media (max-width: 640px) {
  .site-header { padding: 10px 16px; }
  .brand { min-width: auto; }
  .brand > img { width: 42px; height: 42px; }
  .brand-wordmark-wrap { width: 122px; }
  section { padding: 36px 18px; }
  .hero, .page-hero { min-height: auto; padding-top: 40px; }
  h1 { font-size: clamp(2.3rem, 12vw, 3.6rem); }
  h2 { font-size: clamp(1.85rem, 9vw, 2.75rem); }
  .hero-actions, .contact-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; min-height: 48px; }
  .hero-media img, .page-hero-media img { aspect-ratio: 4 / 3; max-height: none; }
  .floating-note { position: static; max-width: none; margin-top: 12px; }
  .service-feature { grid-template-columns: 1fr; }
  .service-feature, .pain-grid article, .journey div, .feature-list article, .detail-card { padding: 22px; }
  .cutout-panel { min-height: 360px; }
  .cutout-panel img { width: min(84%, 360px); }
  .site-footer { display: grid; }
}
