/*
Theme Name: Xelerate Auto Spa
Theme URI: https://xeleratedetailing.com
Author: Xelerate Auto Spa
Author URI: https://xeleratedetailing.com
Description: Premium mobile car detailing landing page theme for Xelerate Auto Spa. Dark, high-contrast design with hero, services, ceramic-coating spotlight, before/after slider, reviews and promo sections. Ported from the Xelerate Nuxt app.
Version: 1.0.1
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: xelerate
*/

/* ─────────────────────────────────────────────────────────────────────────
   DESIGN TOKENS
───────────────────────────────────────────────────────────────────────── */
:root {
  --app-red-primary: #dc2626;
  --app-red-secondary: #ef4444;
  --app-red-dark: #991b1b;

  --primary: var(--app-red-primary);
  --primary-hover: #b91c1c;
  --bg: #09090b;
  --surface: #111113;
  --border: rgba(255, 255, 255, 0.06);
  --text: #fff;
  --text-muted: #a1a1aa;
  --text-faint: #52525b;
}

/* ─────────────────────────────────────────────────────────────────────────
   RESET / BASE
───────────────────────────────────────────────────────────────────────── */
* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body.xelerate-landing,
body {
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

img { max-width: 100%; }

section {
  background: var(--bg);
}

.section-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem;
}
.section-wrap.center {
  text-align: center;
}

/* ── Typography shared ───────────────────────────────────────────────────── */
.eyebrow-row { margin-bottom: 1rem; }
.eyebrow-row.center { text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(220, 38, 38, 0.1);
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(220, 38, 38, 0.2);
}

.section-heading {
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--text);
  margin: 0.75rem 0 1.25rem 0;
  line-height: 1.15;
}
.section-heading.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 580px;
}
.section-sub.center {
  text-align: center;
  margin: 0 auto 2.5rem auto;
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 700;
  transition: all 0.25s ease;
  cursor: pointer;
  font-family: "Inter", sans-serif;
  text-decoration: none;
  border: none;
  background: none;
  position: relative;
  overflow: hidden;
}

.btn-xl { font-size: 1.05rem; padding: 1.1rem 2.5rem; gap: 0.6rem; }
.btn-lg { font-size: 0.95rem; padding: 0.85rem 2rem; gap: 0.5rem; }

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 20px rgba(220, 38, 38, 0.3);
}
.btn-primary:hover {
  background: var(--primary-hover);
  transform: scale(1.04);
  box-shadow: 0 0 30px rgba(220, 38, 38, 0.45);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
}
.btn-outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.07);
}

.btn-white { background: #fff; color: #09090b; }
.btn-white:hover { background: #e4e4e7; transform: scale(1.03); }

.full-width { width: 100%; display: flex; }

/* Shimmer effect */
.shimmer-wrap { isolation: isolate; }
.btn-shimmer {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.18), transparent);
  transform: translateX(-100%);
  pointer-events: none;
}
.shimmer-wrap:hover .btn-shimmer { animation: shimmer 1.5s infinite; }
.btn-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@keyframes shimmer { 100% { transform: translateX(100%); } }

/* ── Ambient colour blob ─────────────────────────────────────────────────── */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}
.blob-top-right {
  top: -4rem;
  right: -4rem;
  width: 600px;
  height: 600px;
  background: rgba(220, 38, 38, 0.18);
  z-index: 2;
}

/* ═══════════════════════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════════════════════ */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.hero-overlay-fill {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.52);
  z-index: 1;
}

.hero-overlay-bottom {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(9, 9, 11, 0.85) 85%, #09090b 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 820px;
  padding: 10rem 2rem 6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  animation: heroFadeUp 0.9s ease-out both;
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.75rem;
  backdrop-filter: blur(6px);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.82); }
}

.hero-headline {
  font-family: "Outfit", sans-serif;
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.08;
  margin: 0 0 1.5rem 0;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.4);
}

