:root {
  --blue: #2d78a7;
  --blue-strong: #1f5f88;
  --sky: #63c0df;
  --sky-soft: #eaf8fd;
  --ink: #17334b;
  --muted: #617789;
  --line: #cce7f3;
  --soft: #f4fbfe;
  --white: #ffffff;
  --mint: #dff6f1;
  --sun: #ffe7a6;
  --shadow: 0 18px 55px rgba(45, 120, 167, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Nunito Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  letter-spacing: 0;
  overflow-x: hidden;
}

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

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

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 20;
  transform: translateY(-150%);
  background: var(--blue);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 8px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(270px, 1fr) minmax(270px, 500px) minmax(230px, 1fr);
  align-items: center;
  gap: 22px;
  padding: 10px clamp(16px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(99, 192, 223, 0.35);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  color: var(--blue-strong);
  font-size: 1.4rem;
  font-weight: 900;
}

.brand img {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  border: 1px solid rgba(99, 192, 223, 0.5);
  box-shadow: 0 10px 26px rgba(45, 120, 167, 0.12);
}

.brand span {
  white-space: nowrap;
}

.verse-box {
  min-height: 58px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 2px;
  padding: 9px 14px;
  color: var(--blue);
  background: linear-gradient(180deg, #ffffff 0%, var(--sky-soft) 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 12px 32px rgba(45, 120, 167, 0.1);
}

.verse-box span {
  font-size: clamp(0.86rem, 1.6vw, 1rem);
  font-weight: 800;
  line-height: 1.25;
}

.verse-box strong {
  color: #3aa8cf;
  font-size: 0.74rem;
  line-height: 1.1;
}

.header-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
}

.icon-link,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  border-radius: 8px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.icon-link {
  padding: 10px 13px;
  color: var(--blue);
  border: 1px solid var(--line);
  background: var(--white);
  min-width: 0;
}

.icon-link--solid,
.button--primary {
  color: var(--white);
  border: 1px solid var(--blue);
  background: linear-gradient(135deg, var(--blue), var(--sky));
  box-shadow: 0 12px 24px rgba(45, 120, 167, 0.24);
}

.icon-link:hover,
.button:hover {
  transform: translateY(-2px);
}

.icon-link svg,
.button svg,
.quick-contact svg,
.service-card svg,
.trust__list svg {
  width: 19px;
  height: 19px;
  stroke-width: 2.4;
  flex: 0 0 auto;
}

.icon-link span,
.button span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.hero {
  position: relative;
  min-height: min(690px, calc(100vh - 76px));
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero__media,
.hero__overlay {
  position: absolute;
  inset: 0;
}

.hero__media {
  background-image: url("assets/hcleanaires-banner.png");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
  z-index: -3;
}

.hero__overlay {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.82) 40%, rgba(255, 255, 255, 0.28) 76%),
    linear-gradient(180deg, rgba(99, 192, 223, 0.2) 0%, rgba(255, 255, 255, 0.1) 72%, #ffffff 100%);
}

.hero__content {
  width: min(720px, calc(100% - 32px));
  margin-left: clamp(16px, 7vw, 92px);
  padding: clamp(48px, 7vw, 90px) 0;
}

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

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

h1 {
  margin-bottom: 18px;
  color: var(--blue-strong);
  font-size: clamp(2.45rem, 6vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: 0;
  max-width: 720px;
  overflow-wrap: normal;
  text-wrap: balance;
  font-weight: 900;
}

.mobile-heading-break {
  display: inline;
}

.hero__copy {
  max-width: 620px;
  margin-bottom: 30px;
  color: #244d68;
  font-size: clamp(1rem, 1.7vw, 1.24rem);
  line-height: 1.65;
}

.hero__actions,
.contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  padding: 13px 18px;
  border: 1px solid transparent;
}

.button--primary:hover {
  background: linear-gradient(135deg, var(--blue-strong), #3aa8cf);
}

.button--secondary {
  color: var(--blue);
  background: rgba(255, 255, 255, 0.88);
  border-color: var(--line);
}

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

.quick-contact div {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 12px;
  row-gap: 2px;
  min-width: 0;
  padding: 22px clamp(16px, 4vw, 56px);
  background: var(--white);
}

.quick-contact svg {
  grid-row: span 2;
  color: var(--blue);
}

.quick-contact span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.quick-contact strong {
  min-width: 0;
  color: var(--ink);
  font-size: clamp(0.98rem, 1.6vw, 1.18rem);
  overflow-wrap: anywhere;
}

.section {
  padding: clamp(58px, 8vw, 104px) clamp(16px, 5vw, 72px);
}

.section__intro {
  max-width: 720px;
  margin-bottom: 34px;
}

.section__intro--center {
  margin-inline: auto;
  text-align: center;
}

.section h2 {
  margin-bottom: 14px;
  color: var(--blue-strong);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.04;
}

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

.service-card {
  min-height: 230px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 36px rgba(45, 120, 167, 0.08);
}

.service-card svg {
  width: 36px;
  height: 36px;
  margin-bottom: 20px;
  padding: 7px;
  color: var(--blue);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-card h3,
.step h3 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 1.1rem;
}

.service-card p,
.step p,
.trust__copy p,
.contact__content p {
  color: var(--muted);
  line-height: 1.65;
}

.process {
  background:
    linear-gradient(180deg, var(--sky-soft) 0%, #ffffff 100%);
  border-block: 1px solid var(--line);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1120px;
  margin: 0 auto;
}

.step {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.step span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  color: var(--blue);
  background: var(--sun);
  border-radius: 8px;
  font-weight: 900;
}

.trust {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.75fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.trust__copy {
  max-width: 720px;
}

.trust__list {
  display: grid;
  gap: 12px;
}

.trust__list div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding: 18px;
  color: #163257;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.trust__list svg {
  color: var(--blue);
}

.contact {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(31, 95, 136, 0.96), rgba(99, 192, 223, 0.9)),
    linear-gradient(90deg, var(--mint), var(--sun));
}

.contact__content {
  width: min(900px, 100%);
}

.contact .eyebrow,
.contact h2,
.contact p {
  color: var(--white);
}

.contact h2 {
  max-width: 800px;
}

.contact p {
  font-size: 1.12rem;
  opacity: 0.92;
}

.contact .button--secondary {
  background: var(--white);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(16px, 5vw, 72px);
  color: #466178;
  background: #f8fcff;
  border-top: 1px solid var(--line);
}

.site-footer a {
  color: var(--blue);
  font-weight: 800;
}

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

  .brand,
  .header-actions {
    justify-content: center;
  }

  .hero {
    min-height: 670px;
  }

  .hero__overlay {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.83) 48%, rgba(255, 255, 255, 0.2) 100%),
      linear-gradient(180deg, rgba(99, 192, 223, 0.12), rgba(255, 255, 255, 0.28));
  }

  .hero__content {
    margin: 0 auto;
    padding-top: 44px;
    align-self: start;
  }

  h1 {
    max-width: 680px;
  }

  .quick-contact,
  .service-grid,
  .steps,
  .trust {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding-inline: 12px;
    gap: 12px;
  }

  .brand {
    font-size: 1.34rem;
  }

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

  .header-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .icon-link span {
    overflow-wrap: anywhere;
  }

  .hero {
    min-height: 640px;
  }

  .hero__content {
    width: calc(100% - 32px);
    max-width: 360px;
    margin-inline: 16px;
  }

  h1 {
    font-size: clamp(2.05rem, 8.4vw, 2.75rem);
    line-height: 1.08;
    max-width: 100%;
  }

  .mobile-heading-break {
    display: block;
  }

  .hero__copy {
    font-size: 1rem;
  }

  .hero__actions,
  .contact__actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .quick-contact div,
  .section,
  .site-footer {
    padding-inline: 16px;
  }

  .service-card,
  .step {
    min-height: auto;
    padding: 20px;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto;
    transition: none;
  }
}
