/* Bella Coast Cleaning LLC — site styles
   Palette: navy (brand wordmark), ocean blue (waves), palm green (palm + CTAs), mist white */
:root {
  --navy: #0B3565;
  --navy-deep: #082748;
  --ocean: #1F8FC9;
  --sky: #7CCBEA;
  --green: #3C9A3F;
  --green-dark: #2E7F32;
  --mist: #EEF6F9;
  --white: #FFFFFF;
  --ink: #13283F;
  --muted: #4E6478;
  --line: #D6E4EC;
  --display: "Marcellus", Georgia, "Times New Roman", serif;
  --body: "Mulish", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --script: "Allura", "Brush Script MT", cursive;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 53, 101, .10);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ocean); }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; color: var(--navy); line-height: 1.2; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem); }
h3 { font-size: 1.2rem; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--ocean); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 12px; }

.eyebrow {
  font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--green-dark);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: 700 1rem/1 var(--body); text-decoration: none; cursor: pointer;
  padding: 14px 22px; border-radius: 999px; border: 2px solid transparent;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn svg { width: 1.1em; height: 1.1em; }
.btn:hover { transform: translateY(-1px); }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-dark); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-sm { padding: 11px 18px; font-size: .92rem; }
.btn-lg { padding: 17px 28px; font-size: 1.05rem; }
.btn-block { width: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } .btn:hover { transform: none; } }

/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand-mark { width: 40px; height: 40px; color: var(--green); stroke: var(--navy); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--script); font-size: 2.05rem; color: var(--navy); line-height: .9; }
.brand-sub { font-family: var(--display); font-size: .7rem; letter-spacing: .28em; text-transform: uppercase; color: var(--green-dark); margin-top: 3px; }
.main-nav { display: flex; gap: 22px; }
.main-nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.main-nav a:hover { color: var(--navy); border-color: var(--green); }
.header-cta { display: flex; align-items: center; gap: 16px; }
.header-phone { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; color: var(--navy); text-decoration: none; white-space: nowrap; }
.header-phone svg { color: var(--green); }
.menu-btn { display: none; }

