:root {
  --ink: #07182f;
  --ink-soft: #24324a;
  --muted: #697589;
  --line: #eef1f4;
  --page: #ffffff;
  --surface: #f8f9fb;
  --white: #ffffff;
  --navy: #062554;
  --blue: #062554;
  --blue-soft: #eef4ff;
  --warm: #f7f7f5;
  --shadow: 0 18px 48px rgba(7, 24, 47, 0.055);
  --radius: 8px;
  --container: 1180px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
}

body.modal-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px solid rgba(36, 104, 242, 0.38);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 200;
  padding: 10px 14px;
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
  transform: translateY(-160%);
  transition: transform 220ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: min(calc(100% - 44px), 1220px);
  min-height: 64px;
  margin: 0 auto;
  padding: 6px 0;
  background: rgba(255, 255, 255, 0.96);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  width: auto;
  min-height: 42px;
}

.brand img {
  width: 48px;
  height: auto;
}

.brand > span {
  color: var(--navy);
  font-size: 22px;
  font-weight: 820;
  line-height: 1;
}

.brand > span span {
  color: #d8dde5;
}

.header-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  color: var(--white);
  background: var(--navy);
  font-size: 13px;
  font-weight: 820;
  box-shadow: none;
  transition: transform 180ms ease, background 180ms ease;
}

.header-call svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
  flex: 0 0 auto;
}

.call-short {
  display: none;
}

.header-call:hover {
  transform: translateY(-1px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(460px, 1.18fr);
  gap: 0;
  align-items: stretch;
  width: min(calc(100% - 44px), 1220px);
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: var(--surface);
  box-shadow: none;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 520px;
  padding: 56px 54px 52px;
  border-radius: 0;
  background: var(--surface);
}

.hero-media {
  min-height: 520px;
  overflow: hidden;
  border-radius: 0;
  background: #eef1f4;
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  font-family: var(--font);
  letter-spacing: 0;
}

h1 {
  max-width: 560px;
  margin-bottom: 18px;
  font-size: 48px;
  font-weight: 780;
  line-height: 1.02;
}

h2 {
  margin-bottom: 0;
  font-size: 32px;
  font-weight: 720;
  line-height: 1.12;
}

h3 {
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 720;
  line-height: 1.25;
}

.hero-copy {
  max-width: 500px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 820;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: var(--white);
  background: var(--navy);
  box-shadow: none;
}

.button-secondary {
  color: var(--ink);
  border-color: transparent;
  background: #e7e9ed;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  width: min(calc(100% - 44px), 1220px);
  margin: 18px auto 0;
  padding: 12px;
  border: 1px solid rgba(7, 24, 47, 0.07);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(247, 249, 252, 0.94)),
    var(--white);
  box-shadow: 0 18px 50px rgba(7, 24, 47, 0.08);
}

.proof-item {
  min-height: 132px;
  padding: 22px;
  border: 1px solid rgba(7, 24, 47, 0.06);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.proof-item:first-child {
  color: var(--white);
  border-color: transparent;
  background:
    radial-gradient(circle at 88% 18%, rgba(255, 255, 255, 0.18), transparent 32%),
    linear-gradient(135deg, #062554, #07182f);
}

.proof-item strong {
  display: block;
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 28px;
  font-weight: 820;
  line-height: 1;
  letter-spacing: -0.03em;
}

.proof-item:first-child strong {
  color: var(--white);
}

.proof-item span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 720;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.proof-item:first-child span {
  color: rgba(255, 255, 255, 0.74);
}

.section {
  width: min(calc(100% - 44px), 1220px);
  margin: 0 auto;
  padding: 88px 0 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(280px, 510px) minmax(220px, 1fr);
  gap: 64px;
  align-items: start;
  margin-bottom: 28px;
}

.section-heading h2 {
  max-width: 560px;
}

.intro {
  display: grid;
  grid-template-columns: minmax(280px, 520px) minmax(260px, 1fr);
  gap: 44px;
  align-items: center;
  padding-top: 76px;
}

.intro .section-heading {
  display: block;
  margin-bottom: 0;
}

.intro-copy {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.58;
}

.intro-copy p {
  margin-bottom: 14px;
}

.intro-copy p:last-child {
  margin-bottom: 0;
}

.areas-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(260px, 0.74fr) minmax(320px, 1.26fr);
  gap: 38px;
  align-items: start;
  width: min(calc(100% - 44px), 1220px);
  margin: 46px auto 0;
  padding: 34px;
  border: 1px solid rgba(7, 24, 47, 0.07);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(248, 250, 252, 0.92), rgba(255, 255, 255, 0.96)),
    var(--white);
  box-shadow: 0 18px 48px rgba(7, 24, 47, 0.06);
}

