/* ============================================================
   PONÁSCISTO — Design System & Stylesheet
   Static site, mobile-first, no framework dependencies.
   Color palette: forest green / lime / cream / beige / coral accent
   Fonts: DM Serif Display (headings) + Outfit (body/UI)
   ============================================================ */

/* ============================================================
   1. CUSTOM PROPERTIES (DESIGN TOKENS)
   ============================================================ */
:root {
  /* --- Core palette --- */
  --green-900: #1a3a08;
  --green-800: #2b5c12;
  --green-700: #3d7a23;   /* primary brand green */
  --green-600: #4e9430;
  --green-500: #62a83f;
  --green-400: #7dc142;   /* lime accent */
  --green-300: #a0d468;
  --green-100: #dff0c8;
  --green-50:  #f0f9e4;

  --cream:     #f7f3ec;
  --beige-200: #ede8dc;
  --beige-100: #f5f1ea;

  --brown-800: #4a3020;
  --brown-600: #6b4c35;
  --brown-400: #9b7350;

  --coral:     #e05a3a;   /* warm CTA accent */
  --coral-dark:#c44926;
  --golden:    #c9921a;   /* golden highlight */

  --charcoal:  #1e1e1e;
  --gray-800:  #2c2c2c;
  --gray-700:  #3d3d3d;
  --gray-600:  #555;
  --gray-400:  #888;
  --gray-200:  #d4d4d4;
  --gray-100:  #f0f0f0;
  --white:     #ffffff;

  /* --- Semantic color assignments --- */
  --color-brand:       var(--green-700);
  --color-brand-light: var(--green-400);
  --color-accent:      var(--coral);
  --color-accent-dark: var(--coral-dark);
  --color-text:        var(--gray-800);
  --color-text-muted:  var(--gray-600);
  --color-bg:          var(--white);
  --color-bg-alt:      var(--cream);
  --color-bg-dark:     var(--green-900);
  --color-border:      var(--beige-200);

  /* --- Typography --- */
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body:    'Outfit', system-ui, -apple-system, sans-serif;

  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-5xl:  3rem;
  --text-6xl:  3.75rem;

  --weight-light:  300;
  --weight-normal: 400;
  --weight-medium: 500;
  --weight-semi:   600;
  --weight-bold:   700;
  --weight-extra:  800;

  --leading-tight:  1.2;
  --leading-snug:   1.35;
  --leading-normal: 1.6;
  --leading-loose:  1.8;

  /* --- Spacing --- */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* --- Layout --- */
  --container-max: 1200px;
  --container-pad: var(--space-6);

  /* --- Borders & radius --- */
  --radius-sm:   0.375rem;
  --radius-md:   0.75rem;
  --radius-lg:   1.25rem;
  --radius-xl:   2rem;
  --radius-full: 9999px;

  /* --- Shadows --- */
  --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md:  0 4px 16px rgba(0,0,0,.10), 0 2px 6px rgba(0,0,0,.07);
  --shadow-lg:  0 10px 40px rgba(0,0,0,.13), 0 4px 12px rgba(0,0,0,.08);
  --shadow-xl:  0 20px 60px rgba(0,0,0,.16), 0 8px 20px rgba(0,0,0,.10);
  --shadow-green: 0 8px 32px rgba(61,122,35,.25);

  /* --- Transitions --- */
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:    cubic-bezier(0.4, 0, 1, 1);
  --ease-inout: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast:   150ms;
  --dur-base:   250ms;
  --dur-slow:   400ms;
  --dur-reveal: 600ms;

  /* --- Z-index scale --- */
  --z-below:   -1;
  --z-base:     0;
  --z-above:    10;
  --z-sticky:   100;
  --z-header:   200;
  --z-modal:    400;
  --z-toast:    500;
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* account for sticky header */
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--weight-normal);
  line-height: var(--leading-normal);
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden;
  /* Extra padding at bottom on mobile for sticky CTA bar */
  padding-bottom: 72px;
}

@media (min-width: 768px) {
  body { padding-bottom: 0; }
}

img, video, svg {
  display: block;
  max-width: 100%;
}

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

ul, ol { list-style: none; }

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

address { font-style: normal; }

/* Enforce the HTML hidden attribute against any display override from component CSS */
[hidden] { display: none !important; }

/* Visually hidden (accessible) */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}

/* Focus ring */
:focus-visible {
  outline: 3px solid var(--green-400);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ============================================================
   3. TYPOGRAPHY HELPERS
   ============================================================ */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: var(--weight-semi);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-brand);
  margin-bottom: var(--space-3);
}

.section-label--light { color: var(--green-300); }

.section-label::before {
  content: '';
  display: block;
  width: 24px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  flex-shrink: 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  font-weight: var(--weight-normal); /* DM Serif Display has natural weight */
  line-height: var(--leading-tight);
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

.section-title--light { color: var(--white); }

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  line-height: var(--leading-loose);
  max-width: 56ch;
}

.section-subtitle--light { color: rgba(255,255,255,0.78); }

