/**
 * Sunland Speed Auto Repair — Premium Design System v2.0
 * A $15k handcrafted automotive repair website.
 *
 * 1. Custom Properties
 * 2. WordPress Reset
 * 3. Editor Overrides
 * 4. Base / Global
 * 5. Header
 * 6. Hero
 * 7. Buttons
 * 8. Stats Bar
 * 9. Section Headers
 * 10. Services
 * 11. Why Choose Us
 * 12. Gallery
 * 13. Testimonials
 * 14. CTA
 * 15. Footer
 * 16. About Page
 * 17. Services Page
 * 18. Contact Page
 * 19. CF7 Forms
 * 20. Animations & Utilities
 * 21. Responsive
 */

/* ═══════════════════════════════════════════════════════════════
   1 — CUSTOM PROPERTIES
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* Colors */
  --primary: #D62828;
  --primary-dark: #B71C1C;
  --primary-glow: rgba(214, 40, 40, 0.25);
  --primary-subtle: rgba(214, 40, 40, 0.08);
  --secondary: #111111;
  --accent: #F77F00;
  --accent-glow: rgba(247, 127, 0, 0.2);
  --bg: #0D0D0D;
  --bg-elevated: #111111;
  --surface: #161616;
  --surface-hover: #1C1C1C;
  --surface-border: #1E1E1E;
  --white: #FFFFFF;
  --text-primary: #FFFFFF;
  --text-secondary: #BDBDBD;
  --text-muted: #888888;
  --text-dim: #666666;
  --border: #222222;
  --border-light: #2A2A2A;
  --border-subtle: #1A1A1A;
  --star-gold: #F5C518;
  --success: #22C55E;
  --glass: rgba(22, 22, 22, 0.75);
  --glass-border: rgba(255, 255, 255, 0.06);

  /* Typography */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: "Segoe UI", 'Manrope', -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Spacing (8px system) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --space-32: 128px;

  /* Layout */
  --max-width: 1200px;
  --max-width-wide: 1400px;
  --section-pad: 120px;
  --section-pad-md: 80px;
  --section-pad-sm: 56px;
  --container-pad: 24px;

  /* Radius */
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
  --shadow: 0 4px 16px rgba(0,0,0,0.3);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.4);
  --shadow-xl: 0 16px 48px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 40px var(--primary-glow);
  --shadow-glow-accent: 0 0 40px var(--accent-glow);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 0.2s;
  --duration: 0.35s;
  --duration-slow: 0.6s;

  /* Header */
  --header-height: 80px;
}

/* ═══════════════════════════════════════════════════════════════
   2 — WORDPRESS RESET
   ═══════════════════════════════════════════════════════════════ */

:where(.site-wrapper) :where(div),
:where(.site-wrapper) :where(p),
:where(.site-wrapper) :where(h1),
:where(.site-wrapper) :where(h2),
:where(.site-wrapper) :where(h3),
:where(.site-wrapper) :where(h4),
:where(.site-wrapper) :where(h5),
:where(.site-wrapper) :where(h6),
:where(.site-wrapper) :where(ul),
:where(.site-wrapper) :where(ol),
:where(.site-wrapper) :where(li),
:where(.site-wrapper) :where(figure),
:where(.site-wrapper) :where(figcaption),
:where(.site-wrapper) :where(hr) {
  margin: 0;
  padding: 0;
}

:where(.wp-block-group),
:where(.wp-block-columns),
:where(.wp-block-column),
:where(.wp-block-image),
:where(.wp-block-heading),
:where(.wp-block-paragraph),
:where(.wp-block-separator),
:where(.wp-block-buttons),
:where(.wp-block-button),
:where(.wp-block-list) {
  margin-top: 0;
  margin-bottom: 0;
  padding: 0;
}

.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.is-layout-flow > * + * {
  margin-block-start: 0;
}

/* ═══════════════════════════════════════════════════════════════
   3 — EDITOR OVERRIDES
   ═══════════════════════════════════════════════════════════════ */

.editor-styles-wrapper {
  padding: 0 !important;
  background: var(--bg) !important;
  color: var(--white) !important;
  font-family: var(--font-body) !important;
}

.editor-styles-wrapper .is-layout-flow > * + * {
  margin-block-start: 0;
}

