/* ============================================================
   Sunshine State Cleaning Company
   Brand: Teal #2E94AA · Charcoal #2B3845 · Marigold #F59E0B (rationed)
   Type:  Inter Tight (display) · Inter (body) · Fraunces (italic)
   ============================================================ */

:root {
  --teal:        #2E94AA;
  --teal-deep:   #257C90;
  --charcoal:    #2B3845;
  --charcoal-dp: #1A2230;
  --marigold:    #F59E0B;
  --paper:       #FAFAF7;
  --paper-warm:  #F4F2EC;
  --mute:        #757368;
  --rule:        #E5E3DC;
  --rule-dark:   #38434f;

  --ff-display: "Inter Tight", system-ui, sans-serif;
  --ff-body:    "Inter", system-ui, sans-serif;
  --ff-serif:   "Fraunces", Georgia, serif;

  --wrap: 1120px;
  --pad: clamp(20px, 5vw, 48px);
  --r: 14px;
  --shadow: 0 1px 2px rgba(26,34,48,.04), 0 18px 40px -24px rgba(26,34,48,.28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

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

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }

a { color: var(--teal-deep); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

em { font-style: normal; }
.sec-title em, .hero-title em, .about-sign em, .footer-tag em, blockquote em, .sec-sub em, .hero-lede em, .pricing-note em {
  font-family: var(--ff-serif); font-style: italic; font-weight: 400; color: var(--teal);
}

.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: var(--charcoal); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }

/* ---------- Wordmark ---------- */
.wordmark { display: inline-flex; flex-direction: column; line-height: 1; font-family: var(--ff-display); }
.wm-line1 { display: inline-flex; align-items: flex-end; font-weight: 900; letter-spacing: -.04em; position: relative; }
.t-teal { color: var(--teal); }
.t-char { color: var(--charcoal); }
.t-paper { color: var(--paper); }
.wm-dot { width: .26em; height: .26em; border-radius: 50%; background: var(--marigold); margin-left: .1em; margin-bottom: .08em; }
.wm-line2 { font-weight: 700; letter-spacing: .18em; color: var(--charcoal); }
.wordmark--sm .wm-line1 { font-size: 22px; }
.wordmark--sm .wm-line2 { font-size: 8.5px; margin-top: 3px; }
.wordmark--footer .wm-line1 { font-size: 28px; }
.wordmark--footer .wm-line2 { font-size: 9.5px; margin-top: 4px; }
.wordmark--footer .t-char, .wordmark--footer .wm-line2 { color: var(--paper); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,250,247,.86); backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav > a { font-family: var(--ff-display); font-weight: 600; font-size: 15px; color: var(--charcoal); }
.nav > a:hover { color: var(--teal-deep); text-decoration: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--ff-display); font-weight: 700; font-size: 15px; letter-spacing: -.01em;
  padding: 11px 20px; border-radius: 10px; border: 1.5px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease, color .15s; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--quote, .btn--primary { background: var(--teal); color: #fff; box-shadow: 0 10px 22px -12px rgba(46,148,170,.8); }
.btn--quote:hover, .btn--primary:hover { background: var(--teal-deep); }
.btn--ghost { background: transparent; color: var(--charcoal); border-color: var(--rule); }
.btn--ghost:hover { border-color: var(--charcoal); background: #fff; }
.btn--lg { padding: 15px 26px; font-size: 16px; }
.btn--block { width: 100%; }

.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(--charcoal); border-radius: 2px; transition: .2s; }
.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 { display: none; flex-direction: column; gap: 4px; padding: 12px var(--pad) 20px; border-bottom: 1px solid var(--rule); background: var(--paper); }
.mobile-nav a { font-family: var(--ff-display); font-weight: 600; padding: 12px 4px; color: var(--charcoal); border-bottom: 1px solid var(--rule); }
.mobile-nav .btn { margin-top: 10px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 11vw, 128px) 0 clamp(48px, 8vw, 96px); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 60% at 88% 8%, rgba(46,148,170,.10), transparent 70%),
    radial-gradient(40% 50% at 6% 92%, rgba(245,158,11,.07), transparent 70%);
}
.eyebrow { font-family: var(--ff-display); font-weight: 600; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); margin: 0 0 18px; }
.hero-title { font-family: var(--ff-display); font-weight: 800; letter-spacing: -.045em; line-height: .96; font-size: clamp(46px, 9vw, 96px); margin: 0; color: var(--charcoal); }
.hero-lede { font-size: clamp(18px, 2.4vw, 22px); line-height: 1.5; max-width: 38ch; color: #43505e; margin: 26px 0 32px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.trust { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px; padding: 0; margin: 40px 0 0; }
.trust li { display: inline-flex; align-items: center; gap: 9px; font-family: var(--ff-display); font-weight: 600; font-size: 14px; color: var(--charcoal); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--marigold); flex: none; }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 9vw, 104px) 0; }
.section--warm { background: var(--paper-warm); }
.section--dark { background: var(--charcoal-dp); color: var(--paper); }
.sec-head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 56px); }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-title { font-family: var(--ff-display); font-weight: 800; letter-spacing: -.035em; line-height: 1.0; font-size: clamp(32px, 5.2vw, 56px); margin: 12px 0 0; color: var(--charcoal); }
.section--dark .sec-title { color: var(--paper); }
.sec-sub { font-size: 18px; color: var(--mute); margin: 18px 0 0; max-width: 56ch; }
.section--dark .sec-sub { color: #c4ccd4; }
.section--dark .eyebrow { color: #8fa0ad; }

/* ---------- Service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--paper-warm); border: 1px solid var(--rule); border-radius: var(--r); padding: 28px 26px 30px; display: flex; flex-direction: column; }
.section--warm .card { background: var(--paper); }
.card--feature { border-color: var(--teal); box-shadow: var(--shadow); position: relative; }
.card-no { font-family: var(--ff-display); font-weight: 600; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); margin: 0 0 14px; }
.card-title { font-family: var(--ff-display); font-weight: 800; letter-spacing: -.02em; font-size: 23px; margin: 0; color: var(--charcoal); }
.card-cadence { font-family: var(--ff-serif); font-style: italic; color: var(--teal); margin: 6px 0 14px; font-size: 16px; }
.card-body { color: #45525f; margin: 0 0 18px; font-size: 15.5px; }
.ticks { list-style: none; padding: 0; margin: 0 0 4px; display: grid; gap: 9px; }
.ticks li { position: relative; padding-left: 24px; font-size: 14.5px; color: var(--charcoal); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 7px; width: 11px; height: 6px; border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg); }
.card-flag { margin: 18px 0 0; padding-top: 16px; border-top: 1px dashed var(--rule); font-family: var(--ff-display); font-weight: 600; font-size: 13px; color: var(--marigold); letter-spacing: .02em; }

.addons { margin-top: 24px; border: 1px dashed var(--rule); border-radius: var(--r); padding: 22px 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.addons-label { font-family: var(--ff-display); font-weight: 700; font-size: 14px; letter-spacing: .02em; color: var(--charcoal); margin: 0; }
.addon-list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 0; }
.addon-list li { font-size: 14.5px; color: var(--mute); }
.addon-list span { font-family: var(--ff-display); font-weight: 700; color: var(--charcoal); }
.addon-list small { font-weight: 500; color: var(--mute); }

/* ---------- Pricing table ---------- */
.table-scroll { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--rule); background: var(--paper); }
.pricing { width: 100%; border-collapse: collapse; min-width: 640px; }
.pricing th, .pricing td { padding: 16px 18px; text-align: right; font-size: 15px; border-bottom: 1px solid var(--rule); }
.pricing thead th { font-family: var(--ff-display); font-weight: 700; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--mute); text-align: right; }
.pricing tbody th { text-align: left; font-family: var(--ff-display); font-weight: 700; color: var(--charcoal); }
.pricing tbody th .sq { display: block; font-family: var(--ff-body); font-weight: 400; font-size: 12.5px; color: var(--mute); letter-spacing: 0; text-transform: none; }
.pricing td { color: #45525f; font-variant-numeric: tabular-nums; }
.pricing .hl { background: rgba(46,148,170,.07); color: var(--charcoal); font-weight: 500; }
.pricing thead .hl { color: var(--teal-deep); }
.th-tag { display: block; font-family: var(--ff-body); font-style: italic; font-weight: 400; font-size: 11px; letter-spacing: 0; text-transform: none; color: var(--marigold); }
.pricing tbody tr:last-child th, .pricing tbody tr:last-child td { border-bottom: 0; }
.pricing-note { display: flex; align-items: center; gap: 10px; margin: 20px 2px 0; color: var(--mute); font-size: 15px; }

/* ---------- Why grid ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px 36px; }
.why { position: relative; padding-top: 22px; }
.why-dot { position: absolute; top: 0; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--marigold); }
.why h3 { font-family: var(--ff-display); font-weight: 800; font-size: 19px; letter-spacing: -.01em; margin: 0 0 8px; color: var(--charcoal); }
.why p { margin: 0; color: #45525f; font-size: 15.5px; }

.quote-block { margin: clamp(44px, 6vw, 72px) 0 0; text-align: center; max-width: 880px; margin-inline: auto; }
.quote-block blockquote { font-family: var(--ff-display); font-weight: 700; letter-spacing: -.025em; line-height: 1.18; font-size: clamp(24px, 3.6vw, 38px); margin: 0; color: var(--charcoal); }
.quote-block figcaption { margin-top: 18px; font-family: var(--ff-serif); font-style: italic; color: var(--mute); }

/* ---------- Service area ---------- */
.area-chips { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; padding: 0; margin: clamp(28px,4vw,40px) auto 0; max-width: 820px; }
.area-chips li { font-family: var(--ff-display); font-weight: 600; font-size: 15px; padding: 10px 18px; border: 1px solid var(--rule-dark); border-radius: 100px; color: var(--paper); }
.area-chips li:nth-child(3n+1) { border-color: var(--teal); }
.area-note { text-align: center; margin: 28px 0 0; color: #c4ccd4; }
.area-note a { color: var(--marigold); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.about-copy p { color: #45525f; font-size: 17px; margin: 18px 0 0; max-width: 54ch; }
.about-copy .eyebrow { margin-bottom: 0; }
.about-sign { font-family: var(--ff-display); font-weight: 800; font-size: 22px; color: var(--charcoal); margin-top: 26px !important; }
.about-facts { background: var(--charcoal-dp); border-radius: var(--r); padding: 8px 28px; color: var(--paper); }
.about-facts dl { margin: 0; }
.about-facts div { display: flex; justify-content: space-between; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--rule-dark); }
.about-facts div:last-child { border-bottom: 0; }
.about-facts dt { font-family: var(--ff-display); font-weight: 600; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: #8fa0ad; }
.about-facts dd { margin: 0; text-align: right; font-weight: 500; font-size: 14.5px; color: var(--paper); }

/* ---------- Quote ---------- */
.quote-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 64px); align-items: start; }
.quote-intro p { color: #45525f; font-size: 17px; max-width: 42ch; }
.quote-contact { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 16px; }
.quote-contact li { display: flex; flex-direction: column; gap: 2px; }
.qc-label { font-family: var(--ff-display); font-weight: 600; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.quote-contact a, .quote-contact span:not(.qc-label) { font-size: 16px; color: var(--charcoal); }
.phone-placeholder { color: var(--mute) !important; font-style: italic; pointer-events: none; }

.quote-form { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r); padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow); }
.section--warm .quote-form { background: #fff; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { font-family: var(--ff-display); font-weight: 600; font-size: 13px; color: var(--charcoal); }
.field input, .field select, .field textarea {
  font-family: var(--ff-body); font-size: 15px; color: var(--charcoal);
  padding: 12px 14px; border: 1px solid var(--rule); border-radius: 9px; background: var(--paper); width: 100%;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(46,148,170,.16); }
.field textarea { resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-fineprint { text-align: center; font-size: 13px; color: var(--mute); margin: 14px 0 0; }
.form-status { text-align: center; font-size: 15px; margin: 10px 0 0; font-weight: 500; min-height: 1.2em; }
.form-status.ok { color: var(--teal-deep); }
.form-status.err { color: #b4452f; }
.btn--primary[disabled] { opacity: .6; cursor: progress; }

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal-dp); color: var(--paper); padding: clamp(48px,6vw,72px) 0 28px; }
.footer-inner { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; }
.footer-tag { font-family: var(--ff-display); font-weight: 700; font-size: 18px; color: var(--paper); margin: 18px 0 0; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.footer-cols h4 { font-family: var(--ff-display); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #8fa0ad; margin: 0 0 14px; }
.footer-cols a, .footer-cols .muted { display: block; color: #c4ccd4; font-size: 14.5px; margin-bottom: 9px; }
.footer-cols a:hover { color: var(--paper); }
.muted { color: #8fa0ad; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: clamp(36px,5vw,56px); padding-top: 22px; border-top: 1px solid var(--rule-dark); font-size: 13px; color: #8fa0ad; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(16px); animation: rise .7s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: calc(var(--d, 0) * 110ms); }
@keyframes rise { to { opacity: 1; transform: none; } }
.in-view { opacity: 1 !important; transform: none !important; }
.section .sec-head, .section .cards, .section .why-grid, .section .table-scroll, .section .about-grid, .section .quote-grid, .section .area-chips, .addons, .quote-block {
  opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1);
}
@media (prefers-reduced-motion: reduce) {
  .reveal, .section .sec-head, .section .cards, .section .why-grid, .section .table-scroll, .section .about-grid, .section .quote-grid, .section .area-chips, .addons, .quote-block { opacity: 1 !important; transform: none !important; animation: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .cards, .why-grid, .footer-cols { grid-template-columns: 1fr 1fr; }
  .about-grid, .quote-grid, .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .mobile-nav[data-open] { display: flex; }
  .cards, .why-grid, .footer-cols { grid-template-columns: 1fr; }
  .row { grid-template-columns: 1fr; }
  .trust { gap: 8px 18px; }
}