/* ============================================================
   4. BUTTON SYSTEM
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--weight-semi);
  line-height: 1;
  border-radius: var(--radius-full);
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition:
    transform var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out),
    background-color var(--dur-base) var(--ease-out),
    border-color var(--dur-base) var(--ease-out),
    color var(--dur-base) var(--ease-out);
  white-space: nowrap;
}

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

.btn--primary {
  background: var(--color-brand);
  color: var(--white);
  box-shadow: var(--shadow-green);
}
.btn--primary:hover, .btn--primary:focus-visible {
  background: var(--green-800);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(61,122,35,.35);
}
.btn--primary:active { transform: translateY(0); }

.btn--outline {
  background: transparent;
  color: var(--color-brand);
  border-color: var(--color-brand);
}
.btn--outline:hover, .btn--outline:focus-visible {
  background: var(--color-brand);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-green);
}

.btn--hero-primary {
  background: var(--coral);
  color: var(--white);
  font-size: var(--text-lg);
  padding: var(--space-4) var(--space-8);
  box-shadow: 0 8px 32px rgba(224,90,58,.35);
}
.btn--hero-primary:hover, .btn--hero-primary:focus-visible {
  background: var(--coral-dark);
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(224,90,58,.45);
}

.btn--hero-secondary {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
  font-size: var(--text-lg);
  padding: var(--space-4) var(--space-8);
  backdrop-filter: blur(4px);
}
.btn--hero-secondary:hover, .btn--hero-secondary:focus-visible {
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.8);
  transform: translateY(-3px);
}

.btn--process {
  background: var(--white);
  color: var(--green-800);
  font-size: var(--text-lg);
  padding: var(--space-4) var(--space-8);
  box-shadow: var(--shadow-md);
}
.btn--process:hover, .btn--process:focus-visible {
  background: var(--cream);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn--large {
  font-size: var(--text-lg);
  padding: var(--space-4) var(--space-8);
}

.btn--full { width: 100%; }

.btn--submit {
  background: var(--coral);
  color: var(--white);
  box-shadow: 0 6px 24px rgba(224,90,58,.30);
}
.btn--submit:hover, .btn--submit:focus-visible {
  background: var(--coral-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(224,90,58,.40);
}
.btn--submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Loading state — spin icon visible, send icon hidden */
.btn.is-loading { cursor: wait; }
.btn .btn-icon-spin { display: none; animation: spinCW 0.8s linear infinite; }
.btn .btn-icon-send { display: inline-block; }
.btn.is-loading .btn-icon-spin { display: inline-block; }
.btn.is-loading .btn-icon-send { display: none; }

@keyframes spinCW {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .btn .btn-icon-spin { animation: none; }
}

/* Form-level error banner */
.form-error-banner {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  background: #fff5f5;
  border: 1.5px solid #fca5a5;
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-5);
  margin-bottom: var(--space-5);
  font-size: var(--text-sm);
  color: #7f1d1d;
  line-height: var(--leading-loose);
}

.form-error-banner svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: #ef4444;
  margin-top: 1px;
}

.form-error-banner a {
  color: #b91c1c;
  font-weight: var(--weight-semi);
  text-decoration: underline;
}

/* Contact form success state reuses quote card success styles */
.contact-form__success {
  text-align: center;
  padding: var(--space-10) var(--space-6);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}

.contact-form__success h3 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--color-brand);
}

.contact-form__success p {
  color: var(--color-text-muted);
  max-width: 40ch;
}

@media (prefers-reduced-motion: reduce) {
  .btn { transition: background-color var(--dur-fast), color var(--dur-fast); }
  .btn:hover, .btn:focus-visible { transform: none !important; }
}

/* ============================================================
   5. LAYOUT CONTAINER
   ============================================================ */
.topbar__inner,
.header__inner,
.hero__inner,
.quote-section__inner,
.services__inner,
.process__inner,
.gallery__inner,
.trust__inner,
.pricing__inner,
.biz__inner,
.area__inner,
.faq__inner,
.final-cta__inner,
.contact__inner,
.footer__inner {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

/* ============================================================
   6. SCROLL REVEAL ANIMATIONS
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .reveal-up {
    opacity: 0;
    transform: translateY(32px);
    transition:
      opacity var(--dur-reveal) var(--ease-out),
      transform var(--dur-reveal) var(--ease-out);
  }
  .reveal-up.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
  /* Stagger children of grids */
  .services__grid .reveal-up:nth-child(1) { transition-delay: 0ms; }
  .services__grid .reveal-up:nth-child(2) { transition-delay: 80ms; }
  .services__grid .reveal-up:nth-child(3) { transition-delay: 160ms; }
  .services__grid .reveal-up:nth-child(4) { transition-delay: 240ms; }
  .services__grid .reveal-up:nth-child(5) { transition-delay: 320ms; }
  .services__grid .reveal-up:nth-child(6) { transition-delay: 400ms; }

  .trust__grid .reveal-up:nth-child(1) { transition-delay: 0ms; }
  .trust__grid .reveal-up:nth-child(2) { transition-delay: 80ms; }
  .trust__grid .reveal-up:nth-child(3) { transition-delay: 160ms; }
  .trust__grid .reveal-up:nth-child(4) { transition-delay: 240ms; }

  .gallery__grid .reveal-up:nth-child(1) { transition-delay: 0ms; }
  .gallery__grid .reveal-up:nth-child(2) { transition-delay: 80ms; }
  .gallery__grid .reveal-up:nth-child(3) { transition-delay: 160ms; }
  .gallery__grid .reveal-up:nth-child(4) { transition-delay: 240ms; }
  .gallery__grid .reveal-up:nth-child(5) { transition-delay: 320ms; }
  .gallery__grid .reveal-up:nth-child(6) { transition-delay: 400ms; }

  .process__steps .reveal-up:nth-child(1) { transition-delay: 0ms; }
  .process__steps .reveal-up:nth-child(2) { transition-delay: 120ms; }
  .process__steps .reveal-up:nth-child(3) { transition-delay: 240ms; }
}

