:root {
  --bg: #edf2f7;
  --bg-soft: #f6f8fb;
  --ink: #10202f;
  --ink-soft: #5a6978;
  --white: #ffffff;
  --panel: #fefefe;
  --panel-alt: #f2f6fa;
  --line: rgba(16, 32, 47, 0.1);
  --accent: #ff6b1a;
  --accent-deep: #d65200;
  --navy: #102638;
  --navy-deep: #0b1b29;
  --steel: #3a556e;
  --green: #1f8a70;
  --shadow: 0 18px 40px rgba(12, 27, 41, 0.1);
  --shadow-soft: 0 10px 24px rgba(12, 27, 41, 0.07);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-pill: 999px;
  --container: 1200px;
  --heading-font: "Archivo", "Arial Black", sans-serif;
  --body-font: "Manrope", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--body-font);
  color: var(--ink);
  background:
    linear-gradient(180deg, #f4f7fb 0%, #edf2f7 100%);
}

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

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

.page-shell {
  overflow: clip;
}

.container {
  width: min(calc(100% - 1.5rem), var(--container));
  margin: 0 auto;
}

.section {
  padding: 5.75rem 0;
}

.section-soft {
  background:
    linear-gradient(180deg, #f7f9fc 0%, #eef3f8 100%);
}

.section-accent {
  background:
    linear-gradient(180deg, #102638 0%, #122d43 100%);
  color: #eef5fb;
}

.eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.73rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--accent-deep);
}

.section-accent .eyebrow {
  color: #ff9a5d;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 0.9rem 0;
  transition: background-color 220ms ease, box-shadow 220ms ease, backdrop-filter 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(244, 247, 251, 0.92);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 30px rgba(12, 27, 41, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}

.brand-badge {
  width: 2.9rem;
  height: 2.9rem;
  display: grid;
  place-items: center;
  border-radius: 0.9rem;
  background: linear-gradient(180deg, var(--navy) 0%, var(--steel) 100%);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

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

.brand-copy span {
  font-size: 0.77rem;
  color: var(--ink-soft);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.site-nav a {
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 600;
}

.nav-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  border-radius: 0.9rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.3rem;
}

.nav-toggle span {
  width: 1rem;
  height: 2px;
  background: var(--ink);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.3rem;
  padding: 0 1.35rem;
  border-radius: 1rem;
  border: 1px solid transparent;
  background: linear-gradient(180deg, #ff7e2e 0%, #e25b00 100%);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(226, 91, 0, 0.22);
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-small {
  min-height: 2.8rem;
  padding: 0 1rem;
}

.button-secondary {
  background: #fff;
  color: var(--navy);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: none;
}

.hero {
  position: relative;
  padding: 3rem 0 0;
  background:
    linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 62%, #183d58 100%);
  color: #f4f8fb;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(18px);
  opacity: 0.75;
}

.hero-glow-one {
  width: 420px;
  height: 420px;
  top: -60px;
  right: -80px;
  background: radial-gradient(circle, rgba(255, 107, 26, 0.34), rgba(255, 107, 26, 0));
}

.hero-glow-two {
  width: 300px;
  height: 300px;
  bottom: 30px;
  left: -70px;
  background: radial-gradient(circle, rgba(73, 144, 226, 0.24), rgba(73, 144, 226, 0));
}

.hero-grid,
.problems-layout,
.quote-grid,
.area-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 2rem;
  align-items: start;
}

.conversion-grid {
  display: grid;
  gap: 2rem;
}

.hero-copy h1,
.section-heading h2,
.quote-copy h2 {
  margin: 0;
  font-family: var(--heading-font);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.hero-copy h1 {
  max-width: 10.5ch;
  font-size: clamp(3.1rem, 7vw, 6rem);
}

.hero-lead,
.section-heading p,
.quote-copy p,
.form-note {
  color: inherit;
  opacity: 0.82;
}

.hero-lead {
  max-width: 58ch;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.3rem;
}

.hero-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 2.2rem;
  padding: 0.35rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  font-weight: 700;
}

.hero-actions,
.quote-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.6rem;
}

.hero-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.8rem;
}

.hero-notes article {
  padding: 1rem;
  border-top: 4px solid rgba(255, 126, 46, 0.9);
  border-radius: 1rem 1rem 1.2rem 1.2rem;
  background: rgba(255, 255, 255, 0.08);
}

.hero-notes strong {
  display: block;
  font-size: 0.98rem;
}

.hero-notes span {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.9rem;
  opacity: 0.8;
}

.hero-panel {
  position: relative;
}

.hero-card {
  padding: 1.1rem;
  border-radius: var(--radius-xl);
  background: #fff;
  color: var(--ink);
  box-shadow: 0 24px 60px rgba(3, 13, 22, 0.24);
}

.hero-card-top {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.live-dot {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: var(--green);
}

.hero-mock {
  min-height: 310px;
  margin-top: 0.9rem;
  border-radius: 1.1rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent),
    linear-gradient(140deg, #20384c 0%, #365672 52%, #d3dde8 52%, #eef4f8 100%);
  position: relative;
  overflow: hidden;
}

.hero-mock::before,
.hero-mock::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.9);
}

