/* === PipeLine Pro — WoBooks Local-Service Growth Template === */

/* ─── FONTS ─────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;600;700;800&family=Inter:wght@400;500;600&display=swap');

/* ─── TOKENS ─────────────────────────────────────────────── */
:root {
  --primary:        #1a0d2e;
  --primary-dark:   #0f0819;
  --primary-light:  #2d1852;
  --secondary:      #3d2468;
  --accent:         #ff4400;
  --accent-dark:    #cc3700;
  --accent-light:   #ff6633;
  --background:     #f8f6f2;
  --surface:        #ffffff;
  --surface-2:      #f2edf8;
  --text:           #1c1028;
  --muted:          #7a6b8e;
  --border:         #e4ddf0;
  --font-display:   'Plus Jakarta Sans', system-ui, sans-serif;
  --font-sans:      'Inter', system-ui, sans-serif;
  --font-mono:      ui-monospace, 'Courier New', monospace;
  --radius:         10px;
  --radius-lg:      20px;
  --radius-xl:      32px;
  --shadow-sm:      0 1px 3px rgba(26,13,46,.08);
  --shadow-md:      0 4px 16px rgba(26,13,46,.12);
  --shadow-lg:      0 12px 40px rgba(26,13,46,.18);
}

/* ─── RESET ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-sans); color: var(--text); background: var(--background); line-height: 1.65; font-size: 1rem; }
img { max-width: 100%; height: auto; display: block; }
img[src=""], img:not([src]) { display: none !important; }
a { color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ─── LAYOUT ─────────────────────────────────────────────── */
.container { max-width: 1240px; margin: 0 auto; padding: 0 1.5rem; }

/* ─── ACCESSIBILITY ──────────────────────────────────────── */
.skip-link { position: absolute; left: -9999px; top: auto; z-index: 9999; padding: .5rem 1rem; background: var(--accent); color: #fff; border-radius: var(--radius); font-weight: 600; }
.skip-link:focus { left: 1rem; top: 1rem; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ─── SCROLL PROGRESS ────────────────────────────────────── */
#scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0%; background: var(--accent); z-index: 9999; transition: width .1s; }

/* ─── BACK TO TOP ────────────────────────────────────────── */
.back-to-top { position: fixed; bottom: 2rem; right: 2rem; width: 48px; height: 48px; border-radius: 50%; border: none; background: var(--accent); color: #fff; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s; z-index: 999; box-shadow: var(--shadow-md); }
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* ─── WIRE LOADING HIDDEN ────────────────────────────────── */
[wire\:loading], [wire\:loading\.delay], [wire\:loading\.inline-block], [wire\:loading\.inline] { display: none; }

/* ─── TYPOGRAPHY HELPERS ─────────────────────────────────── */
.eyebrow { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.section-title { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; line-height: 1.1; color: var(--primary); margin-bottom: 1rem; }
.section-subtitle { font-size: 1.1rem; color: var(--muted); max-width: 600px; }

/* ─── BUTTONS ─────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .9rem 2rem; border-radius: var(--radius); font-family: var(--font-display); font-weight: 700; font-size: .95rem; text-decoration: none; transition: transform .2s, box-shadow .2s, background .2s; border: 2px solid transparent; }
.btn--accent { background: var(--accent); color: #fff; box-shadow: 0 4px 16px rgba(255,68,0,.35); }
.btn--accent:hover { background: var(--accent-dark); box-shadow: 0 6px 24px rgba(255,68,0,.45); transform: translateY(-2px); }
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-light); transform: translateY(-2px); }
.btn--outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn--outline:hover { background: var(--primary); color: #fff; }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn--outline-light:hover { background: rgba(255,255,255,.1); border-color: #fff; }

/* ─── HEADER ─────────────────────────────────────────────── */
[data-section="header"] { position: sticky; top: 0; z-index: 200; background: var(--background, rgba(248,246,242,.96)); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); transition: box-shadow .3s; }
[data-section="header"].scrolled { box-shadow: var(--shadow-md); }
[data-section="header"] .container > nav:not(.nav__mobile) { display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 0; }
[data-section="header"] .logo img { height: 44px; width: auto; }
[data-section="header"] .logo { text-decoration: none; display: flex; align-items: center; }
.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__links a { font-family: var(--font-display); font-weight: 600; font-size: .9rem; text-decoration: none; color: var(--text); letter-spacing: .01em; position: relative; transition: color .2s; }
.nav__links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--accent); transition: width .25s; }
.nav__links a:hover { color: var(--accent); }
.nav__links a:hover::after { width: 100%; }
.nav__cta { margin-left: 1rem; }
.nav__toggle { display: none; background: none; border: none; font-size: 1.5rem; color: var(--primary); padding: .25rem; }
.nav__cart { display: none; }

/* Mobile nav */
.nav__mobile { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--surface); border-top: 1px solid var(--border); box-shadow: var(--shadow-lg); padding: 1.5rem; gap: 1rem; z-index: 199; }
[data-section="header"] .nav__mobile.open { display: flex; }

