/* Breezy House Cleaning
   Colors, only these: Navy #072E4C, Wave #82AEC2, Cream #FCF2E4, white.
   Wave blue is too light for text on cream or white. It is for lines,
   waves, and text that sits on navy. */

@font-face {
  font-family: Montserrat;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/montserrat-latin-400.woff2") format("woff2");
}

@font-face {
  font-family: Montserrat;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/montserrat-latin-600.woff2") format("woff2");
}

@font-face {
  font-family: Montserrat;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/montserrat-latin-700.woff2") format("woff2");
}

:root {
  --navy: #072e4c;
  --wave: #82aec2;
  --cream: #fcf2e4;
  --white: #ffffff;
  --line: rgba(7, 46, 76, 0.16);
  --shadow: 0 10px 30px rgba(7, 46, 76, 0.08);
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--cream);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--navy);
  font-family: Montserrat, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 400;
}

img {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1,
h2 {
  text-wrap: balance;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
}

h1 {
  margin: 0.35rem 0 0.8rem;
  font-size: clamp(2.05rem, 7vw, 3.5rem);
}

h2 {
  margin: 0.3rem 0 0.75rem;
  font-size: clamp(1.7rem, 4vw, 2.35rem);
}

h3 {
  margin: 0 0 0.45rem;
  font-size: 1.2rem;
  line-height: 1.3;
}

p {
  margin: 0 0 0.85rem;
}

a {
  color: var(--navy);
  font-weight: 600;
}

a:hover {
  color: var(--navy);
}

::selection {
  background: var(--wave);
  color: var(--navy);
}

:focus-visible {
  outline: 3px solid var(--wave);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 30;
  background: var(--white);
  color: var(--navy);
  padding: 0.55rem 0.8rem;
  border-radius: 8px;
}

.skip:focus {
  top: 0.75rem;
}

.lang-input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  border: 0;
}

.lang-input:focus-visible ~ .site-header .lang-switch {
  outline: 3px solid var(--wave);
  outline-offset: 3px;
}

.es {
  display: none;
}

body:has(#lang-es:checked) .en,
html.lang-es .en {
  display: none;
}

body:has(#lang-es:checked) .es,
html.lang-es .es {
  display: inline;
}

.wrap {
  width: min(1080px, 100%);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}

.bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 1rem;
  padding: 0.7rem 1.25rem 0.55rem;
}

.brand {
  display: flex;
  align-items: center;
  margin-right: auto;
  text-decoration: none;
}

.brand img {
  width: auto;
  height: 52px;
  max-width: min(62vw, 240px);
  object-fit: contain;
  object-position: left center;
}

.nav {
  order: 3;
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: 0.2rem 1.15rem;
  flex: 1 0 100%;
  padding-bottom: 0.35rem;
}

.nav a {
  flex: 0 0 auto;
  text-decoration: none;
  font-size: 0.95rem;
  padding: 0.45rem 0;
  border-bottom: 2px solid transparent;
}

.nav a:hover {
  border-bottom-color: var(--wave);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  min-height: 44px;
  padding: 0.35rem 0.9rem;
  border: 2px solid var(--navy);
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
}

.kicker {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.kicker::after {
  content: "";
  display: block;
  width: 2.6rem;
  height: 3px;
  margin-top: 0.55rem;
  border-radius: 999px;
  background: var(--wave);
}

.hero {
  padding: 1.6rem 1.25rem 2.4rem;
  text-align: center;
}

.hero .kicker::after {
  margin-inline: auto;
}

.hero-logo {
  display: block;
  width: min(100%, 420px);
  height: auto;
  margin: 0 auto 0.4rem;
}

.lede {
  max-width: 38rem;
  margin-inline: auto;
  font-size: 1.08rem;
}

.speak {
  font-weight: 700;
  margin-bottom: 1.15rem;
}

.actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 24rem;
  margin: 0 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  border: 2px solid var(--navy);
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--white);
  color: var(--navy);
}

.btn-secondary {
  background: transparent;
  color: var(--navy);
}

.btn-secondary:hover {
  background: var(--white);
}

.btn[disabled] {
  opacity: 0.65;
  cursor: wait;
}

.wave {
  display: block;
  line-height: 0;
  background: var(--cream);
}

.wave svg {
  display: block;
  width: 100%;
  height: 46px;
}

.section {
  padding: 3.2rem 1.25rem;
  scroll-margin-top: 7.5rem;
}

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

.section-cream {
  background: var(--cream);
}

.section .kicker {
  margin-bottom: 0.2rem;
}

.intro {
  max-width: 40rem;
}

.grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.4rem;
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--wave);
  border-radius: 16px;
  padding: 1.2rem 1.15rem 1.25rem;
  box-shadow: var(--shadow);
}

.card .btn {
  margin-top: auto;
  align-self: flex-start;
}

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