.hero-mock::before {
  top: 1rem;
  height: 3.6rem;
}

.hero-mock::after {
  top: 5.6rem;
  bottom: 1rem;
}

.hero-panel-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.hero-panel-list div {
  display: grid;
  gap: 0.25rem;
  padding-left: 0.9rem;
  border-left: 3px solid #dce6ef;
}

.hero-panel-list strong {
  font-size: 0.94rem;
}

.hero-panel-list span {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.trust-strip {
  margin-top: -2.2rem;
  padding-bottom: 1rem;
  position: relative;
  z-index: 2;
}

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

.trust-item {
  padding: 1rem;
  border-radius: 1rem;
  background: #fff;
  box-shadow: var(--shadow);
  border-bottom: 4px solid #dde6ee;
}

.trust-item strong {
  display: block;
  font-size: 0.96rem;
}

.trust-item span {
  display: block;
  margin-top: 0.3rem;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

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

.section-heading h2 {
  font-size: clamp(2.25rem, 5vw, 4.5rem);
}

.services-grid,
.reviews-grid,
.area-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.service-card,
.problem-card,
.review-card,
.logic-card,
.quote-card,
.area-card {
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
}

.service-card {
  padding: 1.25rem;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-deep) 100%);
}

.service-card span,
.logic-card span {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.28rem 0.7rem;
  border-radius: 0.7rem;
  background: #edf3f8;
  color: var(--navy);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.service-card h3,
.problem-card h3,
.review-card strong,
.area-card strong {
  margin: 0.85rem 0 0;
  font-size: 1.08rem;
}

.service-card p,
.problem-card p,
.review-card p,
.logic-card p,
.area-card span {
  color: var(--ink-soft);
}

.service-card strong {
  display: block;
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--navy);
}

.problem-stack,
.logic-grid {
  display: grid;
  gap: 1rem;
}

.problem-card {
  padding: 1.2rem;
  border-left: 5px solid #20384c;
}

.reviews-grid {
  align-items: start;
}

.review-card {
  padding: 1.25rem;
  border-top: 5px solid #dfe7ef;
}

.review-card p {
  margin-top: 0;
}

.conversion-grid .section-heading {
  margin-bottom: 0;
}

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

.logic-card {
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.logic-card span {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.logic-card p {
  margin: 0.85rem 0 0;
  color: rgba(238, 245, 251, 0.82);
}

.quote-copy h2 {
  font-size: clamp(2.3rem, 5vw, 4.7rem);
}

.quote-points {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.4rem;
}

.quote-points span {
  display: flex;
  align-items: center;
  min-height: 3rem;
  padding: 0.55rem 0.9rem;
  border-left: 4px solid var(--accent);
  background: #fff;
  border-radius: 0 0.9rem 0.9rem 0;
  box-shadow: var(--shadow-soft);
}

.quote-card {
  padding: 1.35rem;
}

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

.quote-form label {
  display: grid;
  gap: 0.45rem;
}

.quote-form span {
  font-size: 0.9rem;
  font-weight: 700;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 0.9rem;
  border: 1px solid #d6e0ea;
  background: #f8fbfd;
  color: var(--ink);
}

.field-wide {
  grid-column: 1 / -1;
}

.form-note {
  margin: 1rem 0 0;
  font-size: 0.9rem;
}

.area-card {
  padding: 1.15rem;
  border-top: 4px solid #20384c;
}

.area-card strong {
  display: block;
}

.area-card span {
  display: block;
  margin-top: 0.3rem;
}

.site-footer {
  padding: 0 0 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 1.2rem;
  padding: 1.6rem;
  border-radius: var(--radius-xl);
  background: #0f2233;
  color: #edf4fa;
  box-shadow: var(--shadow);
}

.footer-links {
  display: grid;
  gap: 0.65rem;
  margin-top: 1rem;
}

.footer-grid .brand-copy span,
.footer-links a {
  color: rgba(237, 244, 250, 0.72);
}

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

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

@media (max-width: 1080px) {
  .hero-grid,
  .problems-layout,
  .quote-grid,
  .area-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .reviews-grid,
  .area-grid,
  .logic-grid,
  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .section {
    padding: 4.7rem 0;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.7rem);
    left: 1rem;
    right: 1rem;
    display: grid;
    gap: 0.9rem;
    padding: 1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

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

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

  .hero-notes,
  .services-grid,
  .reviews-grid,
  .logic-grid,
  .area-grid,
  .trust-grid,
  .quote-form {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    margin-top: 0;
    padding-top: 1rem;
  }
}

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

  .section {
    padding: 4rem 0;
  }

  .hero-copy h1 {
    font-size: clamp(2.65rem, 13vw, 4.25rem);
  }

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

  .button,
  .button-secondary,
  .button-small {
    width: 100%;
  }

  .section-heading {
    margin-bottom: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
