:root {
  --navy: #17294b;
  --navy-2: #203965;
  --blue: #31598c;
  --green: #76c83f;
  --green-dark: #4b9f2e;
  --yellow: #f2b233;
  --cream: #f7fbf5;
  --white: #ffffff;
  --ink: #162033;
  --muted: #5c6879;
  --line: #dce5ef;
  --shadow: 0 18px 55px rgba(14, 30, 56, 0.16);
  --radius: 8px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--cream);
  line-height: 1.6;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

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

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

svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 20;
  transform: translateY(-140%);
  background: var(--white);
  color: var(--navy);
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

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

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

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 15;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(23, 41, 75, 0.1);
  backdrop-filter: blur(14px);
}

.nav-shell {
  width: min(100% - 2rem, 1220px);
  min-height: 74px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--navy);
  min-width: 0;
}

.brand img {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
}

.brand span {
  display: grid;
  gap: 0.05rem;
  min-width: 0;
}

.brand strong {
  font-size: 1.2rem;
  line-height: 1.05;
}

.brand small {
  color: var(--green-dark);
  font-weight: 800;
  text-transform: uppercase;
}

.site-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.15rem;
  color: var(--navy);
  font-weight: 700;
}

.site-menu > a:not(.nav-call) {
  position: relative;
  padding: 0.5rem 0;
}

.site-menu > a:not(.nav-call)::after {
  position: absolute;
  content: "";
  left: 0;
  right: 0;
  bottom: 0.2rem;
  height: 3px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-menu > a:hover::after,
.site-menu > a:focus-visible::after {
  transform: scaleX(1);
}

.nav-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0.65rem 1rem;
  color: var(--white);
  background: var(--navy);
  border-radius: var(--radius);
}

.nav-call svg {
  width: 19px;
  height: 19px;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--navy);
  background: transparent;
  border: 1px solid rgba(23, 41, 75, 0.18);
  border-radius: var(--radius);
  cursor: pointer;
}

.nav-toggle svg {
  width: 24px;
  height: 24px;
}

.hero {
  position: relative;
  min-height: 590px;
  isolation: isolate;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}

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

.hero-media {
  background-image: url("assets/images/cleanin-genie-hero.png");
  background-image: image-set(
    url("assets/images/cleanin-genie-hero.webp") type("image/webp"),
    url("assets/images/cleanin-genie-hero.png") type("image/png")
  );
  background-position: center;
  background-size: cover;
  transform: scale(1.01);
}

.hero-overlay {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(12, 28, 54, 0.92) 0%, rgba(19, 42, 78, 0.78) 36%, rgba(23, 41, 75, 0.2) 72%),
    linear-gradient(180deg, rgba(12, 28, 54, 0.3) 0%, rgba(12, 28, 54, 0.48) 100%);
}

.hero::after {
  position: absolute;
  content: "";
  left: -8%;
  right: -8%;
  bottom: -70px;
  height: 170px;
  z-index: -1;
  background:
    radial-gradient(120% 90% at 10% 0%, var(--green) 0 25%, transparent 26%),
    linear-gradient(172deg, transparent 0 40%, var(--yellow) 41% 43%, var(--navy) 44% 100%);
}

.hero-content {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
  padding: 4rem 0 6.25rem;
}

.script-line {
  margin: 0 0 0.5rem;
  color: var(--green);
  font-family: "Segoe Script", "Bradley Hand ITC", cursive;
  font-size: 1.7rem;
  line-height: 1.25;
  font-weight: 700;
}

.hero h1 {
  max-width: 690px;
  margin: 0;
  font-size: 4.15rem;
  line-height: 0.98;
  overflow-wrap: anywhere;
}

.hero-copy {
  max-width: 650px;
  margin: 1.25rem 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.2rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 50px;
  padding: 0.78rem 1.05rem;
  border: 0;
  border-radius: var(--radius);
  font-weight: 900;
  cursor: pointer;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease;
}

.button svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 35px rgba(9, 24, 48, 0.22);
}

