/* ==========================================================================
   SitePilot — style.css
   THEME: "Dispatch" — editorial / magazine, sidebar-nav, asymmetric layout.

   HOW TO REBRAND FOR A NEW NICHE (do this and nothing else):
     1. Swap the palette variables in the "Brand palette" block below.
     2. Swap --font-display / --font-body (and the @import above them).
     3. Everything else derives from these tokens and updates automatically.
   ========================================================================== */

/* ── Google Fonts import — swap per niche ────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&family=Inter:opsz,wght@14..32,400;500;600;700&display=swap');

/* ── Design Tokens ───────────────────────────────────────────────────────── */
:root {
  /* Brand palette */
  --clr-primary:          #24211c;   /* warm ink */
  --clr-primary-light:    #4a4438;
  --clr-primary-lighter:  #8a8171;
  --clr-tint:             #f4efe4;   /* warm paper wash */
  --clr-accent:           #b3492b;   /* editorial rust/red */
  --clr-surface:          #faf7f0;   /* paper background */
  --clr-surface-alt:      #f0ead9;

  --clr-dark:         #1a1712;
  --clr-heading:      #201d18;
  --clr-body:         #4b463d;
  --clr-muted:        #837a6a;
  --clr-border:       #e2dac8;
  --clr-white:        #ffffff;

  /* Typography */
  --font-display:     'Fraunces', Georgia, serif;
  --font-body:         'Inter', system-ui, sans-serif;

  --fs-sm:    clamp(0.85rem, 0.82rem + 0.15vw, 0.95rem);
  --fs-base:  clamp(1rem, 0.96rem + 0.2vw, 1.1rem);

  --sp-2xs: 4px;
  --sp-xs:  8px;
  --sp-sm:  16px;
  --sp-md:  32px;
  --sp-lg:  64px;
  --sp-xl:  96px;

  --container-max: 1180px;
  --sidebar-w: 260px;

  --radius-sm: 2px;
  --radius-md: 2px;
  --radius-lg: 2px;
  --radius-pill: 2px;

  --shadow-sm: 0 1px 3px rgba(36,33,28,.08);
  --shadow-md: 0 8px 24px rgba(36,33,28,.10);
  --shadow-lg: 0 30px 70px -25px rgba(36,33,28,.35);

  --ease: cubic-bezier(.4,0,.2,1);
  --dur:  0.22s;
}

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

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

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

body {
  font-family: var(--font-body);
  color: var(--clr-body);
  background-color: var(--clr-surface);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: var(--clr-accent); text-decoration: none; transition: color var(--dur) var(--ease); }
a:hover { color: var(--clr-primary); }
ul { list-style: none; padding: 0; margin: 0; }

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--sp-md);
}