/* ============================================================
   7. TOP BAR
   ============================================================ */
.topbar {
  background: var(--green-900);
  color: rgba(255,255,255,0.82);
  font-size: var(--text-sm);
  padding-block: var(--space-2);
}

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

.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  white-space: nowrap;
}

.topbar__phone,
.topbar__email {
  transition: color var(--dur-fast);
}
.topbar__phone:hover,
.topbar__email:hover {
  color: var(--green-300);
}

.topbar__icon {
  width: 14px; height: 14px;
  flex-shrink: 0;
  opacity: 0.7;
}

.topbar__divider {
  opacity: 0.35;
}

/* Hide region + response on very small screens */
@media (max-width: 600px) {
  .topbar__region,
  .topbar__response,
  .topbar__divider { display: none; }
  .topbar__inner { justify-content: center; }
}

/* ============================================================
   8. HEADER
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition:
    background-color var(--dur-base),
    box-shadow var(--dur-base);
}

.header.is-scrolled {
  background: rgba(255,255,255,0.98);
  box-shadow: var(--shadow-md);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  height: 68px;
}

/* Logo */
.header__logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
  flex-shrink: 0;
}

.header__logo-icon {
  width: 36px; height: 36px;
  flex-shrink: 0;
}
.header__logo-icon svg { width: 100%; height: 100%; }

.header__logo-text {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-brand);
  letter-spacing: -0.01em;
}

/* Nav */
.header__nav {
  margin-left: auto;
}

.header__nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.header__nav-link {
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--gray-700);
  border-radius: var(--radius-md);
  transition: color var(--dur-fast), background-color var(--dur-fast);
  white-space: nowrap;
}

.header__nav-link:hover,
.header__nav-link.is-active {
  color: var(--color-brand);
  background: var(--green-50);
}

/* Header CTA */
.header__cta {
  flex-shrink: 0;
  margin-left: var(--space-2);
  font-size: var(--text-sm);
  padding: var(--space-2) var(--space-5);
}

/* Burger */
.header__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 36px; height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  padding: var(--space-2);
  margin-left: auto;
  transition: background-color var(--dur-fast);
}

.header__burger:hover { background: var(--gray-100); }

.header__burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: transform var(--dur-base) var(--ease-out), opacity var(--dur-base);
}

.header__burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.header__burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.header__burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav */
@media (max-width: 900px) {
  .header__burger { display: flex; }
  .header__cta { display: none; }

  .header__nav {
    position: fixed;
    inset: 68px 0 0 0;
    background: var(--white);
    border-top: 1px solid var(--color-border);
    overflow-y: auto;
    padding: var(--space-6);
    transform: translateX(100%);
    transition: transform var(--dur-slow) var(--ease-out);
    z-index: var(--z-header);
  }

  .header__nav.is-open {
    transform: translateX(0);
  }

  .header__nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-1);
  }

  .header__nav-link {
    display: block;
    padding: var(--space-4);
    font-size: var(--text-lg);
  }
}

/* ============================================================
   9. HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: var(--z-below);
}

.hero__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(10, 28, 5, 0.72) 0%,
    rgba(10, 28, 5, 0.40) 60%,
    rgba(10, 28, 5, 0.20) 100%
  );
}

.hero__inner {
  position: relative;
  z-index: var(--z-above);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-block: var(--space-24);
}

.hero__content {
  max-width: 680px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(125,193,66,0.18);
  border: 1px solid rgba(125,193,66,0.35);
  color: var(--green-300);
  font-size: var(--text-sm);
  font-weight: var(--weight-semi);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-5);
}

.hero__badge svg { width: 14px; height: 14px; }

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, var(--text-6xl));
  font-weight: var(--weight-normal);
  line-height: var(--leading-tight);
  color: var(--white);
  margin-bottom: var(--space-4);
}

.hero__title-accent {
  color: var(--green-300);
}

.hero__highlight {
  font-size: var(--text-xl);
  font-style: italic;
  font-weight: var(--weight-light);
  color: rgba(255,255,255,0.85);
  border-left: 3px solid var(--green-400);
  padding-left: var(--space-4);
  margin-bottom: var(--space-5);
}

.hero__subtitle {
  font-size: var(--text-lg);
  line-height: var(--leading-loose);
  color: rgba(255,255,255,0.78);
  margin-bottom: var(--space-8);
  max-width: 56ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.hero__chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.88);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
}

.hero__chip svg { width: 14px; height: 14px; color: var(--green-300); }

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255,255,255,0.35);
  border-radius: var(--radius-full);
  color: rgba(255,255,255,0.7);
  transition: border-color var(--dur-base), color var(--dur-base);
  animation: bounce 2s infinite;
}

.hero__scroll:hover {
  border-color: var(--green-300);
  color: var(--green-300);
}

.hero__scroll svg { width: 20px; height: 20px; }

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

@media (prefers-reduced-motion: reduce) {
  .hero__scroll { animation: none; }
}

@media (max-width: 640px) {
  .hero { min-height: 85vh; }
  .hero__inner { padding-block: var(--space-16) var(--space-12); }
  .hero__title { font-size: 2rem; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .hero__scroll { display: none; }
}

/* ============================================================
   10. QUOTE SECTION
   ============================================================ */
.quote-section {
  background: var(--color-bg-alt);
  padding-block: var(--space-20);
}

.quote-section__header {
  text-align: center;
  margin-bottom: var(--space-10);
}

.quote-section__header .section-label {
  justify-content: center;
}