.areas-panel::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -40%;
  width: 38%;
  background: linear-gradient(90deg, transparent, rgba(6, 37, 84, 0.07), transparent);
  transform: skewX(-16deg);
  animation: report-scan 6.5s ease-in-out infinite;
}

.areas-panel > * {
  position: relative;
  z-index: 1;
}

.areas-heading h2 {
  max-width: 420px;
  margin-bottom: 14px;
  font-size: 28px;
}

.areas-heading p:last-child {
  max-width: 410px;
  margin-bottom: 0;
  color: var(--muted);
}

.areas-groups {
  display: grid;
  gap: 18px;
}

.areas-group {
  display: grid;
  gap: 12px;
}

.areas-group > span {
  color: var(--navy);
  font-size: 12px;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.area-tags a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid rgba(6, 37, 84, 0.08);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 740;
  transition: transform 180ms ease, border-color 180ms ease, color 180ms ease;
}

.area-tags a:hover {
  transform: translateY(-1px);
  border-color: rgba(6, 37, 84, 0.2);
  color: var(--navy);
}

.intro-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.intro-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--navy);
  font-size: 12px;
  font-weight: 780;
}

@keyframes report-scan {
  0%,
  46% {
    transform: translateX(0) skewX(-16deg);
  }

  72%,
  100% {
    transform: translateX(360%) skewX(-16deg);
  }
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.case-card,
.step,
.faq-item {
  border: 0;
  border-radius: var(--radius);
  background: var(--surface);
}

.case-card {
  min-height: 214px;
  padding: 22px 20px;
}

.case-card span,
.step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-bottom: 30px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 13px;
  font-weight: 780;
}

.case-card p,
.step p,
.included-list,
.statement p,
.final-copy p,
.site-footer p {
  color: var(--muted);
}

.included {
  width: 100%;
  max-width: none;
  padding-top: 88px;
}

.included-panel {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(300px, 1.1fr);
  gap: 58px;
  align-items: center;
  width: min(calc(100% - 44px), 1220px);
  margin: 0 auto;
  padding: 52px;
  border: 0;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: none;
}

.report-visual {
  display: flex;
  justify-content: center;
}

.report-page {
  width: min(100%, 410px);
  min-height: 570px;
  padding: 24px;
  border: 0;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 45px rgba(7, 24, 47, 0.08);
}

.report-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.report-header img {
  width: 82px;
  height: auto;
}

.report-header span,
.report-meta,
.report-details dt,
.report-summary p,
.report-footer span,
.report-evidence figcaption {
  color: var(--muted);
  font-size: 10px;
  font-weight: 760;
  text-transform: uppercase;
}

.report-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 18px 0 12px;
  color: var(--navy);
}

.report-page h3 {
  max-width: 270px;
  margin-bottom: 18px;
  color: var(--ink);
  font-size: 24px;
  font-weight: 760;
  line-height: 1.05;
}

.report-details {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
}

.report-details div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 14px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
}

.report-details dd {
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.35;
}

.report-summary {
  margin: 0 0 18px;
  padding: 14px;
  border-radius: var(--radius);
  background: #f7f9fb;
}

.report-summary p {
  margin-bottom: 10px;
  color: var(--navy);
}

.report-summary ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 17px;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.35;
}

.report-evidence {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.report-evidence figure {
  margin: 0;
}

.evidence-image {
  display: block;
  height: 78px;
  margin-bottom: 7px;
  border-radius: 6px;
  background-image: url("../images/roof-inspection-hero.png");
  background-size: 360px auto;
}

.evidence-image-one {
  background-position: 12% 30%;
}

.evidence-image-two {
  background-position: 32% 18%;
}

.evidence-image-three {
  background-position: 19% 72%;
}

.report-evidence figcaption {
  color: var(--ink-soft);
  font-size: 9px;
}

.report-footer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.report-footer span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--navy);
  font-size: 9px;
  text-align: center;
}

.included-copy h2 {
  max-width: 600px;
  margin-bottom: 24px;
}

.included-list {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.included-list li {
  position: relative;
  padding-left: 26px;
}

.included-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--blue);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.step {
  padding: 22px 20px;
}

.statement {
  width: min(calc(100% - 44px), 1220px);
  margin: 88px auto 0;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
}

.statement-inner {
  width: min(calc(100% - 32px), 900px);
  margin: 0 auto;
  padding: 70px 0;
  text-align: center;
}

.statement h2 {
  margin: 0 auto 18px;
  max-width: 760px;
  color: var(--white);
}

.statement p:last-child {
  max-width: 680px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
}

.faq {
  display: grid;
  grid-template-columns: minmax(280px, 430px) minmax(300px, 1fr);
  gap: 70px;
}

