/* ============================================
   R. Elkin Tree Surgery / N.W. Arborist
   Design system: cream / charcoal / olive / rust
   ============================================ */

:root {
  /* Brand colors — extracted from logo */
  --cream: #F0EBDC;
  --cream-soft: #FAF7EE;
  --paper: #FFFFFF;
  --charcoal: #292A27;
  --charcoal-soft: #4A4B45;

  --olive: #455F32;
  --olive-dark: #344824;
  --olive-light: #DCE6CC;
  --olive-pale: #EEF2E3;

  --rust: #773C1E;
  --rust-dark: #5C2D15;
  --rust-light: #F0DAC8;

  --urgent: #B2412B;
  --urgent-dark: #8C311F;

  --sky: #BFD9E8;
  --sun: #E8B65C;

  /* Type */
  --font-display: 'Fredoka', sans-serif;
  --font-body: 'Nunito Sans', sans-serif;

  /* Spacing scale */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.75rem;
  --space-lg: 3rem;
  --space-xl: 5rem;
  --space-2xl: 8rem;

  /* Shape */
  --radius-sm: 0.6rem;
  --radius-md: 1.25rem;
  --radius-lg: 2rem;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(41, 42, 39, 0.08);
  --shadow-md: 0 8px 24px rgba(41, 42, 39, 0.12);
  --shadow-lg: 0 16px 40px rgba(41, 42, 39, 0.16);

  --container: 1180px;
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--charcoal);
  line-height: 1.6;
  font-size: 1.05rem;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--charcoal);
}
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-md);
}
section { position: relative; }

/* ---------- Reusable bits ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--rust);
  background: var(--rust-light);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-sm);
}
.section-head {
  max-width: 640px;
  margin: 0 auto var(--space-lg);
  text-align: center;
}
.section-head h2 {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  margin-bottom: 0.6rem;
}
.section-head p { color: var(--charcoal-soft); font-size: 1.05rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85rem 1.7rem;
  border-radius: var(--radius-pill);
  transition: transform 0.25s var(--ease-bounce), box-shadow 0.25s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-3px) rotate(-0.5deg); }
.btn:active { transform: translateY(0) scale(0.97); }
.btn-primary {
  background: var(--olive);
  color: var(--cream-soft);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { background: var(--olive-dark); }
.btn-urgent {
  background: var(--urgent);
  color: #fff;
  box-shadow: 0 8px 24px rgba(178, 65, 43, 0.35);
}
.btn-urgent:hover { background: var(--urgent-dark); }
.btn-outline {
  background: transparent;
  color: var(--olive);
  border: 2px solid var(--olive);
}
.btn-outline:hover { background: var(--olive); color: var(--cream-soft); }
.btn-sm { padding: 0.6rem 1.2rem; font-size: 0.9rem; }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > * { opacity: 1; transform: translateY(0); }
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.13s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.21s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.29s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.37s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.45s; }
.reveal-stagger.is-visible > *:nth-child(7) { transition-delay: 0.53s; }
.reveal-stagger.is-visible > *:nth-child(8) { transition-delay: 0.61s; }

/* ============ HEADER ============ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(240, 235, 220, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(41,42,39,0.06);
  transition: box-shadow 0.3s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.brand {
  display: flex;
  align-items: center;
}
.brand img {
  height: 84px;
  width: 84px;
  border-radius: 50%;
  transform: translateY(20px);
  position: relative;
  z-index: 2;
  /* Shadow only at the bottom — the header background masks the top half */
  box-shadow: 0 16px 22px -10px rgba(41, 42, 39, 0.55);
  transition: transform 0.3s var(--ease-bounce), box-shadow 0.3s ease;
}
.brand:hover img {
  transform: translateY(16px) scale(1.04);
  box-shadow: 0 18px 26px -10px rgba(41, 42, 39, 0.6);
}
.brand-motto {
  padding-left: 0.75rem;
  margin-left: 0.5rem;
  border-left: 1.5px solid var(--olive);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-style: italic;
  font-weight: 400;
  color: var(--olive);
  line-height: 1.5;
  letter-spacing: 0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-weight: 700;
  font-size: 0.95rem;
}
.nav-links a { position: relative; padding: 0.3rem 0; }
.nav-links a::after {
  content: '';
  position: absolute; left: 0; bottom: -2px;
  width: 0; height: 3px;
  background: var(--rust);
  border-radius: 2px;
  transition: width 0.25s var(--ease-out);
}
.nav-links a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 0.9rem; }
.phone-link { display: flex; align-items: center; gap: 0.4rem; font-family: var(--font-display); font-weight: 600; color: var(--olive-dark); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 0.4rem; }
.nav-toggle span { width: 26px; height: 3px; background: var(--charcoal); border-radius: 2px; transition: 0.25s ease; }