.hero-headline-gradient {
  background: linear-gradient(to right, #fff 0%, #d4d4d8 55%, #a1a1aa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.75;
  margin: 0 0 2.5rem 0;
  max-width: 560px;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SERVICES PREVIEW
═══════════════════════════════════════════════════════════════════════════ */
.services-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.services-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.svc-card {
  position: relative;
  background: #111113;
  border: 1px solid var(--border);
  border-radius: 1rem;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}
.svc-card:hover { border-color: rgba(220, 38, 38, 0.3); transform: translateY(-4px); }

.svc-hover-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(220, 38, 38, 0.08), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.svc-card:hover .svc-hover-overlay { opacity: 1; }

.svc-top-line {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--primary), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.svc-card:hover .svc-top-line { opacity: 1; }

.svc-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.svc-name {
  font-family: "Outfit", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.svc-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
  flex: 1;
}

.svc-discover {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  transition: color 0.2s, gap 0.2s;
  margin-top: 0.5rem;
}
.svc-discover:hover { color: var(--primary); gap: 0.7rem; }
.svc-arrow { font-size: 0.85rem; }

/* ═══════════════════════════════════════════════════════════════════════════
   CERAMIC COATING SPOTLIGHT
═══════════════════════════════════════════════════════════════════════════ */
.spotlight-section {
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg) 0%, #0d0507 100%);
}

.spotlight-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.spotlight-body {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.feature-list {
  list-style: none;
  margin: 0 0 2.5rem 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 500;
}

.feature-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(220, 38, 38, 0.15);
  flex-shrink: 0;
}
.check-icon { font-size: 0.75rem; color: var(--primary); }

.spotlight-image-wrap { position: relative; }

.spotlight-glow {
  position: absolute;
  inset: -2rem;
  background: rgba(220, 38, 38, 0.12);
  border-radius: 50%;
  filter: blur(60px);
  z-index: 0;
}

.spotlight-image {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #111;
}

.spotlight-img-el { width: 100%; height: 100%; object-fit: cover; }

/* ═══════════════════════════════════════════════════════════════════════════
   WHY CERAMIC COATING — FLIP CARDS
═══════════════════════════════════════════════════════════════════════════ */
.ceramic-why-section { border-bottom: 1px solid var(--border); }

.ceramic-why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.flip-card {
  height: 440px;
  perspective: 1200px;
  cursor: pointer;
  border-radius: 1rem;
}

.flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (hover: hover) {
  .flip-card:hover .flip-inner { transform: rotateY(180deg); }
}

.flip-card.flipped .flip-inner { transform: rotateY(180deg); }

.flip-front, .flip-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 1rem;
  overflow: hidden;
}

.flip-front { background: #0a0a0a; }

.flip-front-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

@media (hover: hover) {
  .flip-card:hover .flip-front-img { transform: scale(1.05); }
}

.flip-front-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.1) 55%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
}

.flip-front-label {
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.4rem 0;
}

.flip-hint {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.02em;
}
.flip-hint ion-icon { font-size: 0.9rem; }

.flip-back {
  background: #111113;
  border: 1px solid rgba(220, 38, 38, 0.25);
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(220, 38, 38, 0.3) transparent;
}

.flip-back::-webkit-scrollbar { width: 3px; }
.flip-back::-webkit-scrollbar-track { background: transparent; }
.flip-back::-webkit-scrollbar-thumb { background: rgba(220, 38, 38, 0.3); border-radius: 2px; }

.flip-back-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 0.9rem 0;
  flex-shrink: 0;
}

.flip-back-text {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  margin: 0 0 1.25rem 0;
  flex: 1;
}

.flip-back-cta {
  display: inline-flex;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  flex-shrink: 0;
  transition: letter-spacing 0.2s;
}
.flip-back-cta:hover { letter-spacing: 0.04em; }

/* ═══════════════════════════════════════════════════════════════════════════
   BEFORE / AFTER SLIDER
═══════════════════════════════════════════════════════════════════════════ */
.ba-section { border-bottom: 1px solid var(--border); }

.ba-frame {
  position: relative;
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  border-radius: 1.5rem;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255, 255, 255, 0.08);
  user-select: none;
  cursor: col-resize;
  background: #111;
}

.ba-layer { position: absolute; inset: 0; }
.ba-before { z-index: 2; }

.ba-img-el {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  user-select: none;
}

.ba-label {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  font-family: "Outfit", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  pointer-events: none;
}
.ba-label-right { left: auto; right: 1rem; }

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 3;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: col-resize;
}

.ba-handle-line { flex: 1; width: 2px; background: rgba(255, 255, 255, 0.6); }

