:root {
  --sun: #ffd166;
  --sun-deep: #f4a939;
  --aqua: #41c7b9;
  --aqua-soft: #dff8f5;
  --navy: #16324f;
  --ink: #263238;
  --muted: #64748b;
  --cream: #fffaf0;
  --white: #ffffff;
  --line: rgba(22, 50, 79, 0.12);
  --shadow: 0 24px 60px rgba(22, 50, 79, 0.12);
  --radius: 26px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(255, 209, 102, 0.35), transparent 30rem),
    radial-gradient(circle at 85% 10%, rgba(65, 199, 185, 0.22), transparent 28rem),
    var(--cream);
  line-height: 1.6;
}

body[data-lang="en"] .es,
body[data-lang="es"] .en {
  display: none !important;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.announcement {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  font-size: 0.92rem;
  padding: 0.65rem 1rem;
}

.announcement a {
  color: var(--sun);
  font-weight: 700;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(255, 250, 240, 0.78);
  border-bottom: 1px solid var(--line);
}

.nav {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.brand img {
  filter: drop-shadow(0 8px 14px rgba(22, 50, 79, 0.12));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--navy);
  font-weight: 700;
  font-size: 0.94rem;
}

.lang-toggle {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy);
  border-radius: 999px;
  padding: 0.65rem 0.95rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(22, 50, 79, 0.06);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.8rem 1.1rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

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

.button.primary {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 18px 30px rgba(22, 50, 79, 0.18);
}

.button.secondary {
  background: var(--white);
  color: var(--navy);
  border-color: var(--line);
}

.button.sun {
  background: var(--sun);
  color: var(--navy);
  box-shadow: 0 18px 30px rgba(244, 169, 57, 0.24);
}

.hero {
  padding: 72px 0 64px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 44px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.9rem;
}

.hero h1 {
  margin: 1rem 0 1rem;
  color: var(--navy);
  font-size: clamp(2.65rem, 7vw, 5.6rem);
  line-height: 0.92;
  letter-spacing: -0.07em;
}

.hero h1 span {
  color: #0f8a7e;
}

.hero-copy {
  max-width: 650px;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: #475569;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.8rem 0;
}

.trust-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  padding: 0;
  margin: 1.8rem 0 0;
  list-style: none;
}

.trust-list li {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 0.85rem;
  font-weight: 800;
  color: var(--navy);
}

.hero-card {
  position: relative;
  min-height: 510px;
  border-radius: 36px;
  padding: 1.3rem;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.94), rgba(223, 248, 245, 0.92)),
    var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  right: -70px;
  top: -70px;
  border-radius: 999px;
  background: var(--sun);
  opacity: 0.72;
}

.cleaning-illustration {
  position: absolute;
  inset: 1.3rem;
  display: grid;
  place-items: center;
}

.house-shape {
  width: min(76%, 350px);
  aspect-ratio: 1 / 0.9;
  background: var(--white);
  border: 4px solid var(--navy);
  border-radius: 28px;
  transform: rotate(-2deg);
  position: relative;
  box-shadow: 0 22px 50px rgba(22, 50, 79, 0.12);
}

.house-shape::before {
  content: "";
  position: absolute;
  width: 58%;
  height: 58%;
  left: 21%;
  top: -30%;
  background: var(--white);
  border-left: 4px solid var(--navy);
  border-top: 4px solid var(--navy);
  transform: rotate(45deg);
  border-radius: 14px 0 0 0;
}

.door {
  position: absolute;
  width: 76px;
  height: 112px;
  left: calc(50% - 38px);
  bottom: -4px;
  background: var(--aqua);
  border: 4px solid var(--navy);
  border-radius: 40px 40px 0 0;
}

.window {
  position: absolute;
  width: 70px;
  height: 70px;
  left: 46px;
  top: 78px;
  border-radius: 20px;
  background: var(--sun);
  border: 4px solid var(--navy);
}

.sparkle {
  position: absolute;
  color: var(--navy);
  font-size: 2.2rem;
  font-weight: 800;
}

.sparkle.one { left: 8%; top: 20%; }
.sparkle.two { right: 12%; bottom: 22%; }
.sparkle.three { right: 24%; top: 26%; color: var(--sun-deep); }

.floating-card {
  position: absolute;
  left: 1.3rem;
  bottom: 1.3rem;
  right: 1.3rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1rem;
  display: grid;
  gap: 0.3rem;
  box-shadow: 0 20px 40px rgba(22, 50, 79, 0.12);
}

.floating-card strong {
  color: var(--navy);
}

.section {
  padding: 72px 0;
}