/* ============ HERO ============ */
.hero {
  padding-top: 150px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--sky) 0%, var(--cream) 78%);
}
.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: var(--space-lg);
  position: relative;
  z-index: 3;
  padding-bottom: var(--space-xl);
}
.hero-eyebrow { margin-bottom: var(--space-sm); }
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  margin-bottom: var(--space-sm);
}
.hero h1 .underline {
  position: relative;
  color: var(--olive-dark);
  display: inline-block;
}
.hero h1 .underline svg { position: absolute; left: 0; bottom: -0.18em; width: 100%; height: 0.3em; }
.hero p.lead { font-size: 1.15rem; color: var(--charcoal-soft); max-width: 480px; margin-bottom: var(--space-md); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: var(--space-md); }
.hero-trust { display: flex; flex-wrap: wrap; gap: 1.4rem; font-size: 0.9rem; font-weight: 700; color: var(--olive-dark); }
.hero-trust span { display: flex; align-items: center; gap: 0.4rem; }
.hero-trust svg { width: 18px; height: 18px; flex-shrink: 0; }

.hero-art { position: relative; height: 480px; }
.hero-sun {
  position: absolute; top: 0; right: 8%;
  width: 110px; height: 110px;
  animation: spin-slow 40s linear infinite;
}
.hero-cloud { position: absolute; opacity: 0.9; }
.hero-cloud.c1 { top: 6%; left: -4%; width: 110px; animation: drift 22s ease-in-out infinite; }
.hero-cloud.c2 { top: 22%; right: -2%; width: 80px; animation: drift 18s ease-in-out infinite reverse; }
.hero-tree { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 92%; max-width: 480px; }
.hero-tree .leaf-cluster { transform-origin: center bottom; animation: sway 5s ease-in-out infinite; }
.hero-tree .leaf-cluster:nth-child(2) { animation-delay: 0.4s; }
.hero-tree .leaf-cluster:nth-child(3) { animation-delay: 0.8s; }
.hero-leaf-fall { position: absolute; top: 10%; animation: fall linear infinite; opacity: 0.9; }

.mascot {
  position: absolute;
  top: 0; left: 0;
  width: 76px;
  height: 96px;
  pointer-events: none;
  z-index: 250;
  will-change: transform;
}
.mascot-bop {
  cursor: pointer;
  pointer-events: auto;
  width: 100%;
  height: 100%;
  transform-origin: 50% 100%;
}
@keyframes mascot-hop-arc {
  0% { transform: translateY(0) scaleY(1); }
  18% { transform: translateY(2px) scaleY(0.9); }
  50% { transform: translateY(-16px) scaleY(1.06); }
  82% { transform: translateY(2px) scaleY(0.92); }
  100% { transform: translateY(0) scaleY(1); }
}

.mascot .leaf {
  transform-origin: 0px 0px;
  animation: leaf-sway-idle 4.2s ease-in-out infinite;
}
.mascot .leaf-l { animation-delay: -0.6s; }
.mascot .leaf-r { animation-delay: -1.4s; }
.mascot.is-walking .leaf {
  animation: leaf-sway-active 0.42s ease-in-out infinite;
}
.mascot.is-walking .leaf-l { animation-delay: -0.05s; }
.mascot.is-walking .leaf-r { animation-delay: -0.18s; }
@keyframes leaf-sway-idle {
  0%, 100% { transform: rotate(-3deg); }
  50% { transform: rotate(3deg); }
}
@keyframes leaf-sway-active {
  0%, 100% { transform: rotate(-16deg); }
  50% { transform: rotate(16deg); }
}

/* Tim knocks into these — they shake, then tip over like a picture frame slipping off a hook */
.tippable {
  transform-origin: left bottom;
}
.tippable.knocked-hard {
  animation: tip-over 0.7s cubic-bezier(0.36, 0, 0.66, 1) forwards;
  pointer-events: none;
  position: relative;
  z-index: 2;
}
@keyframes tip-over {
  0%   { transform: rotate(0deg); }
  15%  { transform: rotate(-8deg); }
  32%  { transform: rotate(5deg); }
  48%  { transform: rotate(-3deg); }
  100% { transform: rotate(35deg) translateY(2px); }
}

/* Tim planted in the hero — only leaves poke above ground */
.mascot.is-planted {
  clip-path: inset(0 0 58px 0);
}
@keyframes mascot-plant-sway {
  0%, 100% { transform: rotate(-4deg); }
  50%       { transform: rotate(4deg); }
}
.mascot.is-planted .leaf {
  animation: mascot-plant-sway 3s ease-in-out infinite !important;
}

