/* ============================================================
   Innova Services — minimal editorial theme
   Matched to reference: Poppins, navy #0B0D63, blush #F8E3E0,
   black buttons, white base, photo-driven two-column layout.
   ============================================================ */

:root {
  --white: #ffffff;
  --cream: #f6f1e8;         /* warm page base */
  --navy: #6d5844;          /* primary warm brown (headings, accents, dark blocks) */
  --navy-deep: #584635;     /* deep espresso (footer) */
  --brown-mid: #8f7454;     /* soft-brown button */
  --blue: #e3d3bd;          /* warm sand panel tone */
  --blue-soft: #f1e8da;     /* very light warm tint */
  --panel-ink: #584635;     /* readable text on sand panels */
  --black: #4f3f2e;         /* espresso for strong text */
  --ink: #5f4c39;           /* warm brown body text */
  --muted: #907d69;         /* muted warm brown */
  --line: #e8ded0;          /* warm hairline */
  --line-dark: rgba(255, 255, 255, .16);

  --maxw: 1200px;
  --font: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --s-1: 8px;
  --s-2: 16px;
  --s-3: 24px;
  --s-4: 40px;
  --s-5: 64px;
  --s-6: 96px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 300;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { font-weight: 500; letter-spacing: -.01em; line-height: 1.15; margin: 0; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 32px;
}

.skip-link {
  position: absolute; left: -9999px; top: 12px;
  background: var(--navy); color: #fff;
  padding: 10px 16px; border-radius: 4px; z-index: 200;
}
.skip-link:focus { left: 16px; }

.d-none { display: none; }

/* ---------- Buttons (solid, small radius) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 500;
  font-size: .92rem;
  letter-spacing: .01em;
  padding: 14px 26px;
  border-radius: 4px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-dark { background: var(--brown-mid); color: #fff; }
.btn-dark:hover { background: var(--navy); }

.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--blue); }

.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-outline-light:hover { background: #fff; color: var(--navy); border-color: #fff; }

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

.btn-block { width: 100%; }
.btn-lg { padding: 16px 28px; font-size: .98rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(246,241,232,.9);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; height: 80px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--navy); }
.brand-logo { height: 56px; width: auto; display: block; }
.brand-mark { color: var(--navy); display: inline-flex; }
.brand-text {
  font-weight: 500; font-size: 1.05rem; letter-spacing: .14em; color: var(--navy);
}
.brand-text span { font-weight: 300; opacity: .7; }

.main-nav { display: flex; gap: 30px; }
.main-nav a {
  font-weight: 400; font-size: .92rem; color: var(--ink);
  position: relative; padding: 6px 0;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1.5px; background: var(--navy); transition: width .22s ease;
}
.main-nav a:hover::after { width: 100%; }

.header-cta { padding: 11px 22px; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; padding: 8px; cursor: pointer;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav[hidden] { display: none; }
.mobile-nav {
  display: flex; flex-direction: column;
  padding: 8px 32px 24px; border-top: 1px solid var(--line); background: #fff;
}
.mobile-nav a { padding: 14px 2px; font-weight: 400; color: var(--ink); border-bottom: 1px solid var(--line); }
.mobile-nav a.btn { border: 0; color: #fff; margin-top: 16px; justify-content: center; }

/* ---------- Hero (solid navy block) ---------- */
/* Full-bleed hero: image spans 100% width, warm cream veil, brown text */
.hero {
  padding: 0;
  background:
    linear-gradient(100deg, rgba(246,241,232,.96) 0%, rgba(244,236,224,.82) 44%, rgba(226,213,193,.55) 100%),
    url('https://assets.site-static.com/blogphotos/665/9202-things-people-with-ultra-clean-homes-do-every-single-day-featured-image-min.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero .container { padding-block: clamp(72px, 11vw, 152px); }
.hero-block {
  max-width: 640px;
  color: var(--ink);
  display: flex; flex-direction: column;
}
.hero-sub {
  margin: 0 0 40px; font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 300; color: var(--ink); max-width: 34ch;
}
.hero-kicker {
  margin: 0 0 22px; font-size: .8rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase; color: var(--navy);
}
.hero-kicker.light { color: rgba(255,255,255,.72); }
.hero-block h1 {
  font-size: clamp(2.2rem, 5.2vw, 4rem);
  font-weight: 500; max-width: 16ch; margin: 0 0 18px; color: var(--black);
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Sections ---------- */
.section { padding: var(--s-6) 0; }
.section-flush { padding: var(--s-6) 0; }

.section-head { max-width: 620px; margin: 0 auto var(--s-5); text-align: center; }
.section-head--left { text-align: left; margin-left: 0; }
.section-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); margin-bottom: 16px; }
.section-head p { color: var(--muted); font-size: 1.05rem; margin: 0; }

/* ---------- Split (intro) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: stretch; }
.split-text { align-self: center; }
.split-text h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); margin-bottom: 28px; }
.split-text p { color: var(--muted); margin: 0 0 18px; max-width: 42ch; }
.split-media { min-height: 100%; }
.split-media img {
  width: 100%; height: 100%; min-height: 480px; object-fit: cover; border-radius: 6px;
}
.link-underline {
  display: inline-block; margin-top: 10px; font-weight: 500; color: var(--navy);
  border-bottom: 1.5px solid var(--navy); padding-bottom: 2px;
}
.link-underline:hover { color: var(--black); border-color: var(--black); }

/* ---------- Accolade strip ---------- */
.accolade { padding: 8px 0 48px; }
.accolade .container { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.accolade-btn { align-self: flex-start; margin-bottom: 6px; }
.accolade-line {
  margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 26px;
  font-size: clamp(1.5rem, 3.4vw, 2.6rem); font-style: italic; font-weight: 500; color: var(--black);
  letter-spacing: -.01em;
}
.accolade-line span { position: relative; }
.accolade-line span:not(:last-child)::after {
  content: ""; position: absolute; right: -15px; top: 12%; height: 76%; width: 2px;
  background: var(--muted); transform: skewX(-10deg);
}
.accolade-sub { margin: 0; color: var(--muted); font-size: .98rem; }

/* ---------- Section eyebrow ---------- */
.section-eyebrow {
  margin: 0 0 14px; font-size: .8rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--navy);
}

/* ---------- Why (photo + sand panel), capped to viewport height ---------- */
.why { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; padding: 0; max-height: 100vh; overflow: hidden; }
.why-media { min-height: 0; }
.why-media img { width: 100%; height: 100%; object-fit: cover; }
.why-panel { background: var(--blue); display: flex; align-items: center; }
.why-panel-inner { padding: clamp(32px, 5vw, 68px); max-width: 560px; }
.why-panel-inner h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 18px; color: var(--black); }
.why-panel-inner p { color: var(--panel-ink); margin: 0 0 14px; }
.why-note { font-size: .95rem; }

.check-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 30px; color: var(--panel-ink); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 14px; height: 8px; border-left: 2px solid var(--navy); border-bottom: 2px solid var(--navy);
  transform: rotate(-45deg); transform-origin: center;
}
.check-list--light li { color: rgba(255,255,255,.9); }
.check-list--light li::before { border-color: #fff; }

/* ---------- Services ---------- */
.services { background: transparent; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.service-card {
  padding: 40px 34px 44px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line);
  transition: background .2s ease;
}
.service-card:nth-child(3n) { border-right: 0; }
.service-card:hover { background: var(--blue-soft); }
.service-index { display: block; font-size: .85rem; font-weight: 500; color: var(--navy); letter-spacing: .1em; margin-bottom: 18px; }
.service-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.service-card p { color: var(--muted); margin: 0; font-size: .97rem; }

/* ---------- Areas ---------- */
.areas { background: var(--blue-soft); }
.areas-grid {
  max-width: var(--maxw); margin: 0 auto var(--s-4);
  padding-inline: 32px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px;
}
.area-card { background: #fff; border-radius: 6px; overflow: hidden; box-shadow: 0 20px 50px -30px rgba(93,72,54,.35); }
.area-card img { width: 100%; height: 320px; object-fit: cover; }
.area-body { padding: 30px 32px 36px; }
.area-body h3 { font-size: 1.5rem; margin-bottom: 10px; color: var(--navy); }
.area-body > p { color: var(--muted); margin: 0 0 14px; }
.area-tags { font-size: .88rem; color: var(--muted); line-height: 1.9; }
.areas-note { text-align: center; margin: 0; color: var(--muted); }
.areas-note a { color: var(--navy); font-weight: 500; border-bottom: 1.5px solid var(--navy); }

/* ---------- Dedicated teams ---------- */
.teams { background: transparent; }
.teams-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.team-card {
  background: #fff; border-radius: 6px; overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px -34px rgba(93,72,54,.4);
  transition: transform .22s ease, box-shadow .22s ease;
}
.team-card:hover { transform: translateY(-5px); box-shadow: 0 26px 54px -30px rgba(93,72,54,.5); }
.team-card img { width: 100%; height: 210px; object-fit: cover; display: block; }
.team-body { padding: 24px 26px 30px; }
.team-tag { display: block; font-size: .78rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--brown-mid); margin-bottom: 8px; }
.team-body h3 { font-size: 1.3rem; margin-bottom: 8px; color: var(--navy); }
.team-body p { color: var(--muted); margin: 0; font-size: .95rem; }

/* ---------- Benefits (accordion) ---------- */
.benefits { background: transparent; }
.accordion { max-width: 900px; }
.acc-item { border-top: 1px solid var(--line); }
.accordion .acc-item:last-child { border-bottom: 1px solid var(--line); }
.acc-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 26px 4px; font-size: 1.15rem; font-weight: 400; color: var(--ink);
}
.acc-item summary::-webkit-details-marker { display: none; }
.acc-icon { position: relative; width: 18px; height: 18px; flex: none; }
.acc-icon::before, .acc-icon::after {
  content: ""; position: absolute; background: var(--navy); transition: transform .25s ease, opacity .25s ease;
}
.acc-icon::before { top: 8px; left: 0; width: 18px; height: 2px; }
.acc-icon::after { left: 8px; top: 0; width: 2px; height: 18px; }
.acc-item[open] .acc-icon::after { transform: rotate(90deg); opacity: 0; }
.acc-body { padding: 0 4px 28px; max-width: 62ch; }
.acc-body p { margin: 0; color: var(--muted); }

