/* ==========================================================================
   Sylwia's Cleaning Services — stylesheet
   Palette: Pine #163C31, Meadow #6FA287, Linen #F7F3EA, Linen Deep #EFE7D6,
            Gold #E3A94A, Ink #24231D, White #FFFFFF
   Type: Bricolage Grotesque (display) + Libre Franklin (body) + Quicksand (nav)
   ========================================================================== */

:root {
  --pine: #163c31;
  --pine-light: #1f5142;
  --pine-dark: #0e2a22;
  --meadow: #6fa287;
  --meadow-light: #d9e8de;
  --linen: #f7f3ea;
  --linen-deep: #efe7d6;
  --gold: #e3a94a;
  --gold-light: #f6ddb0;
  --ink: #24231d;
  --ink-soft: #55534a;
  --white: #ffffff;

  --font-display: "Bricolage Grotesque", "Segoe UI", sans-serif;
  --font-body: "Libre Franklin", "Segoe UI", sans-serif;
  --font-nav: "Quicksand", "Segoe UI", sans-serif;

  --container: 1180px;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 32px;
  --shadow-card: 0 20px 40px -24px rgba(22, 60, 49, 0.35);
  --shadow-soft: 0 10px 24px -16px rgba(22, 60, 49, 0.28);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--linen);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--pine-dark);
  margin: 0 0 0.5em;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1em;
}

button {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  position: relative;
}

/* ---------- Type scale ---------- */
h1, .h1 { font-size: clamp(2.4rem, 4.6vw, 4rem); font-weight: 700; }
h2, .h2 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); font-weight: 700; }
h3, .h3 { font-size: clamp(1.2rem, 1.6vw, 1.45rem); font-weight: 600; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--meadow);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--gold);
  display: inline-block;
}
.lede {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 46ch;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--gold);
  color: var(--pine-dark);
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover { background: #edb85c; }
.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.12); }
.btn-dark {
  background: var(--pine);
  color: var(--white);
}
.btn-dark:hover { background: var(--pine-light); }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 243, 234, 0.9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(22, 60, 49, 0.08);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 84px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-nav);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--pine-dark);
}
.site-header .brand { display: inline-block; white-space: nowrap; flex-shrink: 0; }
.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: block;
}
.brand span { color: var(--meadow); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-family: var(--font-nav);
  font-weight: 600;
  font-size: 1rem;
}
.nav-links a {
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.nav-links a:hover::after { transform: scaleX(1); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-nav);
  font-weight: 700;
  font-size: 1rem;
  color: var(--pine-dark);
}
.header-phone svg { flex-shrink: 0; }
.site-header .btn,
.mobile-nav .btn {
  font-family: var(--font-nav);
  font-weight: 700;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 40px;
  height: 40px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  background: var(--pine-dark);
  margin: 5px auto;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.is-open span { opacity: 0; }
.nav-toggle.is-open::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open::after { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav { display: none; }

/* ---------- Hero ---------- */
.hero {
  background: var(--pine);
  color: var(--white);
  overflow: hidden;
  position: relative;
  padding-top: 76px;
}
.hero::before {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(227, 169, 74, 0.28), transparent 70%);
  top: -180px;
  right: -140px;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(111, 162, 135, 0.35), transparent 70%);
  bottom: -120px;
  left: -100px;
  pointer-events: none;
}
.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 76px 0 130px;
  position: relative;
  z-index: 1;
}
.hero-copy { max-width: 760px; }
.hero-copy h1 { color: var(--white); }
.hero-copy h1 em {
  font-style: normal;
  color: var(--gold);
}
.hero-copy .lede {
  color: rgba(247, 243, 234, 0.82);
  font-size: 1.15rem;
  max-width: 56ch;
  margin-left: auto;
  margin-right: auto;
}
.hero-cta {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.trust-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(247, 243, 234, 0.9);
}
.trust-pill svg { color: var(--gold); flex-shrink: 0; }