@keyframes sway { 0%, 100% { transform: rotate(-2.5deg); } 50% { transform: rotate(2.5deg); } }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-10px) rotate(2deg); } }
@keyframes spin-slow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes drift { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(18px); } }
@keyframes fall {
  0% { transform: translateY(0) translateX(0) rotate(0deg); opacity: 0; }
  10% { opacity: 0.9; }
  100% { transform: translateY(420px) translateX(40px) rotate(220deg); opacity: 0; }
}
@keyframes wiggle { 0%, 100% { transform: rotate(0deg); } 25% { transform: rotate(-8deg); } 75% { transform: rotate(8deg); } }
@keyframes pop { 0% { transform: scale(0.9); } 60% { transform: scale(1.06); } 100% { transform: scale(1); } }

.wave-divider { display: block; width: 100%; height: auto; position: relative; z-index: 2; margin-top: -2px; }

/* ============ TRUST STRIP ============ */
.trust-strip {
  background: var(--olive);
  padding: var(--space-md) 0;
}
.trust-strip .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-sm);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--cream-soft);
  font-family: var(--font-display);
  font-size: 0.95rem;
  flex: 1;
  min-width: 200px;
}
.trust-item svg { width: 30px; height: 30px; flex-shrink: 0; color: var(--sun); }
.trust-item small { display: block; font-family: var(--font-body); font-weight: 600; opacity: 0.75; font-size: 0.75rem; }

/* ============ SERVICES ============ */
.services { padding: var(--space-2xl) 0 var(--space-xl); background: var(--cream); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}
.service-card {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease-bounce), box-shadow 0.3s ease;
  border: 2px solid transparent;
}
.service-card:hover {
  transform: translateY(-8px) rotate(-1deg);
  box-shadow: var(--shadow-lg);
  border-color: var(--olive-light);
}
.service-icon {
  width: 64px; height: 64px;
  margin-bottom: var(--space-sm);
  color: var(--olive);
}
.service-card:hover .service-icon { animation: wiggle 0.6s ease; }
.service-card h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.service-card p { font-size: 0.92rem; color: var(--charcoal-soft); }

/* ============ HOW IT WORKS ============ */
.how { padding: var(--space-xl) 0; background: var(--olive-pale); position: relative; }
.how-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  position: relative;
}
.how-step { text-align: center; position: relative; }
.how-step-num {
  width: 60px; height: 60px;
  margin: 0 auto var(--space-sm);
  border-radius: 50%;
  background: var(--cream-soft);
  border: 3px dashed var(--rust);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.3rem; color: var(--rust);
  transition: transform 0.3s var(--ease-bounce);
}
.how-step:hover .how-step-num { transform: scale(1.12) rotate(8deg); }
.how-step h4 { font-size: 1.05rem; margin-bottom: 0.3rem; }
.how-step p { font-size: 0.9rem; color: var(--charcoal-soft); }

/* ============ GALLERY ============ */
.gallery { padding: var(--space-2xl) 0 var(--space-xl); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: var(--space-sm);
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.gallery-item.wide { grid-column: span 2; }
.gallery-item.tall { grid-row: span 2; }
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-caption {
  position: absolute; inset: auto 0 0 0;
  padding: 0.9rem 1rem 0.7rem;
  background: linear-gradient(180deg, transparent, rgba(41,42,39,0.85));
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.85rem;
  transform: translateY(8px);
  opacity: 0;
  transition: 0.3s ease;
}
.gallery-item:hover .gallery-caption { opacity: 1; transform: translateY(0); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(41,42,39,0.92);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s ease;
  padding: 2rem;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: var(--radius-md); box-shadow: var(--shadow-lg); }
.lightbox-close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--cream); color: var(--charcoal);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
}

/* ============ ABOUT ============ */
.about { padding: var(--space-xl) 0; background: var(--rust-light); overflow: hidden; }
.about .container {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: var(--space-lg);
  align-items: center;
}
.about-photo { position: relative; }
.about-photo > img:not(.cg-badge) {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 6px solid var(--cream-soft);
}
/* City & Guilds badge on the about photo */
.cg-badge {
  position: absolute;
  bottom: -16px;
  left: -18px;
  width: 96px;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  animation: bob 4s ease-in-out infinite;
  transition: filter 0.3s ease;
}
.cg-badge:hover { filter: brightness(1.05) drop-shadow(0 4px 8px rgba(0,0,0,0.2)); animation-play-state: paused; }

