:root {
  --ink: #0d224f;
  --muted: #4d6188;
  --line: #d4def4;
  --paper: #f4f8ff;
  --white: #ffffff;
  --green: #1b4dbd;
  --green-dark: #0d2d7a;
  --mint: #e4ecff;
  --sky: #e8f0ff;
  --sun: #f5b61f;
  --navy: #0b245d;
  --shadow: 0 24px 60px rgba(13, 34, 79, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(25, 71, 179, 0.16), transparent 34%),
    radial-gradient(circle at top right, rgba(12, 41, 108, 0.08), transparent 30%),
    linear-gradient(180deg, #fbfdff 0%, #edf4ff 100%);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
}

body.modal-open {
  overflow: hidden;
}

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

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

button {
  cursor: pointer;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(248, 251, 255, 0.94);
  border-bottom: 1px solid rgba(212, 222, 244, 0.88);
  backdrop-filter: blur(18px);
}

.brand,
.header-cta,
.primary-btn,
.secondary-btn,
.hero-points span,
.contact-strip a,
.calculator-link {
  display: inline-flex;
  align-items: center;
}

.brand {
  flex: 0 0 auto;
}

.brand-logo {
  display: block;
  width: clamp(170px, 24vw, 300px);
  height: auto;
}

.icon-chip {
  display: inline-grid;
  place-items: center;
  color: var(--green-dark);
  background: var(--mint);
}

.nav-links {
  display: flex;
  gap: clamp(16px, 3vw, 34px);
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.nav-links a:hover {
  color: var(--green-dark);
}

.header-cta {
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  color: var(--white);
  background: var(--green-dark);
  border-radius: 999px;
  font-weight: 800;
}

.hero {
  min-height: calc(100vh - 75px);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.98fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(36px, 6vw, 74px) clamp(18px, 5vw, 72px) 42px;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 7vw, 6.9rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4.3rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
}

.hero-text,
.section-head p,
.process-copy > p:not(.eyebrow),
.warranty p,
.consult-copy p,
.modal-text,
.calc-note {
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.72;
}

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

.primary-btn,
.secondary-btn,
.lead-form button,
.calculator-link,
.modal-close {
  border: 0;
}

.primary-btn,
.secondary-btn,
.lead-form button,
.calculator-link {
  min-height: 52px;
  border-radius: 999px;
  font-weight: 900;
}

.primary-btn {
  gap: 10px;
  padding: 0 22px;
  color: var(--white);
  background: linear-gradient(135deg, #1447b8, #0b2d7d);
  box-shadow: 0 12px 30px rgba(21, 66, 177, 0.28);
}

.secondary-btn {
  padding: 0 22px;
  color: var(--green-dark);
  background: var(--white);
  border: 1px solid var(--line);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-points span {
  gap: 8px;
  min-height: 38px;
  padding: 0 12px;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 800;
}

.hero-points svg {
  color: var(--green);
}

.hero-visual {
  position: relative;
  min-height: 610px;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--sky);
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 36, 93, 0.08) 20%, rgba(8, 29, 78, 0.82) 100%);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 610px;
  object-fit: cover;
}

.hero-card {
  position: absolute;
  right: 22px;
  bottom: 22px;
  left: 22px;
  z-index: 2;
  padding: 22px;
  color: var(--white);
  background: rgba(9, 29, 78, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 18px;
  backdrop-filter: blur(12px);
}

.hero-card span,
.hero-card small {
  display: block;
  color: rgba(255, 255, 255, 0.82);
}

.hero-card strong {
  display: block;
  margin: 6px 0;
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  line-height: 1.05;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 600ms ease,
    transform 600ms ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

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

.hero [data-reveal] {
  transform: translateY(26px);
}

.section [data-reveal],
.process [data-reveal],
.warranty [data-reveal],
.consultation [data-reveal],
footer[data-reveal] {
  transform: translateY(18px);
}

.section,
.process,
.warranty,
.consultation {
  padding: clamp(58px, 8vw, 110px) clamp(18px, 5vw, 72px);
}

.section-head {
  max-width: 780px;
  margin-bottom: 34px;
}

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

.benefit-card {
  min-height: 260px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 40px rgba(13, 34, 79, 0.06);
}

.icon-chip {
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  border-radius: 8px;
}

.benefit-card p,
.step p,
footer p {
  color: var(--muted);
  line-height: 1.62;
}

.process {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(30px, 5vw, 54px);
  align-items: start;
  background: rgba(255, 255, 255, 0.94);
}

.process-media {
  min-height: clamp(320px, 36vw, 480px);
  border-radius: 8px;
  overflow: hidden;
  background: var(--sky);
}

.process-media img {
  width: 100%;
  height: 100%;
  min-height: clamp(320px, 36vw, 480px);
  object-fit: cover;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 28px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.step {
  display: grid;
  align-content: start;
  gap: 16px;
  min-height: 100%;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #eef4ff 100%);
  box-shadow: 0 12px 28px rgba(13, 34, 79, 0.06);
}

.process-intro {
  max-width: 760px;
}

.step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.step-icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  color: var(--green-dark);
  background: linear-gradient(135deg, #ebf2ff, #d7e5ff);
  border-radius: 14px;
  box-shadow: inset 0 0 0 1px rgba(21, 66, 177, 0.08);
}

.step-top small {
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.step h3 {
  min-height: 72px;
  margin-bottom: 12px;
  font-size: 1.15rem;
  line-height: 1.2;
}

.warranty {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(30px, 5vw, 52px);
  align-items: start;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(11, 36, 93, 0.94), rgba(17, 59, 150, 0.84)),
    url("https://images.unsplash.com/photo-1497440001374-f26997328c1b?auto=format&fit=crop&w=1400&q=80") center/cover;
}

.warranty .eyebrow,
.warranty p {
  color: rgba(255, 255, 255, 0.78);
}

.warranty h2 {
  max-width: 900px;
  color: var(--white);
}

.warranty-copy {
  max-width: 920px;
}

.warranty-copy p:not(.eyebrow) {
  max-width: 780px;
}

.warranty-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 1.8vw, 24px);
  width: 100%;
}

.warranty-grid article {
  min-height: clamp(160px, 14vw, 220px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 12px;
  padding: clamp(22px, 2.1vw, 32px);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.warranty-grid strong {
  display: block;
  color: var(--sun);
  font-size: clamp(2rem, 2.6vw, 3.25rem);
  line-height: 1.04;
  letter-spacing: 0;
  overflow-wrap: normal;
  word-break: normal;
  white-space: normal;
}

.warranty-grid .warranty-label {
  font-size: clamp(2rem, 2.6vw, 3.25rem);
  line-height: 1.04;
}

.warranty-grid span {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 800;
  font-size: clamp(1rem, 1.1vw, 1.16rem);
  line-height: 1.32;
  max-width: 24ch;
}

.consultation {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(460px, 620px);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}

.consult-copy {
  max-width: 720px;
}

.contact-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.contact-strip a,
.calculator-link {
  gap: 9px;
  min-height: 44px;
  padding: 0 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 800;
}

.calculator-link {
  margin-top: 16px;
  color: var(--navy);
  background: linear-gradient(180deg, #f8fbff, #e8f0ff);
}

.lead-form {
  width: 100%;
  padding: clamp(28px, 2.5vw, 40px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.form-heading {
  margin-bottom: 24px;
}

.form-heading span,
label {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.form-heading strong {
  display: block;
  margin-top: 4px;
  font-size: clamp(1.55rem, 1.8vw, 2rem);
  line-height: 1.12;
}

label {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

input,
select {
  width: 100%;
  min-height: 56px;
  padding: 0 16px;
  color: var(--ink);
  background: #f8fbff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

input:focus,
select:focus {
  outline: 3px solid rgba(27, 77, 189, 0.18);
  border-color: var(--green);
}

.lead-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 58px;
  margin-top: 12px;
  color: var(--white);
  background: var(--navy);
}

.lead-form button:disabled {
  opacity: 0.72;
  cursor: wait;
}

.form-message {
  margin: 2px 0 8px;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.5;
}

.form-message.success {
  color: #0d2d7a;
  background: #e7efff;
  border: 1px solid #c6d7ff;
}

.form-message.error {
  color: #7d2330;
  background: #fdecef;
  border: 1px solid #f4c3ca;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(9, 24, 21, 0.58);
  backdrop-filter: blur(6px);
}

.calc-modal {
  position: relative;
  width: min(680px, 100%);
  padding: 30px;
  background: linear-gradient(180deg, #ffffff 0%, #eef4ff 100%);
  border: 1px solid rgba(21, 66, 177, 0.14);
  border-radius: 18px;
  box-shadow: 0 30px 70px rgba(13, 34, 79, 0.24);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: rgba(228, 236, 255, 0.9);
  border-radius: 50%;
}

.modal-title {
  margin-bottom: 12px;
  padding-right: 44px;
  font-size: clamp(1.65rem, 3vw, 2.3rem);
  line-height: 1.05;
}

.calc-field {
  margin: 24px 0 0;
}

.calc-results {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 22px 0 18px;
}

.calc-results article {
  min-height: 130px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #f7faff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.calc-results span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.calc-results strong {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.2;
}

.calc-note {
  margin-bottom: 0;
  font-size: 0.96rem;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 72px);
  color: var(--white);
  background: linear-gradient(135deg, #081f56, #0d2d7a);
}

footer div {
  display: grid;
  gap: 3px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-logo-icon {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 8px;
  flex: 0 0 auto;
}

.trademark {
  margin-left: 4px;
  font-size: 0.58em;
  vertical-align: super;
}

.rights-note {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.82rem;
  font-weight: 600;
}

footer span,
footer p {
  color: rgba(255, 255, 255, 0.68);
}

footer p {
  margin-bottom: 0;
}

@media (max-width: 980px) {
  .hero,
  .process,
  .warranty,
  .consultation {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual,
  .hero-visual img,
  .process-media,
  .process-media img {
    min-height: 460px;
  }

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

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

  .warranty-grid article {
    min-height: auto;
    padding: 22px;
  }

  .warranty-grid .warranty-label {
    font-size: clamp(2rem, 7vw, 2.65rem);
  }

  .warranty-grid span {
    font-size: 1rem;
    max-width: none;
  }

  .timeline {
    grid-template-columns: repeat(4, minmax(220px, 1fr));
    scroll-snap-type: x proximity;
  }

  .step {
    scroll-snap-align: start;
  }
}

@media (max-width: 700px) {
  .site-header {
    align-items: flex-start;
  }

  .nav-links {
    display: none;
  }

  .header-cta {
    min-width: 44px;
    padding: 0 12px;
    font-size: 0;
  }

  .brand-logo {
    width: min(46vw, 220px);
  }

  h1 {
    font-size: clamp(2.75rem, 15vw, 4.8rem);
  }

  .hero {
    padding-top: 32px;
  }

  .hero-visual,
  .hero-visual img,
  .process-media,
  .process-media img {
    min-height: 380px;
  }

  .hero-card {
    right: 14px;
    bottom: 14px;
    left: 14px;
    padding: 16px;
  }

  .hero-card strong {
    font-size: 1.35rem;
  }

  .benefit-grid,
  .warranty-grid,
  .calc-results {
    grid-template-columns: 1fr;
  }

  .step {
    padding: 14px;
  }

  .step h3 {
    min-height: 0;
  }

  .contact-strip a,
  .calculator-link {
    width: 100%;
    justify-content: center;
  }

  .calc-modal {
    padding: 24px 18px;
  }

  footer {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    will-change: auto;
  }
}