.quote-section__header .section-subtitle {
  margin-inline: auto;
}

/* Quote card */
.quote-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  padding: var(--space-10) var(--space-12);
  max-width: 860px;
  margin-inline: auto;
  border: 1px solid var(--color-border);
}

@media (max-width: 640px) {
  .quote-card {
    padding: var(--space-6);
  }
}

/* Success state */
.quote-card__success {
  text-align: center;
  padding: var(--space-12) var(--space-8);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}

.quote-card__success-icon {
  width: 64px; height: 64px;
  background: var(--green-50);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-brand);
}

.quote-card__success-icon svg { width: 32px; height: 32px; }

.quote-card__success h3 {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  color: var(--color-brand);
}

.quote-card__success p {
  color: var(--color-text-muted);
  max-width: 40ch;
}

/* Form layout */
.quote-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5) var(--space-6);
  margin-bottom: var(--space-5);
}

@media (max-width: 640px) {
  .quote-form__grid { grid-template-columns: 1fr; }
}

.form-field { display: flex; flex-direction: column; gap: var(--space-2); }
.form-field--full { grid-column: 1 / -1; }

.form-label {
  font-size: var(--text-sm);
  font-weight: var(--weight-semi);
  color: var(--gray-700);
}

.form-required { color: var(--coral); margin-left: 2px; }
.form-optional { color: var(--gray-400); font-weight: var(--weight-normal); font-size: var(--text-xs); }

.form-input {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
  appearance: none;
}

.form-input:focus {
  outline: none;
  border-color: var(--color-brand);
  box-shadow: 0 0 0 3px rgba(61,122,35,.12);
}

.form-input.is-error { border-color: var(--coral); }

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23555'%3E%3Cpath fill-rule='evenodd' d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-3) center;
  background-size: 18px;
  padding-right: var(--space-10);
  cursor: pointer;
}

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

/* File upload */
.form-upload {
  position: relative;
  border: 2px dashed var(--gray-200);
  border-radius: var(--radius-md);
  padding: var(--space-6) var(--space-4);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  cursor: pointer;
  transition: border-color var(--dur-fast), background-color var(--dur-fast);
  text-align: center;
  color: var(--gray-400);
}

.form-upload:hover,
.form-upload:focus-within {
  border-color: var(--color-brand);
  background: var(--green-50);
  color: var(--color-brand);
}

.form-upload__input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%; height: 100%;
}

.form-upload svg { width: 28px; height: 28px; }
.form-upload__label { font-size: var(--text-sm); font-weight: var(--weight-semi); }
.form-upload__hint { font-size: var(--text-xs); }

.form-upload__filename {
  font-size: var(--text-sm);
  color: var(--color-brand);
  font-weight: var(--weight-medium);
  min-height: 20px;
}

/* Checkbox / GDPR */
.form-gdpr { margin-bottom: var(--space-5); }

.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--gray-600);
  cursor: pointer;
  line-height: var(--leading-normal);
}

.form-checkbox { position: absolute; opacity: 0; width: 0; height: 0; }

.form-checkbox-custom {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px; height: 20px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  margin-top: 1px;
  transition: border-color var(--dur-fast), background-color var(--dur-fast);
}

.form-checkbox:checked + .form-checkbox-custom {
  background: var(--color-brand);
  border-color: var(--color-brand);
}

.form-checkbox:checked + .form-checkbox-custom::after {
  content: '';
  display: block;
  width: 5px; height: 9px;
  border: 2px solid var(--white);
  border-top: none;
  border-left: none;
  transform: rotate(45deg) translateY(-1px);
}

.form-checkbox:focus-visible + .form-checkbox-custom {
  outline: 3px solid var(--green-400);
  outline-offset: 2px;
}

.form-checkbox.is-error + .form-checkbox-custom {
  border-color: var(--coral);
}

/* Errors */
.form-error {
  font-size: var(--text-xs);
  color: var(--coral);
  font-weight: var(--weight-medium);
  min-height: 16px;
  display: block;
}

/* Form actions */
.form-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}

.btn--submit { width: 100%; max-width: 480px; }

.form-alternatives {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--gray-400);
}

.form-alt-link {
  color: var(--color-brand);
  font-weight: var(--weight-medium);
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: text-decoration-color var(--dur-fast);
}
.form-alt-link:hover { text-decoration-color: var(--color-brand); }

/* ============================================================
   11. SERVICES
   ============================================================ */
.services {
  padding-block: var(--space-24);
  background: var(--white);
}

.services__header {
  margin-bottom: var(--space-12);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-6);
  margin-bottom: var(--space-10);
}

/* Service card */
.service-card {
  background: var(--white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out),
    border-color var(--dur-base);
  display: flex;
  flex-direction: column;
}

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

.service-card__media {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.service-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform var(--dur-slow) var(--ease-out);
}

.service-card:hover .service-card__img {
  transform: scale(1.06);
}

.service-card__icon {
  position: absolute;
  bottom: var(--space-4);
  right: var(--space-4);
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.15);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  backdrop-filter: blur(4px);
  transition: background-color var(--dur-base);
}

.service-card:hover .service-card__icon {
  background: rgba(255,255,255,0.25);
}

.service-card__icon svg { width: 22px; height: 22px; }

.service-card__body {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: var(--space-3);
}

.service-card__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-text);
  line-height: var(--leading-snug);
}

.service-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-loose);
  flex: 1;
}

.service-card__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: var(--weight-semi);
  color: var(--color-brand);
  margin-top: auto;
  transition: gap var(--dur-fast);
}

