/* =========================================================
   Clean & Care landing page styles
   Brand colours (from logo):
     --navy  #303088   primary
     --gold  #E0A860   accent
     --paper #F8F8F8   light surface
   ========================================================= */

:root {
  --navy: #303088;
  --navy-deep: #23246a;
  --navy-ink: #1b1c4a;
  --gold: #e0a860;
  --gold-deep: #b9822f;   /* fills, borders, hover */
  --gold-text: #8a5622;  /* gold used as text on light, meets WCAG AA */
  --paper: #f8f8f8;
  --white: #ffffff;
  --text: #23243a;
  --muted: #565771;
  --line: #e5e5ee;

  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(48, 48, 136, 0.10);
  --shadow-sm: 0 4px 14px rgba(48, 48, 136, 0.07);
  --maxw: 1120px;
  --header-h: 76px;

  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-script: "Kaushan Script", "Segoe Script", "Brush Script MT", cursive;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

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

/* Consistent, visible keyboard focus everywhere */
:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
  border-radius: 3px;
}
::selection { background: var(--gold); color: var(--navy-ink); }

h1, h2, h3 {
  font-family: var(--font-head);
  color: var(--navy-ink);
  line-height: 1.15;
  margin: 0 0 .5em;
  font-weight: 600;
}

h1 { font-size: clamp(1.85rem, 4.6vw, 3.1rem); }
h2 { font-size: clamp(1.55rem, 3.2vw, 2.2rem); }
h3 { font-size: 1.18rem; }

p { margin: 0 0 1rem; }

a { color: var(--navy); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
}

.sr-only,
.skip-link {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip-link:focus {
  position: fixed;
  top: 1rem; left: 1rem;
  width: auto; height: auto;
  clip: auto;
  background: var(--navy);
  color: #fff;
  padding: .6rem 1rem;
  border-radius: var(--radius-sm);
  z-index: 200;
}

.hp { display: none !important; }

/* -------------------- Buttons -------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .98rem;
  padding: .7rem 1.3rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--gold); color: var(--navy-ink); }
.btn-primary:hover { background: var(--gold-deep); color: var(--navy-ink); }

.btn-ghost { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }

.btn-lg { padding: .9rem 1.7rem; font-size: 1.02rem; }
.btn-block { width: 100%; }

/* -------------------- Header -------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: saturate(160%) blur(8px);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { max-width: 1280px; }
.header-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: var(--header-h);
}
.brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  flex-shrink: 0;
  text-decoration: none;
}
.brand img { height: 44px; width: auto; }
.brand-tagline {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: 1.35rem;
  line-height: 1;
  color: var(--gold-text);
  white-space: nowrap;
  transform: translateY(1px);
}

.main-nav { margin-left: auto; }
.nav-list {
  list-style: none;
  display: flex;
  gap: 1.3rem;
  margin: 0;
  padding: 0;
}
.nav-list a {
  display: inline-block;
  color: var(--navy-ink);
  font-weight: 600;
  font-size: .92rem;
  padding: .35rem 0;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
}
.nav-list a:hover { color: var(--navy); text-decoration: none; border-bottom-color: var(--gold); }

.header-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}
.phone-link {
  font-weight: 700;
  font-size: .95rem;
  color: var(--navy-ink);
  white-space: nowrap;
}
.phone-link:hover { color: var(--navy); text-decoration: none; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  cursor: pointer;
  margin-left: auto;
}
.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--navy-ink);
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle-bar { position: relative; }
.nav-toggle-bar::before { position: absolute; top: -6px; left: 0; }
.nav-toggle-bar::after { position: absolute; top: 6px; left: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }

/* -------------------- Hero -------------------- */
.hero {
  background:
    radial-gradient(820px 380px at 50% -18%, rgba(224, 168, 96, 0.20), transparent 65%),
    linear-gradient(180deg, var(--paper), var(--white));
  padding: clamp(3.5rem, 9vw, 6.5rem) 0 clamp(3rem, 7vw, 5rem);
  border-bottom: 1px solid var(--line);
}
.hero-inner {
  max-width: 46rem;
  margin: 0 auto;
  text-align: center;
}
.eyebrow {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .09em;
  font-size: .8rem;
  color: var(--gold-text);
  margin-bottom: .6rem;
}
.hero-inner h1 { margin-bottom: .4em; }
.lede {
  font-size: 1.13rem;
  color: var(--muted);
  max-width: 44ch;
  margin-inline: auto;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .9rem;
  margin: 1.8rem 0 1.6rem;
}
.hero-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem 1.6rem;
}
.hero-points li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--text);
  font-weight: 600;
}
.hero-points li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold-text);
  font-weight: 800;
}

/* -------------------- Sections -------------------- */
.section { padding: clamp(3.25rem, 7vw, 5.5rem) 0; }
.section-alt { background: var(--paper); }

.section-head { max-width: 44rem; margin-bottom: 2.75rem; }
.section-sub { color: var(--muted); font-size: 1.05rem; }

.grid { display: grid; gap: 1.4rem; }