/* City & Guilds badge in the footer */
.footer-cg-badge {
  display: block;
  width: 80px;
  border-radius: 10px;
  margin-top: 1rem;
  opacity: 0.88;
  transition: opacity 0.2s ease;
}
.footer-cg-badge:hover { opacity: 1; }

.about-text .eyebrow { background: var(--cream-soft); }
.about-text h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); margin-bottom: var(--space-sm); }
.about-text p { margin-bottom: var(--space-sm); color: var(--charcoal-soft); }
.about-creds { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: var(--space-sm); }
.cred-pill {
  display: flex; align-items: center; gap: 0.5rem;
  background: var(--cream-soft);
  padding: 0.55rem 1rem;
  border-radius: var(--radius-pill);
  font-weight: 700; font-size: 0.85rem;
  box-shadow: var(--shadow-sm);
}
.cred-pill svg { width: 18px; height: 18px; color: var(--olive); }

/* ============ REVIEWS ============ */
.reviews { padding: var(--space-2xl) 0 var(--space-xl); text-align: center; }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  text-align: left;
  margin-bottom: var(--space-md);
}
.review-card {
  background: var(--paper);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.review-stars { color: var(--sun); margin-bottom: 0.6rem; letter-spacing: 0.15em; }
.review-card p.quote { font-size: 0.95rem; color: var(--charcoal-soft); margin-bottom: 0.8rem; font-style: italic; }
.review-author { font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; margin-bottom: 0.4rem; }
.review-google { display: flex; align-items: center; gap: 0.35rem; font-size: 0.78rem; color: var(--charcoal-soft); margin-top: 0.5rem; }

/* ============ SERVICE AREA ============ */
.area { padding: var(--space-xl) 0; background: var(--olive); color: var(--cream-soft); overflow: hidden; }
.area .container { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-lg); align-items: center; }
.area h2 { color: var(--cream-soft); }
.area-text p { color: rgba(250,247,238,0.85); margin-bottom: var(--space-sm); }
.area-list { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: var(--space-sm); }
.area-list span {
  background: rgba(250,247,238,0.12);
  border: 1px solid rgba(250,247,238,0.3);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
}
.area-map { position: relative; display: flex; align-items: center; justify-content: center; }
.area-map svg { width: 100%; max-width: 340px; }
.radius-ping {
  transform-origin: center;
  animation: ping 2.6s ease-out infinite;
}
@keyframes ping { 0% { r: 18; opacity: 0.7; } 100% { r: 130; opacity: 0; } }

/* ============ QUOTE FORM ============ */
.quote { padding: var(--space-2xl) 0 var(--space-xl); }
.quote-box {
  background: var(--paper);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  overflow: hidden;
}
.quote-side {
  background:
    repeating-linear-gradient(
      178deg,
      transparent 0px, transparent 7px,
      rgba(0,0,0,0.18) 7px, rgba(0,0,0,0.18) 8px,
      transparent 8px, transparent 15px,
      rgba(0,0,0,0.10) 15px, rgba(0,0,0,0.10) 16px,
      transparent 16px, transparent 26px,
      rgba(255,255,255,0.04) 26px, rgba(255,255,255,0.04) 27px
    ),
    repeating-linear-gradient(
      176deg,
      transparent 0px, transparent 38px,
      rgba(0,0,0,0.12) 38px, rgba(0,0,0,0.12) 44px,
      transparent 44px, transparent 78px,
      rgba(0,0,0,0.07) 78px, rgba(0,0,0,0.07) 82px
    ),
    linear-gradient(165deg, #5c2e0e 0%, #773C1E 45%, #3e1b09 80%, #6b3010 100%);
  color: var(--cream-soft);
  padding: var(--space-lg);
  position: relative;
  overflow: hidden;
}
.quote-side h3 { color: var(--cream-soft); font-size: 1.6rem; margin-bottom: var(--space-sm); }
.quote-side p { color: rgba(250,247,238,0.85); margin-bottom: var(--space-sm); }
.quote-side .phone-cta { font-size: 1.3rem; font-weight: 700; font-family: var(--font-display); }
.quote-form { padding: var(--space-lg); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.form-group { margin-bottom: 1rem; }
.form-group.full { grid-column: 1 / -1; }
label { display: block; font-weight: 700; font-size: 0.85rem; margin-bottom: 0.35rem; }
input, select, textarea {
  width: 100%;
  font: inherit;
  padding: 0.75rem 1rem;
  border: 2px solid var(--olive-light);
  border-radius: var(--radius-sm);
  background: var(--cream-soft);
  color: var(--charcoal);
  transition: border-color 0.2s ease;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--olive); }
textarea { resize: vertical; min-height: 90px; }
.form-note { font-size: 0.8rem; color: var(--charcoal-soft); margin-top: 0.6rem; }
.form-success {
  display: none;
  background: var(--olive-pale);
  border: 2px solid var(--olive-light);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  text-align: center;
}
.form-success.is-visible { display: block; }
.form-success h4 { color: var(--olive-dark); margin-bottom: 0.4rem; }

/* ============ FAQ ============ */
.faq { padding: var(--space-xl) 0; max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 2px solid var(--olive-light); }
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--space-sm) 0;
  font-family: var(--font-display); font-size: 1.05rem; text-align: left;
}
.faq-q .icon { font-size: 1.4rem; color: var(--rust); transition: transform 0.3s var(--ease-bounce); flex-shrink: 0; margin-left: 1rem; }
.faq-item.is-open .faq-q .icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease-out);
  color: var(--charcoal-soft);
  font-size: 0.95rem;
}
.faq-a-inner { padding-bottom: var(--space-sm); }