.service-card__cta::after {
  content: '→';
  transition: transform var(--dur-fast) var(--ease-out);
}

.service-card:hover .service-card__cta::after {
  transform: translateX(4px);
}

.services__cta {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}

.services__cta p {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
}

@media (prefers-reduced-motion: reduce) {
  .service-card:hover { transform: none; }
  .service-card:hover .service-card__img-placeholder { transform: none; }
}

/* ============================================================
   12. PROCESS
   ============================================================ */
.process {
  background: linear-gradient(160deg, var(--green-900) 0%, var(--green-800) 100%);
  padding-block: var(--space-24);
  position: relative;
  overflow: hidden;
}

/* Decorative organic shapes */
.process::before,
.process::after {
  content: '';
  position: absolute;
  border-radius: var(--radius-full);
  opacity: 0.06;
  background: var(--white);
}

.process::before {
  width: 600px; height: 600px;
  top: -200px; right: -200px;
}

.process::after {
  width: 400px; height: 400px;
  bottom: -150px; left: -150px;
}

.process__header {
  margin-bottom: var(--space-12);
}

.process__steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
}

.process__step {
  flex: 1;
  text-align: center;
  padding: var(--space-8) var(--space-6);
  position: relative;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-xl);
  transition: background-color var(--dur-base), transform var(--dur-base) var(--ease-out);
}

.process__step:hover {
  background: rgba(255,255,255,0.09);
  transform: translateY(-4px);
}

.process__connector {
  width: 60px;
  flex-shrink: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(125,193,66,0.5), rgba(125,193,66,0.2));
  align-self: center;
  margin-top: -40px; /* align with icon vertically */
}

.process__step-number {
  font-size: var(--text-5xl);
  font-weight: var(--weight-extra);
  color: rgba(125,193,66,0.15);
  line-height: 1;
  margin-bottom: var(--space-2);
  font-family: var(--font-display);
}

.process__step-icon {
  width: 64px; height: 64px;
  background: rgba(125,193,66,0.15);
  border: 2px solid rgba(125,193,66,0.3);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  margin-bottom: var(--space-5);
  color: var(--green-300);
}

.process__step-icon svg { width: 28px; height: 28px; }

.process__step-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--white);
  margin-bottom: var(--space-3);
  line-height: var(--leading-snug);
}

.process__step-desc {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.68);
  line-height: var(--leading-loose);
}

.process__cta {
  text-align: center;
  margin-top: var(--space-12);
}

@media (max-width: 768px) {
  .process__steps {
    flex-direction: column;
    gap: var(--space-4);
  }
  .process__connector {
    width: 2px; height: 40px;
    margin: 0 auto;
    background: linear-gradient(180deg, rgba(125,193,66,0.5), rgba(125,193,66,0.2));
  }
  .process__step { padding: var(--space-6); }
}

@media (prefers-reduced-motion: reduce) {
  .process__step:hover { transform: none; }
}

/* ============================================================
   13. GALLERY (BEFORE / AFTER)
   ============================================================ */
.gallery {
  padding-block: var(--space-24);
  background: var(--cream);
}

.gallery__header { margin-bottom: var(--space-8); }

.gallery__filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-10);
}

.gallery__filter {
  padding: var(--space-2) var(--space-5);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--gray-600);
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition:
    color var(--dur-fast),
    background-color var(--dur-fast),
    border-color var(--dur-fast),
    transform var(--dur-fast);
}

.gallery__filter:hover {
  color: var(--color-brand);
  border-color: var(--color-brand);
}

.gallery__filter--active,
.gallery__filter[aria-pressed="true"] {
  background: var(--color-brand);
  color: var(--white);
  border-color: var(--color-brand);
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: var(--space-6);
  margin-bottom: var(--space-10);
}

/* Before/After card */
.ba-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition:
    transform var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base);
}

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

.ba-card.is-hidden {
  display: none;
}

.ba-card__images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 220px;
  position: relative;
}

.ba-card__before,
.ba-card__after {
  position: relative;
  overflow: hidden;
}

/* Divider line between before/after */
.ba-card__images::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--white);
  z-index: 2;
  transform: translateX(-50%);
}

.ba-card__before img,
.ba-card__after img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform var(--dur-slow) var(--ease-out);
}

.ba-card:hover .ba-card__before img,
.ba-card:hover .ba-card__after img {
  transform: scale(1.05);
}

.ba-card__label {
  position: absolute;
  top: var(--space-3);
  z-index: 3;
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
}

.ba-card__label--before {
  left: var(--space-3);
  background: rgba(0,0,0,0.55);
  color: var(--white);
}

.ba-card__label--after {
  right: var(--space-3);
  background: rgba(61,122,35,0.75);
  color: var(--white);
}

.ba-card__caption {
  padding: var(--space-5) var(--space-6);
}

.ba-card__caption h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.ba-card__caption p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-normal);
}

.gallery__cta {
  text-align: center;
}

@media (max-width: 480px) {
  .gallery__grid { grid-template-columns: 1fr; }
  .ba-card__images { height: 180px; }
}

@media (prefers-reduced-motion: reduce) {
  .ba-card:hover { transform: none; }
  .ba-card:hover .ba-card__img-placeholder { transform: none; }
}

/* ============================================================
   14. TRUST SECTION
   ============================================================ */
.trust {
  padding-block: var(--space-24);
  background: var(--white);
}

.trust__header { margin-bottom: var(--space-12); }

