/* ============================================================
   TREE PRO SERVICES — Design System & Styles
   ============================================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Outfit:wght@500;600;700;800;900&display=swap');

/* ---------- Custom Properties ---------- */
:root {
  /* Brand Colors */
  --accent: #DB9309;
  --accent-hover: #C28308;
  --accent-glow: rgba(219, 147, 9, 0.25);
  --green: #71982E;
  --green-hover: #5F8126;
  --green-glow: rgba(113, 152, 46, 0.2);

  /* Neutrals */
  --dark: #1C1917;
  --dark-warm: #292524;
  --dark-card: #33302E;
  --cream: #FAF7F2;
  --cream-alt: #F0EBE3;
  --text: #44403C;
  --text-muted: #78716C;
  --text-light: #D6D3D1;
  --text-on-dark: #E7E5E4;
  --border: rgba(68, 64, 60, 0.12);
  --border-dark: rgba(255, 255, 255, 0.08);

  /* Typography */
  --font-heading: 'Outfit', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* Spacing */
  --section-py: clamp(4rem, 8vw, 7rem);
  --container-px: clamp(1.25rem, 4vw, 2rem);
  --container-max: 1280px;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(28, 25, 23, 0.08);
  --shadow-md: 0 4px 16px rgba(28, 25, 23, 0.1);
  --shadow-lg: 0 8px 32px rgba(28, 25, 23, 0.12);
  --shadow-xl: 0 16px 48px rgba(28, 25, 23, 0.16);
  --shadow-accent: 0 4px 20px rgba(219, 147, 9, 0.35);

  /* Transitions */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 200ms;
  --duration-md: 400ms;
  --duration-slow: 600ms;

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

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height-scrolled);
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

button {
  font-family: inherit;
  border: none;
  cursor: pointer;
  background: none;
}

ul, ol {
  list-style: none;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark);
}

h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 900; }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 800; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); font-weight: 700; }
h4 { font-size: 1.125rem; font-weight: 600; }

p { max-width: 68ch; }

/* ---------- Utility Classes ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header .badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  background: var(--accent-glow);
  color: var(--accent);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Dark sections */
.dark-section {
  background: var(--dark);
  color: var(--text-on-dark);
}

.dark-section h2,
.dark-section h3,
.dark-section h4 {
  color: #fff;
}

.dark-section p {
  color: var(--text-light);
}

.dark-section .section-header .badge {
  background: rgba(219, 147, 9, 0.15);
}

/* Alt bg sections */
.alt-section {
  background: var(--cream-alt);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-full);
  transition: all var(--duration-fast) var(--ease-out);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(219, 147, 9, 0.45);
}

.btn-secondary {
  background: var(--green);
  color: #fff;
}

.btn-secondary:hover {
  background: var(--green-hover);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
}

.btn-outline-dark {
  background: transparent;
  color: var(--dark);
  border: 2px solid var(--border);
}

.btn-outline-dark:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ---------- Scroll Reveal Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}

.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}

.reveal-scale.revealed {
  opacity: 1;
  transform: scale(1);
}

/* Stagger children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--duration-md) var(--ease-out),
              transform var(--duration-md) var(--ease-out);
}

.stagger-children.revealed > * {
  opacity: 1;
  transform: translateY(0);
}

.stagger-children.revealed > *:nth-child(1) { transition-delay: 0ms; }
.stagger-children.revealed > *:nth-child(2) { transition-delay: 80ms; }
.stagger-children.revealed > *:nth-child(3) { transition-delay: 160ms; }
.stagger-children.revealed > *:nth-child(4) { transition-delay: 240ms; }
.stagger-children.revealed > *:nth-child(5) { transition-delay: 320ms; }
.stagger-children.revealed > *:nth-child(6) { transition-delay: 400ms; }
.stagger-children.revealed > *:nth-child(7) { transition-delay: 480ms; }
.stagger-children.revealed > *:nth-child(8) { transition-delay: 560ms; }

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition: all var(--duration-md) var(--ease-out);
  background: transparent;
}

.site-header.scrolled {
  height: var(--header-height-scrolled);
  background: rgba(28, 25, 23, 0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.35rem;
  color: #fff;
  z-index: 1001;
}

.logo svg {
  width: 36px;
  height: 36px;
  color: var(--accent);
}

.logo span {
  color: var(--accent);
}

/* Main Nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links {
  display: flex;
  gap: 0.25rem;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: color var(--duration-fast), background var(--duration-fast);
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.header-phone {
  display: none;
  align-items: center;
  gap: 0.4rem;
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
}

.header-phone svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
}

.header-cta .btn {
  padding: 0.625rem 1.5rem;
  font-size: 0.9rem;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all var(--duration-fast) var(--ease-out);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav Overlay */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: rgba(28, 25, 23, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--duration-md) var(--ease-out),
              visibility var(--duration-md);
  z-index: 999;
}