/* Hero */
.hero { position: relative; background: linear-gradient(180deg, #F7FBFD 0%, var(--mist) 100%); padding-block: 56px 110px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.1rem, 1.3rem + 3vw, 3.4rem); margin-block: 14px 18px; }
.hero h1 em { font-style: normal; color: var(--green-dark); }
.lead { font-size: 1.14rem; color: var(--muted); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 24px; list-style: none; padding: 0; margin: 28px 0 0; font-weight: 700; color: var(--navy); }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { color: var(--green); width: 1.25em; height: 1.25em; }
.hero-visual { position: relative; margin: 0; }
.hero-visual img { border-radius: 18px; box-shadow: 0 24px 60px rgba(11, 53, 101, .22); transform: rotate(1.5deg); }
.hero-badge {
  position: absolute; left: -22px; bottom: -26px; width: 112px; height: 112px; border-radius: 50%;
  background: var(--navy); color: #fff; display: grid; place-content: center; text-align: center;
  box-shadow: var(--shadow); transform: rotate(-8deg); border: 4px solid #fff;
}
.hero-badge strong { font-family: var(--script); font-size: 2.3rem; font-weight: 400; line-height: .9; }
.hero-badge span { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; }
.wave { stroke: none; position: absolute; left: 0; bottom: -1px; width: 100%; height: 70px; }

/* Sections */
.section { padding-block: 84px; }
.section-head { max-width: 640px; margin: 0 auto 44px; text-align: center; display: grid; gap: 12px; }
.section-head p:not(.eyebrow) { color: var(--muted); }
.section-head.left { text-align: left; margin: 0; }

/* Services */
.services { background: var(--mist); padding-top: 40px; }
.svc-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.svc { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; display: grid; gap: 8px; align-content: start; transition: border-color .2s, box-shadow .2s; }
.svc:hover { border-color: var(--sky); box-shadow: var(--shadow); }
.svc-ic { width: 52px; height: 52px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; margin-bottom: 6px; }
.svc-ic svg { width: 26px; height: 26px; }
.svc h3 { font-size: 1.12rem; }
.svc p { font-size: .95rem; color: var(--muted); }
.svc-note { margin: 32px auto 0; max-width: 40em; text-align: center; color: var(--navy); }
.svc-note svg { color: var(--green); width: 1.3em; height: 1.3em; vertical-align: -0.25em; margin-right: 6px; }

/* Offer band */
.offer { background: var(--navy); color: #fff; padding-block: 40px; position: relative; overflow: hidden; }
.offer::after { content: ""; position: absolute; right: -80px; top: -60px; width: 320px; height: 320px; border-radius: 50%; border: 40px solid rgba(124, 203, 234, .12); pointer-events: none; }
.offer-row { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; position: relative; z-index: 1; }
.offer-script { font-family: var(--script); font-size: 2.6rem; color: var(--sky); line-height: 1; }
.offer h2 { color: #fff; font-size: clamp(1.25rem, 1rem + 1vw, 1.6rem); }
.offer-copy p { color: #C9DCEB; margin-top: 6px; }

/* About */
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
.about-copy { display: grid; gap: 16px; }
.about-copy > p:not(.eyebrow):not(.script-line) { color: var(--muted); font-size: 1.08rem; max-width: 36em; }
.script-line { font-family: var(--script); font-size: 2.1rem; color: var(--green-dark); line-height: 1.2; }
.why { background: var(--mist); border-radius: 20px; padding: 32px; }
.why h3 { font-size: 1.4rem; margin-bottom: 18px; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks svg { flex: none; width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--green); color: #fff; stroke-width: 2.6; margin-top: 2px; }
.checks strong { color: var(--navy); }

/* Area */
.area { background: linear-gradient(180deg, var(--white), var(--mist)); }
.area-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.area-map svg { width: 100%; height: auto; stroke: none; }
.area-copy { display: grid; gap: 16px; }
.area-copy > p:not(.eyebrow) { color: var(--muted); }
.area-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 6px; }
.text-link { font-weight: 700; color: var(--navy); }

/* Reviews */
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.stars { color: #F2B01E; letter-spacing: 3px; font-size: 1.2rem; }
.review { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: grid; gap: 12px; }
.review blockquote { margin: 0; color: var(--ink); }
.review figcaption { font-weight: 700; color: var(--navy); font-size: .92rem; }
.review-empty { grid-column: 1 / -1; max-width: 620px; margin-inline: auto; text-align: center; display: grid; gap: 12px; justify-items: center; padding: 36px 28px; border: 2px dashed var(--line); border-radius: 20px; }
.review-empty p { color: var(--muted); }

/* FAQ */
.faq { background: var(--mist); }
.faq-grid { display: grid; grid-template-columns: 1fr 1.7fr; gap: 56px; align-items: start; }
.faq-list { display: grid; gap: 12px; }
details { background: var(--white); border: 1px solid var(--line); border-radius: 12px; }
summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 22px; font-weight: 700; color: var(--navy); position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--green); font-weight: 400; }
details[open] summary::after { content: "–"; }
details p { padding: 0 22px 20px; color: var(--muted); }

/* Estimate */
.est-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 32px; align-items: start; }
.est-form-card { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 36px; box-shadow: var(--shadow); }
.est-form-card h2 { margin-block: 8px 8px; }
.form-intro { color: var(--muted); margin-bottom: 24px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.field { display: grid; gap: 6px; }
.span-2 { grid-column: 1 / -1; }
label { font-weight: 700; font-size: .9rem; color: var(--navy); }
label span { color: var(--green-dark); }
input, select, textarea {
  font: inherit; font-size: 1rem; color: var(--ink); width: 100%;
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #FBFDFE;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ocean); box-shadow: 0 0 0 3px rgba(31, 143, 201, .18); background: #fff; }
.field.invalid input, .field.invalid select { border-color: #C0392B; }
.hp { position: absolute; left: -9999px; }
.form-error { margin-top: 16px; color: #A93226; font-weight: 700; }
#submit-btn { margin-top: 22px; }
.form-fine { margin-top: 12px; font-size: .85rem; color: var(--muted); text-align: center; }
.form-done { text-align: center; display: grid; gap: 12px; justify-items: center; padding: 30px 0; }
.form-done > svg { width: 64px; height: 64px; padding: 14px; border-radius: 50%; background: var(--green); color: #fff; stroke-width: 2.6; }
.form-done p { color: var(--muted); max-width: 30em; }
.contact-card { background: var(--navy); color: #fff; border-radius: 22px; padding: 34px; display: grid; gap: 18px; position: sticky; top: 100px; }
.contact-card h2 { color: #fff; font-size: 1.8rem; }
.contact-card > p { color: #C9DCEB; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list svg { flex: none; width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: rgba(255,255,255,.1); color: var(--sky); }
.contact-list .k { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sky); font-weight: 800; }
.contact-list a { color: #fff; text-decoration: none; font-weight: 700; word-break: break-word; }
.contact-list a:hover { text-decoration: underline; }
.contact-script { font-family: var(--script); font-size: 1.9rem; color: var(--sky); text-align: center; line-height: 1; }

/* Footer */
.site-footer { background: var(--navy-deep); color: #C9DCEB; padding-block: 48px 28px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1.5fr 1fr; gap: 32px; align-items: start; }
.f-brand { font-family: var(--script); font-size: 2.2rem; color: #fff; line-height: 1; }
.f-brand span { font-family: var(--display); font-size: .8rem; letter-spacing: .25em; text-transform: uppercase; color: var(--sky); margin-left: 6px; }
.f-tag { margin-top: 10px; font-size: .9rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.f-contact { display: grid; gap: 6px; }
.f-legal { margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: .85rem; }

/* Mobile quick-action bar */
.mobile-bar { display: none; }

/* Responsive */
@media (max-width: 1040px) {
  .main-nav { gap: 16px; }
  .header-phone { display: none; }
  .svc-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .menu-btn {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; padding: 0 11px;
  }
  .menu-btn span { display: block; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .2s, opacity .2s; }
  .menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .main-nav {
    position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; gap: 0; padding: 8px 20px 16px; box-shadow: var(--shadow); display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .header-cta { display: none; }
  .header-row { gap: 12px; }

  .hero { padding-block: 36px 90px; }
  .hero-grid, .about-grid, .area-grid, .faq-grid, .est-grid, .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-visual { max-width: 560px; }
  .hero-badge { left: auto; right: -6px; bottom: -30px; width: 96px; height: 96px; }
  .offer-row { grid-template-columns: 1fr; gap: 14px; text-align: left; }
  .area-map { max-width: 420px; }
  .contact-card { position: static; }

  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(11,53,101,.08);
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); gap: 10px;
  }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px; border-radius: 999px; font-weight: 800; text-decoration: none; }
  .mobile-bar svg { width: 1.1em; height: 1.1em; }
  .mb-call { background: var(--navy); color: #fff; }
  .mb-est { background: var(--green); color: #fff; }
  body { padding-bottom: 76px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding-inline: 16px; }
  .section { padding-block: 60px; }
  .svc-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .svc { padding: 18px 16px; }
  .svc p { display: none; }
  .svc h3 { font-size: 1rem; }
  .svc-ic { width: 44px; height: 44px; }
  .field-grid { grid-template-columns: 1fr; }
  .est-form-card, .contact-card, .why { padding: 24px 20px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .brand-name { font-size: 1.8rem; }
  .brand-mark { width: 34px; height: 34px; }
}