/* ── Typography ──────────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--clr-heading);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -.01em;
}

h1 { font-size: clamp(2.6rem, 6vw, 5.2rem); font-weight: 600; }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; font-family: var(--font-body); }
p  { margin-bottom: var(--sp-sm); }
p:last-child { margin-bottom: 0; }

.section-title {
  color: var(--clr-heading);
  margin-bottom: var(--sp-md);
  max-width: 640px;
}

.section-kicker {
  display: block;
  font-family: var(--font-body);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: 14px;
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--dur) var(--ease);
  white-space: nowrap;
  text-decoration: none;
}

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

.btn-outline {
  background: transparent;
  border-color: currentColor;
  color: var(--clr-primary);
}
.btn-outline:hover { background: var(--clr-primary); border-color: var(--clr-primary); color: #fff; }

.hero-content .btn-outline { border-color: rgba(255,255,255,.6); color: #fff; }
.hero-content .btn-outline:hover { background: #fff; border-color: #fff; color: var(--clr-primary); }

/* ── SITE HEADER — becomes a fixed left SIDEBAR on desktop ──────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--sidebar-w);
  height: 100vh;
  background: var(--clr-primary);
  z-index: 9999;
  border-right: 1px solid rgba(255,255,255,.08);
  overflow-y: auto;
}

.site-header .container.header-flex {
  max-width: none;
  width: 100%;
  height: 100%;
  padding: 44px 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-lg);
}

body { padding-left: var(--sidebar-w); }

.logo a {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: -.01em;
  line-height: 1.2;
}
.logo a::before {
  content: '';
  display: block;
  width: 34px;
  height: 3px;
  background: var(--clr-accent);
  margin-bottom: 18px;
}
.logo a:hover { color: var(--clr-accent); }

.nav-links {
  width: 100%;
  flex: 1;
}

.nav-links ul {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-links a {
  display: block;
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
  position: relative;
  transition: color var(--dur) var(--ease), padding-left var(--dur) var(--ease);
}

.nav-links a::before {
  content: '';
  position: absolute;
  left: -32px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 0;
  background: var(--clr-accent);
  transition: height var(--dur) var(--ease);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: #fff;
  padding-left: 6px;
}
.nav-links a[aria-current="page"]::before { height: 60%; }

.nav-dropdown { position: relative; }
.nav-dropdown-toggle { display: flex; align-items: center; justify-content: space-between; cursor: pointer; }
.nav-dropdown-toggle i { font-size: .6rem; transition: transform var(--dur) var(--ease); }
.nav-dropdown-menu {
  list-style: none;
  padding: 4px 0 4px 14px;
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s var(--ease);
}
.nav-dropdown:hover .nav-dropdown-menu { max-height: 300px; }
.nav-dropdown:hover .nav-dropdown-toggle i { transform: rotate(180deg); }
.nav-dropdown-menu li a { border-bottom: none; padding: 8px 0; font-size: .74rem; color: rgba(255,255,255,.45); }
.nav-dropdown-menu li a::before { display: none; }
.nav-dropdown-menu li a:hover { color: #fff; padding-left: 4px; }

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.3rem;
  color: #fff;
  cursor: pointer;
}

/* ── HERO — diagonal split, oversized serif type ─────────────────────────── */
.section-hero, .hero { padding: 0 !important; position: relative; }

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

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-image: linear-gradient(135deg, var(--clr-primary) 0%, var(--clr-primary-light) 100%);
  z-index: 0;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 88%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(26,23,18,.92) 0%, rgba(26,23,18,.35) 45%, rgba(26,23,18,.55) 100%);
  z-index: 1;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 88%);
}

.hero > .container,
.hero-wrapper > .container {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 160px 48px 130px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-md);
  max-width: 820px;
}

.hero-content h1 {
  color: #fff;
  margin-bottom: var(--sp-sm);
  font-style: italic;
}

.hero-content h1::before {
  content: 'Est. — Trusted locally';
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: 20px;
}

.hero-content p, .hero-text {
  color: rgba(255,255,255,.8);
  font-size: 1.15rem;
  max-width: 560px;
  margin-bottom: var(--sp-md);
  font-family: var(--font-body);
}

.hero-buttons { display: flex; flex-wrap: wrap; gap: var(--sp-sm); }

.hero-image { display: none; } /* image folds into the bg for this layout */

.placeholder-image { display: none; }

/* ── STATS STRIP ─────────────────────────────────────────────────────────── */
.stats-strip { background: var(--clr-dark); padding: var(--sp-md) 0; }
.stats-grid { display: flex; flex-wrap: wrap; gap: var(--sp-lg); }
.stat-item { color: #fff; }
.stat-number { font-family: var(--font-display); font-size: clamp(2.2rem, 3.4vw, 3rem); font-weight: 600; color: var(--clr-accent); font-style: italic; }
.stat-suffix { font-family: var(--font-display); font-size: clamp(1.4rem, 2vw, 1.8rem); font-weight: 600; color: var(--clr-accent); font-style: italic; }
.stat-item p { margin-top: 4px; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.5); }

/* ── SERVICES — alternating horizontal editorial rows ────────────────────── */
.section-services, .services { padding: var(--sp-xl) 0; background: var(--clr-surface); }

.services-description { color: var(--clr-muted); max-width: 620px; margin-bottom: var(--sp-md); font-size: 1.08rem; }

.services-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: var(--sp-md);
  border-top: 1px solid var(--clr-border);
  counter-reset: service-counter;
}

.service-card {
  display: flex;
  align-items: center;
  gap: var(--sp-lg);
  padding: var(--sp-md) 0;
  border-bottom: 1px solid var(--clr-border);
  text-align: left;
  background: none;
  box-shadow: none;
  border-radius: 0;
  transition: padding-left var(--dur) var(--ease);
  counter-increment: service-counter;
  position: relative;
}

.services-grid .service-card:nth-child(even) { flex-direction: row-reverse; text-align: right; }
.services-grid .service-card:nth-child(even) .service-icon { margin-left: auto; }

