:root {
  color-scheme: light;
  --ink: #1a1a1a;
  --muted: #5f6d65;
  --line: #d9ded6;
  --paper: #ffffff;
  --panel: #ffffff;
  --red: #ff2e3c;
  --red-d: #e01421;
  --shadow: 0 18px 45px rgba(24, 32, 28, 0.11);
}

* {
  box-sizing: border-box;
}

html {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0;
}

body {
  margin: 0;
  min-width: 320px;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 10;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.narrow {
  max-width: 840px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  min-width: 210px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--red);
  color: #fff;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
  margin-top: 0.1rem;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex: 1;
  font-size: 0.92rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--muted);
}

.site-nav a:hover {
  color: var(--ink);
}

/* Owner-direct is the differentiator — surface the phone in the header.
   color: var(--ink) resolves dark on light pages, light on dark themed
   pages (each theme redefines --ink), so one rule covers every route. */
.nav-phone {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  font-size: 0.92rem;
  /* Right-align the phone + WhatsApp + CTA cluster. The header nav is
     empty (all links footerOnly) and not rendered, so this auto margin
     is the spacer; if header links ever return, .site-nav's flex:1
     absorbs the space first and this becomes a harmless no-op. */
  margin-left: auto;
}

.nav-phone:hover {
  opacity: 0.7;
}

/* WhatsApp tap shortcut next to the phone number — mobile only. On desktop
   the header already carries the phone + Book CTA and wa.me just opens
   WhatsApp Web, so the icon only earns its spot where it deep-links into
   the app (revealed in the 620px block below). */
.nav-whatsapp {
  display: none;
}

.nav-cta,
.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0.72rem 1rem;
  font-weight: 750;
  text-decoration: none;
  border: 1px solid transparent;
  line-height: 1.1;
}

.nav-cta,
.button.primary {
  background: var(--red);
  color: #fff;
}

.button.secondary {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.page-hero {
  padding: 6rem 0 4rem;
  background: var(--ink);
  color: #fff;
}

.page-hero.compact {
  padding: 4.5rem 0 3.5rem;
}

.hero-grid,
.split-grid,
.cta-inner,
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
  color: var(--red);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 1rem;
  font-size: clamp(2.6rem, 5vw, 5.5rem);
  line-height: 0.95;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.1rem;
  line-height: 1.2;
}

p {
  color: var(--muted);
  line-height: 1.65;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.88);
}

.hero-lede {
  max-width: 700px;
  font-size: 1.18rem;
}

.delivery-card,
.hero-panel,
.form-placeholder {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.delivery-card p,
.hero-panel p,
.form-placeholder p {
  color: var(--muted);
}

/* Booking form (placeholder; GHL embed swaps in later) — light theme, scoped */
.booking-form .booking-fields {
  margin-top: 1.4rem;
}

.booking-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.booking-form .field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.booking-form label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
}

.booking-form .req {
  color: var(--red);
}

.booking-form .opt {
  color: var(--muted);
  font-weight: 500;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.7rem 0.8rem;
}

.booking-form textarea {
  resize: vertical;
  min-height: 96px;
}

.booking-form input::placeholder,
.booking-form textarea::placeholder {
  color: #98a39b;
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
  outline: 0;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(255, 46, 60, 0.16);
}

.booking-form .form-submit {
  width: 100%;
  margin-top: 0.5rem;
}

@media (max-width: 620px) {
  .booking-form .form-row {
    grid-template-columns: 1fr;
  }
}

/* RentID RentDirect search widget (drop-in when site.bookingEmbedUrl is set).
   The widget self-sizes via postMessage (starts at 120px, grows to fit), so we
   set only a min-height and let its script drive the iframe height. */
.booking-embed .rentid-embed-wrap {
  margin-top: 1.4rem;
  width: 100%;
}

.booking-embed .rentid-embed {
  width: 100%;
  min-height: 120px;
  border: 0;
  border-radius: 8px;
  overflow: hidden;
  display: block;
}

.booking-embed .embed-fallback {
  margin-top: 1rem;
  font-size: 0.9rem;
}

.booking-embed .embed-fallback a {
  color: var(--red);
  font-weight: 700;
}

.delivery-card ol {
  margin: 0;
  padding-left: 1.3rem;
  line-height: 1.7;
}