.editor-styles-wrapper .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
  max-width: 100% !important;
}

/* ═══════════════════════════════════════════════════════════════
   4 — BASE / GLOBAL
   ═══════════════════════════════════════════════════════════════ */

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

::selection {
  background: var(--primary);
  color: var(--white);
}

/* Utility */
.site-wrapper {
  overflow-x: hidden;
  position: relative;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.container-wide {
  max-width: var(--max-width-wide);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* ═══════════════════════════════════════════════════════════════
   5 — HEADER (Pixel-perfect Lovable match)
   Structure: bare <a> tags inside <nav>, no <ul>/<li>.
   Sticky, always bg-background/85 + backdrop-blur-md.
   ═══════════════════════════════════════════════════════════════ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(13, 13, 13, 0.88);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

/* ── Main bar: logo | nav | CTA ── */
.header-inner {
  max-width: 80rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  /* iPhone safe area */
  padding-left: max(16px, env(safe-area-inset-left));
  padding-right: max(16px, env(safe-area-inset-right));
}

@media (min-width: 768px) {
  .header-inner {
    padding: 12px 32px;
  }
}

/* ── Logo ── */
.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.header-logo-img {
  height: 48px;
  width: auto;
}

@media (min-width: 768px) {
  .header-logo-img {
    height: 56px;
  }
}

/* ── Desktop navigation ──
   Hidden < 768px. Bare <a> tags from custom walker. */
.header-nav {
  display: none;
  align-items: center;
  gap: 32px;
}

@media (min-width: 768px) {
  .header-nav {
    display: flex;
  }
}

/* Nav links */
.header-nav > a {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.header-nav > a:hover {
  color: var(--white);
}

/* Active state — walker adds .is-active + aria-current="page" */
.header-nav > a.is-active,
.header-nav > a[aria-current="page"] {
  color: #D62828;
}

/* ── CTA button ── */
.header-cta {
  display: none;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #D62828 0%, #9B1B1B 100%);
  color: #fff;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 6px;
  box-shadow: 0 10px 40px -10px rgba(214, 40, 40, 0.5);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}

.header-cta-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .header-cta {
    display: inline-flex;
  }
}

.header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 44px -8px rgba(214, 40, 40, 0.65);
}

/* ── Mobile bottom tab bar ──
   Always visible < 768px. Matches Lovable mobile nav exactly. */
.header-mobile-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 8px 16px;
  padding-bottom: max(8px, env(safe-area-inset-bottom));
}

@media (min-width: 768px) {
  .header-mobile-nav {
    display: none;
  }
}

/* Mobile nav links */
.header-mobile-nav > a {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s ease;
  white-space: nowrap;
}

.header-mobile-nav > a.is-active,
.header-mobile-nav > a[aria-current="page"] {
  color: #D62828;
}

/* Menu toggle — not used, hidden */
.menu-toggle,
.menu-toggle-bar {
  display: none;
}

/* ═══════════════════════════════════════════════════════════════
   6 — HERO SECTION
   ═══════════════════════════════════════════════════════════════ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img,
.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, oklch(0.15 0.01 0 / 0.7) 0%, oklch(0.15 0.01 0 / 0.4) 45%, oklch(0.18 0.04 25 / 0.2) 100%);
  z-index: 1;
}

/* Gradient accent glow on hero */
.hero-overlay::after {
  content: '';
  position: absolute;
  bottom: -20%;
  right: -10%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: calc(var(--spacing) * 8);
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--primary-subtle);
  border: 1px solid rgba(214, 40, 40, 0.2);
  color: var(--primary);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: var(--space-2) var(--space-4);
  border-radius: 100px;
  margin-bottom: var(--space-6);
}

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

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-kicker {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: var(--space-6);
}

.hero-title {
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: 800;
  line-height: 68px;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: var(--space-6);
  max-width: 820px;
  margin-top: 1%;
}

.hero-title .accent {
  color: var(--primary);
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 604px;
  margin-bottom: var(--space-10);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* Hero floating stats */
.hero-stats {
  position: absolute;
  bottom: var(--space-12);
  right: var(--container-pad);
  z-index: 3;
  display: flex;
  gap: var(--space-4);
}

.hero-stat-card {
  background: var(--glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6);
  text-align: center;
  min-width: 140px;
}

.hero-stat-number {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.hero-stat-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: var(--space-1);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: float-scroll 2.5s ease-in-out infinite;
}

.scroll-indicator-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--primary), transparent);
  animation: scroll-line 2s ease-in-out infinite;
}