.cards { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.card h3 { color: var(--navy); }
.card p { margin: 0; color: var(--muted); }

.features { grid-template-columns: repeat(3, 1fr); }
.feature {
  padding: 1.3rem 1.3rem 1.3rem 1.5rem;
  border-left: 3px solid var(--gold);
  background: var(--white);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.section-alt .feature { background: var(--white); box-shadow: var(--shadow-sm); }
.feature h3 { color: var(--navy-ink); }
.feature p { margin: 0; color: var(--muted); }

/* Service area */
.area-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}
.area-list {
  list-style: none;
  padding: 0;
  margin: 1.4rem 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: .55rem 1rem;
}
.area-list li {
  padding-left: 1.4rem;
  position: relative;
  font-weight: 600;
  color: var(--navy-ink);
}
.area-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--gold-text);
  font-weight: 800;
}
.area-note { color: var(--muted); font-weight: 400; }

.callout {
  background: var(--navy);
  color: #eef;
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow);
}
.callout h3 { color: #fff; }
.callout p { color: rgba(255,255,255,0.82); }
.callout .btn { margin-top: .4rem; }

/* How it works */
.steps {
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step;
}
.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  box-shadow: var(--shadow-sm);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem; height: 2.4rem;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy-ink);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: .8rem;
}
.step h3 { color: var(--navy); }
.step p { margin: 0; color: var(--muted); }

/* Quote / contact */
.quote-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.contact-list {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 0;
  display: grid;
  gap: .9rem;
}
.contact-list li {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: .5rem;
  padding-bottom: .8rem;
  border-bottom: 1px solid var(--line);
}
.contact-label {
  font-weight: 700;
  color: var(--gold-text);
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: .75rem;
  padding-top: .15rem;
}

.quote-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2rem);
  box-shadow: var(--shadow);
}
.field { margin-bottom: 1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label {
  display: block;
  font-weight: 700;
  font-size: .9rem;
  margin-bottom: .35rem;
  color: var(--navy-ink);
}
.field label .req { color: #b3261e; }
.field label .optional {
  color: var(--muted);
  font-weight: 400;
  font-size: .85em;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  color: var(--text);
  padding: .7rem .85rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  transition: border-color .12s ease, box-shadow .12s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(48, 48, 136, 0.14);
  background: var(--white);
}
.field textarea { resize: vertical; }
.form-status { font-size: .88rem; font-weight: 600; margin: .9rem 0 0; min-height: 1.2em; }
.form-status-ok { color: #2a7a4a; }
.form-status-error { color: #b3261e; }
.form-note { font-size: .82rem; color: var(--muted); margin: .5rem 0 0; }

/* -------------------- The care part -------------------- */
.care-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(1.8rem, 5vw, 3.5rem);
  align-items: center;
}
.care-photo {
  margin: 0;
  border-radius: 18px;
  padding: 10px;
  background: var(--white);
  box-shadow: var(--shadow);
  transform: rotate(1.2deg);
  max-width: 420px;
  justify-self: center;
}
.care-photo img {
  width: 100%;
  border-radius: 10px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
.care-copy p { color: var(--muted); }
.care-copy p:first-of-type { color: var(--text); }

.eco-badge {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin-top: .6rem;
  padding: .6rem .95rem;
  border: 1.5px solid var(--gold);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-weight: 700;
  font-size: .92rem;
  line-height: 1.35;
  color: var(--navy-ink);
}
.eco-leaf {
  display: inline-flex;
  color: var(--gold-deep);
  flex-shrink: 0;
}
.eco-leaf svg { display: block; }

/* -------------------- Footer -------------------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.82);
  padding: 3rem 0 1.6rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.footer-brand img { height: 52px; width: auto; margin-bottom: .8rem; }
.footer-brand p { max-width: 30ch; color: rgba(255,255,255,0.72); }
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.footer-cols h3 { color: #fff; font-size: 1rem; margin-bottom: .6rem; }
.footer-cols ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.footer-cols a { color: rgba(255, 255, 255, 0.82); }
.footer-cols a:hover { color: var(--gold); text-decoration: none; }

.footer-eco {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: 1.4rem 0 .2rem;
  color: rgba(255, 255, 255, 0.82);
}
.footer-eco .eco-leaf { color: var(--gold); }
.footer-eco p { margin: 0; font-size: .9rem; max-width: 60ch; }

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem;
  padding-top: 1.2rem;
  font-size: .82rem;
  color: rgba(255, 255, 255, 0.6);
}
.footer-legal p { margin: 0; }

/* -------------------- Responsive -------------------- */

/* Collapse the nav into a dropdown before the desktop row runs out of room */
@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }

  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    margin: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    max-height: calc(100vh - var(--header-h));
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
  }
  .main-nav.open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }
  .nav-list {
    flex-direction: column;
    gap: 0;
    padding: .25rem 0 .5rem;
  }
  .nav-list li { border-top: 1px solid var(--line); }
  .nav-list li:first-child { border-top: none; }
  .nav-list a {
    display: block;
    padding: .95rem clamp(1rem, 5vw, 2.5rem);
    border-bottom: 0;
  }
  .nav-list a:hover { border-bottom: 0; }
}

@media (max-width: 960px) {
  .cards, .features, .steps { grid-template-columns: repeat(2, 1fr); }
  .area-inner, .quote-inner, .care-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.8rem; }
  .care-photo { transform: none; }
}

@media (max-width: 600px) {
  .brand-tagline { display: none; }
  .cards, .features, .steps { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .contact-list li { grid-template-columns: 1fr; gap: .15rem; }
  .hero-actions .btn { width: 100%; }
  .footer-legal { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}