.trust__local-claim {
  font-weight: var(--weight-medium);
  font-style: italic;
  color: var(--gray-600);
  margin-top: var(--space-3);
}

.trust__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--space-5);
  margin-bottom: var(--space-12);
}

.trust-card {
  padding: var(--space-6);
  background: var(--cream);
  border-radius: var(--radius-xl);
  border: 1px solid var(--beige-200);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base);
}

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

.trust-card__icon {
  width: 48px; height: 48px;
  background: var(--green-50);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-brand);
  margin-bottom: var(--space-4);
}

.trust-card__icon svg { width: 24px; height: 24px; }

.trust-card__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.trust-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-loose);
}

/* Testimonial */
.trust__testimonial {
  max-width: 680px;
  margin-inline: auto;
}

.testimonial-card {
  background: linear-gradient(135deg, var(--green-50) 0%, var(--cream) 100%);
  border: 1px solid var(--green-100);
  border-radius: var(--radius-xl);
  padding: var(--space-8) var(--space-10);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.testimonial-card__stars {
  display: flex;
  justify-content: center;
  gap: var(--space-1);
  margin-bottom: var(--space-4);
  color: var(--golden);
}

.testimonial-card__stars svg { width: 20px; height: 20px; }

.testimonial-card__quote {
  font-family: var(--font-display);
  font-size: clamp(var(--text-xl), 2.5vw, var(--text-2xl));
  font-style: italic;
  color: var(--color-text);
  line-height: var(--leading-snug);
  margin-bottom: var(--space-4);
}

.testimonial-card__author {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-brand);
  display: block;
}

@media (max-width: 640px) {
  .testimonial-card { padding: var(--space-6); }
}

@media (prefers-reduced-motion: reduce) {
  .trust-card:hover { transform: none; }
}

/* ============================================================
   15. PRICING
   ============================================================ */
.pricing {
  padding-block: var(--space-24);
  background: var(--cream);
}

.pricing__header {
  margin-bottom: var(--space-10);
}

.pricing__factors {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-8) var(--space-10);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--space-10);
  max-width: 820px;
}

@media (max-width: 640px) {
  .pricing__factors { padding: var(--space-6); }
}

.pricing__factors-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-text);
  margin-bottom: var(--space-6);
}

.pricing__factors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--space-3);
}

.pricing-factor {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: var(--cream);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--gray-700);
  border: 1px solid var(--beige-200);
}

.pricing-factor__icon {
  width: 20px; height: 20px;
  flex-shrink: 0;
  color: var(--color-brand);
}

.pricing__cta { display: flex; }

/* ============================================================
   16. B2B / PRO FIRMY
   ============================================================ */
.biz {
  padding-block: var(--space-24);
  background: var(--white);
}

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

@media (max-width: 900px) {
  .biz__content {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }
}

.biz__text { display: flex; flex-direction: column; gap: var(--space-5); }

.biz__desc {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  line-height: var(--leading-loose);
}

.biz__benefits {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.biz__benefit {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-base);
  color: var(--gray-700);
}

.biz__benefit svg {
  width: 18px; height: 18px;
  flex-shrink: 0;
  color: var(--color-brand);
  background: var(--green-50);
  border-radius: var(--radius-full);
  padding: 2px;
}

.biz__visual {
  position: relative;
}

.biz__img {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius-xl);
  object-fit: cover;
  object-position: center;
  box-shadow: var(--shadow-xl);
  display: block;
}

.biz__badge-float {
  position: absolute;
  bottom: -var(--space-4);
  left: var(--space-6);
  bottom: -16px;
  background: var(--white);
  border-radius: var(--radius-full);
  padding: var(--space-3) var(--space-5);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: var(--weight-semi);
  color: var(--color-brand);
  border: 1px solid var(--green-100);
}

.biz__badge-float svg {
  width: 16px; height: 16px;
}

/* ============================================================
   17. SERVICE AREA
   ============================================================ */
.area {
  padding-block: var(--space-20);
  background: var(--cream);
}

.area__header { margin-bottom: var(--space-8); }

.area__chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-10);
}

.area-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  transition: transform var(--dur-fast) var(--ease-out);
}

.area-chip:hover { transform: translateY(-2px); }

.area-chip svg { width: 14px; height: 14px; }

.area-chip--primary {
  background: var(--color-brand);
  color: var(--white);
}

.area-chip--secondary {
  background: var(--white);
  color: var(--gray-700);
  border: 1.5px solid var(--gray-200);
}

.area-chip--region {
  background: linear-gradient(90deg, var(--green-800), var(--green-600));
  color: var(--white);
  font-weight: var(--weight-bold);
}

/* Map visual */
.area__map-visual { max-width: 700px; }

.area__map-card {
  position: relative;
  height: 300px;
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}

.area__map-bg {
  width: 100%; height: 100%;
  background:
    radial-gradient(circle at 45% 55%, rgba(77,148,48,0.15) 0%, transparent 50%),
    linear-gradient(160deg, #e8f0e0 0%, #f0ead8 100%);
}

.area__map-pin {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-xs);
  font-weight: var(--weight-semi);
  color: var(--color-brand);
  animation: pinBounce 3s ease-in-out infinite;
}

.area__map-pin svg {
  width: 28px; height: 28px;
  filter: drop-shadow(0 2px 4px rgba(61,122,35,.4));
}