.ba-handle-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
  flex-shrink: 0;
}
.ba-chevron { font-size: 0.9rem; color: #09090b; }

/* ═══════════════════════════════════════════════════════════════════════════
   API SERVICES
═══════════════════════════════════════════════════════════════════════════ */
.api-services-section { border-bottom: 1px solid var(--border); }

.loading-state { text-align: center; padding: 3rem; }

.api-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 0.5rem;
}

.api-svc-card {
  background: #111113;
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: border-color 0.25s, transform 0.25s;
}
.api-svc-card:hover { border-color: rgba(220, 38, 38, 0.25); transform: translateY(-3px); }

.api-svc-name {
  font-family: "Outfit", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.api-svc-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
  flex: 1;
}

.api-svc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.api-svc-price { font-size: 0.82rem; font-weight: 600; color: var(--primary); }
.api-svc-book {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  transition: letter-spacing 0.2s;
}
.api-svc-book:hover { letter-spacing: 0.05em; }

.services-cta-row { text-align: center; margin-top: 3rem; }

/* ═══════════════════════════════════════════════════════════════════════════
   PROMO BANNER
═══════════════════════════════════════════════════════════════════════════ */
.promo-section { border-bottom: 1px solid var(--border); }

.promo-card {
  background: #111113;
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.promo-top-line {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--primary);
}

.promo-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(220, 38, 38, 0.1);
  border: 1px solid rgba(220, 38, 38, 0.2);
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.promo-badge-icon { font-size: 0.85rem; }

.promo-headline {
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--text);
  margin: 0 0 0.75rem 0;
  line-height: 1.2;
}

.promo-sub {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
  max-width: 480px;
}

.promo-right {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-width: 220px;
}

.promo-stat-card {
  background: #1a1a1c;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.25rem;
  text-align: center;
}
.promo-stat-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 0.4rem 0;
}
.promo-stat-number {
  font-family: "Outfit", sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 0.5rem 0;
}
.promo-bar-wrap {
  background: rgba(255, 255, 255, 0.08);
  height: 6px;
  border-radius: 999px;
  overflow: hidden;
  margin-top: 0.75rem;
}
.promo-bar { background: var(--primary); height: 100%; width: 20%; border-radius: 999px; }

/* ═══════════════════════════════════════════════════════════════════════════
   ABOUT
═══════════════════════════════════════════════════════════════════════════ */
.about-section { border-bottom: 1px solid var(--border); }

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-body {
  font-size: 0.975rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin: 0 0 1rem 0;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}

.about-feat { display: flex; align-items: flex-start; gap: 1rem; }

.about-feat-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(220, 38, 38, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--primary);
  flex-shrink: 0;
}

.about-feat-title {
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.2rem 0;
  font-size: 0.95rem;
}
.about-feat-body { font-size: 0.875rem; color: var(--text-muted); margin: 0; }

.about-image-col { position: relative; }

.about-glow {
  position: absolute;
  inset: -3rem;
  background: rgba(220, 38, 38, 0.08);
  border-radius: 50%;
  filter: blur(60px);
  z-index: 0;
}

.about-image {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #111;
}

.about-img-el { width: 100%; height: 100%; object-fit: cover; }

.about-badge-card {
  position: absolute;
  bottom: -1.5rem;
  left: -2rem;
  z-index: 2;
  background: #1a1a1c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.about-badge-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(220, 38, 38, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--primary);
  flex-shrink: 0;
}

.about-badge-title { font-weight: 700; color: var(--text); margin: 0; font-size: 0.9rem; }
.about-badge-sub { font-size: 0.78rem; color: var(--text-muted); margin: 0.15rem 0 0 0; }

/* ═══════════════════════════════════════════════════════════════════════════
   REVIEWS
═══════════════════════════════════════════════════════════════════════════ */
.reviews-section { border-bottom: 1px solid var(--border); }

.rating-summary {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  margin-bottom: 3.5rem;
}

.rating-score {
  font-family: 'Outfit', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}

.rating-stars-row { display: flex; gap: 0.3rem; }