.wave-divider {
  position: relative;
  margin-top: -80px;
  line-height: 0;
  z-index: 1;
}
.wave-divider svg {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------- Stats ---------- */
.stats-wrap {
  margin-top: -70px;
  position: relative;
  z-index: 2;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.stat-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  box-shadow: var(--shadow-card);
}
.stat-card .num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--pine);
}
.stat-card .num.stat-icon {
  display: flex;
  align-items: center;
  height: 2.4rem;
  color: var(--meadow);
}
.stat-card .label {
  font-weight: 700;
  margin-top: 2px;
}
.stat-card p {
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin: 8px 0 0;
}

/* ---------- Section spacing ---------- */
.section { padding: 120px 0 100px; }
.section-tight { padding: 90px 0; }
.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
}
.about-grid-holiday { grid-template-columns: 1.15fr 0.85fr; }
.about-media { position: relative; }
.about-media img {
  border-radius: var(--radius-lg);
  aspect-ratio: 3 / 3.6;
  object-fit: cover;
  box-shadow: var(--shadow-card);
}
.about-media::after {
  content: "";
  position: absolute;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: var(--gold-light);
  top: -30px;
  right: -30px;
  z-index: -1;
}
.check-list {
  display: grid;
  gap: 16px;
  margin: 28px 0 32px;
}
.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-weight: 600;
  color: var(--ink);
}
.check-list li svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--meadow);
}
.quote-block {
  background: var(--linen-deep);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 24px 28px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--pine-dark);
  font-weight: 500;
  line-height: 1.5;
}
.quote-block cite {
  display: block;
  margin-top: 12px;
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

/* ---------- Services ---------- */
.services-section { background: var(--linen-deep); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}
.service-card .thumb {
  height: 190px;
  overflow: hidden;
}
.service-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.service-card:hover .thumb img { transform: scale(1.06); }
.service-body {
  padding: 24px 24px 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.service-body h3 { margin-bottom: 8px; }
.service-body p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  flex: 1;
}
.service-link {
  margin-top: 14px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--pine);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.service-link svg { transition: transform 0.2s ease; }
.service-card:hover .service-link svg { transform: translateX(4px); }

/* ---------- How it works ---------- */
.how-section {
  background: var(--pine);
  color: var(--white);
  border-radius: var(--radius-lg);
  margin: 0 24px;
  max-width: calc(var(--container) + 48px);
  margin-left: auto;
  margin-right: auto;
  padding: 70px 56px;
  position: relative;
  overflow: hidden;
}
.how-section::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(111, 162, 135, 0.3), transparent 70%);
  top: -140px;
  right: -80px;
}
.how-section .section-head h2 { color: var(--white); }
.how-section .lede { color: rgba(247, 243, 234, 0.78); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 48px;
  position: relative;
  z-index: 1;
}
.step {
  display: flex;
  gap: 20px;
}
.step .step-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  flex-shrink: 0;
}
.step h3 { color: var(--white); margin-bottom: 6px; }
.step p { color: rgba(247, 243, 234, 0.78); margin: 0; font-size: 0.95rem; }

/* ---------- Areas ---------- */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.area-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  box-shadow: var(--shadow-soft);
  text-align: center;
}
.area-card .pin {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--meadow-light);
  color: var(--pine);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.area-card h3 { margin-bottom: 6px; }
.area-card p { color: var(--ink-soft); font-size: 0.9rem; margin: 0; }

/* ---------- Why choose ---------- */
.why-section { background: var(--linen-deep); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.why-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 26px 28px;
  display: flex;
  gap: 16px;
  box-shadow: var(--shadow-soft);
}
.why-card .icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--pine);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.why-card h3 { margin-bottom: 4px; font-size: 1.08rem; }
.why-card p { margin: 0; color: var(--ink-soft); font-size: 0.92rem; }

