/* ── Variables ─────────────────────────────────────────── */
:root {
  --primary: #0d9488;
  --primary-dark: #0f766e;
  --secondary: #134e4a;
  --accent: #f43f5e;
  --accent-dark: #e11d48;
  --background: #f0fdfa;
  --surface: #ffffff;
  --text: #111827;
  --muted: #6b7280;
  --border: #d1fae5;
  --font-sans: 'Inter', system-ui, sans-serif;
  --font-display: 'Plus Jakarta Sans', system-ui, sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(13,148,136,0.12);
  --shadow-lg: 0 8px 40px rgba(13,148,136,0.18);
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Livewire loading (REQUIRED) ────────────────────────── */
[wire\:loading],
[wire\:loading\.delay],
[wire\:loading\.inline-block],
[wire\:loading\.inline] { display: none; }

/* ── Empty image fallback (REQUIRED) ───────────────────── */
img[src=""],
img:not([src]) { display: none !important; }

/* ── Reset & Base ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-sans); background: var(--background); color: var(--text); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font: inherit; border: none; background: none; }
ul { list-style: none; }

/* ── Layout ──────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-pad { padding: 80px 0; }
.section-alt { background: #f8fffe; }
.section-dark { background: var(--secondary); color: #fff; color: oklch(from var(--secondary) clamp(0, (0.57 - l) * 1000, 1) 0 0); }

/* ── Typography ──────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; }
.section-eyebrow { font-family: var(--font-sans); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--primary); display: block; margin-bottom: 8px; }
.section-eyebrow--light { color: #6ee7b7; }
.section-header { margin-bottom: 48px; }
.section-header--center { text-align: center; }
.section-subtitle { color: var(--muted); margin-top: 12px; font-size: 1.05rem; }

/* ── Focus & Accessibility ───────────────────────────────── */
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

/* ── Skip link ───────────────────────────────────────────── */
.skip-link { position: absolute; top: -40px; left: 0; background: var(--primary); color: #fff; padding: 8px 16px; z-index: 1000; border-radius: 0 0 var(--radius-sm) 0; transition: top 0.2s; }
.skip-link:focus { top: 0; }

/* ── Scroll progress ─────────────────────────────────────── */
#scroll-progress { position: fixed; top: 0; left: 0; height: 3px; background: var(--accent); z-index: 10000; width: 0; transition: width 0.1s linear; }

/* ── Header ──────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 900; background: rgba(240,253,250,0.96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); transition: box-shadow var(--transition); }
.site-header.scrolled { box-shadow: 0 2px 20px rgba(13,148,136,0.1); }
.header__inner { display: flex; align-items: center; gap: 24px; height: 70px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; color: var(--secondary); flex-shrink: 0; }
.logo img { width: 36px; height: 36px; object-fit: contain; border-radius: 8px; }
.logo__name { white-space: nowrap; }
.site-nav { display: flex; gap: 4px; margin-left: auto; }
.site-nav-item { padding: 8px 16px; border-radius: var(--radius-sm); font-weight: 500; font-size: 0.9rem; transition: background var(--transition), color var(--transition); color: var(--text); }
.site-nav-item:hover { background: rgba(13,148,136,0.08); color: var(--primary); }
.header__actions { display: flex; align-items: center; gap: 12px; }
.header__phone { display: flex; align-items: center; gap: 6px; font-size: 0.875rem; font-weight: 600; color: var(--primary); padding: 8px 14px; border-radius: var(--radius-sm); border: 1.5px solid var(--border); transition: background var(--transition); white-space: nowrap; }
.header__phone:hover { background: rgba(13,148,136,0.06); }
.nav__toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; border-radius: var(--radius-sm); }
.nav__toggle span { display: block; width: 22px; height: 2px; background: var(--text); transition: all 0.3s; border-radius: 2px; }
.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav__mobile { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--surface); border-bottom: 1px solid var(--border); padding: 16px 24px; flex-direction: column; gap: 4px; box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.nav__mobile.open { display: flex; }
.nav__mobile a { padding: 10px 12px; border-radius: var(--radius-sm); font-weight: 500; color: var(--text); transition: background var(--transition); }
.nav__mobile a:hover { background: rgba(13,148,136,0.06); color: var(--primary); }
.nav__mobile .btn { margin-top: 8px; justify-content: center; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px; border-radius: var(--radius-sm); font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; transition: all var(--transition); cursor: pointer; white-space: nowrap; border: 2px solid transparent; }
.btn--primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn--primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(13,148,136,0.35); }
.btn--accent { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn--accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn--outline { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn--outline:hover { background: rgba(13,148,136,0.08); }
.btn--lg { padding: 14px 36px; font-size: 1rem; }
.btn--sm { padding: 8px 18px; font-size: 0.85rem; }
.btn--full { width: 100%; justify-content: center; }
.btn--magnetic { transition: all 0.3s cubic-bezier(0.23,1,0.32,1); }

/* ── Hero ────────────────────────────────────────────────── */
.hero { background: var(--secondary); color: #fff; min-height: 90vh; display: flex; align-items: center; overflow: clip; color: oklch(from var(--secondary) clamp(0, (0.57 - l) * 1000, 1) 0 0); }
.hero__split { max-width: 1200px; margin: 0 auto; padding: 80px 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; width: 100%; }
.hero__content { display: flex; flex-direction: column; gap: 20px; }
.hero__badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(110,231,183,0.15); border: 1px solid rgba(110,231,183,0.3); color: #6ee7b7; padding: 6px 16px; border-radius: 100px; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.05em; width: fit-content; }
.hero__title { font-size: clamp(2rem, 5vw, 3.4rem); color: #fff; line-height: 1.1; }
.hero__title .title-prefix { color: #6ee7b7; display: block; }
.hero__subtitle { font-size: 1.15rem; color: rgba(255,255,255,0.7); }
.hero__body { color: rgba(255,255,255,0.6); line-height: 1.7; }
.hero__stats { display: flex; gap: 32px; margin: 8px 0; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat__num { font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: #6ee7b7; line-height: 1; }
.stat__label { font-size: 0.75rem; color: rgba(255,255,255,0.5); margin-top: 2px; }
.hero__cta-group { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__media { position: relative; }
.hero__media img { width: 100%; height: 520px; object-fit: cover; border-radius: var(--radius-xl); }
.hero__trust-chip { position: absolute; bottom: 24px; left: 24px; display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,0.12); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: #fff; padding: 10px 18px; border-radius: 100px; font-size: 0.8rem; font-weight: 600; border: 1px solid rgba(255,255,255,0.2); }

/* ── About ───────────────────────────────────────────────── */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about__media { position: relative; }
.about__media img { border-radius: var(--radius-xl); width: 100%; height: 480px; object-fit: cover; }
.about__media-badge { position: absolute; bottom: 24px; right: -24px; background: var(--primary); color: #fff; padding: 16px 20px; border-radius: var(--radius); text-align: center; box-shadow: var(--shadow-lg); }
.about__media-badge strong { display: block; font-size: 1.4rem; font-family: var(--font-display); }
.about__content { display: flex; flex-direction: column; gap: 16px; }
.about__body { color: var(--muted); line-height: 1.75; }
.about__checklist { display: flex; flex-direction: column; gap: 8px; }
.about__checklist li { display: flex; align-items: center; gap: 10px; font-size: 0.95rem; }
.about__checklist li::before { content: '\2713'; background: #d1fae5; color: var(--primary); width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 700; flex-shrink: 0; }

/* ── Services ─────────────────────────────────────────────── */
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; transform-style: preserve-3d; transition: transform 0.1s ease, box-shadow var(--transition); will-change: transform; }
.service-card:hover { box-shadow: var(--shadow-lg); }
.service-card:nth-child(2) { background: var(--primary); color: #fff; border-color: var(--primary); }
.service-card:nth-child(2) .service-card__price { color: #6ee7b7; }
.service-card:nth-child(2) .service-card__cta { color: #fff; border-color: rgba(255,255,255,0.4); }
.service-card__icon { width: 52px; height: 52px; background: rgba(13,148,136,0.1); color: var(--primary); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.service-card:nth-child(2) .service-card__icon { background: rgba(255,255,255,0.15); color: #fff; }
.service-card__title { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; }
.service-card__subtitle { font-size: 0.8rem; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: 0.08em; }
.service-card:nth-child(2) .service-card__subtitle { color: #6ee7b7; }
.service-card__body { color: var(--muted); font-size: 0.9rem; flex: 1; }
.service-card:nth-child(2) .service-card__body { color: rgba(255,255,255,0.75); }
.service-card__footer { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
.service-card__price { font-weight: 700; color: var(--primary); font-family: var(--font-display); }
.service-card:nth-child(2) .service-card__price { color: #6ee7b7; }
.service-card__cta { font-size: 0.85rem; font-weight: 600; color: var(--primary); border-bottom: 1px solid var(--primary); padding-bottom: 2px; transition: opacity var(--transition); }
.service-card__cta:hover { opacity: 0.75; }
.service-card:nth-child(2) .service-card__cta { color: #fff; border-color: rgba(255,255,255,0.4); }

/* ── Service Areas ────────────────────────────────────────── */
.areas__grid { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.area-chip { display: inline-flex; align-items: center; gap: 6px; background: var(--surface); border: 1px solid var(--border); padding: 8px 16px; border-radius: 100px; font-size: 0.9rem; font-weight: 500; color: var(--text); transition: all var(--transition); cursor: default; }
.area-chip:hover { border-color: var(--primary); color: var(--primary); background: rgba(13,148,136,0.05); }
.area-chip svg { color: var(--primary); flex-shrink: 0; }
.area-note { font-size: 0.75rem; color: var(--muted); margin-left: 2px; }

/* ── Certifications ───────────────────────────────────────── */
.certs__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cert-card { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius); padding: 20px; display: flex; align-items: center; gap: 16px; }
.cert-card img { width: 48px; height: 48px; object-fit: contain; flex-shrink: 0; border-radius: var(--radius-sm); }
.cert-card__info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cert-card__info strong { font-size: 0.9rem; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cert-card__issuer { font-size: 0.75rem; color: rgba(255,255,255,0.6); }
.cert-card small { font-size: 0.7rem; color: rgba(255,255,255,0.45); }

/* ── Before / After ──────────────────────────────────────── */
.ba-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.ba-card { background: var(--surface); border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-md); }
.ba-card__images { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.ba-card__side { position: relative; overflow: hidden; }
.ba-card__side img { width: 100%; height: 240px; object-fit: cover; display: block; }
.ba-card__label { position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: 100px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.ba-card__label--before { background: #fee2e2; color: #991b1b; }
.ba-card__label--after { background: #d1fae5; color: #065f46; }
.ba-card__divider { width: 36px; height: 36px; background: var(--surface); border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm); color: var(--primary); flex-shrink: 0; z-index: 1; }
.ba-card__caption { padding: 16px 20px; font-size: 0.875rem; color: var(--muted); text-align: center; }

/* ── Quote ───────────────────────────────────────────────── */
.quote__wrap { display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; align-items: start; }
.quote__info { display: flex; flex-direction: column; gap: 16px; padding-top: 8px; }
.quote__info h2 { color: var(--secondary); }
.quote__info p { color: var(--muted); }
.quote__promises { display: flex; flex-direction: column; gap: 8px; }
.quote__promises li { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; color: var(--muted); }
.quote__promises li::before { content: '\2713'; color: var(--primary); font-weight: 700; }
.quote__form { background: var(--surface); border-radius: var(--radius-xl); padding: 36px; box-shadow: var(--shadow-md); display: flex; flex-direction: column; gap: 16px; }

/* ── Form elements ────────────────────────────────────────── */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.825rem; font-weight: 600; color: var(--text); }
.form-group input,
.form-group select,
.form-group textarea { padding: 11px 14px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font: inherit; font-size: 0.9rem; background: var(--background); color: var(--text); transition: border-color var(--transition), box-shadow var(--transition); width: 100%; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(13,148,136,0.1); }
.form-group textarea { resize: vertical; min-height: 90px; }
.form-group select { cursor: pointer; }

/* ── Testimonials ─────────────────────────────────────────── */
.testimonials__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 16px; transform-style: preserve-3d; transition: transform 0.1s ease, box-shadow var(--transition); }
.testimonial-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.2); }
.testimonial-card__stars { color: #fbbf24; font-size: 1rem; letter-spacing: 2px; }
.testimonial-card__quote { color: rgba(255,255,255,0.85); font-style: italic; flex: 1; line-height: 1.65; }
.testimonial-card__author { display: flex; align-items: center; gap: 12px; }
.testimonial-card__author img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(110,231,183,0.3); flex-shrink: 0; }
.testimonial-card__author strong { display: block; font-size: 0.9rem; color: #fff; }
.testimonial-card__author span { font-size: 0.8rem; color: rgba(255,255,255,0.5); }

/* ── Opening Hours ────────────────────────────────────────── */
.hours__wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: center; }
.hours__content { display: flex; flex-direction: column; gap: 16px; }
.hours__content p { color: var(--muted); }
.hours__table-wrap { background: var(--surface); border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-md); }
.hours__table { width: 100%; border-collapse: collapse; }
.hours__table tr[data-item] { border-bottom: 1px solid var(--border); display: grid; grid-template-columns: 1.2fr 1.2fr 0.6fr; padding: 14px 20px; transition: background var(--transition); }
.hours__table tr[data-item]:last-child { border-bottom: none; }
.hours__table tr[data-item].today-row { background: rgba(13,148,136,0.06); }
.hours__table tr[data-item].today-row td:first-child { color: var(--primary); font-weight: 700; }
.hours__table td { font-size: 0.9rem; align-self: center; }
.hours__table td:first-child { font-weight: 600; }
.hours__note { font-size: 0.75rem; color: var(--primary); font-weight: 600; text-align: right; }

/* ── FAQs ────────────────────────────────────────────────── */
.faqs { background: var(--background); }
.faqs .section-header { margin-bottom: 40px; }
.faqs__list { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-item__trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 24px; text-align: left; background: var(--surface); cursor: pointer; transition: background var(--transition); font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; color: var(--text); }
.faq-item__trigger:hover { background: rgba(13,148,136,0.04); }
.faq-item__trigger[aria-expanded="true"] { color: var(--primary); }
.faq-item__trigger[aria-expanded="true"] .faq-item__icon { transform: rotate(180deg); color: var(--primary); }
.faq-item__icon { flex-shrink: 0; transition: transform var(--transition), color var(--transition); color: var(--muted); }
.faq-item__answer { padding: 0 24px 18px; color: var(--muted); font-size: 0.9rem; line-height: 1.7; background: var(--surface); }
.faq-item__answer[hidden] { display: none; }

/* ── Contact ─────────────────────────────────────────────── */
.contact__grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; align-items: start; }
.contact__info { display: flex; flex-direction: column; gap: 16px; }
.contact__info h2 { color: var(--secondary); }
.contact__details { display: flex; flex-direction: column; gap: 12px; }
.contact__item { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 0.9rem; }
.contact__item svg { color: var(--primary); flex-shrink: 0; }
.contact__item a:hover { color: var(--primary); }
.contact__form-wrap { background: var(--surface); border-radius: var(--radius-xl); padding: 36px; box-shadow: var(--shadow-md); }
.contact__form { display: flex; flex-direction: column; gap: 14px; }

/* ── Footer ──────────────────────────────────────────────── */
.site-footer { background: var(--secondary); color: rgba(255,255,255,0.8); padding: 64px 0 24px; color: oklch(from var(--secondary) clamp(0, (0.57 - l) * 1000, 1) 0 0); }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer__brand { display: flex; flex-direction: column; gap: 12px; }
.footer__brand img { width: 40px; height: 40px; object-fit: contain; border-radius: 8px; }
.footer__brand p { font-size: 0.875rem; color: rgba(255,255,255,0.6); line-height: 1.6; }
.footer__social { display: flex; gap: 10px; margin-top: 4px; }
.footer__social a { width: 36px; height: 36px; background: rgba(255,255,255,0.08); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.7); transition: all var(--transition); }
.footer__social a:hover { background: var(--primary); color: #fff; }
.footer__links,
.footer__services,
.footer__contact { display: flex; flex-direction: column; gap: 10px; }
.footer__links h4,
.footer__services h4,
.footer__contact h4 { font-family: var(--font-display); font-size: 0.875rem; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 4px; }
.footer__links a,
.footer__services a { font-size: 0.875rem; color: rgba(255,255,255,0.6); transition: color var(--transition); }
.footer__links a:hover,
.footer__services a:hover { color: #6ee7b7; }
.footer__contact p { font-size: 0.875rem; color: rgba(255,255,255,0.6); }
.footer__cta { font-weight: 700; color: #6ee7b7; font-size: 1.1rem; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; font-size: 0.8rem; color: rgba(255,255,255,0.4); text-align: center; }

/* ── Sticky Mobile CTA ────────────────────────────────────── */
.sticky-mobile-cta { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 800; background: var(--surface); border-top: 1px solid var(--border); padding: 12px 20px; gap: 10px; box-shadow: 0 -4px 20px rgba(0,0,0,0.08); }
.sticky-mobile-cta__call { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; background: var(--primary); color: #fff; padding: 12px; border-radius: var(--radius-sm); font-weight: 600; font-size: 0.9rem; }
.sticky-mobile-cta__quote { flex: 1; display: flex; align-items: center; justify-content: center; background: var(--accent); color: #fff; padding: 12px; border-radius: var(--radius-sm); font-weight: 600; font-size: 0.9rem; }

/* ── Back to top ─────────────────────────────────────────── */
.back-to-top { position: fixed; bottom: 24px; right: 24px; width: 44px; height: 44px; background: var(--primary); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; box-shadow: var(--shadow-md); opacity: 0; pointer-events: none; transition: all var(--transition); z-index: 700; }
.back-to-top.visible { opacity: 1; pointer-events: all; }
.back-to-top:hover { transform: translateY(-3px); }

/* ── data-list reset ─────────────────────────────────────── */
[data-list] { display: contents; }

/* ── Image placeholder fallback (preview) ────────────────── */
img[src$="placeholder.jpg"] { display: none !important; }

.hero__media.img-empty {
  min-height: 380px;
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius-xl);
  border: 2px dashed rgba(110,231,183,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__media.img-empty::after {
  content: '';
  width: 64px;
  height: 64px;
  border: 2px dashed rgba(110,231,183,0.25);
  border-radius: 50%;
}
.about__media.img-empty {
  min-height: 280px;
  background: rgba(13,148,136,0.05);
  border-radius: var(--radius-xl);
  border: 2px dashed var(--border);
}
.ba-card__side.img-empty {
  min-height: 140px;
  background: var(--border);
}
.testimonial-card__author .img-empty,
.cert-card.img-empty {
  opacity: 0.5;
}

/* ── Reveal Animation System (CSS scroll-driven, replaces GSAP) ──
   Resting state is visible at rule level — the hidden from-state
   lives ONLY inside @keyframes reveal-in, and the whole lane is
   gated behind @supports + no-preference so a non-supporting /
   reduced-motion visitor just sees the content, never a blank
   section. */
@keyframes reveal-in {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; }
}
@keyframes hero-entrance {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; }
}
@media (prefers-reduced-motion: no-preference) {
  /* Above-the-fold hero content is already in view on load — use a
     normal time-based animation, never a view() timeline. */
  .hero__content { animation: hero-entrance .8s cubic-bezier(.19,1,.22,1) both; }
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .about__content,
    .service-card,
    .area-chip,
    .cert-card,
    .ba-card,
    .testimonial-card,
    .quote__form,
    .hours__table-wrap,
    .section-header {
      animation: reveal-in .65s ease both;
      animation-timeline: view();
      animation-range: entry 0% entry 40%;
    }
    /* Stagger by shifting animation-range, never animation-delay —
       a delay is a clock that may already have run before the
       element enters the viewport. */
    .service-card:nth-child(2), .area-chip:nth-child(2),
    .cert-card:nth-child(2), .ba-card:nth-child(2),
    .testimonial-card:nth-child(2) { animation-range: entry 8% entry 46%; }

    .service-card:nth-child(3), .area-chip:nth-child(3),
    .cert-card:nth-child(3), .ba-card:nth-child(3),
    .testimonial-card:nth-child(3) { animation-range: entry 16% entry 54%; }

    .service-card:nth-child(4), .area-chip:nth-child(4),
    .cert-card:nth-child(4), .ba-card:nth-child(4),
    .testimonial-card:nth-child(4) { animation-range: entry 24% entry 62%; }

    .service-card:nth-child(5), .area-chip:nth-child(5),
    .cert-card:nth-child(5), .ba-card:nth-child(5),
    .testimonial-card:nth-child(5) { animation-range: entry 32% entry 70%; }
  }
}

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

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero__split { grid-template-columns: 1fr; }
  .hero__media { display: none; }
  .about__grid { grid-template-columns: 1fr; }
  .about__media { display: none; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .certs__grid { grid-template-columns: repeat(2, 1fr); }
  .quote__wrap { grid-template-columns: 1fr; gap: 40px; }
  .hours__wrap { grid-template-columns: 1fr; gap: 40px; }
  .contact__grid { grid-template-columns: 1fr; gap: 40px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .site-nav { display: none; }
  .header__phone { display: none; }
  .nav__toggle { display: flex; }
  /* One header row on phones: the CTA hands off to the hero, the sticky bar and the menu,
     the toggle pins right, and a long brand name truncates instead of pushing it off-screen. */
  .header__actions { margin-left: auto; }
  .header__actions .btn { display: none; }
  .logo { flex-shrink: 1; min-width: 0; }
  .logo__name { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  .section-pad { padding: 56px 0; }
  .services__grid { grid-template-columns: 1fr; }
  .testimonials__grid { grid-template-columns: 1fr; }
  .ba-grid { grid-template-columns: 1fr; }
  .certs__grid { grid-template-columns: 1fr; }
  .hero__stats { gap: 20px; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .form-row { grid-template-columns: 1fr; }
  .sticky-mobile-cta { display: flex; }
  .back-to-top { bottom: 76px; }
  .hero { min-height: 70vh; }
  .hero__split { padding: 56px 24px; }
  .quote__form { padding: 24px; }
  .contact__form-wrap { padding: 24px; }
}

@media (max-width: 480px) {
  /* The sticky bottom bar carries the same Free Quote link at this width. */
  .header__actions .btn { display: none; }
  .hero__cta-group { flex-direction: column; }
  .hero__cta-group .btn { width: 100%; justify-content: center; }
  .section-pad { padding: 44px 0; }
}


/* __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(.hero) .hero__subtitle { color: oklch(from var(--secondary) clamp(0, (0.57 - l) * 1000, 1) 0 0); }
:where(.hero) .hero__body { color: oklch(from var(--secondary) clamp(0, (0.57 - l) * 1000, 1) 0 0); }
:where(.site-footer) .footer__brand p { color: oklch(from var(--secondary) clamp(0, (0.57 - l) * 1000, 1) 0 0); }
:where(.site-footer) .footer__links a { color: oklch(from var(--secondary) clamp(0, (0.57 - l) * 1000, 1) 0 0); }
:where(.site-footer) .footer__services a { color: oklch(from var(--secondary) clamp(0, (0.57 - l) * 1000, 1) 0 0); }
:where(.site-footer) .footer__contact p { color: oklch(from var(--secondary) clamp(0, (0.57 - l) * 1000, 1) 0 0); }
:where(.hero) .hero__title .title-prefix { color: oklch(from var(--secondary) clamp(0, (0.57 - l) * 1000, 1) 0 0); }
:where(.hero) .hero__title { color: oklch(from var(--secondary) clamp(0, (0.57 - l) * 1000, 1) 0 0); }
:where(.site-footer) .footer__links h4 { color: oklch(from var(--secondary) clamp(0, (0.57 - l) * 1000, 1) 0 0); }
:where(.site-footer) .footer__services h4 { color: oklch(from var(--secondary) clamp(0, (0.57 - l) * 1000, 1) 0 0); }
:where(.site-footer) .footer__contact h4 { color: oklch(from var(--secondary) 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 {
  --primary: #005b51; /* was #0d9488 */
  --accent: #da1f4a; /* was #f43f5e */
}
.footer__bottom { color: oklch(from rgba(255, 255, 255, 0.4) calc(l + 0.07) c h / calc(min(1, alpha + 0.21))); }
.hero__badge { color: oklch(from rgb(110, 231, 183) calc(l + 0.02) c h / calc(min(1, alpha + 0.06))); }