.mobile-nav.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav a {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  transition: color var(--duration-fast);
}

.mobile-nav a:hover {
  color: var(--accent);
}

.mobile-nav .btn {
  margin-top: 1rem;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
}

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

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(28, 25, 23, 0.82) 0%,
    rgba(28, 25, 23, 0.55) 50%,
    rgba(28, 25, 23, 0.4) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: calc(var(--header-height) + 3rem);
  padding-bottom: 4rem;
}

.hero-content h1 {
  color: #fff;
  margin-bottom: 1.25rem;
  line-height: 1.1;
  max-width: 720px;
}

.hero-content h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  margin-bottom: 2rem;
  max-width: 560px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

/* Trust Badges */
.trust-badges {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.75rem;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.trust-badge-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
}

.trust-badge-icon svg {
  width: 18px;
  height: 18px;
  color: #fff;
}

.trust-badge-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
}

.trust-badge-text small {
  display: block;
  font-weight: 400;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about {
  padding: var(--section-py) 0;
}

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

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

.about-image img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.about-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--accent), var(--green));
}

.experience-badge {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  background: var(--accent);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  box-shadow: var(--shadow-lg);
}

.experience-badge strong {
  display: block;
  font-size: 1.75rem;
  font-weight: 900;
  line-height: 1;
}

.experience-badge span {
  font-size: 0.8rem;
  font-weight: 500;
  opacity: 0.9;
}

.about-text h2 {
  margin-bottom: 1rem;
}

.about-text .lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.about-text p {
  margin-bottom: 2rem;
  color: var(--text);
}

.trust-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.trust-point {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--cream-alt);
  border-radius: var(--radius-md);
  transition: transform var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out);
}

.trust-point:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.trust-point-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.trust-point-icon svg {
  width: 22px;
  height: 22px;
  color: #fff;
}

.trust-point span {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--dark);
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services {
  padding: var(--section-py) 0;
  background: var(--cream-alt);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: transform var(--duration-md) var(--ease-out),
              box-shadow var(--duration-md) var(--ease-out);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--green));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-md) var(--ease-out);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-glow);
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
  transition: background var(--duration-fast);
}

.service-card:hover .service-icon {
  background: var(--accent);
}

.service-icon svg {
  width: 28px;
  height: 28px;
  color: var(--accent);
  transition: color var(--duration-fast);
}

.service-card:hover .service-icon svg {
  color: #fff;
}

.service-card h3 {
  margin-bottom: 0.6rem;
  font-size: 1.15rem;
}

.service-card p {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.service-card .learn-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  transition: gap var(--duration-fast);
}

.service-card:hover .learn-more {
  gap: 0.7rem;
}

.learn-more svg {
  width: 16px;
  height: 16px;
}

/* ============================================================
   HOW WE WORK / PROCESS SECTION
   ============================================================ */
.process {
  padding: var(--section-py) 0;
  background: var(--dark);
  color: var(--text-on-dark);
  overflow: hidden;
}

.process-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* The connecting line */
.timeline-track {
  position: absolute;
  left: 27px;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--dark-card);
  border-radius: 2px;
  z-index: 1;
}

.timeline-progress {
  width: 100%;
  height: 0%;
  background: var(--accent);
  border-radius: 2px;
  transition: height 0.1s linear;
}

.process-step {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem 0;
  position: relative;
  z-index: 2;
}

.process-step.active {
  /* Active state — no opacity change needed */
}

.step-number {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1C1917;
  border: 3px solid var(--accent);
  border-radius: 50%;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  color: #fff;
  flex-shrink: 0;
  position: relative;
  z-index: 3;
  transition: all var(--duration-md) var(--ease-out);
}

.process-step.active .step-number {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 0 0 6px rgba(219, 147, 9, 0.2);
  transform: scale(1.1);
}

.step-content {
  padding-top: 0.5rem;
}

.step-content h3 {
  color: var(--text-light);
  margin-bottom: 0.4rem;
  font-size: 1.2rem;
  transition: color var(--duration-md);
}

.process-step.active .step-content h3 {
  color: #fff;
}

.step-content p {
  font-size: 0.93rem;
  color: var(--text-muted);
  max-width: 400px;
}

.process-step.active .step-content p {
  color: var(--text-light);
}

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why-us {
  padding: var(--section-py) 0;
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.why-card {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--border);
  transition: transform var(--duration-md) var(--ease-out),
              box-shadow var(--duration-md) var(--ease-out);
}

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

.why-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-glow), var(--green-glow));
  border-radius: 50%;
  margin: 0 auto 1.25rem;
}

