/* Twin Palms Cleaning Services — coastal, airy, sand-and-lagoon. One light brand theme. */
:root {
  --lagoon: #0E4F5C;
  --lagoon-deep: #0A3A44;
  --palm: #2F7D4F;
  --seaglass: #7CC6BE;
  --seaglass-soft: #DDF0EC;
  --coral: #F28A6B;
  --coral-deep: #E2704F;
  --sand: #F4E9D8;
  --sand-deep: #EADBC3;
  --shell: #FFFDF8;
  --ink: #0E4F5C;
  --muted: #3E6770;
  --line: #E3D6C0;
  --display: "Josefin Sans", "Avenir Next", "Century Gothic", "Trebuchet MS", sans-serif;
  --body: "Karla", "Helvetica Neue", Arial, sans-serif;
  --radius: 18px;
  --wrap: 1180px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--shell); color: var(--ink); font-family: var(--body); font-size: 18px; line-height: 1.6; }
img { max-width: 100%; height: auto; }
a { color: var(--lagoon); text-underline-offset: 3px; }
a:hover { color: var(--palm); }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.15; margin: 0; text-wrap: balance; letter-spacing: 0.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.eyebrow { font-family: var(--display); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--palm); }
.division { font-family: var(--body); font-style: italic; font-size: 0.95rem; color: var(--muted); }
.division a { color: inherit; }
.skip { position: absolute; left: -999px; top: 0; background: var(--lagoon); color: var(--shell); padding: 10px 16px; z-index: 50; }
.skip:focus { left: 12px; top: 12px; }

/* utility bar */
.topbar { background: var(--lagoon); color: var(--shell); font-size: 0.88rem; }
.topbar .wrap { display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: space-between; align-items: center; padding-block: 8px; }
.topbar a { color: var(--shell); }
.topbar a:hover { color: var(--seaglass); }
.topbar .sc { font-style: italic; }