/* ─── HERO ───────────────────────────────────────────────── */
[data-section="hero"] { padding: 0; overflow: hidden; }
.hero__wrap { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }
.hero__panel { position: relative; }
.hero__panel--dark { background: var(--primary); padding: 5rem 5rem 5rem 3rem; display: flex; flex-direction: column; justify-content: center; }
.hero__panel--dark::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Ccircle cx='30' cy='30' r='1' fill='rgba(255,255,255,.04)'/%3E%3C/svg%3E") repeat; pointer-events: none; }
.hero__badge { display: inline-flex; align-items: center; gap: .5rem; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: 100px; padding: .4rem 1rem; margin-bottom: 1.5rem; width: fit-content; }
.hero__badge-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.25); animation: pulse-dot 2s infinite; }
.hero__badge span { font-family: var(--font-mono); font-size: .75rem; color: rgba(255,255,255,.85); letter-spacing: .08em; }
@keyframes pulse-dot { 0%,100% { box-shadow: 0 0 0 3px rgba(34,197,94,.25); } 50% { box-shadow: 0 0 0 6px rgba(34,197,94,.1); } }
.hero__prefix { font-family: var(--font-mono); font-size: .8rem; color: var(--accent-light); text-transform: uppercase; letter-spacing: .15em; margin-bottom: .75rem; }
.hero__title { font-family: var(--font-display); font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800; color: #fff; line-height: 1.05; margin-bottom: 1.25rem; }
.hero__title em { color: var(--accent-light); font-style: normal; }
.hero__subtitle { font-size: 1.1rem; color: rgba(255,255,255,.75); margin-bottom: 1.25rem; }
.hero__content { font-size: 1rem; color: rgba(255,255,255,.6); margin-bottom: 2rem; max-width: 480px; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
.hero__chips { display: flex; gap: 1.5rem; }
.hero__chip { text-align: center; border-left: 1px solid rgba(255,255,255,.15); padding-left: 1.5rem; }
.hero__chip:first-child { border-left: none; padding-left: 0; }
.hero__chip-num { display: block; font-family: var(--font-display); font-size: 1.75rem; font-weight: 800; color: #fff; line-height: 1; }
.hero__chip-label { font-size: .75rem; color: rgba(255,255,255,.5); font-family: var(--font-mono); letter-spacing: .08em; }
.hero__panel--image { position: relative; overflow: hidden; background: var(--primary-dark); }
.hero__panel--image img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.hero__phone-badge { position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; border-radius: var(--radius); padding: .75rem 1.5rem; display: flex; align-items: center; gap: .75rem; font-family: var(--font-mono); font-weight: 600; white-space: nowrap; box-shadow: var(--shadow-lg); text-decoration: none; }
.hero__phone-badge svg { width: 18px; height: 18px; }

/* Hero keyframe entrance */
@keyframes hero-fade-up {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes hero-img-reveal {
  from { opacity: 0; transform: scale(1.06); }
  to { opacity: .85; transform: scale(1); }
}
@media (prefers-reduced-motion: no-preference) {
  .hero__panel--dark > * {
    animation: hero-fade-up .9s cubic-bezier(.22,1,.36,1) both;
  }
  .hero__panel--dark > *:nth-child(2) { animation-delay: .08s; }
  .hero__panel--dark > *:nth-child(3) { animation-delay: .16s; }
  .hero__panel--dark > *:nth-child(4) { animation-delay: .24s; }
  .hero__panel--dark > *:nth-child(5) { animation-delay: .32s; }
  .hero__panel--dark > *:nth-child(6) { animation-delay: .4s; }
}
.hero__panel--image img { animation: hero-img-reveal .9s ease forwards; }

/* ─── EMERGENCY CONTACT BAND ─────────────────────────────── */
[data-section="emergency_contact"] { padding: 0; background: var(--accent); position: relative; overflow: hidden; }
[data-section="emergency_contact"]::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cpath d='M20 5 L22 15 L20 25 L18 15 Z' fill='rgba(255,255,255,.04)'/%3E%3C/svg%3E") repeat; pointer-events: none; }
.emergency-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 1.75rem 0; flex-wrap: wrap; }
.emergency-band__text { flex: 1; min-width: 200px; }
.emergency-band__headline { font-family: var(--font-display); font-size: 1.4rem; font-weight: 800; color: #fff; line-height: 1.2; }
.emergency-band__subline { font-size: .9rem; color: rgba(255,255,255,.85); margin-top: .25rem; }
.emergency-band__phone { display: inline-flex; align-items: center; gap: .75rem; }
.emergency-band__phone a { font-family: var(--font-mono); font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 600; color: #fff; text-decoration: none; letter-spacing: -.02em; transition: opacity .2s; }
.emergency-band__phone a:hover { opacity: .85; }
.emergency-band__phone-icon { width: 40px; height: 40px; background: rgba(255,255,255,.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.emergency-band__phone-icon svg { width: 20px; height: 20px; fill: #fff; }
.emergency-band__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ─── ABOUT ──────────────────────────────────────────────── */
[data-section="about"] { padding: 6rem 0; background: var(--surface); }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about__image-wrap { position: relative; }
.about__image-wrap img { width: 100%; height: 520px; object-fit: cover; border-radius: var(--radius-lg); }
.about__image-badge { position: absolute; bottom: -1.5rem; right: -1.5rem; background: var(--accent); color: #fff; border-radius: var(--radius-lg); padding: 1.5rem 2rem; text-align: center; box-shadow: var(--shadow-lg); }
.about__image-badge span { display: block; font-family: var(--font-display); font-size: 2.5rem; font-weight: 800; line-height: 1; }
.about__image-badge small { font-size: .75rem; opacity: .9; }
.about__content { }
.about__content .section-title { margin-top: .75rem; }
.about__text { font-size: 1.05rem; color: var(--muted); line-height: 1.7; margin-top: 1rem; margin-bottom: 2rem; }
.about__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2rem; }
.about__stat { border-top: 3px solid var(--border); padding-top: 1rem; }
.about__stat--accent { border-top-color: var(--accent); }
.about__stat-num { font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: var(--primary); line-height: 1; }
.about__stat-label { font-size: .8rem; color: var(--muted); margin-top: .25rem; }

/* ─── SERVICES ───────────────────────────────────────────── */
[data-section="services"] { padding: 6rem 0; background: var(--background); }
.services__header { text-align: center; margin-bottom: 3.5rem; }
.services__header .section-subtitle { margin: .75rem auto 0; }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.service-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; position: relative; overflow: hidden; transition: transform .3s, box-shadow .3s, border-color .3s; }
.service-card::before { content: attr(data-num); position: absolute; top: 1.5rem; right: 1.5rem; font-family: var(--font-display); font-size: 3.5rem; font-weight: 800; color: var(--surface-2); line-height: 1; pointer-events: none; transition: color .3s; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--accent); }
.service-card:hover::before { color: rgba(255,68,0,.08); }
.service-card__icon { width: 48px; height: 48px; background: var(--surface-2); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; color: var(--accent); }
.service-card__icon svg { width: 24px; height: 24px; }
.service-card__title { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; color: var(--primary); margin-bottom: .5rem; }
.service-card__subtitle { font-size: .85rem; color: var(--accent); font-weight: 600; margin-bottom: .75rem; font-family: var(--font-mono); }
.service-card__content { font-size: .9rem; color: var(--muted); line-height: 1.6; margin-bottom: 1.25rem; }
.service-card__price { font-family: var(--font-mono); font-size: .9rem; font-weight: 600; color: var(--primary); }
.service-card__link { display: inline-flex; align-items: center; gap: .4rem; font-size: .85rem; font-weight: 600; color: var(--accent); text-decoration: none; margin-top: .75rem; transition: gap .2s; }
.service-card__link:hover { gap: .65rem; }
.service-card img { display: none; }

/* ─── SERVICE AREAS ──────────────────────────────────────── */
[data-section="service_areas"] { padding: 5rem 0; background: var(--surface); }
.areas__header { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 2.5rem; flex-wrap: wrap; }
.areas__chips { display: flex; flex-wrap: wrap; gap: 1rem; }
.area-chip { display: flex; align-items: center; gap: .5rem; background: var(--background); border: 1.5px solid var(--border); border-radius: 100px; padding: .55rem 1.25rem; transition: background .2s, border-color .2s, transform .2s; }
.area-chip:hover { background: var(--surface-2); border-color: var(--accent); transform: translateY(-2px); }
.area-chip svg { width: 14px; height: 14px; color: var(--accent); flex-shrink: 0; }
.area-chip__name { font-size: .875rem; font-weight: 600; color: var(--primary); }
.area-chip__note { font-size: .75rem; color: var(--muted); }

/* ─── BEFORE / AFTER GALLERY ─────────────────────────────── */
[data-section="before_after_gallery"] { padding: 6rem 0; background: var(--background); }
.gallery__header { text-align: center; margin-bottom: 3rem; }
.gallery__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.ba-card { border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); box-shadow: var(--shadow-sm); transition: box-shadow .3s; }
.ba-card:hover { box-shadow: var(--shadow-lg); }
.ba-card__images { display: grid; grid-template-columns: 1fr 1fr; position: relative; }
.ba-card__images::after { content: 'BEFORE / AFTER'; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); background: var(--primary); color: #fff; font-family: var(--font-mono); font-size: .6rem; letter-spacing: .1em; padding: .35rem .6rem; border-radius: 4px; pointer-events: none; white-space: nowrap; }
.ba-card__img { aspect-ratio: 4/3; overflow: hidden; }
.ba-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.ba-card:hover .ba-card__img img { transform: scale(1.04); }
.ba-card__caption { padding: 1rem 1.25rem; font-size: .875rem; color: var(--muted); font-style: italic; border-top: 1px solid var(--border); }

/* ─── CERTIFICATIONS ─────────────────────────────────────── */
[data-section="certifications"] { padding: 5rem 0; background: var(--primary); }
.certs__header { text-align: center; margin-bottom: 3rem; }
.certs__header .section-title { color: #fff; }
.certs__header .section-subtitle { color: rgba(255,255,255,.6); }
.certs__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.cert-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-lg); padding: 1.75rem; text-align: center; transition: background .2s, transform .2s; }
.cert-card:hover { background: rgba(255,255,255,.1); transform: translateY(-4px); }
.cert-card__logo { width: 64px; height: 64px; object-fit: contain; margin: 0 auto 1rem; filter: brightness(0) invert(1); opacity: .85; }
.cert-card__name { font-family: var(--font-display); font-size: .95rem; font-weight: 700; color: #fff; margin-bottom: .25rem; }
.cert-card__issuer { font-size: .8rem; color: rgba(255,255,255,.5); font-family: var(--font-mono); }
.cert-card__note { font-size: .8rem; color: rgba(255,255,255,.45); margin-top: .5rem; }

/* ─── QUOTE REQUEST ──────────────────────────────────────── */
[data-section="quote_request"] { padding: 6rem 0; background: var(--background); }
.quote__wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 0; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); }
.quote__info { background: var(--primary-light); padding: 3.5rem; display: flex; flex-direction: column; justify-content: center; }
.quote__info .section-title { color: #fff; font-size: 2rem; }
.quote__info .section-subtitle { color: rgba(255,255,255,.6); margin-top: .75rem; margin-bottom: 2.5rem; }
.quote__feature { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.75rem; }
.quote__feature-icon { width: 40px; height: 40px; background: rgba(255,255,255,.1); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--accent-light); }
.quote__feature-icon svg { width: 20px; height: 20px; }
.quote__feature-text strong { display: block; color: #fff; font-size: .9rem; font-weight: 600; }
.quote__feature-text span { font-size: .82rem; color: rgba(255,255,255,.55); }
.quote__form { background: var(--surface); padding: 3.5rem; }
.quote__form .section-title { font-size: 1.5rem; margin-bottom: .25rem; }
.quote__form .form-note { font-size: .85rem; color: var(--muted); margin-bottom: 2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group.full { grid-column: 1/-1; }
.form-group label { display: block; font-size: .825rem; font-weight: 600; color: var(--primary); margin-bottom: .4rem; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: .85rem 1.1rem; border: 1.5px solid var(--border); border-radius: var(--radius); font-family: var(--font-sans); font-size: .9rem; color: var(--text); background: var(--background); transition: border-color .2s, box-shadow .2s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px rgba(255,68,0,.12); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group select { -webkit-appearance: none; appearance: none; }
.form-submit { width: 100%; margin-top: .5rem; justify-content: center; font-size: 1rem; padding: 1rem; }
.form-honeypot { position: absolute; left: -9999px; }

/* ─── TESTIMONIALS ───────────────────────────────────────── */
[data-section="testimonials"] { padding: 6rem 0; background: var(--primary); }
.testimonials__header { text-align: center; margin-bottom: 3.5rem; }
.testimonials__header .section-title { color: #fff; }
.testimonials__header .section-subtitle { color: rgba(255,255,255,.5); }
.testimonials__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.testimonial-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-lg); padding: 2rem; position: relative; transition: background .2s, transform .2s; }
.testimonial-card:hover { background: rgba(255,255,255,.09); transform: translateY(-4px); }
.testimonial-card::before { content: '\201C'; font-family: Georgia, serif; font-size: 5rem; color: var(--accent); position: absolute; top: -.5rem; left: 1.5rem; line-height: 1; opacity: .6; }
.testimonial-stars { display: flex; gap: .2rem; margin-bottom: 1rem; }
.testimonial-stars svg { width: 16px; height: 16px; fill: #fbbf24; }
.testimonial-content { font-size: .95rem; color: rgba(255,255,255,.75); line-height: 1.7; margin-bottom: 1.5rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: .875rem; border-top: 1px solid rgba(255,255,255,.1); padding-top: 1rem; }
.testimonial-author img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,.2); }
.testimonial-name { font-family: var(--font-display); font-size: .9rem; font-weight: 700; color: #fff; }
.testimonial-role { font-size: .78rem; color: rgba(255,255,255,.45); font-family: var(--font-mono); }

/* ─── OPENING HOURS ──────────────────────────────────────── */
[data-section="opening_hours"] { padding: 5rem 0; background: var(--surface); }
.hours__wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.hours__content .section-title { margin-top: .75rem; }
.hours__content .section-subtitle { color: var(--muted); margin-top: .75rem; margin-bottom: 2rem; }
.hours__open-badge { display: inline-flex; align-items: center; gap: .5rem; background: rgba(34,197,94,.1); border: 1px solid rgba(34,197,94,.3); border-radius: 100px; padding: .4rem 1rem; }
.hours__open-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; }
.hours__open-text { font-family: var(--font-mono); font-size: .8rem; color: #16a34a; font-weight: 600; }
.hours__note { font-size: .875rem; color: var(--muted); margin-top: 1.5rem; font-style: italic; }
.hours__table { width: 100%; border-collapse: collapse; }
.hours__table tr { border-bottom: 1px solid var(--border); }
.hours__table tr:last-child { border-bottom: none; }
.hours__table td { padding: .85rem .5rem; font-size: .9rem; }
.hours__table td:first-child { font-weight: 600; color: var(--primary); font-family: var(--font-display); }
.hours__table td:last-child { text-align: right; font-family: var(--font-mono); color: var(--muted); }
.hours__table tr.is-today td:first-child { color: var(--accent); }
.hours__table tr.is-today td:last-child { color: var(--text); font-weight: 600; }
.hours__table .closed { color: rgba(0,0,0,.3); font-style: italic; }

/* ─── CONTACT ────────────────────────────────────────────── */
[data-section="contact"] { padding: 6rem 0; background: var(--background); }
.contact__wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 0; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); }
.contact__info { background: var(--primary); padding: 3.5rem; color: #fff; }
.contact__info .section-title { color: #fff; font-size: 2rem; }
.contact__info .section-subtitle { color: rgba(255,255,255,.55); margin-top: .75rem; margin-bottom: 2.5rem; }
.contact__detail { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; }
.contact__detail-icon { width: 40px; height: 40px; background: rgba(255,255,255,.1); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact__detail-icon svg { width: 20px; height: 20px; fill: rgba(255,255,255,.8); }
.contact__detail-icon svg.stroke { fill: none; stroke: rgba(255,255,255,.8); stroke-width: 2; }
.contact__detail-text { font-size: .9rem; color: rgba(255,255,255,.75); line-height: 1.6; }
.contact__detail-text a { color: #fff; text-decoration: none; font-weight: 600; display: block; font-family: var(--font-mono); transition: color .2s; }
.contact__detail-text a:hover { color: var(--accent-light); }
.contact__map { display: inline-flex; align-items: center; gap: .5rem; color: rgba(255,255,255,.6); font-size: .85rem; text-decoration: none; margin-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.5rem; width: 100%; transition: color .2s; }
.contact__map:hover { color: #fff; }
.contact__form { background: var(--surface); padding: 3.5rem; }
.contact__form .section-title { font-size: 1.5rem; margin-bottom: 2rem; }

/* ─── PRICING, FAQS, SOCIAL, POLICIES (minimal, visually clean) ─── */
[data-section="pricing"] { padding: 5rem 0; background: var(--surface); }
.pricing__header { text-align: center; margin-bottom: 3rem; }
.pricing__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.pricing-card { background: var(--background); border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 2.5rem; text-align: center; transition: border-color .2s, transform .2s; }
.pricing-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.pricing-card__badge { display: inline-block; background: var(--accent); color: #fff; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; border-radius: 100px; padding: .25rem .75rem; margin-bottom: 1rem; }
.pricing-card__title { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--primary); margin-bottom: .5rem; }
.pricing-card__price { font-family: var(--font-mono); font-size: 2rem; font-weight: 600; color: var(--accent); margin: 1rem 0; }
.pricing-card__content { font-size: .875rem; color: var(--muted); line-height: 1.6; }

[data-section="faqs"] { padding: 5rem 0; background: var(--background); }
.faqs__header { text-align: center; margin-bottom: 3rem; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 1rem; overflow: hidden; background: var(--surface); }
.faq-trigger { width: 100%; text-align: left; background: none; border: none; padding: 1.25rem 1.5rem; display: flex; justify-content: space-between; align-items: center; font-family: var(--font-display); font-size: .95rem; font-weight: 600; color: var(--primary); cursor: pointer; gap: 1rem; }
.faq-trigger svg { width: 20px; height: 20px; flex-shrink: 0; transition: transform .3s; color: var(--accent); }
.faq-trigger[aria-expanded="true"] svg { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-answer-inner { padding: 0 1.5rem 1.25rem; font-size: .9rem; color: var(--muted); line-height: 1.7; }

[data-section="social"] { padding: 2rem 0; background: var(--surface); border-top: 1px solid var(--border); }
.social__links { display: flex; align-items: center; justify-content: center; gap: 1.5rem; flex-wrap: wrap; }
.social-link { display: flex; align-items: center; gap: .5rem; font-size: .875rem; font-weight: 600; color: var(--muted); text-decoration: none; padding: .5rem .75rem; border-radius: var(--radius); transition: color .2s, background .2s; }
.social-link:hover { color: var(--accent); background: var(--surface-2); }

[data-section="policies"] { padding: 5rem 0; background: var(--surface-2); }
.policies__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; margin-top: 2.5rem; }
.policy-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem; }
.policy-card__title { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--primary); margin-bottom: .75rem; }
.policy-card__content { font-size: .875rem; color: var(--muted); line-height: 1.65; }

/* ─── FOOTER ─────────────────────────────────────────────── */
[data-section="footer"] { background: var(--primary-dark); color: #fff; padding: 4rem 0 2rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer__brand img { height: 44px; width: auto; margin-bottom: 1rem; filter: brightness(0) invert(1); }
.footer__tagline { font-size: .875rem; color: rgba(255,255,255,.45); line-height: 1.6; max-width: 260px; }
.footer__col h4 { font-family: var(--font-display); font-size: .9rem; font-weight: 700; color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1.25rem; }
.footer__col a { display: block; font-size: .875rem; color: rgba(255,255,255,.5); text-decoration: none; margin-bottom: .6rem; transition: color .2s; }
.footer__col a:hover { color: rgba(255,255,255,.9); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 2rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer__copy { font-size: .8rem; color: rgba(255,255,255,.3); }
.footer__accent-line { width: 40px; height: 2px; background: var(--accent); }

/* ─── DATA-LIST GRID FIX ─────────────────────────────────── */
[data-list] > div:not([data-item]) { display: contents; }

/* ─── REVEAL ANIMATION SYSTEM (CSS scroll-driven) ────────────
   Resting state is visible at rule level — the hidden from-state
   lives ONLY inside @reveal-in's keyframes, and the whole lane is
   gated behind @supports + no-preference so a non-supporting or
   reduced-motion visitor just sees the content, never a blank
   section. */
@keyframes reveal-in {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      animation: reveal-in .65s ease both;
      animation-timeline: view();
      animation-range: entry 0% entry 40%;
    }

    /* Repeating card grids (service/cert/testimonial/pricing/area/
       before-after/policy) — approximate the old GSAP stagger with
       nth-child now that reveal is purely CSS-driven. */
    .service-card:nth-child(2), .cert-card:nth-child(2),
    .testimonial-card:nth-child(2), .pricing-card:nth-child(2),
    .area-chip:nth-child(2), .ba-card:nth-child(2), .policy-card:nth-child(2) {
      animation: reveal-in .65s ease both;
      animation-timeline: view();
      animation-range: entry 8% entry 46%;
    }
    .service-card:nth-child(3), .cert-card:nth-child(3),
    .testimonial-card:nth-child(3), .pricing-card:nth-child(3),
    .area-chip:nth-child(3), .ba-card:nth-child(3), .policy-card:nth-child(3) {
      animation: reveal-in .65s ease both;
      animation-timeline: view();
      animation-range: entry 16% entry 54%;
    }
    .service-card:nth-child(4), .cert-card:nth-child(4),
    .testimonial-card:nth-child(4), .pricing-card:nth-child(4),
    .area-chip:nth-child(4), .ba-card:nth-child(4), .policy-card:nth-child(4) {
      animation: reveal-in .65s ease both;
      animation-timeline: view();
      animation-range: entry 24% entry 62%;
    }
    .service-card:nth-child(5), .cert-card:nth-child(5),
    .testimonial-card:nth-child(5), .pricing-card:nth-child(5),
    .area-chip:nth-child(5), .ba-card:nth-child(5), .policy-card:nth-child(5) {
      animation: reveal-in .65s ease both;
      animation-timeline: view();
      animation-range: entry 32% entry 70%;
    }
    .service-card:first-child, .cert-card:first-child,
    .testimonial-card:first-child, .pricing-card:first-child,
    .area-chip:first-child, .ba-card:first-child, .policy-card:first-child {
      animation: reveal-in .65s ease both;
      animation-timeline: view();
      animation-range: entry 0% entry 40%;
    }
  }
}

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero__wrap { grid-template-columns: 1fr; min-height: auto; }
  .hero__panel--dark { padding: 4rem 2rem 3rem; }
  .hero__panel--image { height: 350px; }
  .about__grid { grid-template-columns: 1fr; gap: 3rem; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .certs__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials__grid { grid-template-columns: repeat(2, 1fr); }
  .quote__wrap { grid-template-columns: 1fr; }
  .contact__wrap { grid-template-columns: 1fr; }
  .hours__wrap { grid-template-columns: 1fr; gap: 2rem; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .nav__links.active {
    display: flex; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 1.25rem;
    padding: 1.5rem; background: var(--background, #f8f6f2);
    border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md);
    max-height: calc(100vh - 100%); max-height: calc(100dvh - 100%); overflow-y: auto;
  }
  .hero__chips { flex-wrap: wrap; gap: 1rem; }
  .services__grid { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: 1fr; }
  .testimonials__grid { grid-template-columns: 1fr; }
  .certs__grid { grid-template-columns: repeat(2, 1fr); }
  .pricing__grid { grid-template-columns: 1fr; }
  .about__stats { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .emergency-band__inner { flex-direction: column; text-align: center; }
  .emergency-band__phone { justify-content: center; }
  .emergency-band__actions { justify-content: center; }
  .areas__header { flex-direction: column; align-items: flex-start; }
  .policies__grid { grid-template-columns: 1fr; }
  [data-section="quote_request"] .quote__info, [data-section="quote_request"] .quote__form { padding: 2.5rem 1.75rem; }
  [data-section="contact"] .contact__info, [data-section="contact"] .contact__form { padding: 2.5rem 1.75rem; }
}

@media (max-width: 480px) {
  .hero__panel--dark { padding: 3rem 1.5rem 2.5rem; }
  .hero__actions { flex-direction: column; }
  .certs__grid { grid-template-columns: 1fr; }
  .about__image-badge { right: .5rem; bottom: .5rem; }
}

/* ─── STICKY MOBILE CTA ──────────────────────────────────── */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 200;
  background: var(--background, rgba(248,246,242,.97));
  border-top: 1px solid var(--border);
  padding: .75rem 1rem;
  gap: .75rem;
  transform: translateY(100%);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta__btn { flex: 1; justify-content: center; font-size: .875rem; padding: .7rem 1rem; }
@media (max-width: 767px) {
  .sticky-cta { display: flex; }
  main { padding-bottom: 4.5rem; }
}
@media (min-width: 768px) {
  .sticky-cta { display: none !important; }
}

/* ─── REDUCED MOTION ─────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
}


/* __wobooks-defensive__ — appended by HtmlZipThemeConverterV2.
   Hide images whose src resolves to empty (e.g. data-src-field bindings
   for Items / categories the owner hasn't uploaded a photo for yet).
   Without this rule, the browser shows the alt-text fallback —
   that's the bug behind the literal word 'image' showing in avatar
   slots and About images on the production Braise theme. */
img[src=""], img:not([src]) { display: none !important; }

/* Palette roles, item 53 (BrandColourRoles, 2026-10-06): text on a band filled with a palette brand colour follows the fill; brand-coloured text on a band this theme draws dark keeps a lightness floor. */
:where([data-section="certifications"]) .eyebrow { color: oklch(from var(--accent) max(l, 0.75) c h); }
:where(.quote__info) .eyebrow { color: oklch(from var(--primary-light) clamp(0, (0.57 - l) * 1000, 1) 0 0); }
.quote__info .section-subtitle { color: oklch(from var(--primary-light) clamp(0, (0.57 - l) * 1000, 1) 0 0); }
:where(.quote__info) .quote__feature-text span { color: oklch(from var(--primary-light) clamp(0, (0.57 - l) * 1000, 1) 0 0); }
.contact__info .section-subtitle { color: oklch(from var(--primary) clamp(0, (0.57 - l) * 1000, 1) 0 0); }
:where([data-section="footer"]) .footer__col a { color: oklch(from var(--primary-dark) clamp(0, (0.57 - l) * 1000, 1) 0 0); }
:where([data-section="certifications"]) .certs__header .section-subtitle { color: oklch(from var(--primary) clamp(0, (0.57 - l) * 1000, 1) 0 0); }
:where(.quote__info) .quote__feature-text strong { color: oklch(from var(--primary-light) clamp(0, (0.57 - l) * 1000, 1) 0 0); }
:where(.contact__info) .contact__detail-text { color: oklch(from var(--primary) clamp(0, (0.57 - l) * 1000, 1) 0 0); }
:where(.contact__info) .contact__map { color: oklch(from var(--primary) clamp(0, (0.57 - l) * 1000, 1) 0 0); }
:where([data-section="footer"]) .footer__col h4 { color: oklch(from var(--primary-dark) clamp(0, (0.57 - l) * 1000, 1) 0 0); }

/* Own contrast (Weave item 54, theme:palette-stress --heal): with no palette, these read 4.5:1 on the theme's own
   backgrounds; each was proven by rendering the page. The palette block (html:root) still overrides the tokens. */
:root {
  --accent: #da0e00; /* was #ff4400 */
}
.cert-card__note { color: oklch(from rgba(255, 255, 255, 0.45) calc(l + 0.02) c h / calc(min(1, alpha + 0.06))); }
.footer__copy { color: oklch(from rgba(255, 255, 255, 0.3) calc(l + 0.07) c h / calc(min(1, alpha + 0.21))); }
.footer__tagline { color: oklch(from rgba(255, 255, 255, 0.45) calc(l + 0.02) c h / calc(min(1, alpha + 0.06))); }