.why-icon svg {
  width: 28px;
  height: 28px;
  color: var(--accent);
}

.why-card h4 {
  margin-bottom: 0.5rem;
}

.why-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0 auto;
}

/* Stats Bar */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  padding: 3rem 2rem;
  background: var(--dark);
  border-radius: var(--radius-xl);
  text-align: center;
}

.stat-item {
  padding: 1rem;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ============================================================
   GALLERY SECTION
   ============================================================ */
.gallery {
  padding: var(--section-py) 0;
  background: var(--cream-alt);
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 0.5rem 1.25rem;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius-full);
  color: var(--text-muted);
  border: 1px solid var(--border);
  background: #fff;
  transition: all var(--duration-fast);
}

.filter-btn:hover {
  color: var(--dark);
  border-color: var(--accent);
}

.filter-btn.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 3/2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-md) var(--ease-out);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(28, 25, 23, 0.85) 0%, transparent 100%);
  color: #fff;
  transform: translateY(100%);
  transition: transform var(--duration-md) var(--ease-out);
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
}

.gallery-caption h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.gallery-caption p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(28, 25, 23, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--duration-md), visibility var(--duration-md);
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #fff;
  font-size: 1.5rem;
  transition: background var(--duration-fast);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ============================================================
   REVIEWS / TESTIMONIALS
   ============================================================ */
.reviews {
  padding: var(--section-py) 0;
}

.reviews-carousel {
  position: relative;
  overflow: hidden;
}

.reviews-track {
  display: flex;
  transition: transform var(--duration-md) var(--ease-out);
}

.review-card {
  min-width: 100%;
  padding: 0 0.5rem;
}

.review-card-inner {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

.review-card-inner::before {
  content: '\201C';
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  font-size: 5rem;
  font-family: Georgia, serif;
  color: var(--accent-glow);
  line-height: 1;
}

.review-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 1rem;
}

.review-stars svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
  fill: var(--accent);
}

.review-card-inner blockquote {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

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

.review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  color: #fff;
  font-size: 1.1rem;
}

.review-author-info strong {
  display: block;
  font-size: 1rem;
  color: var(--dark);
}

.review-author-info span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Carousel Controls */
.carousel-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream-alt);
  border-radius: 50%;
  color: var(--text);
  border: 1px solid var(--border);
  transition: all var(--duration-fast);
}

.carousel-btn:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.carousel-btn svg {
  width: 20px;
  height: 20px;
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  transition: all var(--duration-fast);
}

.carousel-dot.active {
  background: var(--accent);
  width: 28px;
  border-radius: 5px;
}

/* Google Badge */
.google-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
  padding: 1.25rem 2rem;
  background: var(--cream-alt);
  border-radius: var(--radius-lg);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.google-badge img {
  height: 28px;
}

.google-badge-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.google-badge-info .rating {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--dark);
}

.google-badge-info .review-count {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ============================================================
   SERVICE AREA
   ============================================================ */
.service-area {
  padding: var(--section-py) 0;
  background: var(--dark);
  color: var(--text-on-dark);
}

.service-area-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.area-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 300px;
  background: var(--dark-card);
}

.area-map iframe {
  width: 100%;
  height: 100%;
  min-height: 300px;
  border: none;
}

.area-cities h3 {
  color: #fff;
  margin-bottom: 1.25rem;
}

.cities-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
}

.cities-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.93rem;
  color: var(--text-light);
}

.cities-list li svg {
  width: 16px;
  height: 16px;
  color: var(--green);
  flex-shrink: 0;
}

.area-note {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding: 1rem;
  background: rgba(219, 147, 9, 0.1);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--accent);
}

.area-note svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex-shrink: 0;
}

.area-note p {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* ============================================================
   FAQ SECTION
   ============================================================ */
.faq {
  padding: var(--section-py) 0;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow var(--duration-fast);
}

.faq-item:hover {
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--dark);
  text-align: left;
  background: none;
  transition: color var(--duration-fast);
}

.faq-question:hover {
  color: var(--accent);
}

.faq-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--cream-alt);
  flex-shrink: 0;
  transition: all var(--duration-fast);
}

.faq-item.open .faq-icon {
  background: var(--accent);
  color: #fff;
  transform: rotate(45deg);
}

.faq-icon svg {
  width: 16px;
  height: 16px;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration-md) var(--ease-out);
}