/* header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(255, 253, 248, 0.96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 21; background: var(--shell); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.brand { display: flex; flex-direction: column; text-decoration: none; gap: 2px; }
.brand img { height: 54px; width: auto; display: block; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav > a, .nav summary { font-family: var(--display); font-weight: 600; font-size: 0.98rem; letter-spacing: 0.04em; text-decoration: none; color: var(--ink); padding: 10px 12px; border-radius: 10px; cursor: pointer; list-style: none; }
.nav summary::-webkit-details-marker { display: none; }
.nav > a:hover, .nav summary:hover { background: var(--seaglass-soft); color: var(--lagoon); }
.nav details { position: relative; }
.nav .menu { position: absolute; top: calc(100% + 6px); left: 0; background: var(--shell); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 40px rgba(14, 79, 92, 0.14); padding: 10px; min-width: 260px; display: grid; gap: 2px; }
.nav .menu a { text-decoration: none; padding: 9px 12px; border-radius: 9px; font-size: 0.98rem; }
.nav .menu a:hover { background: var(--sand); }
.nav .menu .group { font-family: var(--display); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--palm); padding: 10px 12px 4px; }
.header-cta { display: flex; align-items: center; gap: 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 999px; font-family: var(--display); font-weight: 700; font-size: 0.98rem; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; border: 2px solid transparent; cursor: pointer; }
.btn-coral { background: var(--coral); color: var(--lagoon-deep); }
.btn-coral:hover { background: var(--coral-deep); color: var(--lagoon-deep); }
.btn-lagoon { background: var(--lagoon); color: var(--shell); }
.btn-lagoon:hover { background: var(--lagoon-deep); color: var(--shell); }
.btn-ghost { border-color: var(--lagoon); color: var(--lagoon); background: transparent; }
.btn-ghost:hover { background: var(--lagoon); color: var(--shell); }
.btn-ghost-light { border-color: var(--seaglass); color: var(--shell); background: transparent; }
.btn-ghost-light:hover { background: var(--seaglass); color: var(--lagoon-deep); }
.phone-link { font-family: var(--display); font-weight: 700; text-decoration: none; white-space: nowrap; }
.mobile-nav { display: none; }
@media (max-width: 980px) {
  .nav, .header-cta .phone-link { display: none; }
  .mobile-nav { display: block; }
  .mobile-nav summary { list-style: none; cursor: pointer; font-family: var(--display); font-weight: 700; padding: 12px 16px; border: 2px solid var(--lagoon); border-radius: 999px; min-height: 48px; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav .panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--shell); border-bottom: 1px solid var(--line); padding: 12px max(20px, env(safe-area-inset-right, 0px)) 20px max(20px, env(safe-area-inset-left, 0px)); display: grid; gap: 2px; max-height: 75vh; overflow-y: auto; box-shadow: 0 18px 30px rgba(14, 79, 92, 0.12); }
  .mobile-nav .panel a { text-decoration: none; padding: 12px 8px; border-bottom: 1px solid var(--line); font-weight: 600; }
  .mobile-nav .panel .group { font-family: var(--display); font-weight: 700; font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--palm); padding: 14px 8px 4px; }
  .brand img { height: 44px; }
  .header-cta .btn { display: none; }
}

/* hero */
.hero { background: var(--sand); position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 40px; align-items: center; padding-block: 64px 96px; }
.hero h1 { color: var(--lagoon); }
.hero .lede { font-size: 1.2rem; color: var(--muted); max-width: 36em; }
.hero .stack { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .facts { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 4px 0 0; font-weight: 600; }
.hero .facts li { display: flex; align-items: center; gap: 8px; }
.hero .facts svg { flex: none; }
.hero-art { width: 100%; max-width: 440px; justify-self: center; }
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; height: 60px; width: 100%; display: block; }
.page-hero .wrap { grid-template-columns: minmax(0, 1fr); padding-block: 48px 84px; }
.page-hero .lede { max-width: 44em; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); padding-block: 40px 80px; }
  .hero-art { max-width: 300px; order: -1; }
}
.crumbs { font-size: 0.92rem; color: var(--muted); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.crumbs li + li::before { content: "›"; margin-right: 6px; }

/* sections */
section { padding-block: 72px; }
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 46em; margin-bottom: 36px; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.alt { background: var(--sand); }
.grid { display: grid; gap: 22px; }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .g3, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .g3, .g2, .g4 { grid-template-columns: minmax(0, 1fr); } }
.card { background: var(--shell); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.alt .card { border-color: transparent; }
.card p { color: var(--muted); }
.card .more { margin-top: auto; font-family: var(--display); font-weight: 700; letter-spacing: 0.06em; text-decoration: none; }
.card .more::after { content: " →"; }
a.card { text-decoration: none; color: inherit; transition: transform 0.15s ease, box-shadow 0.15s ease; }
a.card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(14, 79, 92, 0.12); color: inherit; }
.icon { width: 52px; height: 52px; border-radius: 14px; background: var(--seaglass-soft); display: grid; place-items: center; color: var(--lagoon); }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; }
.checks li::before { content: ""; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%; background: var(--seaglass-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232F7D4F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat; }
.rooms { display: grid; gap: 22px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) { .rooms { grid-template-columns: minmax(0, 1fr); } }
.room h3 { margin-bottom: 12px; }
.steps { counter-reset: step; display: grid; gap: 22px; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; padding: 0; margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: minmax(0, 1fr); } }
.steps li { background: var(--shell); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.steps li::before { counter-increment: step; content: "Step " counter(step); font-family: var(--display); font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; font-size: 0.8rem; color: var(--coral-deep); }
.prose { max-width: 46em; display: flex; flex-direction: column; gap: 18px; }
.prose p { color: var(--ink); }
.two-col { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 48px; align-items: start; }
@media (max-width: 900px) { .two-col { grid-template-columns: minmax(0, 1fr); } }
.aside { background: var(--sand); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 14px; position: sticky; top: 120px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.chips a, .chips span { display: inline-block; padding: 8px 16px; border-radius: 999px; background: var(--shell); border: 1px solid var(--line); text-decoration: none; font-weight: 600; }
.chips a:hover { background: var(--seaglass-soft); }

/* sister company band */
.sister { background: var(--lagoon); color: var(--shell); }
.sister .wrap { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: 36px; align-items: center; }
.sister h2 { color: var(--shell); }
.sister p { color: #D6ECE8; }
.sister .eyebrow { color: var(--seaglass); }
.sister .badges { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.sister .badges li { border: 1px solid rgba(124, 198, 190, 0.5); border-radius: 999px; padding: 6px 14px; font-size: 0.95rem; }
@media (max-width: 860px) { .sister .wrap { grid-template-columns: minmax(0, 1fr); } }

/* faq */
.faq { display: grid; gap: 12px; max-width: 52em; }
.faq details { background: var(--shell); border: 1px solid var(--line); border-radius: 14px; padding: 4px 22px; }
.faq summary { cursor: pointer; font-family: var(--display); font-weight: 700; font-size: 1.12rem; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--palm); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 18px; color: var(--muted); }

/* cta band */
.cta-band { background: var(--seaglass-soft); }
.cta-band .wrap { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.cta-band .ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* form */
.quote-form { background: var(--shell); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 16px; }
.quote-form .row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 640px) { .quote-form .row { grid-template-columns: minmax(0, 1fr); } }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-weight: 700; font-size: 0.95rem; }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1.5px solid var(--sand-deep); border-radius: 12px; padding: 12px 14px; min-height: 48px; width: 100%; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--seaglass); outline: none; box-shadow: 0 0 0 3px var(--seaglass-soft); }
.consent { font-size: 0.88rem; color: var(--muted); }
.form-status { padding: 14px 16px; border-radius: 12px; background: var(--seaglass-soft); font-weight: 600; }