.offer {
  margin-top: 1.35rem;
  background: var(--navy);
  color: var(--cream);
  border-radius: 18px;
  padding: 1.25rem 1.15rem 0.6rem;
}

.offer .kicker {
  color: var(--wave);
}

.offer .kicker::after {
  background: var(--wave);
}

.price-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 1rem;
  align-items: center;
  padding: 0.95rem 0;
  border-top: 1px solid rgba(252, 242, 228, 0.22);
}

.price-row:first-of-type {
  border-top: 0;
}

.amount {
  margin: 0;
  font-size: clamp(1.85rem, 6vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.offer .amount {
  color: var(--cream);
}

.price-row p:last-child {
  margin: 0;
}

.price-row.deal {
  background: var(--cream);
  color: var(--navy);
  border-radius: 12px;
  border-top: 0;
  padding: 0.9rem 0.85rem;
  margin: 0.2rem 0 0.35rem;
}

.price-row.deal .amount {
  color: var(--navy);
}

.aside-grid {
  margin-top: 1rem;
}

.aside-grid .amount {
  display: block;
  margin-bottom: 0.15rem;
}

.steps {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
  counter-reset: step;
  display: grid;
  gap: 1rem;
}

.steps li {
  counter-increment: step;
  background: var(--cream);
  border-radius: 16px;
  padding: 1.15rem 1.15rem 0.4rem;
  border: 1px solid var(--line);
}

.steps h3 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.steps h3::before {
  content: counter(step);
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
  background: var(--navy);
  color: var(--cream);
  font-size: 1rem;
}

.facts {
  display: grid;
  gap: 0.7rem;
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}

.facts li {
  background: var(--white);
  border-radius: 12px;
  padding: 0.8rem 0.95rem;
  border: 1px solid var(--line);
  font-weight: 600;
}

.contact-card .btn {
  width: 100%;
}

.contact-card {
  margin-top: 1.2rem;
  background: var(--white);
  border-radius: 18px;
  padding: 1.15rem 1rem 1.25rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

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

label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

input,
select,
textarea {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 0.65rem 0.75rem;
  border: 1.5px solid rgba(7, 46, 76, 0.45);
  border-radius: 10px;
  background: var(--white);
  color: var(--navy);
  font: inherit;
  font-size: 1rem;
}

textarea {
  min-height: 8.5rem;
  resize: vertical;
}

.help {
  display: block;
  margin: 0.45rem 0 0;
  font-size: 0.92rem;
}

.field {
  margin: 0;
}

.hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  min-height: 1.4rem;
  font-weight: 600;
}

.form-status a {
  display: inline-block;
  margin-top: 0.25rem;
}

.phone-line {
  font-size: 1.15rem;
}

.site-footer {
  background: var(--navy);
  color: var(--cream);
  padding: 1.8rem 1.25rem 2.4rem;
}

.site-footer a {
  color: var(--cream);
}

.footer-name {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.fine {
  margin-top: 1rem;
  font-size: 0.92rem;
}

.thanks {
  min-height: 70vh;
  padding-top: 3rem;
}

.thanks .actions {
  margin-top: 1.4rem;
}

@media (min-width: 720px) {
  .form-row.two {
    grid-template-columns: 1fr 1fr;
  }

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

  .hero-logo {
    width: min(100%, 460px);
  }
}

@media (min-width: 900px) {
  .bar {
    flex-wrap: nowrap;
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
  }

  .brand img {
    height: 64px;
    max-width: 280px;
  }

  .nav {
    order: 0;
    display: flex;
    flex: 1 1 auto;
    flex-wrap: nowrap;
    justify-content: flex-end;
    gap: 0.15rem 1.05rem;
    padding-bottom: 0;
  }

  .hero {
    text-align: left;
    padding: 3.2rem 1.5rem 3.6rem;
  }

  .hero .wrap {
    display: grid;
    grid-template-columns: minmax(260px, 460px) minmax(0, 1fr);
    gap: 3.5rem;
    align-items: center;
  }

  .hero .kicker::after {
    margin-left: 0;
    margin-right: 0;
  }

  .hero .lede,
  .hero .actions {
    margin-left: 0;
    margin-right: 0;
  }

  .hero-logo {
    width: 100%;
    margin: 0;
  }

  .actions {
    flex-direction: row;
    max-width: none;
  }

  .actions .btn {
    min-width: 11.5rem;
  }

  .section {
    padding: 4.6rem 1.5rem;
  }

  .grid-4,
  .steps {
    grid-template-columns: 1fr 1fr;
  }

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

  .about-layout {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    gap: 1.5rem;
    align-items: start;
  }

  .wave svg {
    height: 72px;
  }

  .contact-card {
    padding: 1.5rem 1.4rem 1.6rem;
  }

  .contact-card .btn {
    width: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