.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact {
  padding: var(--section-py) 0;
  background: var(--cream-alt);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.contact-form {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.contact-form h3 {
  margin-bottom: 0.5rem;
}

.contact-form > p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.8rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--cream);
  transition: border-color var(--duration-fast), box-shadow var(--duration-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.file-upload {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  border: 2px dashed var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color var(--duration-fast);
}

.file-upload:hover {
  border-color: var(--accent);
}

.file-upload input {
  display: none;
}

.file-upload svg {
  width: 24px;
  height: 24px;
  color: var(--text-muted);
}

.file-upload span {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.form-submit {
  margin-top: 0.5rem;
}

.form-submit .btn {
  width: 100%;
}

/* Contact Info Sidebar */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-card {
  background: var(--dark);
  border-radius: var(--radius-xl);
  padding: 2rem;
  color: var(--text-on-dark);
}

.contact-card h3 {
  color: #fff;
  margin-bottom: 1.5rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.contact-detail-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(219, 147, 9, 0.15);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.contact-detail-icon svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
}

.contact-detail-text strong {
  display: block;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 0.2rem;
}

.contact-detail-text a,
.contact-detail-text span {
  font-weight: 600;
  color: #fff;
  font-size: 0.95rem;
}

.contact-detail-text a:hover {
  color: var(--accent);
}

.response-promise {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  padding: 0.75rem 1rem;
  background: rgba(113, 152, 46, 0.15);
  border-radius: var(--radius-sm);
}

.response-promise svg {
  width: 18px;
  height: 18px;
  color: var(--green);
  flex-shrink: 0;
}

.response-promise span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green);
}

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 200px;
}

.contact-map iframe {
  width: 100%;
  height: 200px;
  border: none;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--dark);
  color: var(--text-light);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border-dark);
}

.footer-brand .logo {
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.93rem;
  color: var(--text-muted);
  max-width: 320px;
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark-card);
  border-radius: var(--radius-sm);
  color: var(--text-light);
  transition: all var(--duration-fast);
}

.social-link:hover {
  background: var(--accent);
  color: #fff;
}

.social-link svg {
  width: 18px;
  height: 18px;
}

.footer-links h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color var(--duration-fast);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-contact .contact-line {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.footer-contact .contact-line svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
  flex-shrink: 0;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  color: var(--text-muted);
  transition: color var(--duration-fast);
}

.footer-legal a:hover {
  color: var(--accent);
}

/* ============================================================
   FLOATING ELEMENTS
   ============================================================ */
/* Call Now Button */
.floating-call {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 900;
  width: 56px;
  height: 56px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-accent);
  animation: pulse 2s infinite;
  transition: transform var(--duration-fast);
}

.floating-call:hover {
  transform: scale(1.1);
}

.floating-call svg {
  width: 24px;
  height: 24px;
  color: #fff;
}

/* Pulse ring */
.floating-call::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  animation: pulse-ring 2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(219, 147, 9, 0.35); }
  50% { box-shadow: 0 4px 30px rgba(219, 147, 9, 0.55); }
}

@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 900;
  width: 44px;
  height: 44px;
  background: rgba(28, 25, 23, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--duration-md) var(--ease-out);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--accent);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */

/* Tablet (768px+) */
@media (min-width: 768px) {
  .menu-toggle { display: none; }

  .nav-links { display: flex; }

  .header-phone { display: flex; }

  .about-grid {
    grid-template-columns: 1fr 1.2fr;
  }

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

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

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

  .service-area-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }

  .stats-bar {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Process timeline horizontal on tablet+ */
  .process-timeline {
    flex-direction: row;
    justify-content: space-between;
  }

  .timeline-track {
    left: 0;
    top: 27px;
    right: 0;
    bottom: auto;
    width: auto;
    height: 4px;
  }

  .timeline-progress {
    height: 100%;
    width: 0%;
  }

  .process-step {
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    padding: 0 0.75rem;
  }

  .step-content p {
    margin: 0 auto;
  }
}

/* Desktop (1024px+) */
@media (min-width: 1024px) {

  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }

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

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  }
}

/* Mobile overrides */
@media (max-width: 767px) {
  .nav-links { display: none; }
  .header-phone { display: none; }
  .header-cta { display: none; }
  .menu-toggle { display: flex; }

  .hero-content {
    padding-top: calc(var(--header-height) + 2rem);
    padding-bottom: 3rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .trust-badges {
    flex-wrap: wrap;
  }

  .trust-points {
    grid-template-columns: 1fr;
  }

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

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

  .cities-list {
    grid-template-columns: 1fr;
  }

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

  .stats-bar {
    padding: 2rem 1.5rem;
  }

  .floating-call {
    bottom: 1rem;
    right: 1rem;
  }

  .back-to-top {
    bottom: 1rem;
    left: 1rem;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .why-us-grid {
    grid-template-columns: 1fr;
  }
}

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

  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-scale,
  .stagger-children > * {
    opacity: 1;
    transform: none;
  }

  .floating-call::before {
    display: none;
  }
}