@keyframes float-scroll {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

@keyframes scroll-line {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* Hero particle canvas */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

/* Hero small variant (inner pages) */
.hero-small {
  min-height: 50vh;
}

.hero-small .hero-content {
  padding: var(--space-24) var(--container-pad) var(--space-16);
}

/* ═══════════════════════════════════════════════════════════════
   7 — BUTTONS
   ═══════════════════════════════════════════════════════════════ */

.btn,
.wp-block-button__link.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  padding: var(--space-4) var(--space-8);
  border-radius: var(--radius);
  transition: all var(--duration) var(--ease-out);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--duration-fast);
}

.btn:hover::before {
  opacity: 1;
}

.btn-red,
.wp-block-button__link.btn-red {
  background: var(--primary);
  color: var(--white);
}

.btn-red:hover,
.wp-block-button__link.btn-red:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--primary-glow);
}

.btn-outline,
.wp-block-button__link.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid var(--border-light);
}

.btn-outline:hover,
.wp-block-button__link.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  background: var(--primary-subtle);
}

.btn-lg {
 
  font-size: 16px;
  width: 19%;
}

.btn-icon {
  font-size: 18px;
  transition: transform var(--duration) var(--ease-out);
}

.btn:hover .btn-icon {
  transform: translateX(3px);
}

/* Pulse animation for emergency CTA */
.btn-pulse {
  animation: btn-pulse 2.5s ease-in-out infinite;
}

@keyframes btn-pulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--primary-glow); }
  50% { box-shadow: 0 0 0 12px transparent; }
}

/* ═══════════════════════════════════════════════════════════════
   8 — STATS BAR
   ═══════════════════════════════════════════════════════════════ */

.stats-bar {
  background: #100C0D;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  /*position: relative;*/
}

.stats-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
  background-size: 200% 100%;
  animation: gradient-shift 6s ease-in-out infinite;
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.stats-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  /*padding: var(--space-10) var(--container-pad);*/
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
}

.stat-item {
  text-align: center;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 40px;
  width: 1px;
  background: var(--border);
}

.stat-item .stat-number {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  color: #DF202E;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.stat-item .stat-number .stat-accent {
  color: var(--primary);
}

.stat-item .stat-label {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-top: var(--space-1);
}

/* ═══════════════════════════════════════════════════════════════
   9 — SECTION HEADERS
   ═══════════════════════════════════════════════════════════════ */

.section-head {
  margin-bottom: var(--space-16);
}

.section-head .kicker {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: var(--space-4);
}

.section-head .section-title,
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #DF202E;
  margin-bottom: var(--space-5);
}

.section-head .section-title .accent,
.section-head h2 .accent {
  color: var(--primary);
}

.section-head .section-desc {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 640px;
}

.section-head hr.rule,
.section-head .wp-block-separator.rule {
  border: none;
  height: 3px;
  width: 48px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  margin: 0 0 var(--space-5);
  border-radius: 2px;
}

/* ═══════════════════════════════════════════════════════════════
   10 — SERVICES
   ═══════════════════════════════════════════════════════════════ */

.services-section {
  background: #070506;
  padding: var(--section-pad) 0;
}

.services-section .container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--duration) var(--ease-out);
  position: relative;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  padding: 1px;
  background: linear-gradient(135deg, transparent, transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  transition: background var(--duration) var(--ease-out);
  z-index: 1;
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card:hover::before {
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

.service-card-img-wrap {
  position: relative;
  overflow: hidden;
  height: 200px;
}

.service-card img,
.service-card .wp-block-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.service-card:hover img,
.service-card:hover .wp-block-image img {
  transform: scale(1.08);
}

.service-card-body {
  padding: var(--space-6);
}
.services-section h2 {
  color: #fff !important;
}
.service-card-body h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: var(--space-2);
}

.service-card-body p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-muted);
}

.service-card-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  margin-top: var(--space-4);
  transition: gap var(--duration) var(--ease-out);
}

.service-card:hover .service-card-arrow {
  gap: var(--space-3);
}

