/*
Theme Name: Garage Door Repair Ocala — garage-door-repair-ocala-theme-v1
Theme URI: https://garagedoorrepairocala.com
Author: WP-Flash | SerpZenith
Author URI: https://wpflash.com
Description: Bespoke theme for Garage Door Repair Ocala. Built with WP-Flash v4.0.
Version: 1.0.0
License: Private
Text Domain: garage-door-repair-ocala-theme-v1
*/

/* =====================
   CSS VARIABLES (from Visual Identity)
   ===================== */
:root {
  --color-primary: #1C4E80;
  --primary-rgb: 28, 78, 128;
  --color-secondary: #163D66;
  --color-accent: #EA580C;
  --accent-rgb: 234, 88, 12;
  --color-accent-dark: #D2490B;
  --color-bg: #F7F9FB;
  --color-surface: #FFFFFF;
  --color-border: #E2E8F0;
  --color-text: #1E293B;
  --color-text-muted: #64748B;
  --color-success: #10B981;
  --color-warning: #F59E0B;

  --font-heading: 'Raleway', sans-serif;
  --font-body: 'Open Sans', sans-serif;

  --radius: 8px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.14);

  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 24px;
  --spacing-lg: 48px;
  --spacing-xl: 80px;
  --spacing-2xl: 120px;

  --container: 1200px;
  --container-sm: 760px;
}

/* =====================
   RESET & BASE
   ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--color-secondary); }
main { display: block; }
@media (max-width: 767px) { main { padding-bottom: 72px; } }

/* =====================
   TYPOGRAPHY
   ===================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-text);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
}
h1 { font-size: clamp(36px, 5vw, 56px); }
h2 { font-size: clamp(28px, 4vw, 40px); }
h3 { font-size: clamp(22px, 3vw, 30px); }
h4 { font-size: 22px; }
h5 { font-size: 18px; letter-spacing: normal; }
p { margin-bottom: 1.2em; color: var(--color-text); }
p:last-child { margin-bottom: 0; }
ul, ol { padding-left: 1.4em; margin-bottom: 1.2em; }
li { margin-bottom: 0.4em; }

/* =====================
   SKIP LINK
   ===================== */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 9999;
  background: var(--color-primary); color: #fff;
  padding: 12px 20px; border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* =====================
   CONTAINER
   ===================== */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: var(--container-sm); margin: 0 auto; padding: 0 24px; }

/* =====================
   BUTTONS
   ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
.btn-primary:hover { filter: brightness(0.9); transform: translateY(-2px); box-shadow: var(--shadow-md); color: #fff; }
.btn-secondary { background: transparent; color: var(--color-primary); border-color: var(--color-primary); }
.btn-secondary:hover { background: var(--color-primary); color: #fff; }
.btn-accent { background: var(--color-accent); color: #fff; border-color: var(--color-accent); }
.btn-accent:hover { background: var(--color-accent-dark); border-color: var(--color-accent-dark); color: #fff; }
.btn-lg { padding: 18px 36px; font-size: 18px; }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-full { width: 100%; justify-content: center; }
.btn-phone { background: var(--color-success); color: #fff; border-color: var(--color-success); font-size: 18px; font-weight: 800; }
.btn-phone:hover { filter: brightness(0.9); color: #fff; }
.phone-inline { color: var(--color-primary); font-weight: 700; white-space: nowrap; }

/* =====================
   CARDS
   ===================== */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--spacing-md);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card-title { font-size: 20px; font-weight: 700; margin-bottom: var(--spacing-xs); }
.card-icon {
  width: 56px; height: 56px;
  background: rgba(var(--primary-rgb), 0.1);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--spacing-sm);
  font-size: 24px;
}

/* =====================
   SECTIONS / HEADERS (A1)
   ===================== */
.section { padding: var(--spacing-xl) 0; }
.section-lg { padding: var(--spacing-2xl) 0; }
.section-alt { background: var(--color-surface); }
.kicker, .section-label {
  display: inline-block;
  background: rgba(var(--primary-rgb), 0.08);
  color: var(--color-primary);
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 4px 14px; border-radius: 999px; margin-bottom: 12px;
}
.section-title { margin-bottom: var(--spacing-sm); }
.section-subtitle, .section-sub { color: var(--color-text-muted); font-size: 18px; max-width: 600px; margin-top: 8px; }
.section-header { margin-bottom: var(--spacing-lg); }
.section-header.center { text-align: center; }
.section-header.center .section-subtitle, .section-header.center .section-sub { margin: 12px auto 0; }