/* ---------- Reviews ---------- */
.reviews { background: var(--blue-soft); }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-card { background: #fff; border-radius: 6px; padding: 32px 30px; border: 1px solid var(--line); }
.stars { color: #f0a500; letter-spacing: 3px; font-size: 1rem; margin: 0 0 16px; }
.review-card blockquote { margin: 0 0 18px; font-size: 1.05rem; font-weight: 300; color: var(--ink); line-height: 1.6; }
.review-card figcaption { color: var(--muted); font-size: .9rem; }
.review-card figcaption strong { color: var(--ink); font-weight: 500; }

/* ---------- Quote (navy) ---------- */
.quote { background: var(--navy); color: #fff; }
.quote-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.quote-copy h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 18px; }
.quote-copy > p { color: rgba(255,255,255,.78); margin: 0 0 26px; max-width: 42ch; }
.quote-contact { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 6px; }
.quote-contact a { font-weight: 500; border-bottom: 1.5px solid rgba(255,255,255,.5); padding-bottom: 2px; }
.quote-contact a:hover { border-color: #fff; }

.quote-form { background: #fff; border-radius: 8px; padding: 36px; color: var(--ink); }
.field { margin-bottom: 18px; display: flex; flex-direction: column; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { font-size: .85rem; font-weight: 500; margin-bottom: 8px; }
.optional { color: var(--muted); font-weight: 300; }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: .96rem; font-weight: 300; color: var(--ink);
  padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 4px; background: #fff; width: 100%;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(93,72,54,.15);
}
.form-note { text-align: center; color: var(--muted); font-size: .82rem; margin: 14px 0 0; }
.form-success {
  margin: 16px 0 0; padding: 14px 16px; border-radius: 4px;
  background: var(--blue); color: var(--black); font-weight: 500; text-align: center;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #d8c8b4; padding-top: var(--s-5); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: var(--s-4); }
.footer-brand .brand-text { color: #fff; font-size: 1.1rem; letter-spacing: .14em; }
.footer-brand .brand-text span { opacity: .7; }
.footer-brand p { margin: 16px 0 0; font-size: .93rem; max-width: 32ch; color: #c3b299; }
.footer-col h4 { color: #fff; font-size: .92rem; font-weight: 500; margin: 0 0 16px; letter-spacing: .02em; }
.footer-col a { display: block; padding: 6px 0; font-size: .9rem; color: #c3b299; transition: color .18s ease; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  padding-block: 22px; border-top: 1px solid var(--line-dark); font-size: .83rem; color: #a08d76;
}
.footer-bottom p { margin: 0; }

/* ---------- Reveal (subtle) ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .split, .quote-grid { grid-template-columns: 1fr; }
  .split-media { order: -1; }
  .split-media img { max-height: 460px; }
  .why { grid-template-columns: 1fr; max-height: none; overflow: visible; }
  .why-media { min-height: 340px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .service-card:nth-child(3n) { border-right: 1px solid var(--line); }
  .service-card:nth-child(2n) { border-right: 0; }
  .reviews-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .container { padding-inline: 22px; }
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .section, .section-flush { padding: 60px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card, .service-card:nth-child(3n) { border-right: 0; }
  .areas-grid { grid-template-columns: 1fr; padding-inline: 22px; }
  .teams-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 460px) {
  .footer-grid { grid-template-columns: 1fr; }
  .accolade-line { font-size: 1.05rem; }
}

/* Don't cap the Why section on short viewports (avoids clipping the panel) */
@media (max-height: 860px) and (min-width: 981px) {
  .why { max-height: none; overflow: visible; }
  .why-media { min-height: 480px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