/* ═══════════════════════════════════════════════════════════════
   11 — WHY CHOOSE US
   ═══════════════════════════════════════════════════════════════ */

.why-section {
  background: var(--bg-elevated);
  padding: var(--section-pad) 0;
  position: relative;
  overflow: hidden;
}

.why-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-light), transparent);
}

.why-section .container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.why-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  position: relative;
  overflow: hidden;
  transition: all var(--duration) var(--ease-out);
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity var(--duration) var(--ease-out);
}

.why-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-light);
  box-shadow: var(--shadow-lg);
}

.why-card:hover::before {
  opacity: 1;
}

.why-card-icon {
  width: 56px;
  height: 56px;
  background: var(--primary-subtle);
  border: 1px solid rgba(214, 40, 40, 0.15);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: var(--space-5);
  transition: all var(--duration) var(--ease-out);
}

.why-card:hover .why-card-icon {
  background: var(--primary);
  border-color: var(--primary);
  transform: scale(1.05);
  box-shadow: 0 4px 16px var(--primary-glow);
}

.why-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-3);
  letter-spacing: -0.01em;
}

.why-card p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-muted);
}

.why-card-number {
  position: absolute;
  top: var(--space-6);
  right: var(--space-6);
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  color: var(--border);
  line-height: 1;
  letter-spacing: -0.04em;
  opacity: 0.4;
}

/* Certifications / Trust badges */
.trust-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-12);
  padding-top: var(--space-16);
  margin-top: var(--space-16);
  border-top: 1px solid var(--border);
}

.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  text-align: center;
}

.trust-badge-icon {
  width: 64px;
  height: 64px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  transition: all var(--duration) var(--ease-out);
}

.trust-badge:hover .trust-badge-icon {
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.trust-badge-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

/* ═══════════════════════════════════════════════════════════════
   12 — GALLERY / PHOTO GRID
   ═══════════════════════════════════════════════════════════════ */

.gallery-section {
  background: var(--bg);
  padding: var(--section-pad) 0;
  position: relative;
}

.gallery-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-light), transparent);
}

.gallery-section .container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: var(--space-4);
}

.gallery-text {
  grid-column: 1 / 3;
  grid-row: 1 / 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: var(--space-10);
}

.gallery-text h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: var(--space-5);
}

.gallery-text h2 .accent {
  color: var(--primary);
}

.gallery-text p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.gallery-text .gallery-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.gallery-feature-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: 15px;
  color: var(--text-secondary);
}

.gallery-feature-icon {
  color: var(--primary);
  font-size: 16px;
  flex-shrink: 0;
}

.photo-card,
figure.wp-block-image.photo-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.photo-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(13,13,13,0.4) 100%);
  pointer-events: none;
  transition: opacity var(--duration);
}

.photo-card:hover img {
  transform: scale(1.06);
}

.photo-card:hover::after {
  opacity: 0.5;
}

/* ═══════════════════════════════════════════════════════════════
   13 — TESTIMONIALS
   ═══════════════════════════════════════════════════════════════ */

.testimonials-section {
  background: var(--bg-elevated);
  padding: var(--section-pad) 0;
  position: relative;
  overflow: hidden;
}

.testimonials-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-light), transparent);
}

.testimonials-section .container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.testimonials-header {
  text-align: center;
  margin-bottom: var(--space-16);
}

.testimonials-header h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-4);
}

.testimonials-header p {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto;
}

/* Testimonial slider */
.testimonial-slider {
  position: relative;
  overflow: hidden;
  margin: 0 -var(--container-pad);
  padding: 0 var(--container-pad);
}

.testimonial-track {
  display: flex;
  gap: var(--space-6);
  transition: transform 0.6s var(--ease-out);
  cursor: grab;
  user-select: none;
}

.testimonial-track:active {
  cursor: grabbing;
}

.testimonial-track.no-transition {
  transition: none;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  position: relative;
  transition: all var(--duration) var(--ease-out);
  flex-shrink: 0;
}