.rating-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.star-icon { color: #fbbf24; font-size: 1.25rem; }
.star-icon.sm { font-size: 0.8rem; }

.reviews-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 1fr);
  gap: 1.25rem;
  overflow-x: auto;
  padding-bottom: 0.75rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(220, 38, 38, 0.3) transparent;
}
.reviews-grid::-webkit-scrollbar { height: 4px; }
.reviews-grid::-webkit-scrollbar-track { background: transparent; }
.reviews-grid::-webkit-scrollbar-thumb { background: rgba(220, 38, 38, 0.3); border-radius: 2px; }

.review-card {
  background: #111113;
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: border-color 0.25s, transform 0.25s;
}
.review-card:hover { border-color: rgba(220, 38, 38, 0.25); transform: translateY(-3px); }

.review-quote-mark {
  font-family: 'Outfit', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  line-height: 0.8;
  color: rgba(220, 38, 38, 0.25);
  display: block;
}

.review-text {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.75;
  margin: 0;
  flex: 1;
}

.review-footer {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.review-stars { display: flex; gap: 0.2rem; }

.review-author { display: flex; align-items: center; gap: 0.75rem; }

.review-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #ef4444);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.review-name { font-size: 0.875rem; font-weight: 700; color: var(--text); margin: 0 0 0.1rem 0; }
.review-service { font-size: 0.75rem; color: var(--primary); margin: 0; font-weight: 500; }

/* ═══════════════════════════════════════════════════════════════════════════
   FINAL CTA
═══════════════════════════════════════════════════════════════════════════ */
.final-cta-section {
  background: linear-gradient(180deg, var(--bg) 0%, #0d0507 60%, var(--bg) 100%);
  position: relative;
  overflow: hidden;
}

.final-cta-section::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 400px;
  background: rgba(220, 38, 38, 0.08);
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.final-cta-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 0 0 1.25rem 0;
}

.final-cta-heading {
  font-family: "Outfit", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--text);
  margin: 0 0 1rem 0;
}

.final-cta-sub {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0 auto 2.5rem auto;
  max-width: 500px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════════════════════ */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg);
  padding: 3rem 2rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}
.footer-logo { height: 54px; width: auto; filter: drop-shadow(0 0 8px rgba(220, 38, 38, 0.25)); }
.footer-tagline { color: var(--text-muted); font-size: 0.9rem; margin: 0; }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; justify-content: center; }
.footer-links a { color: var(--text-muted); font-size: 0.875rem; transition: color 0.2s; }
.footer-links a:hover { color: #fff; }
.footer-copy { color: var(--text-faint); font-size: 0.8rem; margin: 0; }

/* ═══════════════════════════════════════════════════════════════════════════
   HEADER / NAV
═══════════════════════════════════════════════════════════════════════════ */
.app-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0);
  transition: box-shadow 0.35s ease;
}
.app-header.is-scrolled { box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.06); }

.header-bg {
  position: absolute;
  inset: 0;
  background: rgba(9, 9, 11, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 0;
}
.app-header.is-scrolled .header-bg { opacity: 1; }

.nav-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand-link { text-decoration: none; display: flex; align-items: center; flex-shrink: 0; }

.brand-logo {
  height: 60px;
  width: auto;
  filter: drop-shadow(0 0 8px rgba(220, 38, 38, 0.25));
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: auto;
}

.app-header:not(.is-scrolled) .desktop-nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  margin-left: 0;
}

.pill-group {
  display: flex;
  align-items: center;
  gap: 0.125rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 999px;
  padding: 0.25rem;
  transition: background 0.35s ease, border-color 0.35s ease;
}
.app-header:not(.is-scrolled) .pill-group { background: transparent; border-color: transparent; }

.pill-link {
  position: relative;
  display: inline-block;
  padding: 0.5rem 1.25rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 999px;
  color: #a1a1aa;
  text-decoration: none;
  transition: color 0.3s, background 0.3s;
  white-space: nowrap;
}
.app-header:not(.is-scrolled) .pill-link { color: rgba(255, 255, 255, 0.85); }
.pill-link:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.app-header:not(.is-scrolled) .pill-link:hover { background: rgba(255, 255, 255, 0.12); }
.pill-link-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.nav-book-btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  background: var(--app-red-primary);
  color: #fff;
  padding: 0.625rem 1.5rem;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.35s ease, transform 0.35s ease, box-shadow 0.25s;
  white-space: nowrap;
}
.app-header:not(.is-scrolled) .nav-book-btn {
  opacity: 0;
  pointer-events: none;
  transform: translateX(6px) scale(0.92);
}
.nav-book-btn:hover { transform: scale(1.05); box-shadow: 0 0 20px rgba(220, 38, 38, 0.4); }
.nav-book-text { position: relative; z-index: 1; }
.nav-book-shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: translateX(-100%);
}
.nav-book-btn:hover .nav-book-shimmer { animation: shimmer 1.5s infinite; }

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  margin-left: auto;
}