/* footer */
.site-footer { background: var(--lagoon-deep); color: #D6ECE8; font-size: 0.98rem; }
.site-footer .wrap { padding-block: 56px 28px; display: grid; gap: 36px; }
.site-footer .cols { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 900px) { .site-footer .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .site-footer .cols { grid-template-columns: minmax(0, 1fr); } }
.site-footer h3 { color: var(--shell); font-size: 0.85rem; letter-spacing: 0.22em; text-transform: uppercase; margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: #D6ECE8; text-decoration: none; }
.site-footer a:hover { color: var(--seaglass); text-decoration: underline; }
.site-footer .logo { height: 64px; width: auto; }
.site-footer .legal { border-top: 1px solid rgba(214, 236, 232, 0.2); padding-top: 20px; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: 0.9rem; }
.site-footer .division { color: #D6ECE8; }
.mobile-call { display: none; }
@media (max-width: 760px) {
  .mobile-call { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--shell); border-top: 1px solid var(--line); padding: 10px max(14px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(14px, env(safe-area-inset-left, 0px)); }
  .mobile-call .btn { min-height: 46px; padding: 10px; font-size: 0.9rem; }
  body { padding-bottom: 76px; }
}

/* ---------- pricing ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 2px solid var(--lagoon); background: var(--shell); }
table.price { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 1.02rem; }
table.price.two, table.price.three { min-width: 0; }
table.price th, table.price td { padding: 12px 14px; text-align: center; }
table.price thead th { background: var(--lagoon); color: var(--shell); font-family: var(--display); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; }
table.price tbody th { text-align: left; font-weight: 700; }
table.price.two td { text-align: right; font-family: var(--display); font-weight: 700; white-space: nowrap; }
table.price.two thead th:last-child { text-align: right; }
table.price.two thead th:first-child, table.price.three thead th:first-child { text-align: left; }
table.price tbody td { font-family: var(--display); font-weight: 700; font-size: 1.12rem; }
table.price tbody tr:nth-child(odd) { background: var(--sand); }
table.price td.was { text-decoration: line-through; font-family: var(--body); font-weight: 400; color: var(--muted); }
table.price td.now { color: var(--palm); }
.note { color: var(--muted); margin-top: 14px; max-width: 60em; }
.stack-sm { display: flex; flex-direction: column; gap: 18px; }
.card.example { background: #DDF0EC; border-color: transparent; }
.card.example p { color: var(--ink); }
.price-card .big { font-family: var(--display); font-weight: 700; font-size: 1.9rem; color: var(--lagoon); line-height: 1; }
.tier .visits { font-weight: 700; color: var(--palm); }
.tier-prices { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.tier-prices li { display: flex; justify-content: space-between; border-bottom: 1px dotted var(--seaglass); padding: 6px 0; }
.tier-prices strong { font-family: var(--display); font-size: 1.15rem; }
.tier .per { font-size: 0.9rem; }
.card.policy { border: 2px solid var(--seaglass); }
.card.policy p { color: var(--ink); }

/* ---------- Site Command banner ---------- */
.sc-banner { background: #DDF0EC; border-bottom: 1px solid var(--seaglass); }
.sc-banner .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; padding-top: 12px; padding-bottom: 12px; }
.sc-banner .sc-text { margin: 0; color: var(--ink); font-size: 0.98rem; flex: 1 1 420px; }
.sc-banner .btn { padding: 10px 18px; font-size: 0.9rem; white-space: nowrap; }
@media (max-width: 640px) { .sc-banner .wrap { padding-top: 10px; padding-bottom: 10px; } .sc-banner .sc-more { display: none; } .sc-banner .sc-text { font-size: 0.92rem; } .sc-banner .btn { width: 100%; text-align: center; padding: 9px 14px; } }