/* =====================
   HEADER / NAV
   ===================== */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--color-border); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; max-width: var(--container); margin: 0 auto; position: relative; }
.site-logo { font-family: var(--font-heading); font-size: 21px; font-weight: 800; color: var(--color-text); text-decoration: none; line-height: 1.2; }
.site-logo span { color: var(--color-primary); }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--color-text); text-decoration: none; transition: color 0.2s; }
.nav-links a:hover { color: var(--color-primary); }
.header-cta { display: flex; align-items: center; gap: 16px; }
.phone-link { display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: 16px; color: var(--color-primary); }

.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger .bar { display: block; width: 22px; height: 2px; background: var(--color-text); margin: 5px 0; transition: 0.2s; }
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: flex-start;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--color-border);
    padding: 20px 24px; gap: 16px; z-index: 99;
  }
  .hamburger { display: block; }
}

/* =====================
   BREADCRUMB
   ===================== */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--color-text-muted); margin-bottom: var(--spacing-md); flex-wrap: wrap; }
.breadcrumb a { color: var(--color-primary); }
.breadcrumb span.sep { color: var(--color-text-muted); }

/* =====================
   HERO SECTION
   ===================== */
.hero { background: linear-gradient(135deg, var(--color-bg) 0%, #E7EEF6 100%); padding: var(--spacing-2xl) 0; }
.hero.hero-sub { padding: var(--spacing-lg) 0 var(--spacing-xl); }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: var(--spacing-xl); align-items: center; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.hero-inner.single-col { grid-template-columns: 1fr; max-width: var(--container-sm); text-align: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(var(--primary-rgb), 0.08); color: var(--color-primary); font-size: 13px; font-weight: 600; padding: 6px 14px; border-radius: 999px; margin-bottom: var(--spacing-sm); }
.hero-title { font-size: clamp(36px, 5.5vw, 60px); margin-bottom: var(--spacing-sm); line-height: 1.08; }
.hero-title span { color: var(--color-primary); }
.hero-subtitle { font-size: 18px; color: var(--color-text-muted); margin-bottom: var(--spacing-md); max-width: 520px; }
.hero-inner.single-col .hero-subtitle { max-width: 100%; margin-left: auto; margin-right: auto; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: var(--spacing-md); }
.hero-inner.single-col .hero-ctas { justify-content: center; }
.hero-trust { display: flex; gap: 20px; flex-wrap: wrap; }
.hero-inner.single-col .hero-trust { justify-content: center; }
.trust-item { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--color-text-muted); }
.trust-item span.icon { color: var(--color-success); }
.hero-image { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
@media (max-width: 768px) { .hero-inner { grid-template-columns: 1fr; } .hero-image { order: -1; max-width: 320px; margin: 0 auto; } }

/* =====================
   TRUST ROW (A4)
   ===================== */
.trust-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; padding: 20px 0; justify-content: center; }
.trust-badge { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--color-text); padding: 8px 16px; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 999px; }
.trust-icon { font-size: 16px; }

/* =====================
   STATS BAR (A2)
   ===================== */
.stats-bar { background: var(--color-primary); color: #fff; padding: 40px 0; }
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.stat-number { font-family: var(--font-heading); font-size: 42px; font-weight: 800; line-height: 1; }
.stat-label { font-size: 14px; opacity: 0.85; margin-top: 6px; }
@media (max-width: 600px) { .stats-inner { grid-template-columns: repeat(2, 1fr); } }

/* =====================
   SERVICES GRID
   ===================== */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.service-card .card-icon { background: rgba(var(--primary-rgb), 0.08); }

/* =====================
   WHY CHOOSE US
   ===================== */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }

/* =====================
   HOW IT WORKS
   ===================== */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; counter-reset: step; }