.delivery-card strong {
  display: block;
  padding: 0.9rem 0;
  border-top: 1px solid var(--line);
  font-size: 1.08rem;
}

.delivery-card strong:first-of-type {
  border-top: 0;
}

.hero-panel {
  display: grid;
  gap: 0.75rem;
}

.hero-panel span {
  display: block;
  padding: 0.9rem 1rem;
  border-radius: 8px;
  background: #eef4ef;
  font-weight: 750;
}

.content-section,
.split-section,
.cta-band {
  padding: 4.5rem 0;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 2rem;
  text-align: center;
}

.section-heading p:last-child {
  max-width: 620px;
  margin-inline: auto;
}

.muted {
  background: #eef1ea;
}

.pillar-grid,
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.card-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pillar,
.info-card {
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 1.25rem;
}

.narrative p {
  font-size: 1.12rem;
  line-height: 1.7;
  margin: 0 0 1.15rem;
}

.narrative p:last-child {
  margin-bottom: 0;
  font-weight: 700;
}

.card-tag {
  display: inline-flex;
  margin-top: 0.9rem;
  border-radius: 999px;
  background: #f1f1f1;
  color: var(--red);
  padding: 0.3rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 800;
}

.pillar span,
.chip-row span {
  display: inline-flex;
  margin-bottom: 0.8rem;
  border-radius: 999px;
  background: #f1f1f1;
  color: var(--red);
  padding: 0.3rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 800;
}

.copy-stack p {
  font-size: 1.05rem;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 1rem 1.1rem;
}

summary {
  cursor: pointer;
  font-weight: 800;
}

details p {
  margin: 0.75rem 0 0;
}

.cta-band {
  background: var(--ink);
  color: #fff;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.82);
}

.linked-card {
  color: inherit;
  text-decoration: none;
}

.linked-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.5rem 0;
}

.stars {
  margin-bottom: 0.75rem;
  color: var(--red);
  font-weight: 850;
}

.site-footer {
  padding: 3rem 0;
  background: #111815;
  color: #fff;
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.78);
}

.site-footer h2,
.site-footer h3 {
  margin-bottom: 0.65rem;
}

/* 3-column closing footer: brand + proof + CTA / Explore nav / Contact.
   Overrides the shared 2-col .footer-grid above; top-aligns the columns. */
.footer-grid {
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1.2fr);
  align-items: start;
}

/* Proof line pops white on every page (out-specifies the themed .site-footer p
   dim rules via the 3-class selector, so no per-theme override needed). */
.site-footer .footer-brand .footer-proof {
  color: #fff;
  font-weight: 750;
  margin-bottom: 0;
}

.footer-cta {
  margin-top: 1.1rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #fff;
}

.footer-meta {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  align-items: center;
  color: rgba(255, 255, 255, 0.6);
}

.footer-meta .sep {
  color: rgba(255, 255, 255, 0.3);
}

.footer-meta a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.footer-meta a:hover,
.footer-meta a:focus-visible {
  color: #fff;
  text-decoration: underline;
}

.blog-hero {
  padding: 5rem 0 2.5rem;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.blog-hero h1 {
  color: var(--ink);
  margin-bottom: 0.75rem;
}

.blog-hero .hero-lede {
  color: var(--muted);
}

.blog-index {
  padding: 2rem 0 4.5rem;
  background: #fff;
}

.blog-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

.blog-categories a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  color: var(--muted);
  font-weight: 750;
  text-decoration: none;
}

.blog-categories a.active,
.blog-categories a:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.blog-heading-row {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: end;
  padding: 3rem 0 1.5rem;
}

.blog-heading-row h2 {
  margin-bottom: 0;
}

.blog-heading-row > a {
  color: var(--red);
  font-weight: 850;
}

.blog-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.blog-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--panel);
}

.blog-card a {
  color: inherit;
  text-decoration: none;
}

.blog-card-media {
  min-height: 185px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(26, 26, 26, 0.92), rgba(255, 46, 60, 0.78)),
    #1a1a1a;
}

.blog-card-media span {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: var(--red);
  color: var(--ink);
  font-weight: 900;
  font-size: 1.35rem;
}