.button-primary {
  color: var(--navy);
  background: var(--green);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #89d850;
}

.button-secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

.trust-strip {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  padding: 0;
  margin: 2rem 0 0;
}

.trust-strip li {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 42px;
  padding: 0.45rem 0.7rem;
  background: rgba(23, 41, 75, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.92);
  font-weight: 800;
}

.trust-strip svg {
  width: 20px;
  height: 20px;
  color: var(--green);
}

.section {
  padding: 5rem 0;
}

.intro-band {
  padding: 2rem 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.quick-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.7fr;
  gap: 1rem;
  align-items: center;
}

.eyebrow {
  margin: 0 0 0.6rem;
  color: var(--green-dark);
  font-weight: 900;
  text-transform: uppercase;
}

.eyebrow-light {
  color: var(--green);
}

.quick-grid h2,
.section-heading h2,
.split-section h2,
.area-layout h2,
.quote-copy h2 {
  margin: 0;
  color: var(--navy);
  font-size: 2.45rem;
  line-height: 1.1;
}

.quick-grid h2 {
  font-size: 2rem;
}

.quick-card {
  display: grid;
  gap: 0.15rem;
  padding: 1rem;
  min-height: 96px;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.quick-card-alt {
  background: var(--green);
  color: var(--navy);
}

.quick-card span {
  font-weight: 800;
}

.quick-card a {
  align-self: end;
  font-size: 1.25rem;
  font-weight: 950;
}

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

.section-heading p:last-child,
.split-section p,
.area-layout p,
.quote-copy p {
  color: var(--muted);
  font-size: 1.05rem;
}

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

.service-card {
  min-height: 300px;
  padding: 1.2rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 35px rgba(23, 41, 75, 0.08);
}

.service-card h3,
.benefit-item h3,
.process-grid h3 {
  margin: 1rem 0 0.45rem;
  color: var(--navy);
  font-size: 1.12rem;
  line-height: 1.25;
}

.service-card p,
.benefit-item p,
.process-grid p {
  margin: 0;
  color: var(--muted);
}

.icon-box {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--navy);
  border-radius: var(--radius);
  box-shadow: inset -6px -6px 0 rgba(118, 200, 63, 0.22);
}

.icon-box svg {
  width: 29px;
  height: 29px;
}

.dark-section {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}

.dark-section::before {
  position: absolute;
  content: "";
  left: -12%;
  right: -12%;
  top: -130px;
  height: 220px;
  background:
    radial-gradient(110% 85% at 82% 100%, rgba(118, 200, 63, 0.95) 0 26%, transparent 27%),
    linear-gradient(185deg, transparent 0 60%, var(--yellow) 61% 63%, transparent 64%);
}

.split-section {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 3rem;
  align-items: center;
}

.split-section h2 {
  color: var(--white);
}

.split-section p {
  color: rgba(255, 255, 255, 0.78);
}

.benefit-list {
  display: grid;
  gap: 0.85rem;
}

.benefit-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 0.9rem;
  align-items: start;
  padding: 1rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.13);
}

.benefit-item span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: var(--green);
  border-radius: 50%;
}

.benefit-item svg {
  width: 21px;
  height: 21px;
  stroke-width: 3;
}

.benefit-item h3 {
  color: var(--white);
  margin-top: 0;
}

.benefit-item p {
  color: rgba(255, 255, 255, 0.73);
}

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

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  counter-reset: process;
}

.process-grid article {
  min-height: 215px;
  padding: 1.35rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(118, 200, 63, 0.12), transparent 40%),
    var(--cream);
}

.process-grid span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: var(--yellow);
  border-radius: 50%;
  font-weight: 950;
}