.section.alt {
  background: rgba(255, 255, 255, 0.45);
  border-block: 1px solid var(--line);
}

.section-header {
  max-width: 720px;
  margin-bottom: 2rem;
}

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

.section h2 {
  color: var(--navy);
  margin: 0.5rem 0 0.7rem;
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.section p {
  color: var(--muted);
}

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

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: 0 14px 36px rgba(22, 50, 79, 0.07);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: var(--aqua-soft);
  color: var(--navy);
  font-size: 1.5rem;
}

.card h3 {
  color: var(--navy);
  margin: 1rem 0 0.5rem;
}

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

.step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
  counter-increment: steps;
}

.step::before {
  content: counter(steps);
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: var(--sun);
  color: var(--navy);
  font-weight: 900;
}

.step h3 {
  color: var(--navy);
}

.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  gap: 2rem;
  align-items: start;
}

.contact-card {
  background: var(--navy);
  color: var(--white);
  border-radius: 34px;
  padding: 2rem;
  box-shadow: var(--shadow);
}

.contact-card p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-list {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.contact-list a {
  color: var(--white);
  text-decoration: none;
  font-weight: 800;
}

.quote-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 34px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

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

.field {
  display: grid;
  gap: 0.45rem;
}

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

label {
  color: var(--navy);
  font-weight: 800;
  font-size: 0.92rem;
}

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

textarea {
  resize: vertical;
}

.hidden {
  display: none;
}

.form-note {
  font-size: 0.88rem;
  color: var(--muted);
}

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

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

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.footer-links a {
  color: var(--white);
  text-decoration: none;
}

.brand-mini {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--navy);
  font-weight: 900;
}

.thank-you-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
}

.thank-you-card {
  width: min(680px, calc(100% - 32px));
  padding: 2rem;
  border-radius: 34px;
  background: var(--white);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.thank-you-card h1 {
  color: var(--navy);
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1;
}

.thank-you-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.3rem;
}

@media (max-width: 900px) {
  .nav {
    height: auto;
    padding: 1rem 0;
    align-items: flex-start;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .hero-grid,
  .form-layout {
    grid-template-columns: 1fr;
  }

  .card-grid,
  .steps,
  .trust-list {
    grid-template-columns: 1fr;
  }

  .hero-card {
    min-height: 420px;
  }
}

@media (max-width: 620px) {
  .nav {
    flex-direction: column;
  }

  .nav-links {
    justify-content: flex-start;
  }

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

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

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

/* ── Accessibility: skip link ─────────────────────────────── */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 60;
  background: var(--navy);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 0 0 8px 0;
  font-weight: 600;
}
.skip-link:focus {
  left: 0;
}

/* ── Accessibility: visible keyboard focus (WCAG 2.4.7) ───── */
a:focus-visible,
button:focus-visible,
.button:focus-visible,
.lang-toggle:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 2px;
}
.announcement a:focus-visible,
.contact-card a:focus-visible,
.site-footer a:focus-visible {
  outline-color: #ffd166;
}

/* ── Trust bar ────────────────────────────────────────────── */
.trust-bar {
  background: var(--navy);
  color: var(--white);
  padding: 16px 0;
}
.trust-bar-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
  font-weight: 600;
  font-size: 0.98rem;
}
.trust-bar-list li {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ── What's included checklist ────────────────────────────── */
.checklist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.checklist {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.checklist h3 {
  margin: 0 0 12px;
  color: var(--navy);
}
.checklist ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.checklist li {
  position: relative;
  padding-left: 26px;
  color: var(--ink);
}
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #0f8a7e;
  font-weight: 800;
}

/* ── Service areas ────────────────────────────────────────── */
.areas-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 760px;
}
.areas-list li {
  background: var(--aqua-soft);
  color: var(--navy);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 18px;
  font-weight: 600;
}
.areas-note {
  text-align: center;
  color: var(--muted);
  max-width: 640px;
  margin: 22px auto 0;
}

/* ── FAQ ──────────────────────────────────────────────────── */
.container.narrow {
  width: min(820px, calc(100% - 32px));
}
.faq-list {
  display: grid;
  gap: 14px;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 4px 22px;
  box-shadow: var(--shadow);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 28px 18px 0;
  font-weight: 600;
  color: var(--navy);
  position: relative;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f8a7e;
  line-height: 1;
}
.faq-item[open] summary::after {
  content: "–";
}
.faq-answer {
  padding: 0 0 18px;
  color: var(--ink);
}
.faq-answer p {
  margin: 0;
}

/* ── Respect reduced-motion preferences ───────────────────── */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
  .button:hover {
    transform: none;
  }
}
