:root {
  --blue: #0746c7;
  --blue-bright: #0b72ff;
  --blue-deep: #05246b;
  --ink: #050912;
  --ink-soft: #182033;
  --muted: #667085;
  --line: #d9e3f5;
  --surface: #ffffff;
  --surface-alt: #f5f8fd;
  --dark-panel: #07101f;
  --shadow: 0 18px 60px rgba(5, 18, 45, 0.14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.6;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 14px clamp(18px, 5vw, 70px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--ink);
}

.brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.brand span {
  max-width: 210px;
  line-height: 1.1;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.site-nav a {
  padding: 10px 12px;
  border-radius: var(--radius);
  color: var(--ink-soft);
  font-size: 0.94rem;
  font-weight: 800;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--blue);
  background: #edf4ff;
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.header-cta,
.button.primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--blue-bright));
  box-shadow: 0 12px 26px rgba(7, 70, 199, 0.26);
}

.button.secondary {
  color: var(--blue);
  background: #ffffff;
  border-color: var(--line);
}

.button.light {
  color: var(--blue-deep);
  background: #ffffff;
}

.button.outline-light {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.45);
}

.nav-toggle,
.nav-button {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(28px, 5vw, 74px);
  align-items: center;
  padding: clamp(54px, 8vw, 112px) clamp(18px, 5vw, 70px) clamp(38px, 6vw, 80px);
  background:
    linear-gradient(120deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.9) 52%, rgba(238,246,255,0.86) 100%),
    radial-gradient(circle at 80% 18%, rgba(11,114,255,0.16), transparent 34%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 16px;
  font-size: clamp(2.3rem, 5vw, 4.9rem);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.75rem, 3.4vw, 2.8rem);
  line-height: 1.08;
  letter-spacing: 0;
}

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

.hero-lede,
.page-hero p,
.section-heading p,
.split-section p {
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.hero-proof span {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 800;
}

.hero-media {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--dark-panel);
  box-shadow: var(--shadow);
}

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

.section,
.split-section,
.process-section,
.faq-list,
.contact-layout {
  padding: clamp(54px, 7vw, 96px) clamp(18px, 5vw, 70px);
}

.section.compact {
  padding-top: clamp(40px, 5vw, 68px);
}

.section-heading {
  max-width: 860px;
  margin-bottom: 26px;
}

.section-heading h2,
.split-section h2,
.process-section h2,
.cta-band h2,
.contact-panel h2,
.thank-you-card h1 {
  max-width: 16ch;
}

.service-grid,
.testimonial-grid,
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

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

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

.service-card,
.testimonial,
.steps div,
.contact-panel,
.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 10px 34px rgba(8, 29, 69, 0.07);
}

.service-card {
  padding: 24px;
  min-height: 172px;
}

.service-card h3 {
  padding-top: 4px;
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  border-radius: 50%;
  color: #ffffff;
  background: var(--blue);
  font-weight: 900;
}

.service-card p,
.testimonial p,
.steps p,
.contact-panel span {
  color: var(--muted);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1.2fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: start;
  background: var(--surface-alt);
}

.feature-list {
  display: grid;
  gap: 16px;
}

.feature-list > div {
  padding-left: 18px;
  border-left: 4px solid var(--blue);
}

.feature-list.small {
  margin-top: 28px;
}

.feature-image {
  width: min(100%, 520px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.cta-band {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
  padding: clamp(42px, 6vw, 72px) clamp(18px, 5vw, 70px);
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(5, 9, 18, 0.96), rgba(5, 36, 107, 0.98)),
    var(--dark-panel);
}

.cta-band .eyebrow {
  color: #8bbcff;
}

.cta-band h2 {
  margin-bottom: 0;
}

.page-hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 280px;
  padding: clamp(62px, 8vw, 118px) clamp(18px, 5vw, 70px);
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(5,9,18,0.96), rgba(5,36,107,0.92)),
    url("assets/service-banner.png");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.page-hero h1 {
  max-width: 16ch;
  margin-bottom: 12px;
  font-size: clamp(2.15rem, 4.2vw, 3.7rem);
  line-height: 1.03;
}

.page-hero .eyebrow {
  color: #8bbcff;
  margin-bottom: 10px;
}

.page-hero p {
  max-width: 760px;
  color: #dbe8ff;
  font-size: 1rem;
}

.process-section {
  background: var(--surface-alt);
}

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

.steps div {
  padding: 26px;
}

.steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 20px;
  border-radius: 50%;
  color: #ffffff;
  background: var(--blue);
  font-weight: 900;
}

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

.testimonial-grid.single-review {
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
}

.testimonial {
  padding: 28px;
}

.featured-review {
  padding: clamp(28px, 5vw, 46px);
}

.testimonial p {
  font-size: 1.08rem;
}

.featured-review p {
  font-size: clamp(1.22rem, 2vw, 1.55rem);
  line-height: 1.45;
}

.testimonial strong,
.testimonial span {
  display: block;
}

.testimonial span {
  color: var(--muted);
  font-size: 0.94rem;
}

.faq-list {
  display: grid;
  gap: 14px;
  max-width: 940px;
  margin: 0 auto;
}