.testimonial-card:hover {
  border-color: var(--border-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.testimonial-card-header {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
  flex-shrink: 0;
}

.testimonial-meta {
  display: flex;
  flex-direction: column;
}

.testimonial-stars {
  color: var(--star-gold);
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: var(--space-4);
}

.testimonial-card blockquote,
.testimonial-card .testimonial-text {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-secondary);
  font-style: normal;
  margin-bottom: var(--space-6);
  position: relative;
}

.testimonial-quote-mark {
  font-family: Georgia, serif;
  font-size: 48px;
  color: var(--primary);
  opacity: 0.3;
  line-height: 1;
  position: absolute;
  top: -8px;
  left: -4px;
}

.testimonial-card .testimonial-author {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
}

.testimonial-card .testimonial-vehicle {
  font-size: 13px;
  color: var(--text-dim);
  margin-top: var(--space-1);
}

/* Slider nav dots */
.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-10);
}

.testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-light);
  border: none;
  cursor: pointer;
  transition: all var(--duration) var(--ease-out);
  padding: 0;
}

.testimonial-dot.active {
  background: var(--primary);
  width: 24px;
  border-radius: 4px;
}

/* ═══════════════════════════════════════════════════════════════
   14 — CTA SECTION
   ═══════════════════════════════════════════════════════════════ */

.cta-section {
  position: relative;
  padding: var(--section-pad) 0;
  text-align: center;
  overflow: hidden;
  background: var(--surface);
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
}

/* Accent glow */
.cta-section::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0.4;
}

.cta-section .container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  position: relative;
  z-index: 1;
}

.cta-section .cta-logo img {
  height: 56px;
  margin: 0 auto var(--space-8);
  filter: brightness(0) invert(1);
  opacity: 0.4;
}

.cta-section h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-4);
  line-height: 1.05;
}

.cta-section h2 .accent {
  color: var(--primary);
}

.cta-urgency {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--primary-subtle);
  border: 1px solid rgba(214, 40, 40, 0.2);
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  padding: var(--space-2) var(--space-5);
  border-radius: 100px;
  margin-bottom: var(--space-6);
}

.cta-section .cta-text {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: var(--space-10);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.cta-phone-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color var(--duration-fast);
}

.cta-phone-link:hover {
  color: var(--primary);
}

/* ═══════════════════════════════════════════════════════════════
   15 — FOOTER
   ═══════════════════════════════════════════════════════════════ */

.site-footer {
  background: var(--bg);
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-light), transparent);
}

.footer-top {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-16) var(--container-pad) var(--space-12);
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: var(--space-12);
}

.footer-main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-16) var(--container-pad) var(--space-12);
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: var(--space-12);
}

.footer-brand {
  max-width: 320px;
}

.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
  text-decoration: none;
}

.footer-brand img {
  height: 40px;
  margin-bottom: var(--space-5);
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}

.footer-brand-name span {
  color: var(--primary);
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-dim);
}

.footer-social {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.footer-social-link {
  width: 40px;
  height: 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 16px;
  transition: all var(--duration) var(--ease-out);
}

.footer-social-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--primary-glow);
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--white);
  margin-bottom: var(--space-5);
}

.footer-col p,
.footer-col a {
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-dim);
  text-decoration: none;
  display: block;
  transition: color var(--duration-fast);
}

.footer-col a:hover {
  color: var(--primary);
}

.footer-col .footer-icon {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-2);
}

.footer-col .footer-icon .icon-circle {
  width: 28px;
  height: 28px;
  background: var(--primary-subtle);
  border: 1px solid rgba(214, 40, 40, 0.15);
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--primary);
  flex-shrink: 0;
  transition: all var(--duration-fast);
}

.footer-col a:hover .icon-circle {
  background: var(--primary);
  color: var(--white);
}

.footer-hours-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--text-dim);
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--border-subtle);
}

.footer-hours-row:last-child {
  border-bottom: none;
}

.footer-hours-row .day {
  color: var(--text-secondary);
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-6) var(--container-pad);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-dim);
}

/* ═══════════════════════════════════════════════════════════════
   16 — ABOUT PAGE
   ═══════════════════════════════════════════════════════════════ */

.about-content {
  padding: var(--section-pad) 0;
}

.about-content .container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.about-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
}

.about-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  border: 1px solid var(--glass-border);
  pointer-events: none;
}

.about-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 4/3;
}
.about-grid h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: var(--space-5);
}
.about-grid .kicker {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: var(--space-6);
}
.about-text h3 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-6);
}

.about-text p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: var(--space-5);
}