.step-card { text-align: center; padding: 0 12px; }
.step-number { width: 48px; height: 48px; border-radius: 50%; background: var(--color-primary); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px; margin: 0 auto 16px; }

/* =====================
   TESTIMONIALS (A3)
   ===================== */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.testimonial-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); }
.testimonial-stars { font-size: 18px; margin-bottom: 12px; }
.testimonial-text { font-style: italic; color: var(--color-text); line-height: 1.6; margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar { width: 44px; height: 44px; background: var(--color-primary); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; flex-shrink: 0; }
.testimonial-name { font-weight: 700; font-size: 15px; }
.testimonial-location { font-size: 13px; color: var(--color-text-muted); }

/* =====================
   RISK-REVERSAL CARDS (A8)
   ===================== */
.risk-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.risk-card { padding: 32px 28px; border-radius: var(--radius-lg); border: 1px solid var(--color-border); background: var(--color-surface); position: relative; overflow: hidden; }
.risk-number { font-family: var(--font-heading); font-size: 64px; font-weight: 900; color: rgba(var(--primary-rgb), 0.08); line-height: 1; margin-bottom: -12px; letter-spacing: -0.04em; }
.risk-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.risk-card p { color: var(--color-text-muted); font-size: 15px; margin: 0; }
[data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s ease; }
[data-reveal].revealed { opacity: 1; transform: none; }

/* =====================
   VS COMPARISON (A7)
   ===================== */
.vs-block { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: start; padding: 40px; border-radius: var(--radius-lg); background: var(--color-surface); border: 1px solid var(--color-border); }
.vs-side h3 { font-size: 18px; font-weight: 800; margin-bottom: 16px; }
.vs-side--them h3 { color: var(--color-text-muted); }
.vs-side--us h3 { color: var(--color-primary); }
.vs-list { list-style: none; padding-left: 0; }
.vs-list li { padding: 10px 0; font-size: 15px; border-bottom: 1px solid var(--color-border); margin-bottom: 0; }
.vs-list li:last-child { border-bottom: none; }
.vs-divider { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: var(--color-primary); color: #fff; border-radius: 50%; font-weight: 800; font-size: 14px; }
@media (max-width: 640px) { .vs-block { grid-template-columns: 1fr; } .vs-divider { display: none; } }

/* =====================
   PRICING CARDS (A6)
   ===================== */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; align-items: start; }
.price-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 32px 28px; position: relative; }
.price-card--featured { border-color: var(--color-primary); box-shadow: 0 0 0 2px var(--color-primary), var(--shadow-lg); }
.price-card-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--color-primary); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 14px; border-radius: 999px; }
.price-card-name { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.price-card-price { font-size: 32px; font-weight: 800; color: var(--color-primary); margin-bottom: 20px; }
.price-card-features { list-style: none; margin-bottom: 24px; padding-left: 0; }
.price-card-features li { padding: 8px 0; font-size: 15px; border-bottom: 1px solid var(--color-border); margin-bottom: 0; }
.price-card-features li:last-child { border-bottom: none; }

/* =====================
   LOCATIONS GRID
   ===================== */
.locations-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.location-link { display: flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--color-border); border-radius: var(--radius); font-size: 14px; font-weight: 500; color: var(--color-text); transition: all 0.2s; text-decoration: none; }
.location-link:hover { border-color: var(--color-primary); color: var(--color-primary); background: rgba(var(--primary-rgb), 0.04); }
.location-link.tier1 { border-color: rgba(var(--primary-rgb), 0.35); font-weight: 700; }

/* =====================
   FAQ ACCORDION (A5, <details>-based)
   ===================== */
.faq-list { }
.faq-item, details.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-item:first-child { border-top: 1px solid var(--color-border); }
.faq-question, summary.faq-question { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; font-weight: 700; font-size: 17px; cursor: pointer; list-style: none; gap: 16px; }
summary.faq-question::-webkit-details-marker { display: none; }
.faq-chevron { font-size: 22px; color: var(--color-primary); flex-shrink: 0; transition: transform 0.2s ease; font-weight: 400; }
details[open] .faq-chevron { transform: rotate(45deg); }
.faq-answer { padding: 0 0 20px; color: var(--color-text-muted); line-height: 1.7; }
.faq-answer p { margin: 0; }