.service-card::before {
  content: counter(service-counter, decimal-leading-zero);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2.2rem;
  color: var(--clr-border);
  flex-shrink: 0;
  width: 70px;
  transition: color var(--dur) var(--ease);
}
.services-grid .service-card:nth-child(even)::before { order: 3; text-align: right; }

.service-card:hover { padding-left: 12px; }
.service-card:hover::before { color: var(--clr-accent); }

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--clr-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.service-icon i { font-size: 1.4rem; color: var(--clr-accent); }

.service-card h3 { font-size: 1.3rem; margin-bottom: 6px; }
.service-card p { color: var(--clr-muted); font-size: .95rem; margin-bottom: 0; max-width: 480px; }
.services-grid .service-card:nth-child(even) p { margin-left: auto; }

.service-price {
  display: inline-block;
  margin-top: 10px;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--clr-accent);
  font-weight: 600;
  font-size: 1.1rem;
}

/* ── GALLERY — CSS masonry columns ────────────────────────────────────────── */
.section-gallery, .gallery { padding: var(--sp-xl) 0; background: var(--clr-white); }
.gallery-description { color: var(--clr-muted); max-width: 620px; margin-bottom: var(--sp-md); font-size: 1.08rem; }

.gallery-grid {
  column-count: 3;
  column-gap: 18px;
  margin-top: var(--sp-md);
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 18px;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.gallery-item:nth-child(3n+1) img { aspect-ratio: 3/4; object-fit: cover; }
.gallery-item:nth-child(3n+2) img { aspect-ratio: 1/1; object-fit: cover; }
.gallery-item:nth-child(3n+3) img { aspect-ratio: 4/3; object-fit: cover; }

.gallery-item img { width: 100%; display: block; transition: transform .5s var(--ease); }
.gallery-item:hover img { transform: scale(1.04); }

.gallery-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(26,23,18,.85), transparent);
  color: #fff;
  padding: 20px 14px 12px;
  font-size: .82rem;
  font-family: var(--font-display);
  font-style: italic;
  transform: translateY(100%);
  transition: transform .3s var(--ease);
}
.gallery-item:hover .gallery-caption { transform: translateY(0); }

.full-image { width: 100%; border-radius: var(--radius-sm); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-md); align-items: center; }
.split img { border-radius: var(--radius-sm); }

/* ── ABOUT — overlapping image & pull quote ──────────────────────────────── */
.section-about, .about { padding: var(--sp-xl) 0 calc(var(--sp-xl) + 40px); background: var(--clr-tint); position: relative; }

.about-flex {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: var(--sp-lg);
  align-items: center;
  position: relative;
}

.about-image { position: relative; z-index: 1; }
.about-image img { width: 100%; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); }

.about-text {
  position: relative;
  z-index: 2;
  background: var(--clr-white);
  padding: var(--sp-lg);
  margin-left: -90px;
  box-shadow: var(--shadow-md);
}

.about-text h2 { margin-bottom: var(--sp-sm); }
.about-text h2::before {
  content: '“';
  display: block;
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--clr-accent);
  line-height: .6;
  margin-bottom: 8px;
}
.about-text p { font-size: 1.05rem; line-height: 1.8; margin-bottom: var(--sp-md); font-style: italic; color: var(--clr-primary-light); }

.feature-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: var(--sp-md); }
.feature-list li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--clr-heading); font-family: var(--font-body); font-size: .92rem; }
.feature-list li i { color: var(--clr-accent); }