/* Values Section */
.values-section {
  background: var(--surface);
  padding: var(--section-pad) 0;
  position: relative;
}

.values-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-light), transparent);
}

.values-section .container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  text-align: center;
}

.values-section h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-4);
}

.values-section hr.rule,
.values-section .wp-block-separator.rule {
  border: none;
  height: 3px;
  width: 48px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  margin: 0 auto var(--space-12);
  border-radius: 2px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.value-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  text-align: center;
  transition: all var(--duration) var(--ease-out);
}

.value-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-light);
  box-shadow: var(--shadow);
}

.value-card .value-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-5);
  background: var(--primary-subtle);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  transition: all var(--duration) var(--ease-out);
}

.value-card:hover .value-icon {
  background: var(--primary);
  transform: scale(1.1);
  box-shadow: 0 4px 16px var(--primary-glow);
}

.value-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-3);
}

.value-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════════════
   17 — SERVICES PAGE
   ═══════════════════════════════════════════════════════════════ */

.service-detail {
  padding: var(--section-pad) 0;
  position: relative;
}

.service-detail:not(:last-of-type)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: var(--max-width);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-light), transparent);
}

.service-detail .container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.service-detail-grid.reverse {
  direction: rtl;
}

.service-detail-grid.reverse > * {
  direction: ltr;
}

.service-detail-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
}

.service-detail-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  border: 1px solid var(--glass-border);
  pointer-events: none;
}

.service-detail-image img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.service-detail-image:hover img {
  transform: scale(1.03);
}

.service-detail-text h3 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-6);
  line-height: 1.1;
}

.service-detail-text .accent {
  color: var(--primary);
}

.service-detail-text ul {
  list-style: none;
  padding: 0;
  margin-bottom: var(--space-8);
}

.service-detail-text ul li {
  position: relative;
  padding-left: var(--space-8);
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-secondary);
}

.service-detail-text ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--primary-subtle);
  border: 2px solid var(--primary);
}

.service-detail-text ul li::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 17px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--primary);
}

/* ═══════════════════════════════════════════════════════════════
   18 — CONTACT PAGE
   ═══════════════════════════════════════════════════════════════ */

.contact-section {
  padding: var(--section-pad) 0;
}

.contact-section .container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-12);
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  display: flex;
  align-items: center;
  gap: var(--space-5);
  transition: all var(--duration) var(--ease-out);
}

.contact-card:hover {
  border-color: var(--border-light);
  transform: translateX(4px);
}

.contact-card .card-icon {
  width: 52px;
  height: 52px;
  background: var(--primary-subtle);
  border: 1px solid rgba(214, 40, 40, 0.15);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--primary);
  flex-shrink: 0;
  transition: all var(--duration) var(--ease-out);
}

.contact-card:hover .card-icon {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 12px var(--primary-glow);
}

.contact-card h4 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: var(--space-1);
}

.contact-card p,
.contact-card a {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  line-height: 1.6;
}

.contact-card a:hover {
  color: var(--primary);
}

/* ═══════════════════════════════════════════════════════════════
   19 — CF7 FORM STYLES
   ═══════════════════════════════════════════════════════════════ */

.contact-form-wrapper {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
}

.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}

.contact-form-grid .full {
  grid-column: 1 / -1;
}

.contact-form-grid .half {
  grid-column: span 1;
}

.contact-form-grid br {
  display: none;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 textarea,
.wpcf7 select {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  padding: var(--space-4) var(--space-5);
  transition: all var(--duration-fast);
  outline: none;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-subtle);
}

.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
  color: var(--text-dim);
  font-size: 14px;
}

.wpcf7 textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form-grid label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: var(--space-2);
}

.wpcf7 input[type="submit"],
.wpcf7 .btn-submit {
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  padding: var(--space-4) var(--space-8);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--duration) var(--ease-out);
  width: auto;
}

.wpcf7 input[type="submit"]:hover,
.wpcf7 .btn-submit:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--primary-glow);
}

.wpcf7-not-valid-tip {
  color: var(--primary);
  font-size: 12px;
  margin-top: var(--space-1);
}

.wpcf7-not-valid {
  border-color: var(--primary) !important;
}

.wpcf7 .wpcf7-response-output {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-3) var(--space-5);
  margin-top: var(--space-5);
  font-size: 14px;
}