.blog-card-body {
  padding: 1.25rem;
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.blog-card h2 {
  font-size: 1.25rem;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.blog-card strong {
  color: var(--red);
}

.proof-strip {
  background: var(--ink);
  color: #fff;
  padding: 1.5rem 0;
}

.proof-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.proof-strip-grid > div {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.proof-strip-grid strong {
  font-size: 1.35rem;
  line-height: 1.1;
  font-weight: 800;
}

.proof-strip-grid span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 920px) {
  .header-inner {
    flex-wrap: wrap;
    padding: 0.75rem 0;
  }

  .site-nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 0.2rem;
  }

  .nav-cta {
    margin-left: auto;
  }

  .hero-grid,
  .split-grid,
  .cta-inner,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .pillar-grid,
  .blog-card-grid,
  .card-grid,
  .card-grid.three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .proof-strip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 24px, 1120px);
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  /* Reveal the WhatsApp icon beside the phone number. Official green reads
     on both the light header and the dark themed headers. Padding grows the
     22px glyph to a ~42px tap target; negative margins absorb the padding so
     the header row stays tight. Scoped under .site-header so the green beats
     the themes' generic `.page-X a{color:inherit}` rules. */
  .site-header .nav-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    /* No negative right margin: keep the glyph ~22px off the screen edge
       so the cluster doesn't hug the right side. */
    margin: -10px 0 -10px -4px;
    color: #25d366;
  }

  .page-hero,
  .page-hero.compact {
    padding: 3.5rem 0 2.5rem;
  }

  h1 {
    font-size: 2.7rem;
  }

  .pillar-grid,
  .blog-card-grid,
  .card-grid,
  .card-grid.three {
    grid-template-columns: 1fr;
  }

  .proof-strip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 0.75rem;
  }

  .blog-heading-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .button-row {
    align-items: stretch;
  }

  .button {
    width: 100%;
  }
}

/* Header logo — replaces the .brand-mark badge + text wordmark.
   Two real assets (high-res, rendered from the vector source): logo.png for
   light pages, logo-white.png for dark themed pages — chosen in layout.mjs.
   No CSS invert filter: it flattened the gradient/two-tone wordmark and
   fringed the edges, which showed at the larger desktop size. */
.brand-logo {
  display: block;
  height: 52px;
  width: auto;
}
@media (max-width: 560px) {
  .brand-logo {
    height: 36px;
  }
}

/* ---------------------------------------------------------------------------
   STICKY MOBILE CTA BAR — rendered by layout.mjs on every page except /book/.
   Mobile-only at ≤620px: that is exactly where the header .nav-cta is hidden
   (see the 620px block above), so the bar replaces the lost persistent book
   CTA rather than doubling it. Do NOT widen this breakpoint — at 621-920px the
   header CTA is still visible and a second fixed bar would cover content
   without adding anything. Self-contained dark chrome (near-black + brand red)
   reads as app chrome on both dark themed pages and light standard pages, so
   no per-theme overrides are needed. */
.mobile-cta-bar {
  display: none;
}

@media (max-width: 620px) {
  .mobile-cta-bar {
    /* position: sticky, NOT fixed. iOS Safari repositions composited fixed
       elements lazily while its toolbar collapses mid-scroll — on device the
       bar drifted halfway up the screen (the earlier no-backdrop-filter +
       translateZ workaround did not hold). Sticky is positioned synchronously
       by the scroll machinery itself, so it cannot lag the toolbar animation.
       Works because the bar is the LAST child of <body> (layout.mjs renders
       it after the footer): mid-page it pins to the viewport bottom, at page
       end it settles into its natural slot below the footer — which also
       means it reserves its own space, no body padding hack needed. */
    position: sticky;
    bottom: 0;
    z-index: 90; /* above filterbars (4) and both headers (5 main, 80 product); keep modals at 100+ */
    display: flex;
    gap: 0.5rem;
    padding: 0.6rem 0.75rem calc(0.6rem + env(safe-area-inset-bottom));
    background: rgba(10, 10, 10, 0.98);
    border-top: 1px solid #2a2a2a;
  }

  .mobile-cta-bar a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 0.92rem;
    letter-spacing: 0.02em;
    text-decoration: none;
    text-align: center;
  }

  .mobile-cta-bar .mcb-primary {
    flex: 3;
    background: var(--red, #ff2e3c);
    color: #fff;
  }

  .mobile-cta-bar .mcb-ghost {
    flex: 2;
    background: transparent;
    border: 1px solid #4a4a4a;
    color: #f5f5f5;
  }
}