details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(8, 29, 69, 0.06);
}

summary {
  padding: 20px 22px;
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
}

details p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(320px, 1.22fr);
  gap: 24px;
  background: var(--surface-alt);
}

.thank-you-section {
  display: grid;
  min-height: 68vh;
  place-items: center;
  padding: clamp(54px, 7vw, 96px) clamp(18px, 5vw, 70px);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.96), rgba(238,246,255,0.92)),
    url("assets/service-banner.png") center / cover;
}

.thank-you-card {
  width: min(100%, 760px);
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.thank-you-card h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
}

.thank-you-card p {
  color: var(--muted);
  font-size: 1.08rem;
}

.contact-panel,
.contact-form {
  padding: 28px;
}

.contact-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.contact-row strong {
  text-align: right;
}

.contact-form {
  display: grid;
  gap: 12px;
}

label {
  color: var(--ink-soft);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--ink);
  background: #ffffff;
  font: inherit;
}

textarea {
  resize: vertical;
}

.form-status {
  margin: 4px 0 0;
  color: #b42318;
  font-size: 0.94rem;
  font-weight: 800;
}

button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 28px;
  align-items: center;
  padding: 32px clamp(18px, 5vw, 70px);
  color: #dce8ff;
  background: #050912;
}

.site-footer img {
  width: 190px;
  margin-bottom: 10px;
  background: #ffffff;
  border-radius: var(--radius);
}

.site-footer p {
  margin-bottom: 0;
}

.footer-links {
  display: flex;
  gap: 16px;
  font-weight: 800;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: #8bbcff;
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .header-cta {
    display: none;
  }

  .site-nav {
    justify-content: flex-end;
  }

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

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

  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    padding: 12px 14px;
  }

  .brand {
    gap: 8px;
    min-width: 0;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .brand span {
    max-width: 112px;
    font-size: 0.7rem;
    line-height: 1.15;
  }

  .nav-button {
    display: inline-flex;
    justify-self: end;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
  }

  .nav-button span,
  .nav-button span::before,
  .nav-button span::after {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--ink);
    content: "";
  }

  .nav-button span::before {
    transform: translateY(-7px);
  }

  .nav-button span::after {
    transform: translateY(5px);
  }

  .site-nav {
    display: none;
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: stretch;
    margin-top: 6px;
    gap: 6px;
    padding-top: 8px;
    border-top: 1px solid var(--line);
  }

  .nav-toggle:checked ~ .site-nav {
    display: flex;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 28px 14px 24px;
  }

  .hero-copy {
    text-align: left;
  }

  h1 {
    margin-bottom: 12px;
    font-size: 1.9rem;
    line-height: 1.06;
  }

  h2 {
    font-size: 1.45rem;
    line-height: 1.12;
  }

  .hero-lede,
  .page-hero p,
  .section-heading p,
  .split-section p {
    font-size: 0.98rem;
  }

  .hero-actions .button,
  .cta-actions .button {
    width: 100%;
  }

  .hero-actions {
    margin-top: 20px;
  }

  .hero-proof {
    margin-top: 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .hero-proof span {
    display: flex;
    width: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    justify-content: flex-start;
    text-align: left;
    font-size: 0.95rem;
    font-weight: 800;
  }

  .hero-proof span::before {
    content: "";
    width: 8px;
    height: 8px;
    margin: 0.5em 10px 0 0;
    border-radius: 50%;
    background: var(--blue);
    flex: 0 0 auto;
  }

  .hero-media {
    border-radius: 6px;
  }

  .section,
  .split-section,
  .process-section,
  .faq-list,
  .contact-layout,
  .page-hero,
  .thank-you-section,
  .cta-band,
  .site-footer {
    padding-left: 14px;
    padding-right: 14px;
  }

  .section,
  .split-section,
  .process-section,
  .faq-list,
  .contact-layout {
    padding-top: 34px;
    padding-bottom: 34px;
  }

  .section-heading {
    margin-bottom: 18px;
  }

  .page-hero {
    min-height: 0;
    padding-top: 42px;
    padding-bottom: 34px;
  }

  .page-hero h1,
  .section-heading h2,
  .split-section h2,
  .process-section h2,
  .cta-band h2,
  .contact-panel h2 {
    max-width: 100%;
  }

  .page-hero h1 {
    font-size: 1.85rem;
    line-height: 1.08;
  }

  .service-card,
  .testimonial,
  .steps div,
  .contact-panel,
  .contact-form,
  .thank-you-card {
    padding: 18px;
  }

  .hero-actions,
  .cta-actions,
  .cta-band {
    align-items: stretch;
    flex-direction: column;
  }

  .service-grid,
  .service-grid.home-services,
  .service-grid.wide,
  .testimonial-grid,
  .steps {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .service-card {
    min-height: 0;
  }

  .service-card h3 {
    margin-bottom: 8px;
    font-size: 1.2rem;
  }

  .service-card p {
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .split-section {
    gap: 22px;
  }

  .feature-list > div {
    padding-left: 14px;
  }

  .contact-row {
    flex-direction: column;
  }

  .contact-row strong {
    text-align: left;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 10px 14px;
  }

  .site-footer img {
    width: 150px;
  }
}