.wpcf7 .wpcf7-mail-sent-ok {
  border-color: var(--success);
  color: var(--success);
}

.wpcf7-spinner {
  display: none;
}

/* ═══════════════════════════════════════════════════════════════
   20 — ANIMATIONS & UTILITIES
   ═══════════════════════════════════════════════════════════════ */

/* Reveal animations (GSAP driven, CSS fallback) */
[data-animate] {
  opacity: 0;
  transform: translateY(32px);
}

[data-animate="fade-up"].is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

[data-animate="fade-in"].is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s var(--ease-out);
}

[data-animate="scale-in"] {
  opacity: 0;
  transform: scale(0.95);
}

[data-animate="scale-in"].is-visible {
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

/* Stagger children */
[data-stagger] > * {
  opacity: 0;
  transform: translateY(24px);
}

[data-stagger].is-visible > * {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}

/* Counter animation flash */
.counter-animated {
  display: inline-block;
}

/* Gradient text utility */
.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Shimmer loading effect */
.shimmer {
  background: linear-gradient(90deg, var(--surface) 0%, var(--surface-hover) 50%, var(--surface) 100%);
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Focus states for accessibility */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Skip to content */
.skip-link {
  position: fixed;
  top: -100%;
  left: var(--space-4);
  background: var(--primary);
  color: var(--white);
  padding: var(--space-3) var(--space-6);
  border-radius: 0 0 var(--radius) var(--radius);
  font-weight: 600;
  z-index: 10000;
  text-decoration: none;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
}

/* 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;
  }

  [data-animate] {
    opacity: 1;
    transform: none;
  }

  [data-stagger] > * {
    opacity: 1;
    transform: none;
  }
}

/* ═══════════════════════════════════════════════════════════════
   21 — RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
  :root {
    --section-pad: var(--section-pad-md);
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-text {
    grid-column: 1 / -1;
    padding-right: 0;
    margin-bottom: var(--space-6);
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-stats {
    position: relative;
    bottom: auto;
    right: auto;
    margin-top: var(--space-10);
    flex-wrap: wrap;
  }

  .hero-stat-card {
    min-width: 120px;
  }

  .trust-badges {
    flex-wrap: wrap;
    gap: var(--space-8);
  }
}

@media (max-width: 860px) {
  :root {
    --section-pad: var(--section-pad-sm);
    --container-pad: 20px;
  }

  /* Hero mobile */
  .hero {
    min-height: 90vh;
  }

  .hero-title {
    font-size: clamp(36px, 9vw, 52px);
  }

  .hero-content {
    padding: var(--space-24) var(--container-pad) var(--space-12);
  }

  .hero-stats {
    flex-direction: column;
    gap: var(--space-3);
  }

  .hero-stat-card {
    width: 100%;
    display: flex;
    align-items: center;
    gap: var(--space-4);
    text-align: left;
    padding: var(--space-4) var(--space-5);
  }

  .scroll-indicator {
    display: none;
  }

  /* Grids */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-5);
  }

  .stat-item:not(:last-child)::after {
    display: none;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .about-grid,
  .service-detail-grid,
  .service-detail-grid.reverse {
    grid-template-columns: 1fr;
    gap: var(--space-8);
    direction: ltr;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: var(--space-3);
  }

  .trust-badges {
    flex-direction: column;
    gap: var(--space-6);
  }

  /* CTA mobile */
  .cta-actions {
    flex-direction: column;
    width: 100%;
  }

  .cta-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  :root {
    --section-pad: 40px;
    --container-pad: 16px;
  }

  .hero {
    min-height: 85vh;
  }

  .hero-title {
    font-size: clamp(32px, 10vw, 42px);
  }

  .hero-small {
    min-height: 45vh;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .contact-form-grid {
    grid-template-columns: 1fr;
  }

  .contact-form-grid .half {
    grid-column: 1 / -1;
  }

  .contact-form-wrapper {
    padding: var(--space-6);
  }

  .testimonial-card {
    padding: var(--space-6);
  }

  .service-detail-image img {
    height: 240px;
  }
}

/* ═══════════════════════════════════════════════════════════════
   22 — TRADITIONAL THEME ADDITIONS
   Styles for traditional PHP templates (non-block-theme patterns)
   ═══════════════════════════════════════════════════════════════ */

/* Hero variants */
.hero-card-bg {
  background: var(--surface);
  min-height: auto;
  border-bottom: 1px solid var(--border);
}

.hero-card-bg .hero-content {
  padding: var(--space-20) var(--container-pad) var(--space-16);
}

/* Text primary accent class (used in headings) */
.text-primary {
  color: var(--primary);
}

/* About page */
.about-content {
  padding: var(--section-pad) 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}

.about-image {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-xl);
}

