:root {
  --navy: #061d49;
  --deep: #031330;
  --teal: #0c63ce;
  --aqua: #7ed6ff;
  --sand: #c8ecff;
  --sun: #5dbdff;
  --foam: #f4fbff;
  --white: #ffffff;
  --ink: #10233e;
  --muted: #526b84;
  --line: #d2e9f8;
  --shadow: 0 22px 55px rgba(6, 29, 73, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 136px;
}

body {
  margin: 0;
  background: var(--foam);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

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

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

.top-ribbon {
  align-items: center;
  background: var(--deep);
  color: var(--white);
  display: flex;
  gap: 16px;
  justify-content: center;
  min-height: 40px;
  padding: 8px 22px;
  position: sticky;
  top: 0;
  z-index: 30;
  font-size: 0.92rem;
}

.top-ribbon span {
  background: var(--sand);
  border-radius: 999px;
  height: 5px;
  width: 5px;
}

.top-ribbon a {
  font-weight: 700;
}

.top-ribbon strong {
  color: var(--sand);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-header {
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr auto auto auto;
  min-height: 82px;
  padding: 14px clamp(18px, 4vw, 58px);
  position: sticky;
  top: 40px;
  z-index: 25;
  backdrop-filter: blur(16px);
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 12px;
  min-width: 220px;
}

.brand-mark {
  align-items: center;
  background: linear-gradient(135deg, var(--teal), var(--navy));
  border: 3px solid var(--sand);
  border-radius: 50%;
  color: var(--white);
  display: inline-flex;
  font-size: 1.45rem;
  font-weight: 900;
  height: 48px;
  justify-content: center;
  width: 48px;
}

.corner-logo {
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 22px rgba(6, 29, 73, 0.13);
  display: block;
  height: 50px;
  justify-self: end;
  object-fit: contain;
  padding: 4px;
  width: 50px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: var(--navy);
  font-size: clamp(1.03rem, 2vw, 1.22rem);
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.main-nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}

.main-nav a {
  border-radius: 6px;
  color: var(--navy);
  font-size: 0.94rem;
  font-weight: 800;
  padding: 9px 11px;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  background: #e9f6f7;
  color: var(--teal);
}

.header-cta,
.primary-button,
.secondary-button {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  text-align: center;
}

.header-cta,
.primary-button {
  background: var(--sun);
  color: var(--navy);
  box-shadow: 0 10px 22px rgba(93, 189, 255, 0.34);
}

.secondary-button {
  border: 2px solid rgba(255, 255, 255, 0.72);
  color: var(--white);
}

.hero {
  align-items: center;
  color: var(--white);
  display: grid;
  min-height: calc(100vh - 122px);
  overflow: hidden;
  padding: clamp(56px, 8vw, 96px) clamp(20px, 6vw, 82px);
  position: relative;
}

.hero-media,
.hero-overlay {
  inset: 0;
  position: absolute;
}

.hero-media {
  background-image: url("assets/hero-los-angeles-post-construction-cleaning.png");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(9, 38, 52, 0.86) 0%, rgba(18, 56, 74, 0.62) 42%, rgba(18, 56, 74, 0.18) 100%),
    linear-gradient(0deg, rgba(9, 38, 52, 0.36), rgba(9, 38, 52, 0.08));
}

.hero-content {
  max-width: 760px;
  position: relative;
  z-index: 1;
}

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

.hero .eyebrow {
  color: var(--sand);
}

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

h1 {
  font-size: clamp(2.45rem, 6vw, 5.35rem);
  letter-spacing: 0;
  line-height: 0.98;
  margin-bottom: 22px;
  max-width: 820px;
}

h2 {
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.25rem);
  letter-spacing: 0;
  line-height: 1.04;
  margin-bottom: 16px;
}

h3 {
  color: var(--navy);
  font-size: 1.25rem;
  margin-bottom: 14px;
}

.hero p {
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  max-width: 650px;
}

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

.trust-strip {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, 1fr);
}

.trust-strip div {
  background: var(--white);
  padding: 28px clamp(20px, 4vw, 54px);
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  color: var(--navy);
  font-size: 1.08rem;
  margin-bottom: 6px;
}

.trust-strip span,
.section p,
.service-card li,
.site-footer span {
  color: var(--muted);
}

.section {
  padding: clamp(68px, 9vw, 118px) clamp(20px, 6vw, 82px);
}

.about-section,
.contact-section {
  align-items: start;
  display: grid;
  gap: clamp(30px, 6vw, 68px);
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
}

.section-copy,
.section-heading,
.contact-copy {
  max-width: 760px;
}