/* ── TESTIMONIALS — single-column giant pull-quotes ──────────────────────── */
.testimonials, .section-testimonials { padding: var(--sp-xl) 0; background: var(--clr-primary); }
.testimonials .section-title, .section-testimonials .section-title { color: #fff; }
.testimonials-description, .section-testimonials .testimonials-description { color: rgba(255,255,255,.6); max-width: 620px; margin-bottom: var(--sp-md); }

.testimonials-swiper { padding-bottom: 50px; }

.testimonial-card {
  background: none;
  border: none;
  box-shadow: none;
  padding: 0 var(--sp-md);
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.testimonial-stars { color: var(--clr-accent); margin-bottom: 20px; font-size: .9rem; letter-spacing: 3px; }

.testimonial-card p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  color: #fff;
  line-height: 1.5;
  margin-bottom: var(--sp-md);
}

.testimonial-author { display: flex; flex-direction: column; align-items: center; gap: 4px; border: none; padding: 0; }
.testimonial-avatar { display: none; }
.testimonial-author strong { color: var(--clr-accent); font-family: var(--font-body); font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; }
.testimonial-author small { color: rgba(255,255,255,.5); }

.testimonials-swiper .swiper-pagination-bullet { background: rgba(255,255,255,.3); }
.testimonials-swiper .swiper-pagination-bullet-active { background: var(--clr-accent); }

/* Section-builder testimonials grid — single centered column too */
.testimonials-grid {
  display: flex;
  flex-direction: column;
  gap: var(--sp-lg);
  max-width: 720px;
  margin: var(--sp-md) auto 0;
}
.testimonials-grid .testimonial-card { display: block; }
.testimonial-image { display: none; }
.testimonial-quote { display: none; }
.testimonial-text { font-family: var(--font-display); font-style: italic; font-size: 1.4rem; color: #fff; text-align: center; }
.testimonial-rating { text-align: center; color: var(--clr-accent) !important; }

/* ── CONTACT — single centered column, underline inputs ──────────────────── */
.section-contact, .contact { padding: var(--sp-xl) 0; background: var(--clr-surface); }

.contact-flex {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--sp-xl);
  margin-top: var(--sp-md);
}

.contact-info { background: none; padding: 0; }
.contact-info p {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: .96rem; color: var(--clr-body);
  margin-bottom: 22px; padding-bottom: 18px;
  border-bottom: 1px solid var(--clr-border);
}
.contact-info i { color: var(--clr-accent); margin-top: 3px; }
.contact-info strong { color: var(--clr-heading); }
.contact-info a { color: var(--clr-accent); }

.contact-form { background: none; padding: 0; box-shadow: none; border: none; }
.contact-form h3 { margin-bottom: var(--sp-md); font-style: italic; }

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 2px;
  border: none;
  border-bottom: 1.5px solid var(--clr-border);
  border-radius: 0;
  background: transparent;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--clr-heading);
  transition: border-color var(--dur) var(--ease);
  outline: none;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  border-color: var(--clr-accent);
  box-shadow: none;
}
.contact-form textarea { min-height: 110px; resize: vertical; }
.contact-form label { display: block; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--clr-muted); margin-bottom: 4px; }
.contact-form button[type="submit"], .contact-form .btn-primary { margin-top: var(--sp-sm); }
.form-note { font-size: .8rem; color: var(--clr-muted); margin-top: 10px; }

#form-message p.success { background: var(--clr-tint); color: var(--clr-primary); padding: 12px 16px; border-left: 3px solid var(--clr-accent); }
#form-message p.error { background: #fbe9e5; color: #8c2e17; padding: 12px 16px; border-left: 3px solid #8c2e17; }

.google-map { margin-top: var(--sp-md); }
.google-map iframe { width: 100%; height: 320px; border: 0; filter: sepia(15%); }

.contact-description { color: var(--clr-muted); max-width: 620px; margin-bottom: var(--sp-md); }