/* ============ FOOTER ============ */
.site-footer { background: var(--charcoal); color: var(--cream-soft); padding: var(--space-xl) 0 var(--space-md); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}
.footer-brand { display: flex; gap: 0.7rem; align-items: center; margin-bottom: 0.8rem; }
.footer-brand img { height: 44px; width: 44px; border-radius: 50%; }
.footer-brand strong { font-family: var(--font-display); }
.footer-col h4 { color: var(--cream-soft); font-size: 0.95rem; margin-bottom: 0.8rem; }
.footer-col a, .footer-col p { display: block; color: rgba(250,247,238,0.7); font-size: 0.92rem; margin-bottom: 0.5rem; }
.footer-col a:hover { color: var(--sun); }
.footer-social { display: flex; gap: 0.6rem; margin-top: 0.8rem; }
.footer-social a {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(250,247,238,0.1);
  color: rgba(250,247,238,0.7);
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
}
.footer-social a:hover { background: var(--olive); color: var(--cream-soft); }

.footer-bottom {
  border-top: 1px solid rgba(250,247,238,0.15);
  padding-top: var(--space-md);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem;
  font-size: 0.82rem;
  color: rgba(250,247,238,0.55);
}

/* ============ FLOATING EMERGENCY CTA ============ */
.emergency-float {
  position: fixed;
  bottom: 22px; right: 22px;
  z-index: 200;
  display: flex; align-items: center; gap: 0.6rem;
  background: var(--urgent);
  color: #fff;
  padding: 0.9rem 1.3rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 30px rgba(178,65,43,0.45);
  font-family: var(--font-display); font-weight: 600; font-size: 0.92rem;
  animation: float-pulse 2.6s ease-in-out infinite;
}
.emergency-float svg { width: 22px; height: 22px; }
@keyframes float-pulse { 0%, 100% { box-shadow: 0 10px 30px rgba(178,65,43,0.45); } 50% { box-shadow: 0 10px 36px rgba(178,65,43,0.7); } }

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .how-steps { grid-template-columns: repeat(2, 1fr); gap: var(--space-lg) var(--space-md); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .reviews-grid { grid-template-columns: 1fr; }
  .about .container, .area .container, .hero .container { grid-template-columns: 1fr; }
  .hero .container { text-align: center; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .hero-ctas, .hero-trust { justify-content: center; }
  .hero-art { height: 360px; margin-top: var(--space-md); }
  .about-photo { max-width: 420px; margin: 0 auto; }
  .quote-box { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 920px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .phone-link span { display: none; }
  .brand-motto { display: none; }
  .header-actions { gap: 0.6rem; }
  .header-actions .btn-sm { padding: 0.65rem 1.1rem; font-size: 0.88rem; }
}
@media (max-width: 720px) {
  .services-grid { grid-template-columns: 1fr; }
  .how-steps { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .gallery-item.wide { grid-column: span 2; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-md); }
  .emergency-float span.label { display: none; }
}

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

/* ============ Mobile nav drawer ============ */
.nav-drawer {
  position: fixed; top: 78px; left: 0; right: 0; bottom: 0;
  background: var(--cream-soft);
  z-index: 99;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease-out);
  padding: var(--space-lg) var(--space-md);
}
.nav-drawer.is-open { transform: translateX(0); }
.nav-drawer ul { display: flex; flex-direction: column; gap: var(--space-md); font-family: var(--font-display); font-size: 1.3rem; }
.nav-drawer .btn { margin-top: var(--space-md); width: 100%; }
