/* Unbeatable Cleaning — Design 1 "Crystal Blue Classic".
   Ported from the live website's stylesheet; class names and values are
   the original ones. The design colours live on .site exactly as the
   original site sets them. */

/* Design 1 colours and fonts */
.site {
  --primary: #0b63c4;
  --dark: #083a75;
  --accent: #f5821f;
  --bg: #ffffff;
  --soft: #eef5fd;
  --text: #16283f;
  --head: 'Poppins', sans-serif;
  --body: 'Inter', sans-serif;
  --radius: 14px;
}

/* Honeypot field on the forms (kept off-screen; real visitors never see it) */
.ucs-hp { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; }

/* Plain pages the owner may add later */
.page-content p { line-height: 1.7; margin-bottom: 15px; }
.page-content ul, .page-content ol { margin: 0 0 15px 22px; line-height: 1.7; }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--body); color: var(--text); background: var(--bg); overflow-x: hidden; }
.site { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.15; }
a { color: var(--primary); }
img { max-width: 100%; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }

/* reveal animation (JS adds .in via IntersectionObserver; the JS safety in useReveal is
   viewport-aware — it only force-reveals elements in/near the viewport, so sections far
   below the fold stay hidden until they are scrolled to, whenever that happens) */
.rv { opacity: 0; transform: translateY(28px); transition: opacity .75s ease-out, transform .75s ease-out; }
.rv-l { opacity: 0; transform: translateX(-30px); transition: opacity .75s ease-out, transform .75s ease-out; }
.rv-r { opacity: 0; transform: translateX(30px); transition: opacity .75s ease-out, transform .75s ease-out; }
.rv-z { opacity: 0; transform: scale(.94); transition: opacity .75s ease-out, transform .75s ease-out; }
.rv.in, .rv-l.in, .rv-r.in, .rv-z.in { opacity: 1; transform: none; }
/* staggered cascade inside card grids */
.steps > .rv:nth-child(2), .grid3 > .rv:nth-child(2), .grid2 > .rv:nth-child(2) { transition-delay: .08s; }
.steps > .rv:nth-child(3), .grid3 > .rv:nth-child(3), .grid2 > .rv:nth-child(3) { transition-delay: .16s; }
.grid3 > .rv:nth-child(4), .grid2 > .rv:nth-child(4) { transition-delay: .24s; }
.grid3 > .rv:nth-child(5) { transition-delay: .32s; }
.grid3 > .rv:nth-child(6) { transition-delay: .4s; }
/* smooth page-enter transition — <main> is keyed by route so this replays on every page change */
@keyframes pageIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.page-anim { animation: pageIn .55s ease both; }
/* NOTE: reveal animations (.rv/.in), the page transition (.page-anim) and the FAQ
   open/close animation (.faq-a/.faq-ic) intentionally run even under
   prefers-reduced-motion — the site owner explicitly requires visible, smooth
   animations on every device. The booking form's service dropdown (.dd-list),
   calendar panel (.cal-pop) and dropdown chevron (.dd-chev) transitions also
   run: the owner requires both panels to open smoothly downward (~300ms ease),
   never pop instantly, on every device. Only decorative loops and other
   micro-transitions are calmed below. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .to-top, .nav, .nav-scrim { transition: none !important; }
  .hero-badge, .float-wa { animation: none !important; }
}

/* offer bar + header */
.offer-bar { background: var(--dark); color: #fff; padding: 9px 0; font-size: 14.5px; font-weight: 600; }
/* Desktop: 3-column grid so the offer sits at the EXACT centre of the bar
   (empty left cell, offer centred in the middle cell) while the phone stays
   pinned to the right corner, whatever the phone's width. */
.offer-bar-in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.offer-main { grid-column: 2; justify-self: center; display: inline-flex; align-items: center; white-space: nowrap; }
.offer-phone { grid-column: 3; justify-self: end; }
.offer-bar a { color: #ffd9ad; text-decoration: none; white-space: nowrap; }
.offer-badge { background: var(--accent); color: #fff; border-radius: 20px; padding: 2px 10px; font-size: 11px; letter-spacing: .06em; margin-right: 6px; white-space: nowrap; }
/* Offer bar on mobile: two tidy centred lines — badge + offer text on line 1,
   the phone on its own line 2. No separator character, nothing wraps mid-phrase.
   Badge and offer text share one controlled line-height and the badge is a
   centred flex pill, so both sit on exactly the same vertical centre — the
   badge must never ride higher than the text beside it. */
@media (max-width: 640px) {
  .offer-bar { padding: 8px 0; font-size: 13.5px; }
  .offer-bar-in { display: flex; flex-direction: column; justify-content: center; gap: 8px; }
  .offer-main { grid-column: auto; justify-self: auto; justify-content: center; }
  .offer-phone { grid-column: auto; justify-self: auto; font-size: 14px; }
  .offer-badge { font-size: 10px; padding: 2px 8px; margin-right: 5px; display: inline-flex; align-items: center; line-height: 1.15; }
  .offer-text { line-height: 1.15; }
}
.header { position: sticky; top: 0; z-index: 60; background: #fff; box-shadow: 0 2px 14px rgba(10,30,60,.08); }
.dark-site .header { background: #0c1220; }
.hd-navy, .hd-darkblue, .hd-royal, .hd-dark { background: var(--dark); color: #fff; }
.hd-emerald { background: var(--primary); color: #fff; }
.hd-glass { background: rgba(255,255,255,.9); backdrop-filter: blur(10px); }
.hd-minimal { box-shadow: none; border-bottom: 1px solid #e6eef5; }
.hd-in { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-top: 10px; padding-bottom: 10px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: inherit; }
.brand img { height: 68px; width: auto; display: block; }
.logo-badge { background: #fff; border-radius: 12px; padding: 4px 8px; display: inline-flex; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.05; }
.brand-txt strong { font-family: var(--head); font-size: 21px; letter-spacing: .04em; }
.brand-txt small { font-size: 11.5px; letter-spacing: .18em; opacity: .85; margin-top: 3px; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 20px; }
.nav a { text-decoration: none; color: inherit; font-weight: 600; font-size: 15px; padding: 6px 2px; border-bottom: 2.5px solid transparent; }
.nav a.act { border-color: var(--accent); color: var(--accent); }
.hd-navy .nav a.act, .hd-dark .nav a.act, .hd-royal .nav a.act, .hd-darkblue .nav a.act, .hd-emerald .nav a.act { color: #ffd9ad; }
.hd-phone { display: inline-flex; align-items: center; gap: 6px; }
.drawer-head, .nav-scrim { display: none; }
.burger { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; padding: 8px; }
.burger span { width: 26px; height: 3px; background: currentColor; border-radius: 2px; display: block; }

/* buttons */
.btn { border: 0; cursor: pointer; font-family: var(--head); font-weight: 700; font-size: 15px; border-radius: var(--radius); padding: 11px 22px; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease, opacity .18s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(10,30,60,.18); }
.btn.primary { background: var(--primary); color: #fff; }
.btn.accent { background: var(--accent); color: #fff; }
.btn.ghost { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn.white { background: #fff; color: var(--dark); }
.btn.outline-w { background: transparent; color: #fff; border: 2px solid #fff; }
.btn.big { padding: 14px 28px; font-size: 16.5px; width: auto; }

/* hero */
.hero { position: relative; padding: 64px 0 72px; background: var(--soft); overflow: hidden; }
/* The booking form's dropdown + calendar open downward and, exactly as in
   the original (React) design, spill past the form card onto the hero
   background. The hero clips at its own bottom edge (overflow: hidden,
   for the wave), which amputated the calendar's bottom rows in this port
   because the hero form card is shorter here (no message box), leaving
   the panel ~59–85px short of room. While any dropdown inside the hero
   is open, let the hero overflow visibly so the full panel shows and
   every date stays tappable. The wave and the hero decorations sit
   inside the hero box, so nothing else changes visually. */
.hero:has(.dd.open) { overflow: visible; }
.hero h1 { font-size: clamp(32px, 4.6vw, 54px); font-weight: 800; margin: 16px 0 14px; }
.hero h1 em { font-style: normal; color: var(--primary); }
.hero-sub { font-size: 18px; line-height: 1.6; opacity: .88; max-width: 560px; }
.hero-sub-m { display: none; }
.hero-m-photo { display: none; }
.hero-badge { display: inline-block; background: var(--accent); color: #fff; font-weight: 800; padding: 8px 18px; border-radius: 30px; font-size: 15px; box-shadow: 0 8px 20px rgba(0,0,0,.18); animation: pulse 2.6s infinite; }
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.045); } }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.hero-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 42px; align-items: center; }
.hb-split-form .hero-split { align-items: start; }
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 54px; display: block; pointer-events: none; }
.hero-split.rev { grid-template-columns: .9fr 1.1fr; }
.hero-photo { height: 300px; border-radius: var(--radius); background-size: cover; background-position: center; background-color: var(--dark); box-shadow: 0 18px 40px rgba(10,30,60,.22); margin-bottom: 18px; }
.hb-split-form .hero-photo { background-color: #cfdfec; }
.hero-form, .form-side { background: #fff; border-radius: var(--radius); box-shadow: 0 18px 44px rgba(10,30,60,.16); padding: 6px; }
.dark-site .hero-form, .dark-site .form-side { background: #182238; }
.hero-side-img { width: 100%; height: 240px; object-fit: cover; border-radius: var(--radius); margin-top: 26px; box-shadow: 0 16px 36px rgba(10,30,60,.2); }
.hb-full { background-size: cover; background-position: center; background-color: var(--dark); padding: 90px 0 0; color: #fff; }
.hb-full .hero-sub { margin: 0 auto; }
.hb-full .hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,40,24,.72), rgba(6,40,24,.55)); }
.hb-full .wrap { position: relative; }
.hero-center { text-align: center; }
.hero-center .hero-sub { margin-left: auto; margin-right: auto; }
.hero-center .hero-btns { justify-content: center; }
.booking-bar { margin: 46px auto -6px; background: #fff; border-radius: var(--radius); box-shadow: 0 22px 50px rgba(0,0,0,.28); padding: 8px 18px 14px; max-width: 980px; }
.booking-bar .book-form h3 { display: none; }
.booking-bar .f-note { display: none; }
.hb-center { background: linear-gradient(180deg, var(--soft), var(--bg)); }
.hero-img img { width: 100%; max-width: 880px; height: 340px; object-fit: cover; border-radius: var(--radius); margin: 34px auto 0; display: block; box-shadow: 0 20px 44px rgba(10,30,60,.18); }
.center-form { max-width: 860px; margin: 26px auto 0; background: #fff; border-radius: var(--radius); box-shadow: 0 16px 40px rgba(10,30,60,.13); padding: 8px 18px 14px; text-align: left; }
.center-form .book-form h3, .center-form .f-note { display: none; }
.hb-glass { background: linear-gradient(130deg, var(--primary), var(--accent) 130%); color: #fff; }
.hb-glass h1 em { color: #eaf7ff; text-decoration: underline; text-underline-offset: 5px; }
.glass-card { background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.45); backdrop-filter: blur(12px); border-radius: var(--radius); padding: 8px; box-shadow: 0 24px 50px rgba(10,40,80,.3); }
.glass-card .book-form { color: var(--text); }
.hb-dark-glass, .hero.hb-dark-glass { background: linear-gradient(140deg, #0c1220, #16233f); color: #e8edf5; }
.hb-sidebar-form { background: linear-gradient(120deg, var(--dark), var(--primary)); color: #fff; }
.hb-sidebar-form h1 em { color: #bcd8ff; }
.hb-bold-split { background: linear-gradient(115deg, var(--soft) 55%, var(--primary) 55.2%); }
.hb-royal-split { background: linear-gradient(180deg, var(--soft), #fff); }
.hb-rounded-float .hero-photo { border-radius: 44px; }
.hb-left { background: var(--soft); }

/* forms */
.book-form { padding: 20px 20px 16px; }
.book-form h3 { font-size: 24px; margin-bottom: 14px; text-align: center; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.book-form input, .book-form select, .book-form textarea { width: 100%; padding: 13px 14px; border: 1.6px solid #cfdce9; border-radius: calc(var(--radius) * .7); font: inherit; font-size: 15px; background: #fff; color: #1c2b3a; }
.book-form textarea { margin-top: 12px; resize: vertical; }
.card:hover { transition-delay: 0s; }
.f-err { color: #c22f2f; font-size: 13.5px; font-weight: 600; margin-top: 9px; }

/* custom dropdown + date picker (downward only, smooth) */
.dd { position: relative; }
.dd-btn { width: 100%; padding: 13px 14px; border: 1.6px solid #cfdce9; border-radius: calc(var(--radius) * .7); font: inherit; font-size: 15px; background: #fff; color: #1c2b3a; display: flex; align-items: center; justify-content: space-between; gap: 8px; cursor: pointer; text-align: left; }
.dd-btn .dd-ph { color: #7b8a99; }
.dd.open .dd-btn { border-color: var(--primary); }
.dd.invalid .dd-btn { border-color: #c22f2f; }
.dd-chev { flex: none; transition: transform .3s ease; }
.dd.open .dd-chev { transform: rotate(180deg); }
.dd-list { position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 40; background: #fff; border: 1.6px solid #cfdce9; border-radius: calc(var(--radius) * .7); box-shadow: 0 18px 36px rgba(10,30,60,.18); padding: 6px; max-height: 0; opacity: 0; transform: translateY(-6px); overflow: hidden auto; pointer-events: none; transition: max-height .32s ease, opacity .25s ease, transform .32s ease; }
.dd.open .dd-list { max-height: 264px; opacity: 1; transform: none; pointer-events: auto; }
.dd-opt { display: block; width: 100%; background: none; border: 0; font: inherit; font-size: 15px; text-align: left; padding: 10px 12px; border-radius: calc(var(--radius) * .5); cursor: pointer; color: #1c2b3a; }
.dd-opt:hover { background: var(--soft); }
.dd-opt.sel { background: var(--soft); font-weight: 700; color: var(--primary); }
.cal-pop { position: absolute; top: calc(100% + 6px); left: 0; z-index: 40; width: 264px; max-width: 86vw; background: #fff; border: 1.6px solid #cfdce9; border-radius: calc(var(--radius) * .7); box-shadow: 0 18px 36px rgba(10,30,60,.18); padding: 12px; opacity: 0; transform: translateY(-6px) scale(.98); transform-origin: top left; pointer-events: none; transition: opacity .25s ease, transform .3s ease; }
.dd.open .cal-pop { opacity: 1; transform: none; pointer-events: auto; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cal-head strong { font-family: var(--head); font-size: 15px; }
.cal-nav { background: var(--soft); border: 0; width: 30px; height: 30px; border-radius: 50%; font-size: 19px; line-height: 1; cursor: pointer; color: var(--primary); display: inline-flex; align-items: center; justify-content: center; }
.cal-nav:hover { background: var(--primary); color: #fff; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.cal-wd span { text-align: center; font-size: 11.5px; font-weight: 700; color: #7b8a99; padding: 3px 0; }
.cal-day { background: none; border: 0; font: inherit; font-size: 13.5px; padding: 7px 0; border-radius: 50%; cursor: pointer; color: #1c2b3a; }
.cal-day:hover { background: var(--soft); }
.cal-day.today { box-shadow: inset 0 0 0 1.6px var(--primary); }
.cal-day.sel { background: var(--primary); color: #fff; font-weight: 700; }
.cal-empty { display: block; }
.book-form .btn.big { width: 100%; justify-content: center; margin-top: 14px; }
.book-form .btn.big:disabled { opacity: .45; filter: grayscale(.3); cursor: not-allowed; box-shadow: none; }
.book-form .btn.big:disabled:hover { transform: none; box-shadow: none; }
.f-note { text-align: center; margin-top: 10px; font-size: 14px; }
.form-ok { padding: 30px 22px; text-align: center; }
.ok-ic { display: inline-flex; background: #1d9e57; border-radius: 50%; padding: 12px; margin-bottom: 12px; }
.form-ok h3 { margin-bottom: 8px; }
.form-ok p { line-height: 1.55; margin-bottom: 14px; }
.form-card { padding: 6px; }

/* sections */
.sec { padding: 74px 0; }
.sec.alt { background: var(--soft); }
.dark-site .sec.alt { background: #141f36; }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 42px; }
.sec-head h2 { font-size: clamp(27px, 3.4vw, 38px); margin: 8px 0 10px; }
.sec-head p { opacity: .85; line-height: 1.6; }
.kicker { text-transform: uppercase; letter-spacing: .16em; font-size: 12.5px; font-weight: 800; color: var(--accent); }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.card { background: #fff; border-radius: var(--radius); padding: 26px; box-shadow: 0 8px 26px rgba(10,30,60,.08); border: 1px solid rgba(15,50,90,.06); transition: transform .2s ease, box-shadow .2s ease; }
.dark-site .card { background: #182238; border-color: rgba(255,255,255,.07); }
.card:hover { transform: translateY(-5px); box-shadow: 0 18px 36px rgba(10,30,60,.15); }
.card h3 { font-size: 19.5px; margin-bottom: 9px; }
.card p { line-height: 1.6; opacity: .88; font-size: 15.5px; }
.card-ic { display: inline-flex; background: linear-gradient(135deg, var(--primary), var(--accent)); border-radius: calc(var(--radius) * .8); padding: 13px; margin-bottom: 15px; color: #fff; }
.card-ic.sm { padding: 9px; margin: 0; }
.card-ic.lg { padding: 16px; }
.row-head { display: flex; align-items: center; gap: 13px; margin-bottom: 10px; }
.row-head h3 { margin: 0; }
.svc-grid { grid-auto-rows: 1fr; }
.svc { display: flex; flex-direction: column; }
.svc .row-head .card-ic { margin-bottom: 0; flex: none; }
.svc p { flex: 1; }
.svc a { display: inline-flex; align-items: center; gap: 5px; margin-top: 13px; font-weight: 700; text-decoration: none; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { position: relative; text-align: left; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); padding: 30px 22px; box-shadow: 0 8px 26px rgba(10,30,60,.08); }
.step-head { margin-bottom: 10px; }
.step-head .step-n { margin: 0; flex: none; }
.step .row-head h3 { margin: 0; }
.dark-site .step { background: #182238; }
.step-n { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: var(--primary); color: #fff; font-family: var(--head); font-weight: 800; font-size: 22px; margin-bottom: 13px; }
.step-n.sm { width: 40px; height: 40px; font-size: 18px; margin: 0; flex: none; }
.step h3 { margin-bottom: 7px; }
.step p { opacity: .85; line-height: 1.55; font-size: 15px; }
.step-arrow { position: absolute; right: -19px; top: 44px; color: var(--accent); z-index: 2; }
/* reviews endless slider */
.rv-wrap { overflow: hidden; }
.rv-track { display: flex; gap: 22px; overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; padding: 8px 2px 16px; cursor: grab; }
.rv-track::-webkit-scrollbar { display: none; }
.rv-track:active { cursor: grabbing; }
.rv-card { flex: 0 0 340px; max-width: 340px; display: flex; flex-direction: column; }
@media (max-width: 640px) { .rv-card { flex-basis: 82vw; } }
.review .rv-name { margin-bottom: 3px; }
.rv-meta { font-size: 13.5px; font-weight: 600; color: var(--primary); margin-bottom: 8px; }
.stars { display: inline-flex; gap: 2px; margin-bottom: 10px; }
.rv-text { font-size: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 11px; justify-content: center; }
.chips.left { justify-content: flex-start; margin-top: 12px; }
.chip { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1.6px solid var(--primary); color: var(--text); padding: 9px 17px; border-radius: 30px; font-weight: 600; font-size: 14.5px; }
.dark-site .chip { background: #182238; }
.faq { background: #fff; border-radius: var(--radius); margin-bottom: 12px; box-shadow: 0 6px 18px rgba(10,30,60,.06); overflow: hidden; cursor: pointer; }
.dark-site .faq { background: #182238; }
.faq button { width: 100%; background: none; border: 0; font: inherit; font-weight: 700; font-size: 16.5px; text-align: left; padding: 19px 22px; cursor: pointer; display: flex; justify-content: space-between; gap: 12px; color: inherit; }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.faq.open .faq-a { grid-template-rows: 1fr; }
.faq-a-in { overflow: hidden; min-height: 0; }
.faq-a p { padding: 0 22px 20px; line-height: 1.65; opacity: .88; }
.faq-ic { flex: none; font-size: 22px; font-weight: 400; line-height: 1; transition: transform .35s ease; }
.faq.open .faq-ic { transform: rotate(45deg); }
.cta-band { background: linear-gradient(120deg, var(--dark), var(--primary)); color: #fff; padding: 52px 0; position: relative; overflow: hidden; }
.cta-deco { position: absolute; right: -30px; top: -60px; opacity: .13; pointer-events: none; }
.cta-in { position: relative; }
/* subtle SVG-style dot-grid accents (radial-gradient, no blur layers) */
.deco-dots, .deco-dots-l { position: relative; }
.deco-dots::before, .deco-dots-l::before { content: ''; position: absolute; top: 26px; width: 190px; height: 120px; background-image: radial-gradient(rgba(11,99,196,.20) 1.7px, transparent 1.8px); background-size: 21px 21px; pointer-events: none; }
.deco-dots::before { right: 3%; }
.deco-dots-l::before { left: 3%; }
@media (max-width: 640px) { .deco-dots::before, .deco-dots-l::before { width: 110px; height: 76px; top: 14px; } }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-in h2 { font-size: 29px; margin-bottom: 6px; }
.cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* inner pages */
.page-hero { background: linear-gradient(120deg, var(--dark), var(--primary)); color: #fff; padding: 62px 0; text-align: center; }
.page-hero h1 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 10px; }
.page-hero p { opacity: .9; font-size: 17px; }
.split2 { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.split2.flip > :first-child { order: 2; }
.mission { font-size: 25px; line-height: 1.45; margin: 10px 0 18px; color: var(--primary); }
.about-kicker { display: block; text-align: center; }
.about-book-btn { display: flex; width: fit-content; margin-left: auto; margin-right: auto; }
.split2 p { line-height: 1.7; margin-bottom: 15px; opacity: .9; }
.about-img { width: 100%; height: 380px; object-fit: cover; border-radius: var(--radius); box-shadow: 0 18px 40px rgba(10,30,60,.18); background: var(--dark); }
.offer-strip { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; background: var(--accent); color: #fff; border-radius: var(--radius); padding: 18px 24px; margin: 38px auto -8px; box-shadow: 0 14px 30px rgba(0,0,0,.16); }
.offer-strip strong { font-family: var(--head); font-size: 20px; }
.offer-strip .btn { background: #fff; color: var(--dark); margin-left: auto; }
.svc-detail h2 { font-size: 29px; margin: 12px 0 10px; }
.svc-detail .row-head h2 { margin: 0; }
.svc-detail .row-head .card-ic { margin-bottom: 0; flex: none; }
.svc-head { margin-bottom: 14px; }
.incl ul { list-style: none; }
.incl li { display: flex; gap: 9px; align-items: flex-start; padding: 8px 0; border-bottom: 1px dashed rgba(120,150,180,.35); line-height: 1.5; }
.incl li:last-child { border: 0; }
.incl li svg { flex: none; margin-top: 3px; fill: var(--primary); }
.hiw-head { margin-bottom: 24px; }
.mini-step { display: flex; gap: 15px; margin-bottom: 20px; align-items: flex-start; }
.mini-step h3 { margin-bottom: 4px; }
.mini-step p { opacity: .85; line-height: 1.55; margin: 0; }
.call-card { margin-top: 10px; }
.big-phone { display: inline-flex; align-items: center; gap: 9px; font-family: var(--head); font-size: 25px; font-weight: 800; text-decoration: none; margin: 8px 0; }
.muted { opacity: .7; }
.contact-card { text-decoration: none; color: inherit; display: block; }
.grid3.contact-cards { grid-template-columns: 1fr 1fr; gap: 44px; }
.contact-card p { font-size: 17px; font-weight: 600; opacity: 1; }
.cc-note { font-size: 13px; opacity: .65; }
.contact-lower { margin-top: 30px; align-items: start; }
.map-block { background: linear-gradient(150deg, var(--soft), #dbe9f7); border-radius: var(--radius); padding: 34px; text-align: left; min-height: 300px; }
.dark-site .map-block { background: linear-gradient(150deg, #182238, #101827); }
.map-block h3 { margin: 12px 0 6px; }
.map-block .row-head { margin-bottom: 12px; }
.map-block .row-head .card-ic { margin-bottom: 0; flex: none; }
.map-block .row-head h3 { margin: 0; }
.map-block p { line-height: 1.6; }

/* footer */
.footer { background: var(--dark); color: #dce8f7; padding: 58px 0 0; margin-top: auto; }
.ft-light { background: var(--soft); color: var(--text); }
.ft-black { background: #070b14; }
.ft-gradient { background: linear-gradient(120deg, var(--dark), var(--primary)); }
.ft-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.25fr; gap: 34px; }
.ft-col h4 { color: #fff; margin-bottom: 15px; font-size: 17px; }
.ft-light .ft-col h4 { color: var(--dark); }
.ft-col a { display: block; color: inherit; text-decoration: none; padding: 4.5px 0; opacity: .88; }
.ft-col a:hover { opacity: 1; text-decoration: underline; }
.ft-col p { line-height: 1.6; font-size: 14.5px; opacity: .88; margin-bottom: 10px; }
.ft-logo { margin-bottom: 14px; }
.ft-logo img { height: 73px; width: auto; display: block; }
.ft-offer { font-weight: 800; color: #ffb066; }
.ft-line { display: flex; gap: 8px; align-items: flex-start; }
.ft-line a { display: inline; padding: 0; }
/* Footer "Book Online" button: the .ft-col a rule above stretches it to a
   full-width block box, which left its text at the left edge. Centre the
   text inside the orange box at every width (owner's order, 2026-11-26).
   Scoped to the footer button only — header/hero .btn buttons untouched. */
.footer .ft-col a.btn { text-align: center; justify-content: center; }
.ft-bottom { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.16); padding-top: 18px; padding-bottom: 20px; margin-top: 38px; font-size: 13.5px; }
.ft-light .ft-bottom { border-color: rgba(20,50,90,.15); }
.ft-bottom a { color: #ffb066; font-weight: 700; }
.ft-bottom .credit-link { color: #fff; text-decoration: none; font-weight: 700; }
.ft-bottom .credit-link:hover, .ft-bottom .credit-link:focus, .ft-bottom .credit-link:active, .ft-bottom .credit-link:visited { color: #fff; text-decoration: none; }
.float-wa { position: fixed; right: 18px; bottom: 86px; z-index: 70; background: #25D366; border-radius: 50%; width: 54px; height: 54px; padding: 0; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 12px 28px rgba(0,0,0,.3); animation: pulse 2.6s infinite; }
.to-top { position: fixed; right: 18px; bottom: 24px; z-index: 65; width: 52px; height: 52px; border-radius: 50%; border: 1px solid #dbe4ee; background: #ffffff; color: var(--text); display: flex; align-items: center; justify-content: center; cursor: pointer; touch-action: manipulation; box-shadow: 0 8px 22px rgba(10,30,60,.16); opacity: 0; visibility: hidden; transform: translateY(14px); pointer-events: none; transition: opacity .3s ease, visibility .3s ease, transform .3s ease, background-color .3s ease, border-color .3s ease, color .3s ease; }
.to-top.show { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
.to-top:hover { transform: translateY(-2px); background: var(--soft); border-color: var(--primary); color: var(--primary); }

@media (max-width: 960px) {
  .hero-split, .hero-split.rev, .split2 { grid-template-columns: 1fr; }
  .split2.flip > :first-child { order: 0; }
  .grid3, .steps { grid-template-columns: 1fr 1fr; }
  .step-arrow { display: none; }
  .ft-grid { grid-template-columns: 1fr 1fr; }
  .hb-bold-split { background: var(--soft); }
}
@media (max-width: 640px) {
  .grid3, .grid2, .steps { grid-template-columns: 1fr; }
  .grid3.contact-cards { grid-template-columns: 1fr; max-width: none; }
  /* Only the Booking page sidebar "How It Works" heading (.hiw-head) is
     centred on mobile, per the owner's clarification — every other heading
     keeps its existing alignment at all widths. */
  .hiw-head { text-align: center; }
  .fgrid { grid-template-columns: 1fr; }
  .burger { display: flex; }
  .header { z-index: 90; }
  .nav-scrim { display: block; position: fixed; inset: 0; background: rgba(10,25,45,.45); opacity: 0; visibility: hidden; transition: opacity .45s ease, visibility 0s linear .45s; z-index: 75; }
  .nav-scrim.show { opacity: 1; visibility: visible; transition: opacity .45s ease, visibility 0s linear 0s; }
  .nav { display: flex; position: fixed; top: 0; left: 0; height: 100vh; height: 100dvh; width: 290px; max-width: 85vw; background: #fff; color: var(--dark); flex-direction: column; align-items: stretch; padding: 0 18px 22px; gap: 0; box-shadow: 24px 0 48px rgba(10,25,45,.22); transform: translateX(-105%); visibility: hidden; transition: transform .45s ease, visibility 0s linear .45s; z-index: 80; overflow-y: auto; }
  .nav.open { transform: translateX(0); visibility: visible; transition: transform .45s ease, visibility 0s linear 0s; }
  .drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 2px 12px; border-bottom: 1px solid #e6eef5; margin-bottom: 8px; }
  .drawer-brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
  .drawer-brand img { height: 46px; width: auto; display: block; flex: none; }
  .drawer-head .brand-txt strong { font-size: 15.5px; }
  /* Drawer brand name is exactly TWO lines: 'UNBEATABLE' over a single-line
     'CLEANING SERVICES LLC' — the sub-line never wraps (slightly smaller,
     tighter tracking so it fits between the logo and the close button with
     the 10px flex gaps kept clear on both sides). */
  .drawer-head .brand-txt small { font-size: 9px; letter-spacing: .13em; white-space: nowrap; }
  .drawer-close { background: none; border: 0; cursor: pointer; font-size: 30px; line-height: 1; color: var(--dark); padding: 4px 8px; flex: none; }
  .header .nav a { padding: 11px 8px; border-bottom: 1px solid #eef3f8; font-size: 15.5px; }
  .header .nav a.act { background: var(--soft); color: var(--accent); border-bottom: 1px solid #eef3f8; border-radius: 8px; }
  .header .nav a.hd-phone { border-bottom: 0; padding: 14px 8px 4px; font-weight: 700; color: var(--primary); }
  .nav .btn { justify-content: center; margin-top: 12px; }
  .header { position: sticky; }
  .brand img { height: 44px; }
  .brand-txt strong { font-size: 16px; }
  .brand-txt small { font-size: 10.5px; }
  .hero { padding: 44px 0 52px; }
  .sec { padding: 52px 0; }
  .ft-grid { grid-template-columns: 1fr; }
  .cta-in { flex-direction: column; align-items: flex-start; }
  /* Offer strip (Services page): on desktop the button sits at the right
     (margin-left: auto in the base rule — same as the React design). On
     phones the owner wants the button CENTRED in the orange strip, so
     give it auto margins on both sides; when it wraps onto its own line
     it lands dead-centre, pill size unchanged. */
  .offer-strip .btn { margin-left: auto; margin-right: auto; }
}

/* Very narrow screens: the drawer shrinks to 85vw, so trim the drawer
   sub-line a touch more to keep it on one line with clear gaps. */
@media (max-width: 340px) {
  .drawer-head .brand-txt small { font-size: 8.5px; letter-spacing: .1em; }
}

/* Design 1 (split-form) mobile hero: photo-led + compact — scoped to <=640px, desktop untouched */
@media (max-width: 640px) {
  .hero.hb-split-form { padding: 20px 0 46px; }
  .hb-split-form .hero-split { gap: 20px; }
  /* A grid column is never narrower than its widest unbreakable piece of
     content; without this, one over-long headline run (e.g. words glued
     together by a bad save) forces the whole hero column — subtitle and
     buttons included — past the right edge of the screen. */
  .hb-split-form .hero-split > * { min-width: 0; }
  .hb-split-form .hero-m-photo { display: block; position: relative; height: 240px; border-radius: 16px; background-size: cover; background-position: center; background-color: #cfdfec; box-shadow: 0 16px 34px rgba(10,30,60,.2); margin-bottom: 16px; }
  .hb-split-form .hero-m-photo .hero-badge { position: absolute; left: 12px; bottom: 12px; font-size: 13px; padding: 7px 14px; }
  .hb-split-form .hero-txt > .hero-badge { display: none; }
  .hero.hb-split-form h1 { font-size: 28px; margin: 0 0 10px; }
  .hb-split-form .hero-sub { display: none; }
  .hb-split-form .hero-sub-m { display: block; font-size: 16px; line-height: 1.5; opacity: .88; }
  .hb-split-form .hero-btns { flex-direction: column; flex-wrap: nowrap; gap: 10px; margin-top: 18px; }
  .hb-split-form .hero-btns .btn.big { width: 100%; justify-content: center; padding: 12px 16px; font-size: 15.5px; }
  .hb-split-form .hero-right .hero-photo { display: none; }
}

/* Service detail headings on mobile: smaller so long titles sit in two tidy lines beside the icon */
@media (max-width: 640px) {
  .svc-detail .row-head h2 { font-size: 24.5px; line-height: 1.15; flex: 1 1 auto; min-width: 0; }
}

/* Contact info-panel heading on mobile: the two .mb-line spans stack so the name sits in exactly
   two tidy lines beside the pin icon (spans are plain inline text on desktop — unchanged) */
@media (max-width: 640px) {
  .map-block .row-head h3 { font-size: 18px; line-height: 1.2; letter-spacing: -.02em; flex: 1 1 auto; min-width: 0; }
  .map-block .row-head h3 .mb-line { display: block; }
}

/* ============ ROUND 10 — desktop beautification ============ */
/* Typewriter hero headline: blinking caret while typing (removed on completion).
   The split hero reserves the final 3-line height so the layout never shifts. */
.type-caret { display: inline-block; width: 3px; height: .88em; margin-left: 3px; vertical-align: -.1em; background: var(--primary); animation: caretBlink .75s steps(1) infinite; }
@keyframes caretBlink { 0%, 55% { opacity: 1; } 56%, 100% { opacity: 0; } }
.type-reserve { min-height: 3.45em; }
/* Design 1 split hero: slightly narrower headline measure + wider text column
   so the headline wraps to exactly 3 lines at desktop widths. */
@media (min-width: 961px) {
  .hb-split-form .hero-split { grid-template-columns: 1.12fr .88fr; }
}
.hero.hb-split-form h1 { font-size: clamp(30px, 3.85vw, 49px); }
/* Mobile hero headline safety (<=640px only; desktop untouched): the clamp()
   rule above also wins on phones (same specificity, later in the file than
   the 28px rule in the mobile block), forcing a 30px minimum that leaves a
   long headline line almost no slack inside the overflow-hidden hero — on
   narrow phones a line such as "Cleaning and Office" can touch or pass the
   right edge. Re-assert the intended mobile size after the clamp() rule so
   the headline wraps with room to spare at 360px and 390px. */
@media (max-width: 640px) {
  .hero.hb-split-form h1 { font-size: 28px; }
}

/* Animated heading accent: a short gradient bar under every section/page
   heading that grows in (scaleX) as the heading's reveal fires. */
.h-acc::after { content: ''; display: block; width: 58px; height: 4px; border-radius: 3px; margin-top: 12px; background: linear-gradient(90deg, var(--primary), var(--accent)); transform: scaleX(0); transform-origin: left center; transition: transform .8s cubic-bezier(.22,.8,.3,1) .3s; }
.rv.in .h-acc::after { transform: scaleX(1); }
.sec-head .h-acc::after, .page-hero .h-acc::after { margin-left: auto; margin-right: auto; transform-origin: center; }
.cta-in .h-acc::after { background: linear-gradient(90deg, #ffffff, var(--accent)); }
.sec-head h2 { font-weight: 700; }
@media (max-width: 640px) {
  .hiw-head .h-acc::after { margin-left: auto; margin-right: auto; transform-origin: center; }
}

/* Service photos: card-top image on Home service cards (bleeds to the card's
   top edge inside its padding, stays within the card), detail photo on the
   Services page, gallery cards, and the About page photo pair. */
.svc-img { display: block; width: calc(100% + 52px); max-width: none; height: 168px; object-fit: cover; margin: -26px -26px 18px; border-radius: var(--radius) var(--radius) 0 0; background: var(--dark); }
.svc-photo { display: block; width: 100%; height: 218px; object-fit: cover; border-radius: var(--radius); box-shadow: 0 14px 30px rgba(10,30,60,.16); margin-bottom: 20px; background: var(--dark); }
.gal-grid { grid-auto-rows: 1fr; }
.gal-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; margin: 0; }
.gal-card img { display: block; width: 100%; height: 205px; object-fit: cover; background: var(--dark); }
.gal-cap { padding: 18px 22px 20px; }
.gal-cap h3 { margin-bottom: 6px; }
.about-photos { display: grid; gap: 20px; }
.about-photos .about-img { height: 268px; margin: 0; }

/* Book Online hero form card: a soft periodic sheen sweep + gentle glow.
   The sheen layer is exactly card-sized (no overflow clipping, so the form's
   dropdowns are never cut) and pointer-transparent; slow and subtle. */
.hero-form { position: relative; animation: formGlow 7s ease-in-out infinite alternate; }
.hero-form::before { content: ''; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(115deg, transparent 32%, rgba(255,255,255,.5) 50%, transparent 68%); background-size: 280% 100%; background-position: 130% 0; animation: formSheen 8.5s ease-in-out infinite; pointer-events: none; z-index: 3; }
@keyframes formSheen { 0% { background-position: 130% 0; } 34% { background-position: -130% 0; } 100% { background-position: -130% 0; } }
@keyframes formGlow { from { box-shadow: 0 18px 44px rgba(10,30,60,.16); } to { box-shadow: 0 20px 52px rgba(11,99,196,.30); } }
/* Book Now button: gentle shine sweep on hover. */
.book-form .btn.primary { position: relative; overflow: hidden; }
.book-form .btn.primary::after { content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 45%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent); transform: translateX(-220%) skewX(-18deg); transition: transform .7s ease; pointer-events: none; }
.book-form .btn.primary:hover::after { transform: translateX(320%) skewX(-18deg); }
.book-form .btn.primary:disabled::after { display: none; }

/* Booking page open cascade: the page's main blocks reveal in sequence —
   heading → form card → How It Works sidebar → reviews — instead of all at
   once. Delays ride on the existing reveal transitions (max ≈ .34s + .75s). */
.page-booking .page-hero .rv { transition-delay: .02s; }
.page-booking .sec .split2 > .rv:nth-child(1) { transition-delay: .14s; }
.page-booking .sec .split2 > .rv:nth-child(2) { transition-delay: .26s; }
.page-booking .sec-head.rv { transition-delay: .3s; }
.page-booking .rv-wrap.rv { transition-delay: .36s; }

/* Service Area chips on mobile: a tidy uniform 2-column grid — equal-width,
   equal-height chips, consistent gaps, pin + name centred as one group, and
   the last chip (Miami) spanning the full row so the grid ends
   symmetrically. Desktop keeps the centred wrapping flow — unchanged.
   Scoped to the AreasSec container (.areas); the Contact info panel's
   chips get the same grid treatment in their own scoped block below. */
@media (max-width: 640px) {
  .areas .chips { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
  .areas .chip { justify-content: center; text-align: center; padding: 11px 8px; font-size: 13.5px; white-space: nowrap; }
  .areas .chip:last-child { grid-column: 1 / -1; }
}

/* Contact info-panel chips on mobile: the panel is narrow (34px side
   padding), so the natural-width chips collapsed to one ragged chip per row
   at 360px and uneven pairs at 390px. Same tidy treatment as the Service
   Area section: a uniform 2-column grid of equal-width, equal-height chips
   with the name centred, consistent gaps, and the last chip (Miami)
   spanning the full row. Slightly smaller font/padding than the
   section chips so the long names fit the panel's narrower columns on one
   line. These chips are text-only (no pin icon) — kept that way. Desktop
   panel keeps the left-aligned wrapping flow — unchanged. */
@media (max-width: 640px) {
  .map-block .chips { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
  .map-block .chip { justify-content: center; text-align: center; padding: 10px 6px; font-size: 13px; white-space: nowrap; }
  .map-block .chip:last-child { grid-column: 1 / -1; }
}

/* Service Area chips on DESKTOP (owner's order, Round 12): all 9 areas in
   ONE single row inside the 1140px content width. At the base chip size the
   row measured 1,394px, so the section's chips (only these — the Contact
   panel chips are untouched) get slightly smaller padding, font, pin icon
   and gaps: measured total ≈1,109px, one tidy centred row at 1280/1440px.
   Below desktop widths the flex row simply wraps, as before; ≤640px keeps
   the 2-column grid from the block above. */
@media (min-width: 641px) {
  .areas .chips { gap: 8px; }
  .areas .chip { padding: 7px 10px; font-size: 12.5px; gap: 5px; }
  .areas .chip svg { width: 14px; height: 14px; }
}