.area-section {
  background: linear-gradient(180deg, var(--cream), #eef6fb);
}

.area-layout {
  display: grid;
  grid-template-columns: 1fr 390px;
  gap: 2rem;
  align-items: center;
}

.area-panel {
  min-height: 245px;
  display: grid;
  align-content: center;
  gap: 0.65rem;
  padding: 1.5rem;
  color: var(--white);
  background:
    linear-gradient(145deg, rgba(118, 200, 63, 0.32), transparent 42%),
    var(--navy-2);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.area-panel svg {
  width: 58px;
  height: 58px;
  color: var(--green);
}

.area-panel strong {
  font-size: 1.45rem;
}

.area-panel span {
  color: rgba(255, 255, 255, 0.82);
}

.quote-section {
  position: relative;
  overflow: hidden;
  background: var(--white);
}

.quote-section::after {
  position: absolute;
  content: "";
  left: -8%;
  right: -8%;
  bottom: -120px;
  height: 190px;
  background:
    linear-gradient(172deg, transparent 0 38%, var(--yellow) 39% 42%, transparent 43%),
    radial-gradient(100% 120% at 0% 0%, rgba(118, 200, 63, 0.85) 0 28%, transparent 29%);
  opacity: 0.7;
}

.quote-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2rem;
  align-items: start;
}

.contact-stack {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.contact-stack a,
.contact-stack p {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 46px;
  margin: 0;
  color: var(--navy);
  font-weight: 800;
}

.contact-stack svg {
  width: 23px;
  height: 23px;
  color: var(--green-dark);
  flex: 0 0 23px;
}

.quote-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding: 1.2rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  gap: 0.4rem;
}

.form-row-wide {
  grid-column: 1 / -1;
}

.form-row label {
  color: var(--navy);
  font-weight: 850;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  min-height: 48px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #cbd8e6;
  border-radius: var(--radius);
  padding: 0.72rem 0.8rem;
  outline: none;
}

.form-row textarea {
  resize: vertical;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--green-dark);
  box-shadow: 0 0 0 4px rgba(118, 200, 63, 0.2);
}

.form-button {
  grid-column: 1 / -1;
  width: 100%;
}

.form-note {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer {
  color: var(--white);
  background: var(--navy);
  padding: 2rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 1rem;
}

.footer-brand {
  color: var(--white);
}

.footer-brand small {
  color: var(--green);
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 1050px) {
  .service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .quick-grid,
  .split-section,
  .area-layout,
  .quote-layout {
    grid-template-columns: 1fr;
  }

  .area-panel {
    width: min(100%, 480px);
  }

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

@media (max-width: 840px) {
  .nav-toggle {
    display: grid;
  }

  .site-menu {
    position: absolute;
    inset: 74px 1rem auto 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.7rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .site-menu.is-open {
    display: flex;
  }

  .site-menu a {
    padding: 0.85rem 0.9rem;
  }

  .site-menu > a:not(.nav-call)::after {
    display: none;
  }

  .nav-call {
    margin-top: 0.3rem;
  }

  .hero {
    min-height: 570px;
  }

  .hero-media {
    background-position: 63% center;
  }

  .hero h1 {
    font-size: 3.1rem;
  }

  .section {
    padding: 4rem 0;
  }

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

@media (max-width: 620px) {
  .brand strong {
    font-size: 1.05rem;
  }

  .brand small {
    font-size: 0.72rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(12, 28, 54, 0.96) 0%, rgba(19, 42, 78, 0.82) 100%),
      linear-gradient(180deg, rgba(12, 28, 54, 0.3) 0%, rgba(12, 28, 54, 0.54) 100%);
  }

  .hero-content {
    padding: 3rem 0 3.5rem;
  }

  .script-line {
    font-size: 1.25rem;
  }

  .hero h1 {
    font-size: 2.45rem;
  }

  .hero-copy {
    font-size: 1.05rem;
  }

  .button {
    width: 100%;
  }

  .trust-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-strip li {
    font-size: 0.92rem;
  }

  .trust-strip li:last-child {
    grid-column: 1 / -1;
  }

  .quick-grid h2,
  .section-heading h2,
  .split-section h2,
  .area-layout h2,
  .quote-copy h2 {
    font-size: 2rem;
  }

  .service-grid,
  .process-grid,
  .quote-form {
    grid-template-columns: 1fr;
  }

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

  .quote-form {
    padding: 1rem;
  }
}