.faq .section-heading {
  display: block;
  margin-bottom: 0;
}

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

.faq-item {
  overflow: hidden;
}

.faq-item button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  min-height: 64px;
  padding: 17px 20px;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-weight: 720;
  text-align: left;
}

.faq-icon {
  position: relative;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 2px;
  width: 14px;
  height: 2px;
  background: var(--blue);
  transition: transform 240ms ease;
}

.faq-icon::after {
  transform: rotate(90deg);
}

.faq-item button[aria-expanded="true"] .faq-icon::after {
  transform: rotate(0deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 320ms ease;
}

.faq-answer p {
  overflow: hidden;
  margin: 0;
  padding: 0 20px;
  color: var(--muted);
}

.faq-item button[aria-expanded="true"] + .faq-answer {
  grid-template-rows: 1fr;
}

.faq-item button[aria-expanded="true"] + .faq-answer p {
  padding-bottom: 20px;
}

.final-cta {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(360px, 0.78fr);
  align-items: center;
  gap: 42px;
  width: min(calc(100% - 44px), 1220px);
  margin: 88px auto 0;
  padding: 36px;
  border: 1px solid rgba(7, 24, 47, 0.07);
  border-radius: 26px;
  background:
    radial-gradient(circle at 10% 12%, rgba(6, 37, 84, 0.06), transparent 34%),
    linear-gradient(135deg, #ffffff, #f8fafc);
  box-shadow: 0 22px 58px rgba(7, 24, 47, 0.07);
}

.final-cta .button {
  min-height: 54px;
  border-radius: 999px;
}

.final-copy h2 {
  max-width: 620px;
  margin-bottom: 14px;
}

.final-copy p:last-child {
  max-width: 640px;
  margin-bottom: 0;
}

.final-form {
  padding: 22px;
  border: 1px solid rgba(7, 24, 47, 0.07);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 44px rgba(7, 24, 47, 0.08);
}

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

.site-footer {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto auto;
  align-items: center;
  gap: 24px;
  width: min(calc(100% - 44px), 1220px);
  margin: 48px auto 0;
  padding: 26px 0 34px;
  border-top: 1px solid rgba(7, 24, 47, 0.1);
}

.site-footer img {
  width: 105px;
  margin-bottom: 8px;
}

.site-footer p {
  max-width: 430px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.footer-meta span,
.footer-call {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 780;
}

.footer-meta span {
  padding: 0 11px;
  background: var(--surface);
  color: var(--ink-soft);
}

.footer-call {
  justify-content: center;
  padding: 0 14px;
  border: 1px solid rgba(6, 37, 84, 0.12);
  color: var(--navy);
  background: var(--white);
}

.mobile-cta {
  display: none;
}

.reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

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

@media (max-width: 1060px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .hero-content,
  .hero-media {
    min-height: 430px;
  }

  .hero-content {
    padding-left: 0;
  }

  h1 {
    max-width: 640px;
    font-size: 48px;
  }

  h2 {
    font-size: 31px;
  }

  .case-grid,
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .included-panel,
  .intro,
  .faq {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 820px) {
  body {
    padding-bottom: 72px;
  }

  .site-header {
    top: 0;
    z-index: 160;
    width: 100%;
    min-height: 62px;
    margin-top: 0;
    padding: 8px 22px;
    border-bottom: 1px solid var(--line);
  }

  .brand {
    gap: 9px;
    min-height: 40px;
  }

  .brand img {
    width: 38px;
  }

  .brand > span {
    font-size: 21px;
  }

  .header-call {
    min-height: 42px;
    padding: 0 14px;
    font-size: 12px;
  }

  .call-full {
    display: none;
  }

  .call-short {
    display: inline;
  }

  .hero {
    width: 100%;
    gap: 0;
    margin-top: 0;
    padding: 0;
    background: var(--surface);
  }

  .hero-content {
    min-height: auto;
    padding: 34px 24px 32px;
  }

  .hero-media {
    min-height: 270px;
    order: 0;
  }

  .hero-media img {
    object-position: 55% center;
  }

  h1 {
    max-width: none;
    margin-bottom: 14px;
    font-size: 36px;
    line-height: 1.04;
  }

  h2 {
    font-size: 27px;
  }

  .hero-copy {
    max-width: none;
    margin-bottom: 22px;
    font-size: 16px;
    line-height: 1.55;
  }

  .intro-copy,
  .statement p:last-child {
    font-size: 16px;
  }

  .hero-actions,
  .final-cta {
    align-items: stretch;
    gap: 14px;
  }

  .hero-actions .button {
    flex: 1;
    min-height: 50px;
    padding: 0 16px;
    font-size: 13px;
  }

  .proof-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    width: calc(100% - 24px);
    padding: 8px;
    border-radius: 20px;
  }

  .proof-item {
    min-height: 98px;
    padding: 14px 12px;
    border-radius: 15px;
  }

  .proof-item strong {
    margin-bottom: 9px;
    font-size: 20px;
    line-height: 1.02;
  }

  .proof-item span {
    font-size: 10px;
    line-height: 1.28;
  }

  .section {
    width: calc(100% - 32px);
    padding-top: 64px;
  }

  .intro {
    gap: 28px;
    padding-top: 54px;
  }

  .intro-tags {
    margin-top: 18px;
  }

  .areas-panel {
    grid-template-columns: 1fr;
    gap: 24px;
    width: calc(100% - 24px);
    margin-top: 44px;
    padding: 24px 20px;
    border-radius: 22px;
  }

  .areas-heading h2 {
    font-size: 25px;
  }

  .area-tags a {
    min-height: 34px;
    padding: 0 11px;
    font-size: 12px;
  }

  .case-grid,
  .process-steps {
    grid-template-columns: 1fr;
  }

  .case-card {
    min-height: auto;
  }

  .case-card span,
  .step span {
    margin-bottom: 22px;
  }

  .included {
    padding-top: 72px;
  }

  .included-panel {
    width: calc(100% - 24px);
    padding: 28px 18px;
  }

  .statement {
    width: calc(100% - 24px);
    margin-top: 72px;
  }

  .statement-inner {
    padding: 54px 0;
  }

  .final-cta {
    grid-template-columns: 1fr;
    width: calc(100% - 24px);
    margin-top: 72px;
    padding: 24px;
    border-radius: 24px;
  }

  .final-cta .button {
    width: 100%;
    min-width: 0;
  }

  .final-form {
    padding: 18px;
    border-radius: 20px;
  }

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

  .site-footer {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 18px;
    width: calc(100% - 32px);
    margin-top: 44px;
    padding-bottom: 30px;
  }

  .footer-meta {
    justify-content: flex-start;
  }

  .footer-call {
    width: auto;
  }

  .mobile-cta {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 100;
    display: block;
    opacity: 0;
    pointer-events: none;
    transform: translateY(14px);
    transition: opacity 220ms ease, transform 220ms ease;
  }

  .mobile-cta.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .mobile-cta a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    border-radius: 999px;
    background: var(--blue);
    color: var(--white);
    font-weight: 780;
    box-shadow: 0 18px 40px rgba(6, 37, 84, 0.26);
  }
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 22px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 24, 47, 0.42);
  backdrop-filter: blur(18px);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  padding: 34px;
  border-radius: 28px;
  background: var(--white);
  box-shadow: 0 30px 90px rgba(7, 24, 47, 0.22);
  transform: translateY(18px) scale(0.98);
  transition: transform 240ms ease;
}

.modal.is-open .modal-panel {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: #f4f6f8;
  cursor: pointer;
}

.modal-close::before,
.modal-close::after {
  content: "";
  position: absolute;
  top: 21px;
  left: 13px;
  width: 18px;
  height: 2px;
  background: var(--ink);
}

.modal-close::before {
  transform: rotate(45deg);
}

.modal-close::after {
  transform: rotate(-45deg);
}

.modal-panel h2 {
  max-width: 360px;
  margin-bottom: 12px;
  font-size: 34px;
}

.modal-copy {
  max-width: 420px;
  margin-bottom: 24px;
  color: var(--muted);
}

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

.enquiry-form label {
  display: grid;
  gap: 7px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 760;
}

.enquiry-form input,
.enquiry-form textarea {
  width: 100%;
  border: 1px solid #e5e9ee;
  border-radius: 16px;
  background: #f8fafc;
  color: var(--ink);
  font-size: 16px;
}

.enquiry-form input {
  min-height: 50px;
  padding: 0 16px;
}

.enquiry-form textarea {
  padding: 14px 16px;
  resize: vertical;
}

.enquiry-form .button {
  width: 100%;
  margin-top: 4px;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

@media (max-width: 560px) {
  .modal {
    align-items: end;
    padding: 10px;
  }

  .modal-panel {
    width: 100%;
    max-height: calc(100dvh - 20px);
    overflow: auto;
    padding: 28px 20px 22px;
    border-radius: 26px;
  }

  .modal-close {
    top: 14px;
    right: 14px;
  }

  .modal-panel h2 {
    max-width: 270px;
    font-size: 28px;
  }
}

@media (max-width: 440px) {
  h1 {
    font-size: 33px;
  }

  h2 {
    font-size: 25px;
  }

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

  .button {
    width: 100%;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