.stats-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 0;
  overflow: hidden;
}

.stats-panel div {
  border-bottom: 1px solid var(--line);
  padding: 28px;
}

.stats-panel div:last-child {
  border-bottom: 0;
}

.stats-panel strong {
  color: var(--teal);
  display: block;
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.stats-panel span {
  color: var(--muted);
}

.services-section {
  background:
    linear-gradient(180deg, #eaf7ff 0%, #ffffff 100%);
}

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

.service-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(9, 38, 52, 0.08);
  padding: 28px;
}

.accent-card {
  border-top: 6px solid var(--teal);
}

.service-card ul {
  margin: 0;
  padding-left: 19px;
}

.service-card li + li {
  margin-top: 9px;
}

.cta-band {
  align-items: center;
  background: var(--navy);
  color: var(--white);
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 42px clamp(20px, 6vw, 82px);
}

.cta-band h2 {
  color: var(--white);
  font-size: clamp(1.7rem, 3vw, 2.65rem);
  margin: 0;
  max-width: 900px;
}

.gallery-section {
  background: var(--white);
}

.slider {
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.slides {
  aspect-ratio: 16 / 8;
  background:
    linear-gradient(135deg, rgba(9, 38, 52, 0.96), rgba(10, 154, 166, 0.82)),
    var(--deep);
  position: relative;
}

.slide {
  inset: 0;
  margin: 0;
  opacity: 0;
  position: absolute;
  transition: opacity 650ms ease;
}

.slide.is-active {
  opacity: 1;
}

.slide img {
  height: 100%;
  width: 100%;
}

.slide img {
  object-fit: contain;
  object-position: center;
}

figcaption {
  background: rgba(9, 38, 52, 0.82);
  bottom: 24px;
  color: var(--white);
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 900;
  left: 24px;
  max-width: min(620px, calc(100% - 48px));
  padding: 14px 16px;
  position: absolute;
}

.slider-dots {
  bottom: 18px;
  display: flex;
  gap: 8px;
  position: absolute;
  right: 20px;
  z-index: 2;
}

.dot {
  background: rgba(255, 255, 255, 0.62);
  border: 0;
  border-radius: 999px;
  height: 10px;
  padding: 0;
  width: 10px;
}

.dot.is-active {
  background: var(--sun);
  width: 28px;
}

.contact-section {
  background:
    linear-gradient(180deg, #eaf7ff 0%, var(--foam) 100%);
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.contact-links a {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--navy);
  font-weight: 900;
  padding: 12px 14px;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
  padding: 28px;
}

.contact-form label {
  color: var(--navy);
  display: grid;
  font-weight: 900;
  gap: 7px;
}

.contact-form input,
.contact-form textarea {
  border: 1px solid #c8dddd;
  border-radius: 6px;
  color: var(--ink);
  font: inherit;
  padding: 13px 14px;
  width: 100%;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(10, 154, 166, 0.17);
  outline: 0;
}

.site-footer {
  align-items: center;
  background: var(--deep);
  color: var(--white);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  padding: 26px clamp(20px, 6vw, 82px);
}

.site-footer span {
  color: #c9dddf;
}

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

  .header-cta {
    grid-column: 2;
    grid-row: 1;
  }

  .corner-logo {
    grid-column: 3;
    grid-row: 1;
  }

  .main-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .trust-strip,
  .about-section,
  .service-grid,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .cta-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  section[id] {
    scroll-margin-top: 190px;
  }

  .top-ribbon {
    flex-wrap: wrap;
    gap: 6px 12px;
    justify-content: flex-start;
    min-height: 56px;
  }

  .top-ribbon span {
    display: block;
  }

  .top-ribbon strong {
    display: none;
  }

  .site-header {
    top: 56px;
  }

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

  .header-cta {
    grid-column: 1 / -1;
    grid-row: 3;
    width: 100%;
  }

  .corner-logo {
    grid-column: 2;
    grid-row: 1;
    height: 46px;
    width: 46px;
  }

  .main-nav {
    display: grid;
    grid-column: 1 / -1;
    grid-row: 2;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
  }

  .main-nav a {
    background: #eef9fa;
    text-align: center;
  }

  .hero {
    min-height: 680px;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(9, 38, 52, 0.9), rgba(9, 38, 52, 0.54));
  }

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

  .slides {
    aspect-ratio: 4 / 5;
  }

  figcaption {
    bottom: 58px;
    left: 14px;
    max-width: calc(100% - 28px);
  }

  .slider-dots {
    left: 14px;
    right: auto;
  }
}