.hamburger { display: flex; flex-direction: column; gap: 5px; width: 22px; }
.hamburger span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  flex-direction: column;
  gap: 0.25rem;
  padding: 0 1rem;
  background: rgba(9, 9, 11, 0.97);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  position: relative;
  z-index: 1;
}
.mobile-menu-open {
  max-height: 400px;
  padding: 0.75rem 1rem 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-link {
  display: block;
  padding: 0.65rem 1rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: #a1a1aa;
  text-decoration: none;
  border-radius: 0.5rem;
  transition: color 0.2s, background 0.2s;
}
.mobile-link:hover { color: #fff; background: rgba(255, 255, 255, 0.05); }

.mobile-book-btn {
  display: block;
  margin-top: 0.5rem;
  padding: 0.75rem 1rem;
  text-align: center;
  background: var(--app-red-primary);
  color: #fff;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s;
}
.mobile-book-btn:hover { background: #b91c1c; }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .ceramic-why-grid { grid-template-columns: repeat(2, 1fr); }
  .spotlight-inner, .about-inner { grid-template-columns: 1fr; gap: 3rem; }
  .spotlight-image-wrap, .about-image-col { display: none; }
  .promo-card { grid-template-columns: 1fr; gap: 1.5rem; }
  .promo-right { min-width: auto; }
  .services-preview-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .desktop-nav { display: none; }
  .mobile-menu-btn { display: flex; }
  .mobile-menu { display: flex; }
}

@media (max-width: 640px) {
  .section-wrap { padding: 3.5rem 1.25rem; }
  .hero-content { padding: 8rem 1.25rem 5rem; }
  .btn-xl { padding: 0.9rem 2rem; font-size: 0.95rem; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .btn-pill.btn-xl { justify-content: center; }
  .reviews-grid, .api-services-grid { grid-template-columns: 1fr; }
  .about-badge-card { display: none; }
}

@media (max-width: 500px) {
  .ceramic-why-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .flip-card { height: 300px; }
  .flip-back { padding: 1.25rem; }
  .flip-back-text { font-size: 0.78rem; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   Forms
═══════════════════════════════════════════════════════════════════════════ */
/* Center the page title */
h1.section-heading {
    text-align: center !important;
    margin-bottom: 30px !important;
    padding-top: 20px !important;
}
/* Separator line */
.wp-block-separator {
    max-width: 750px !important;
    margin: 0 auto 40px auto !important;
}
/* Form container */
.wpcf7 {
    max-width: 750px !important;
    margin: 0 auto !important;
    padding: 40px !important;
    background-color: #1a1a1a !important;
    border: 1px solid #333 !important;
    border-radius: 8px !important;
}
/* Labels */
.wpcf7 label {
    color: #ffffff !important;
    font-weight: 600 !important;
    display: block !important;
    margin-bottom: 5px !important;
}
/* All input fields, textarea */
.about-body .wpcf7 input,
.about-body .wpcf7 textarea {
    background-color: #111 !important;
    border: 1px solid #444 !important;
    border-radius: 4px !important;
    color: #ffffff !important;
    padding: 10px 14px !important;
    margin-bottom: 16px !important;
    box-sizing: border-box !important;
    width: 100% !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}
/* Focus state */
.about-body .wpcf7 input:focus,
.about-body .wpcf7 textarea:focus {
    outline: none !important;
    border-color: #e02020 !important;
}
/* Submit button */
.about-body .wpcf7 input[type="submit"] {
    background-color: #e02020 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 14px 32px !important;
    font-weight: 700 !important;
    width: 100% !important;
    font-size: 16px !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
}
.about-body .wpcf7 input[type="submit"]:hover {
    background-color: #c01010 !important;
}
#main-content {
    padding-top: 20px !important;
}