/* =====================
   CTA SECTION
   ===================== */
.cta-section { background: var(--color-primary); color: #fff; text-align: center; padding: var(--spacing-xl) 0; }
.cta-section h2 { color: #fff; }
.cta-section p { color: rgba(255,255,255,0.85); font-size: 18px; max-width: 560px; margin: 0 auto var(--spacing-md); }
.cta-section .btn-primary { background: #fff; color: var(--color-primary); }
.cta-section .btn-primary:hover { background: rgba(255,255,255,0.9); }
.cta-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* =====================
   ENTRY CONTENT (Stage 6 authored body copy)
   ===================== */
.entry-content { max-width: var(--container-sm); margin: 0 auto; }
.entry-content h2 { margin-top: var(--spacing-lg); margin-bottom: var(--spacing-sm); }
.entry-content h3 { margin-top: var(--spacing-md); margin-bottom: var(--spacing-xs); }
.entry-content p { font-size: 17px; }
.entry-content ul, .entry-content ol { font-size: 17px; }
.entry-content .local-faq, .entry-content .faq-list { margin-top: var(--spacing-md); }

/* =====================
   NEARBY / RELATED
   ===================== */
.related-cities, .related-services { margin-top: var(--spacing-lg); }

/* =====================
   SIDEBAR
   ===================== */
.page-with-sidebar { display: grid; grid-template-columns: 2.2fr 1fr; gap: var(--spacing-xl); align-items: start; }
.page-sidebar { position: sticky; top: 100px; display: flex; flex-direction: column; gap: var(--spacing-md); }
@media (max-width: 900px) { .page-with-sidebar { grid-template-columns: 1fr; } .page-sidebar { position: static; } }

/* =====================
   404
   ===================== */
.error-404 { text-align: center; padding: var(--spacing-2xl) 0; }
.error-404 .error-code { font-size: 96px; font-weight: 900; color: var(--color-primary); font-family: var(--font-heading); line-height: 1; }
.error-search { display: flex; gap: 8px; max-width: 420px; margin: var(--spacing-md) auto; }
.error-search input { flex: 1; padding: 12px 16px; border: 1px solid var(--color-border); border-radius: var(--radius); font-family: var(--font-body); font-size: 15px; }

/* =====================
   MOBILE STICKY CALL BAR (A9)
   ===================== */
.mobile-call-bar { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 999; background: var(--color-primary); box-shadow: 0 -4px 20px rgba(0,0,0,0.2); padding: 12px 20px; padding-bottom: max(12px, env(safe-area-inset-bottom)); }
.mobile-call-btn { display: flex; align-items: center; justify-content: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700; }
.call-icon { font-size: 20px; }
.call-text { font-size: 15px; }
.call-number { font-size: 13px; opacity: 0.85; }
@media (max-width: 767px) { .mobile-call-bar { display: block; } }

/* =====================
   FOOTER
   ===================== */
.site-footer { background: #1a1a2e; color: rgba(255,255,255,0.8); padding: var(--spacing-xl) 0 var(--spacing-md); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--spacing-lg); padding-bottom: var(--spacing-lg); border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: var(--spacing-md); }
.footer-brand .site-logo { color: #fff; margin-bottom: 12px; display: block; }
.footer-brand .site-logo span { color: #7CACDD; }
.footer-brand p { font-size: 14px; opacity: 0.7; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer-links { list-style: none; padding-left: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,0.7); font-size: 14px; transition: color 0.2s; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; font-size: 13px; opacity: 0.6; flex-wrap: wrap; gap: 8px; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; padding: 0 24px var(--spacing-lg); } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid { max-width: var(--container); margin: 0 auto; padding: 0 24px var(--spacing-lg); border-bottom: 1px solid rgba(255,255,255,0.1); }

/* =====================
   SVG ICON SYSTEM
   ===================== */
.wpf-icon { display: inline-block; vertical-align: middle; flex-shrink: 0; }
.card-icon .wpf-icon { width: 28px; height: 28px; color: var(--color-primary); }
.trust-icon .wpf-icon, .trust-badge .wpf-icon { width: 18px; height: 18px; color: var(--color-primary); }
.hero-badge .wpf-icon { width: 16px; height: 16px; }
.phone-link .wpf-icon, .mobile-call-btn .wpf-icon, .btn .wpf-icon { width: 18px; height: 18px; }
.star-row { display: inline-flex; gap: 2px; }
.star-row .icon-star { width: 16px; height: 16px; color: var(--color-accent); fill: var(--color-accent); stroke: var(--color-accent); }
.vs-list li .wpf-icon { color: var(--color-success); margin-right: 6px; }
.vs-side--them .vs-list li .wpf-icon { color: #B91C1C; }
.location-link .wpf-icon { width: 15px; height: 15px; margin-right: 4px; color: var(--color-primary); }
.risk-card .wpf-icon, .step-card .wpf-icon { color: var(--color-primary); }
.hamburger .wpf-icon { width: 22px; height: 22px; }
.testimonial-quote-icon { width: 28px; height: 28px; color: rgba(var(--primary-rgb), 0.25); margin-bottom: 8px; }

/* =====================
   HERO MEDIA
   ===================== */
.hero-media-img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.hero-media-placeholder {
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  width: 100%; aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.5);
}
.hero-media-placeholder .wpf-icon { width: 72px; height: 72px; }

/* =====================
   SITE LOGO IMAGE
   ===================== */
.site-logo img { height: 36px; width: 36px; object-fit: contain; border-radius: 6px; }
.site-logo-text { display: flex; align-items: center; gap: 10px; }
.site-logo-text .wpf-icon { width: 28px; height: 28px; color: var(--color-primary); }

/* =====================
   PILLAR / SERVICE CARD MEDIA
   ===================== */
.service-card .pillar-media { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: var(--radius); margin-bottom: var(--spacing-sm); }

/* =====================
   BEFORE / AFTER SHOWCASE
   ===================== */
.before-after-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.ba-pair { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.ba-images { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--color-border); }
.ba-image-wrap { position: relative; overflow: hidden; aspect-ratio: 1/1; }
.ba-image-wrap img { width: 100%; height: 100%; object-fit: cover; }
.ba-image-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, var(--color-border) 0%, #EDF1F5 100%); display: flex; align-items: center; justify-content: center; color: var(--color-text-muted); }
.ba-image-placeholder .wpf-icon { width: 40px; height: 40px; }
.ba-tag { position: absolute; top: 10px; left: 10px; font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; color: #fff; }
.ba-tag.before { background: #64748B; }
.ba-tag.after { background: var(--color-success); }
.ba-caption { padding: 16px 20px; }
.ba-caption h3 { font-size: 17px; margin-bottom: 4px; }
.ba-caption p { font-size: 14px; color: var(--color-text-muted); margin: 0; }

/* =====================
   HOMEPAGE IMAGE CAROUSEL
   ===================== */
.carousel { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.carousel-track { display: flex; transition: transform 0.5s ease; }
.carousel-slide { min-width: 100%; position: relative; aspect-ratio: 16/7; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.carousel-slide-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.55);
}
.carousel-slide-placeholder .wpf-icon { width: 64px; height: 64px; }
.carousel-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 24px 28px; color: #fff;
  background: linear-gradient(0deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 100%);
}
.carousel-caption h3 { color: #fff; font-size: 20px; margin-bottom: 2px; }
.carousel-caption p { color: rgba(255,255,255,0.85); font-size: 14px; margin: 0; }
.carousel-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; background: rgba(255,255,255,0.9); border: none; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: var(--shadow-sm); color: var(--color-primary); }
.carousel-nav.prev { left: 14px; }
.carousel-nav.next { right: 14px; }
.carousel-dots { position: absolute; bottom: 14px; right: 20px; display: flex; gap: 6px; z-index: 5; }
.carousel-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.5); border: none; cursor: pointer; padding: 0; }
.carousel-dot.active { background: #fff; }
@media (max-width: 640px) { .carousel-slide { aspect-ratio: 4/3; } .carousel-caption h3 { font-size: 16px; } }

/* =====================
   SCHEMA (hidden)
   ===================== */
.schema-hidden { display: none !important; }