.social-links { display: flex; gap: 12px; margin-top: var(--sp-sm); }
.social-links a { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid var(--clr-border); border-radius: 50%; color: var(--clr-primary); }
.social-links a:hover { background: var(--clr-accent); border-color: var(--clr-accent); color: #fff; }
footer .social-links a { border-color: rgba(255,255,255,.15); color: rgba(255,255,255,.6); }
footer .social-links a:hover { background: var(--clr-accent); border-color: var(--clr-accent); color: #fff; }

/* ── FOOTER — magazine masthead ──────────────────────────────────────────── */
footer { background: var(--clr-dark); color: rgba(255,255,255,.6); padding: var(--sp-lg) 0 0; margin-left: 0; }

.footer-content { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--sp-md); padding-bottom: var(--sp-md); border-top: 1px solid rgba(255,255,255,.1); padding-top: var(--sp-md); }

.footer-col h4 { font-family: var(--font-display); font-style: italic; font-size: 1.1rem; color: #fff; margin-bottom: 16px; font-weight: 600; }
.footer-col p { font-size: .88rem; line-height: 1.75; }
.footer-col p i { color: var(--clr-accent); margin-right: 6px; }

.footer-links, .footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links li a, .footer-col ul li a { color: rgba(255,255,255,.55); font-size: .88rem; }
.footer-links li a:hover, .footer-col ul li a:hover { color: var(--clr-accent); }

.footer-bottom { padding: var(--sp-sm) 0; display: flex; justify-content: space-between; align-items: center; font-size: .78rem; color: rgba(255,255,255,.35); border-top: 1px solid rgba(255,255,255,.08); margin-top: var(--sp-md); }
.footer-bottom i { color: var(--clr-accent); }

/* ── WHATSAPP FLOAT ──────────────────────────────────────────────────────── */
.whatsapp-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 9998;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: #fff; box-shadow: var(--shadow-lg);
  transition: transform var(--dur) var(--ease);
  animation: waPulse 2.4s ease-in-out 2s infinite;
}
.whatsapp-float:hover { transform: scale(1.08); color: #fff; }

/* ── 404 ─────────────────────────────────────────────────────────────────── */
.error-page { min-height: 70vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: var(--sp-xl) var(--sp-md); }
.error-page h1 { font-size: 6rem; font-family: var(--font-display); font-style: italic; color: var(--clr-accent); opacity: .3; }
.error-page h2 { margin-bottom: var(--sp-sm); }
.error-page p { color: var(--clr-muted); margin-bottom: var(--sp-md); }

/* ── UTILITY ─────────────────────────────────────────────────────────────── */
.text-center { text-align: center; }
.mt-sm { margin-top: var(--sp-sm); }
.mt-md { margin-top: var(--sp-md); }
.pt-lg { padding-top: var(--sp-lg); }
.pb-lg { padding-bottom: var(--sp-lg); }

/* ── HERO PARTICLES + SCROLL CUE ─────────────────────────────────────────── */
.hero-particles { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .35; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 88%); }
.scroll-cue { position: absolute; left: 48px; bottom: 32px; z-index: 2; color: rgba(255,255,255,.7); animation: scrollCueBounce 2s ease-in-out infinite; }
.scroll-cue-icon { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1.5px solid rgba(255,255,255,.35); border-radius: 50%; }
.scroll-cue:hover .scroll-cue-icon { background: rgba(255,255,255,.1); border-color: var(--clr-accent); }
@keyframes scrollCueBounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(8px); } }