.about-heading {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-6);
}

.about-text {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.8;
}

.about-text p {
  margin-bottom: var(--space-4);
}

.about-text p:last-child {
  margin-bottom: 0;
}

/* Values section */
.values-heading {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-align: center;
  margin-bottom: var(--space-12);
}

/* Services detail page */
.service-details-section {
  padding: var(--space-16) 0 var(--section-pad);
}

.service-details-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
}

.service-detail-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-10);
  align-items: center;
}

.service-detail-reverse {
  direction: rtl;
}

.service-detail-reverse > * {
  direction: ltr;
}

.service-detail-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-xl);
}

.service-detail-content h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-6);
}

.service-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-8);
}

.service-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-primary);
  padding: var(--space-1) 0;
}

.feature-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
  margin-top: 9px;
}

/* Contact form (native, non-CF7) */
.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}

.contact-form-grid .full {
  grid-column: 1 / -1;
}

.contact-form-grid .half {
  grid-column: span 1;
}

.contact-form-grid label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: var(--space-2);
}

.contact-form-grid input,
.contact-form-grid textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  padding: var(--space-3) var(--space-4);
  outline: none;
  transition: border-color var(--duration-fast);
}

.contact-form-grid input:focus,
.contact-form-grid textarea:focus {
  border-color: var(--primary);
}

/* Map section */
.map-section {
  border-top: 1px solid var(--border);
}

.map-embed {
  width: 100%;
  height: 400px;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Default content pages */
.default-content {
  padding: var(--section-pad) 0;
}

.default-content .entry-content {
  max-width: 800px;
  margin: 0 auto;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.8;
}

.default-content .entry-content h1,
.default-content .entry-content h2,
.default-content .entry-content h3 {
  color: var(--white);
  margin: var(--space-8) 0 var(--space-4);
}

/* Footer adjustments for WP menus */
.footer-col a {
  display: block;
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-dim);
  text-decoration: none;
  transition: color var(--duration-fast);
}

.footer-col a:hover {
  color: var(--primary);
}

.footer-col .menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col .menu-item a {
  display: block;
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-dim);
  text-decoration: none;
  transition: color var(--duration-fast);
}

.footer-col .menu-item a:hover {
  color: var(--primary);
}

.footer-logo {
  height: 80px;
  width: auto;
  margin-bottom: var(--space-4);
}

.footer-contact-link {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 14px;
  color: var(--text-dim);
  text-decoration: none;
  margin-bottom: var(--space-2);
  transition: color var(--duration-fast);
}

.footer-contact-link:hover {
  color: var(--primary);
}

.footer-contact-link svg {
  color: var(--primary);
  flex-shrink: 0;
}

.footer-address {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  font-size: 14px;
  color: var(--text-dim);
  margin-top: var(--space-2);
}

.footer-address svg {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Services grid — Lovable 5-column layout */
.services-grid-lovable {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: repeat(5, 1fr);
}

@media (max-width: 1024px) {
  .services-grid-lovable {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .services-grid-lovable {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .services-grid-lovable {
    grid-template-columns: 1fr;
  }
}

/* Gallery 2x2 offset grid (Lovable pattern) */
.gallery-photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}

.gallery-photo-grid img {
  aspect-ratio: 1;
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.gallery-photo-grid img:nth-child(2),
.gallery-photo-grid img:nth-child(4) {
  transform: translateY(var(--space-6));
}

/* Responsive fixes for traditional templates */
@media (max-width: 860px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .service-detail-row,
  .service-detail-reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: var(--space-6);
  }

  .contact-form-grid {
    grid-template-columns: 1fr;
  }

  .contact-form-grid .half {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  .hero-card-bg .hero-content {
    padding: var(--space-12) var(--container-pad) var(--space-10);
  }
}