.area__map-pin span {
  background: var(--white);
  padding: 2px var(--space-2);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

.area__map-pin--1 { top: 48%; left: 42%; animation-delay: 0ms; }
.area__map-pin--2 { top: 30%; left: 58%; animation-delay: 400ms; }
.area__map-pin--3 { top: 20%; left: 72%; animation-delay: 800ms; }

@keyframes pinBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@media (prefers-reduced-motion: reduce) {
  .area__map-pin { animation: none; }
  .area-chip:hover { transform: none; }
}

/* ============================================================
   18. FAQ
   ============================================================ */
.faq {
  padding-block: var(--space-24);
  background: var(--white);
}

.faq__header { margin-bottom: var(--space-10); }

.faq__list {
  max-width: 780px;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}

.faq-item:has(.faq-item__trigger[aria-expanded="true"]) {
  border-color: var(--green-100);
  box-shadow: var(--shadow-sm);
}

.faq-item__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  font-size: var(--text-base);
  font-weight: var(--weight-semi);
  color: var(--color-text);
  text-align: left;
  background: none;
  cursor: pointer;
  border: none;
  transition: background-color var(--dur-fast), color var(--dur-fast);
}

.faq-item__trigger:hover {
  background: var(--green-50);
  color: var(--color-brand);
}

.faq-item__trigger[aria-expanded="true"] {
  background: var(--green-50);
  color: var(--color-brand);
}

.faq-item__icon {
  width: 20px; height: 20px;
  flex-shrink: 0;
  transition: transform var(--dur-base) var(--ease-out);
}

.faq-item__trigger[aria-expanded="true"] .faq-item__icon {
  transform: rotate(180deg);
}

.faq-item__panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height var(--dur-slow) var(--ease-inout);
}

.faq-item__panel:not([hidden]) {
  /* JS will set this inline */
}

.faq-item__panel p {
  padding: 0 var(--space-6) var(--space-5);
  font-size: var(--text-base);
  color: var(--gray-600);
  line-height: var(--leading-loose);
}

@media (prefers-reduced-motion: reduce) {
  .faq-item__panel { transition: none; }
  .faq-item__icon { transition: none; }
}

/* ============================================================
   19. FINAL CTA
   ============================================================ */
.final-cta {
  position: relative;
  padding-block: var(--space-32);
  overflow: hidden;
}

.final-cta__bg {
  position: absolute;
  inset: 0;
  z-index: var(--z-below);
}

.final-cta__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.final-cta__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 28, 5, 0.60);
}

.final-cta__inner {
  position: relative;
  z-index: var(--z-above);
  text-align: center;
}

.final-cta__title {
  font-family: var(--font-display);
  font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl));
  color: var(--white);
  line-height: var(--leading-tight);
  margin-bottom: var(--space-5);
}

.final-cta__subtitle {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.78);
  margin-bottom: var(--space-8);
  max-width: 52ch;
  margin-inline: auto;
  line-height: var(--leading-loose);
}

.final-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-4);
}

@media (max-width: 480px) {
  .final-cta { padding-block: var(--space-20); }
  .final-cta__actions { flex-direction: column; align-items: center; }
  .final-cta__actions .btn { width: 100%; max-width: 320px; }
}

/* ============================================================
   20. CONTACT
   ============================================================ */
.contact {
  padding-block: var(--space-24);
  background: var(--cream);
}

.contact__header { margin-bottom: var(--space-10); }

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

@media (max-width: 768px) {
  .contact__grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
}

/* Contact info */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  transition: background-color var(--dur-fast);
}

a.contact-info__item:hover {
  background: var(--beige-200);
}

.contact-info__icon {
  width: 44px; height: 44px;
  background: var(--green-50);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-brand);
  flex-shrink: 0;
}

.contact-info__icon svg { width: 22px; height: 22px; }

.contact-info__label {
  display: block;
  font-size: var(--text-xs);
  font-weight: var(--weight-semi);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-400);
  margin-bottom: var(--space-1);
}

.contact-info__value {
  font-size: var(--text-base);
  font-weight: var(--weight-medium);
  color: var(--color-text);
  line-height: var(--leading-normal);
}

a.contact-info__item .contact-info__value {
  color: var(--color-brand);
}

.contact-info__response {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  background: var(--green-50);
  border: 1px solid var(--green-100);
  border-radius: var(--radius-lg);
  font-size: var(--text-sm);
  color: var(--green-800);
}

.contact-info__response svg {
  width: 18px; height: 18px;
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--color-brand);
}

/* Contact form */
.contact-form {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.contact-form__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

@media (max-width: 480px) {
  .contact-form { padding: var(--space-6); }
}

/* ============================================================
   21. FOOTER
   ============================================================ */
.footer {
  background: var(--green-900);
  color: rgba(255,255,255,0.72);
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr 1fr;
  gap: var(--space-8);
  padding-block: var(--space-16);
  align-items: start;
}

@media (max-width: 900px) {
  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }
}

@media (max-width: 540px) {
  .footer__inner {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  color: var(--white);
}

.footer__logo-icon {
  width: 40px; height: 40px;
  flex-shrink: 0;
}

.footer__logo span:last-child {
  font-family: var(--font-display);
  font-size: var(--text-xl);
}

.footer__tagline {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.50);
  font-style: italic;
  line-height: var(--leading-loose);
}

.footer__nav-title {
  font-size: var(--text-xs);
  font-weight: var(--weight-semi);
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: var(--space-4);
}

.footer__nav ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer__nav a {
  font-size: var(--text-sm);
  transition: color var(--dur-fast);
}

.footer__nav a:hover { color: var(--green-300); }