/* ── LIGHTBOX ────────────────────────────────────────────────────────────── */
.lightbox-overlay {
  position: fixed; inset: 0; background: rgba(26,23,18,.95); z-index: 10000;
  display: flex; align-items: center; justify-content: center; padding: 40px;
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s var(--ease);
}
.lightbox-overlay.active { opacity: 1; visibility: visible; }
.lightbox-overlay img { max-width: min(90vw,900px); max-height: 85vh; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); transform: scale(.96); transition: transform .3s var(--ease); }
.lightbox-overlay.active img { transform: scale(1); }
.lightbox-close { position: absolute; top: 24px; right: 32px; background: transparent; border: 1.5px solid rgba(255,255,255,.3); color: #fff; width: 44px; height: 44px; border-radius: 50%; font-size: 1.6rem; cursor: pointer; transition: background var(--dur), border-color var(--dur); }
.lightbox-close:hover { background: var(--clr-accent); border-color: var(--clr-accent); }

/* ── ANIMATIONS ──────────────────────────────────────────────────────────── */
@keyframes waPulse { 0%,100% { box-shadow: 0 4px 18px rgba(37,211,102,.4); } 50% { box-shadow: 0 4px 28px rgba(37,211,102,.7); } }
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ── SECTION-BUILDER EXTRAS ──────────────────────────────────────────────── */
.hero-feature-strip { background: var(--clr-dark); padding: 26px 0; margin-left: 0; }
.hff-grid { display: flex; flex-wrap: wrap; gap: var(--sp-lg); }
.hff-item { display: flex; align-items: center; gap: 14px; color: #fff; }
.hff-icon { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.06); display: flex; align-items: center; justify-content: center; color: var(--clr-accent); }
.hff-item h4 { font-size: .9rem; color: #fff; }
.hff-item p { font-size: .78rem; color: rgba(255,255,255,.5); margin: 0; }

.trust-marquee { background: var(--clr-primary); overflow: hidden; padding: 14px 0; }
.trust-marquee-track { display: flex; white-space: nowrap; animation: marqueeScroll 22s linear infinite; }
.trust-marquee-track span span { color: rgba(255,255,255,.7); font-size: .8rem; font-style: italic; font-family: var(--font-display); margin-right: 40px; }
.trust-marquee-track i { color: var(--clr-accent); margin-right: 8px; }
@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.section-faq { padding: var(--sp-xl) 0; background: var(--clr-tint); }
.faq-description { color: var(--clr-muted); max-width: 700px; margin-bottom: var(--sp-md); }
.faq-list { max-width: 760px; margin: var(--sp-md) 0 0; }
.faq-item { border-bottom: 1px solid var(--clr-border); }
.faq-question { display: flex; align-items: center; gap: 14px; padding: 22px 0; font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; cursor: pointer; }
.faq-toggle-icon { color: var(--clr-accent); transition: transform var(--dur); }
.faq-item.open .faq-toggle-icon { transform: rotate(180deg); }
.faq-answer { display: none; padding: 0 0 22px 28px; line-height: 1.75; }
.faq-item.open .faq-answer { display: block; }

.section-other_page { padding: var(--sp-xl) 0; }
.other-page-content { max-width: 760px; margin: 0 auto; }
.other-page-image { margin-bottom: var(--sp-md); }
.other-page-image img { width: 100%; border-radius: var(--radius-sm); }
.other-page-text { line-height: 1.8; font-size: 1.02rem; }
.other-page-text p { margin-bottom: 1em; }

.opening-hours-list { list-style: none; padding: 0; margin: 4px 0 12px; }
.opening-hours-list li { padding: 2px 0; }

/* ── RESPONSIVE ──────────────────────────────────────────────────────────── */

/* Below 1100px: sidebar collapses to a top bar */
@media (max-width: 1100px) {
  body { padding-left: 0; }

  .site-header {
    position: fixed;
    top: 0; left: 0; width: 100%; height: auto;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }

  .site-header .container.header-flex {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    height: auto;
    padding: 18px 24px;
    gap: 0;
  }

  .logo a::before { display: none; }

  .nav-links {
    position: absolute;
    top: 100%; left: 0; width: 100%;
    background: var(--clr-primary);
    display: none;
  }
  .nav-links.active { display: block; }
  .nav-links ul { flex-direction: column; padding: 12px 24px; }
  .nav-links a { border-bottom: 1px solid rgba(255,255,255,.06); }
  .nav-links a::before { display: none; }

  .mobile-menu-toggle { display: block; }

  .hero > .container, .hero-wrapper > .container { padding-top: 130px; }
}

@media (max-width: 1024px) {
  .about-flex { grid-template-columns: 1fr; }
  .about-text { margin-left: 0; margin-top: -60px; max-width: 90%; }
  .contact-flex { grid-template-columns: 1fr; gap: var(--sp-lg); }
  .footer-content { grid-template-columns: 1fr 1fr; }
  .gallery-grid { column-count: 2; }
}

@media (max-width: 768px) {
  :root { --sp-lg: 48px; --sp-xl: 64px; --sidebar-w: 0px; }

  .section-services, .services,
  .section-gallery, .gallery,
  .section-about, .about,
  .section-contact, .contact,
  .testimonials, .section-testimonials { padding: var(--sp-lg) 0; }

  .services-grid .service-card,
  .services-grid .service-card:nth-child(even) {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: var(--sp-sm);
  }
  .services-grid .service-card:nth-child(even) .service-icon { margin-left: 0; }
  .services-grid .service-card:nth-child(even)::before { order: 0; text-align: left; }
  .services-grid .service-card:nth-child(even) p { margin-left: 0; }

  .gallery-grid { column-count: 1; }

  .about-text { padding: var(--sp-md) 20px; margin-top: -40px; max-width: 100%; }

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

  .footer-content { grid-template-columns: 1fr; gap: var(--sp-sm); }

  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .whatsapp-float { bottom: 20px; right: 20px; width: 52px; height: 52px; font-size: 1.4rem; }

  .scroll-cue { display: none; }

  .lightbox-close { top: 14px; right: 14px; width: 38px; height: 38px; font-size: 1.3rem; }
}

@media (max-width: 480px) {
  .hero > .container, .hero-wrapper > .container { padding: 110px 20px 60px; }
  .hero-buttons { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; justify-content: center; }
}

/* ── PRINT ───────────────────────────────────────────────────────────────── */
@media print {
  .site-header, .whatsapp-float, .mobile-menu-toggle { display: none; }
  body { padding-left: 0; }
  .hero { min-height: auto; }
}