/* ---------- Contact / CTA ---------- */
.contact-section {
  position: relative;
  background: var(--pine-dark);
  color: var(--white);
}
.contact-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.contact-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
}
.contact-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(14, 42, 34, 0.97) 0%, rgba(14, 42, 34, 0.86) 55%, rgba(14, 42, 34, 0.7) 100%);
}
.contact-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 64px;
  align-items: start;
}
.contact-copy h2 { color: var(--white); }
.contact-copy .lede { color: rgba(247, 243, 234, 0.8); }
.contact-methods {
  display: grid;
  gap: 14px;
  margin-top: 32px;
}
.contact-method {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  font-weight: 700;
}
.contact-method .icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--gold);
  color: var(--pine-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-method .lbl {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(247, 243, 234, 0.6);
  margin-bottom: 2px;
}
.contact-method .method-text { flex: 1; }
.method-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.method-actions a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s ease, transform 0.18s ease;
}
.method-actions a:hover {
  background: var(--gold);
  color: var(--pine-dark);
  transform: translateY(-2px);
}

.contact-form-card {
  background: var(--linen);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-card);
}
.contact-form-card h3 { margin-bottom: 4px; }
.contact-form-card > p { color: var(--ink-soft); margin-bottom: 24px; font-size: 0.94rem; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--pine-dark);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1.5px solid rgba(22, 60, 49, 0.18);
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--white);
  color: var(--ink);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--meadow);
  box-shadow: 0 0 0 3px rgba(111, 162, 135, 0.22);
}
.field textarea { resize: vertical; min-height: 100px; }
.field-hint { font-size: 0.78rem; color: var(--ink-soft); margin-top: 6px; }
.honeypot-field { position: absolute; left: -9999px; opacity: 0; height: 0; }

.form-status {
  margin-top: 14px;
  font-weight: 700;
  font-size: 0.9rem;
  display: none;
}
.form-status.is-visible { display: block; }
.form-status.success { color: var(--meadow); }
.form-status.error { color: #c65a3c; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--pine-dark);
  color: rgba(247, 243, 234, 0.75);
  padding: 70px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(247, 243, 234, 0.14);
}
.footer-brand .brand { color: var(--white); }
.footer-brand p {
  margin-top: 14px;
  font-size: 0.92rem;
  max-width: 32ch;
}
.footer-col h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.footer-col li { margin-bottom: 10px; font-size: 0.92rem; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 26px;
  font-size: 0.82rem;
}
.footer-bottom a:hover { color: var(--gold); }

/* ---------- Skip / accessibility ---------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: var(--pine-dark);
  padding: 12px 18px;
  font-weight: 700;
  border-radius: 0 0 8px 0;
  z-index: 999;
}
.skip-link:focus { left: 0; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1020px) {
  .hero-inner { padding-bottom: 100px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 420px; margin: 0 auto; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .areas-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .contact-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1024px) {
  .nav-links,
  .header-actions .header-phone,
  .header-actions .btn-dark { display: none; }
  .nav-toggle { display: flex; }
  .site-header .container { height: 72px; }

  .mobile-nav {
    display: none;
    position: fixed;
    inset: 72px 0 0 0;
    background: var(--linen);
    z-index: 99;
    padding: 30px 24px;
    overflow-y: auto;
  }
  .mobile-nav.is-open { display: block; }
  .mobile-nav ul { display: grid; gap: 4px; margin-bottom: 28px; }
  .mobile-nav ul a {
    display: block;
    padding: 14px 6px;
    font-family: var(--font-nav);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--pine-dark);
    border-bottom: 1px solid rgba(22, 60, 49, 0.1);
  }
  .mobile-nav .header-phone {
    font-family: var(--font-nav);
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 18px;
  }

  .section { padding: 84px 0 70px; }
  .stats { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .how-section { padding: 50px 28px; margin: 0 16px; }
}

@media (max-width: 640px) {
  .container { padding: 0 18px; }
  h1, .h1 { font-size: clamp(2rem, 8vw, 2.6rem); }
  .hero-inner { padding-top: 40px; padding-bottom: 130px; }
  .hero::before { width: 220px; height: 220px; top: -90px; right: -80px; }
  .hero::after { width: 170px; height: 170px; bottom: -50px; left: -60px; }
  .wave-divider { margin-top: -40px; }
  .stats-wrap { margin-top: -30px; }
  .stat-card { padding: 24px 20px; }
  .services-grid { grid-template-columns: 1fr; }
  .areas-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-card { padding: 26px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
}