.footer__contact address {
  font-size: var(--text-sm);
  line-height: var(--leading-loose);
}

.footer__contact a {
  transition: color var(--dur-fast);
}

.footer__contact a:hover { color: var(--green-300); }

.footer__area {
  font-size: var(--text-sm);
  line-height: var(--leading-loose);
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.10);
  padding: var(--space-5) var(--space-6);
  max-width: var(--container-max);
  margin-inline: auto;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.35);
}

.footer__cookie-link {
  background: none;
  border: none;
  color: rgba(255,255,255,0.45);
  font-size: var(--text-xs);
  font-family: var(--font-body);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
  padding: 0;
  transition: color var(--dur-fast);
}
.footer__cookie-link:hover { color: var(--green-300); }

.quote-card__success-note {
  font-size: var(--text-sm);
  color: var(--gray-600);
  background: var(--beige-100);
  border: 1px solid var(--beige-200);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  max-width: 44ch;
  text-align: left;
}

.quote-card__success-alts {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  justify-content: center;
}

/* ============================================================
   22. MOBILE STICKY CTA BAR
   ============================================================ */
.mobile-cta {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  z-index: var(--z-sticky);
  display: flex;
  border-top: 1px solid rgba(0,0,0,0.12);
  box-shadow: 0 -4px 24px rgba(0,0,0,0.15);
}

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

.mobile-cta__btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: var(--space-3) var(--space-2);
  font-size: 11px;
  font-weight: var(--weight-semi);
  line-height: 1;
  text-align: center;
  transition: filter var(--dur-fast);
}

.mobile-cta__btn:active { filter: brightness(0.9); }

.mobile-cta__btn svg {
  width: 22px; height: 22px;
}

.mobile-cta__btn--call {
  background: var(--white);
  color: var(--gray-700);
  border-right: 1px solid var(--gray-200);
}

.mobile-cta__btn--quote {
  background: var(--coral);
  color: var(--white);
  flex: 1.5; /* slightly wider as primary action */
}

.mobile-cta__btn--whatsapp {
  background: #25D366;
  color: var(--white);
  border-left: 1px solid rgba(0,0,0,0.08);
}

/* ============================================================
   23. UTILITY — SECTION LAYOUT
   ============================================================ */
/* Centers the section header text on non-hero sections where it looks best centered */
.services__header,
.gallery__header,
.trust__header,
.pricing__header,
.faq__header,
.contact__header {
  /* left-aligned by default, matches the grid */
}

.quote-section__header,
.process__header,
.area__header {
  max-width: 640px;
  margin-inline: auto;
}

/* Stagger delays for process steps via JS fallback */
@media (prefers-reduced-motion: no-preference) {
  .process__steps .process__step:nth-child(1) { transition-delay: 0ms; }
  .process__steps .process__step:nth-child(3) { transition-delay: 150ms; }
  .process__steps .process__step:nth-child(5) { transition-delay: 300ms; }
}

/* ============================================================
   24. COOKIE BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: calc(var(--z-sticky) + 50); /* above mobile CTA bar */
  background: var(--charcoal);
  color: rgba(255,255,255,0.88);
  padding: var(--space-5) var(--space-6);
  box-shadow: 0 -4px 32px rgba(0,0,0,0.25);
  transform: translateY(100%);
  transition: transform 380ms var(--ease-out);
}

.cookie-banner.is-visible {
  transform: translateY(0);
}

/* On mobile, sit above the sticky CTA bar (72px tall) */
@media (max-width: 767px) {
  .cookie-banner { bottom: 72px; }
}

.cookie-banner__inner {
  max-width: var(--container-max);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.cookie-banner__text {
  flex: 1;
  min-width: 240px;
}

.cookie-banner__text p {
  font-size: var(--text-sm);
  line-height: var(--leading-loose);
  color: rgba(255,255,255,0.80);
}

.cookie-banner__link {
  color: var(--green-300);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--dur-fast);
}
.cookie-banner__link:hover { color: var(--green-400); }

.cookie-banner__actions {
  display: flex;
  gap: var(--space-3);
  flex-shrink: 0;
  flex-wrap: wrap;
}

.cookie-banner__btn {
  padding: var(--space-2) var(--space-5);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-semi);
  border-radius: var(--radius-full);
  cursor: pointer;
  border: 2px solid transparent;
  transition:
    background-color var(--dur-fast),
    color var(--dur-fast),
    border-color var(--dur-fast),
    transform var(--dur-fast) var(--ease-out);
}

.cookie-banner__btn:hover { transform: translateY(-1px); }
.cookie-banner__btn:active { transform: none; }

.cookie-banner__btn--primary {
  background: var(--color-brand);
  color: var(--white);
}
.cookie-banner__btn--primary:hover { background: var(--green-800); }

.cookie-banner__btn--secondary {
  background: transparent;
  color: rgba(255,255,255,0.75);
  border-color: rgba(255,255,255,0.30);
}
.cookie-banner__btn--secondary:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.70);
}

@media (max-width: 480px) {
  .cookie-banner__actions { width: 100%; }
  .cookie-banner__btn { flex: 1; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-banner { transition: none; }
  .cookie-banner__btn:hover { transform: none; }
}

/* ============================================================
   25. PRINT
   ============================================================ */
@media print {
  .topbar, .header, .mobile-cta, .hero__scroll,
  .gallery__filters, .faq-item__trigger, .btn { display: none !important; }
  .hero { min-height: auto; padding-block: var(--space-8); }
  .hero__bg { display: none; }
  body { color: #000; background: #fff; }
}
