/* ==========================================================================
   Base / tokens
   Color + font custom properties are injected per-client via an inline
   <style> block in <head> (see app/render.php inject_tokens()). The values
   below are fallbacks only, so the page never breaks if that block is
   missing.
   ========================================================================== */
:root {
  --primary: #10110F;
  --accent: #C9FF5B;
  --secondary: #FF6B35;
  --surface: #F6F3EB;
  --font-heading: 'Manrope', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;

  --ink: #14150f;
  --ink-soft: #4a4b42;
  --line: rgba(20, 21, 15, 0.10);
  --white: #ffffff;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(16, 17, 15, 0.06), 0 1px 1px rgba(16, 17, 15, 0.04);
  --shadow-md: 0 8px 24px -8px rgba(16, 17, 15, 0.18);
  --shadow-lg: 0 24px 64px -20px rgba(16, 17, 15, 0.32);

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 180ms;
  --dur-base: 320ms;
  --dur-slow: 620ms;

  --container: 1180px;
  --gutter: clamp(20px, 5vw, 56px);
  color-scheme: light;
}

* , *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 800; line-height: 1.14; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }

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

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 999;
  background: var(--primary); color: var(--surface); padding: 12px 18px;
  border-radius: var(--radius-sm); transition: top var(--dur-base) var(--ease-out-expo);
}
.skip-link:focus { top: 12px; }

:focus-visible {
  outline: 2.5px solid var(--secondary);
  outline-offset: 3px;
  border-radius: 4px;
}

.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

section { padding-block: clamp(64px, 9vw, 120px); position: relative; }
.section-tight { padding-block: clamp(48px, 6vw, 80px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--secondary);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: ''; width: 20px; height: 2px; background: currentColor; border-radius: 2px;
}

.section-head { max-width: 640px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.section-head p { margin-top: 14px; font-size: 1.06rem; color: var(--ink-soft); }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: var(--radius-pill); font-weight: 700;
  font-size: 0.98rem; border: 1.5px solid transparent; cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-out-expo), box-shadow var(--dur-fast) var(--ease-out-expo), background-color var(--dur-fast), border-color var(--dur-fast), color var(--dur-fast);
  white-space: nowrap; touch-action: manipulation; min-height: 48px;
}
.btn:active { transform: scale(0.97); }
.btn .icon { width: 19px; height: 19px; flex: none; }

.btn-primary { background: var(--accent); color: var(--primary); box-shadow: var(--shadow-sm); }
.btn-primary:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.btn-dark { background: var(--primary); color: var(--surface); }
.btn-dark:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); filter: brightness(1.08); }

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

.btn-outline-invert { background: transparent; border-color: rgba(246,243,235,0.4); color: var(--surface); }
.btn-outline-invert:hover { background: var(--surface); color: var(--primary); border-color: var(--surface); }

.btn-whatsapp { background: #25D366; color: #06210f; }
.btn-whatsapp:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.btn-block { width: 100%; }

/* ==========================================================================
   Navbar
   ========================================================================== */
.nav {
  position: fixed; inset-inline: 0; top: 0; z-index: 90;
  padding-block: 18px;
  transition: padding var(--dur-base) var(--ease-out-expo), background-color var(--dur-base), box-shadow var(--dur-base), backdrop-filter var(--dur-base);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nav.is-scrolled {
  padding-block: 10px;
  background: rgba(246, 243, 235, 0.82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 0 var(--line), var(--shadow-sm);
}

.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-heading); font-weight: 800; font-size: 1.18rem; color: var(--primary); }
.brand img { height: 34px; width: auto; }
.brand-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); flex: none; }

.nav-links { display: none; align-items: center; gap: clamp(18px, 2.4vw, 34px); }
@media (min-width: 860px) { .nav-links { display: flex; } }
.nav-links a {
  font-weight: 600; font-size: 0.96rem; color: var(--primary); position: relative; padding-block: 4px;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: var(--secondary); transition: right var(--dur-base) var(--ease-out-expo);
}
.nav-links a:hover::after { right: 0; }

.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-actions-desktop { display: none; }
@media (min-width: 860px) { .nav-actions-desktop { display: flex; align-items: center; gap: 12px; } }

.nav-toggle-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: var(--radius-pill); background: var(--primary); color: var(--surface);
  border: none; cursor: pointer;
}
@media (min-width: 860px) { .nav-toggle-btn { display: none; } }
.nav-toggle-btn .icon { width: 22px; height: 22px; }

#nav-check { position: absolute; opacity: 0; pointer-events: none; }

.mobile-nav {
  position: fixed; inset: 0; top: 0; z-index: 95; background: var(--primary); color: var(--surface);
  display: flex; flex-direction: column; padding: 26px var(--gutter) 40px;
  transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: opacity var(--dur-base) var(--ease-out-expo), transform var(--dur-base) var(--ease-out-expo), visibility 0s linear var(--dur-base);
}
#nav-check:checked ~ .mobile-nav {
  opacity: 1; transform: translateY(0); visibility: visible; transition-delay: 0s;
}
.mobile-nav-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 40px; }
.mobile-nav-close { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(246,243,235,0.3); background: transparent; color: var(--surface); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.mobile-nav-links { display: flex; flex-direction: column; gap: 6px; }
.mobile-nav-links a { font-family: var(--font-heading); font-size: 1.7rem; font-weight: 800; padding-block: 12px; border-bottom: 1px solid rgba(246,243,235,0.14); }
.mobile-nav-foot { margin-top: auto; display: flex; flex-direction: column; gap: 14px; padding-top: 30px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; overflow: hidden;
  min-height: 100dvh; display: flex; align-items: center;
  padding-top: 110px; padding-bottom: 60px;
  background: var(--surface); isolation: isolate;
}
.hero-field { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-blob {
  position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.55;
  animation: float-blob 16s var(--ease-out-expo) infinite alternate;
}
.hero-blob.b1 { width: 46vw; height: 46vw; max-width: 620px; max-height: 620px; background: var(--accent); top: -14%; right: -10%; }
.hero-blob.b2 { width: 30vw; height: 30vw; max-width: 420px; max-height: 420px; background: var(--secondary); opacity: 0.28; bottom: -12%; left: -8%; animation-delay: -6s; }
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(ellipse 80% 60% at 60% 20%, black 40%, transparent 90%);
  opacity: 0.6;
}
@keyframes float-blob {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-4%, 5%) scale(1.08); }
}
@media (prefers-reduced-motion: reduce) { .hero-blob { animation: none; } }

.hero-inner { display: grid; gap: clamp(30px, 5vw, 60px); align-items: center; }
@media (min-width: 980px) { .hero-inner { grid-template-columns: 1.15fr 0.85fr; } }

.hero-badge {
  display: inline-flex; align-items: center; gap: 9px; padding: 9px 16px 9px 10px;
  background: var(--white); border-radius: var(--radius-pill); box-shadow: var(--shadow-sm);
  font-size: 0.86rem; font-weight: 700; margin-bottom: 22px;
}
.hero-badge .icon { width: 16px; height: 16px; color: var(--secondary); }

.hero h1 {
  font-size: clamp(2.4rem, 5.6vw, 4.3rem);
  color: var(--primary);
}
.hero h1 em { font-style: normal; background: linear-gradient(180deg, transparent 62%, var(--accent) 62%); }
.hero-sub { margin-top: 22px; font-size: clamp(1.05rem, 1.6vw, 1.24rem); color: var(--ink-soft); max-width: 46ch; }
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero-trust {
  margin-top: 44px; display: flex; flex-wrap: wrap; gap: 10px 26px;
}
.hero-trust li { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 0.88rem; color: var(--primary); }
.hero-trust .icon { width: 17px; height: 17px; color: var(--secondary); flex: none; }

.hero-visual {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-lg);
  background: linear-gradient(155deg, var(--primary) 0%, #24261f 100%);
  overflow: hidden; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; justify-content: center;
}
.hero-visual-icon { width: 30%; height: 30%; color: var(--accent); opacity: 0.9; }
.hero-visual::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(201,255,91,0.35), transparent 55%);
}
.hero-visual-card {
  position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 2;
  background: rgba(246,243,235,0.96); backdrop-filter: blur(6px);
  border-radius: var(--radius-md); padding: 16px 18px; box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 12px;
}
.hero-visual-card .icon { width: 22px; height: 22px; color: var(--secondary); flex: none; }
.hero-visual-card strong { display: block; font-family: var(--font-heading); font-size: 1.05rem; color: var(--primary); }
.hero-visual-card span { font-size: 0.82rem; color: var(--ink-soft); }

/* ==========================================================================
   Reveal on scroll (progressive enhancement: content is visible by default;
   only animated once JS confirms it can run the observer + rAF safely)
   ========================================================================== */
.js-ready .reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity var(--dur-slow) var(--ease-out-expo), transform var(--dur-slow) var(--ease-out-expo);
  transition-delay: calc(var(--reveal-i, 0) * 70ms);
}
.js-ready .reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .js-ready .reveal { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   Marquee / trust strip
   ========================================================================== */
.marquee { border-block: 1px solid var(--line); overflow: hidden; background: var(--white); }
.marquee-track { display: flex; gap: clamp(40px, 6vw, 90px); white-space: nowrap; padding-block: 22px; animation: marquee 26s linear infinite; width: max-content; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-family: var(--font-heading); font-weight: 800; font-size: 1rem; color: var(--ink-soft); opacity: 0.7; letter-spacing: 0.02em; display: inline-flex; align-items: center; gap: 10px; }
.marquee-track span .icon { width: 16px; height: 16px; color: var(--secondary); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ==========================================================================
   About
   ========================================================================== */
.about-grid { display: grid; gap: clamp(32px, 5vw, 64px); }
@media (min-width: 940px) { .about-grid { grid-template-columns: 0.9fr 1.1fr; align-items: center; } }
.about-media { position: relative; aspect-ratio: 1/1; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.about-media-frame { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 60%), var(--surface); }
.about-media-frame .icon { width: 34%; height: 34%; color: var(--primary); opacity: 0.16; }
.about-badge {
  position: absolute; bottom: -18px; right: -18px; width: 118px; height: 118px; border-radius: 50%;
  background: var(--accent); color: var(--primary); display: flex; align-items: center; justify-content: center;
  flex-direction: column; text-align: center; font-family: var(--font-heading); font-weight: 800; box-shadow: var(--shadow-md);
  animation: spin-slow 18s linear infinite;
}
.about-badge span { font-size: 1.5rem; }
.about-badge small { font-size: 0.6rem; letter-spacing: 0.06em; font-weight: 700; }
@keyframes spin-slow { from { rotate: 0deg; } to { rotate: 360deg; } }
@media (prefers-reduced-motion: reduce) { .about-badge { animation: none; } }

.about-copy p { color: var(--ink-soft); font-size: 1.06rem; margin-bottom: 16px; }
.about-points { display: grid; gap: 14px; margin-top: 28px; }
.about-points li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.about-points .icon { width: 22px; height: 22px; color: var(--secondary); flex: none; margin-top: 1px; }

.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.stat-num { font-family: var(--font-heading); font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; color: var(--primary); }
.stat-label { font-size: 0.85rem; color: var(--ink-soft); font-weight: 600; }

/* ==========================================================================
   Services
   ========================================================================== */
.services-section { background: var(--surface); }
.services-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.service-card {
  background: var(--white); border-radius: var(--radius-md); padding: 30px 26px; border: 1px solid var(--line);
  transition: transform var(--dur-base) var(--ease-out-expo), box-shadow var(--dur-base) var(--ease-out-expo), border-color var(--dur-base);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: transparent; }
.service-icon {
  width: 54px; height: 54px; border-radius: var(--radius-sm); background: var(--primary); color: var(--accent);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
  transition: transform var(--dur-base) var(--ease-out-expo);
}
.service-card:hover .service-icon { transform: rotate(-8deg) scale(1.06); }
.service-icon .icon { width: 26px; height: 26px; }
.service-card h3 { font-size: 1.18rem; margin-bottom: 10px; }
.service-card p { color: var(--ink-soft); font-size: 0.98rem; }

/* ==========================================================================
   Gallery
   ========================================================================== */
.gallery-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 160px; } }
.gallery-item {
  position: relative; overflow: hidden; border-radius: var(--radius-md); cursor: zoom-in; display: block;
  background: var(--surface); aspect-ratio: 1/1;
}
@media (min-width: 720px) { .gallery-item { aspect-ratio: auto; } .gallery-item.tall { grid-row: span 2; } .gallery-item.wide { grid-column: span 2; } }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out-expo); }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item .gallery-caption {
  position: absolute; inset-inline: 0; bottom: 0; padding: 14px 16px;
  background: linear-gradient(0deg, rgba(16,17,15,0.75), transparent);
  color: var(--white); font-weight: 700; font-size: 0.86rem;
  opacity: 0; transform: translateY(8px); transition: all var(--dur-base) var(--ease-out-expo);
}
.gallery-item:hover .gallery-caption { opacity: 1; transform: translateY(0); }

.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(16,17,15,0.92);
  display: flex; align-items: center; justify-content: center; padding: 28px;
  opacity: 0; visibility: hidden; transition: opacity var(--dur-base) var(--ease-out-expo), visibility 0s linear var(--dur-base);
}
.lightbox.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.lightbox img { max-width: min(92vw, 1100px); max-height: 86vh; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); }
.lightbox-close, .lightbox-nav {
  position: absolute; width: 48px; height: 48px; border-radius: 50%; border: none;
  background: rgba(246,243,235,0.14); color: var(--surface); display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(246,243,235,0.26); }
.lightbox-close { top: 20px; right: 20px; }
.lightbox-nav.prev { left: 20px; top: 50%; translate: 0 -50%; }
.lightbox-nav.next { right: 20px; top: 50%; translate: 0 -50%; }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testi-section { background: var(--primary); color: var(--surface); }
.testi-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }
.testi-head p { color: rgba(246,243,235,0.7); }
.testi-controls { display: flex; gap: 10px; }
.testi-controls button {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(246,243,235,0.3);
  background: transparent; color: var(--surface); cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
  transition: background var(--dur-fast);
}
.testi-controls button:hover { background: rgba(246,243,235,0.14); }
.testi-track {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; margin-top: 40px;
  padding-bottom: 8px; scrollbar-width: none;
}
.testi-track::-webkit-scrollbar { display: none; }
.testi-card {
  scroll-snap-align: start; flex: 0 0 min(420px, 84vw); background: rgba(246,243,235,0.06);
  border: 1px solid rgba(246,243,235,0.14); border-radius: var(--radius-md); padding: 30px;
}
.testi-quote-icon { width: 30px; height: 30px; color: var(--accent); margin-bottom: 16px; }
.testi-card p.quote { font-size: 1.06rem; line-height: 1.6; }
.testi-stars { display: flex; gap: 3px; margin-top: 18px; color: var(--accent); }
.testi-stars .icon { width: 16px; height: 16px; }
.testi-author { margin-top: 14px; font-weight: 800; font-family: var(--font-heading); }
.testi-role { font-size: 0.85rem; color: rgba(246,243,235,0.6); }

/* ==========================================================================
   FAQ (native <details>, zero JS, always works)
   ========================================================================== */
.faq-list { max-width: 780px; }
.faq-item {
  border-bottom: 1px solid var(--line); padding-block: 6px;
}
.faq-item summary {
  cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding-block: 18px; font-family: var(--font-heading); font-weight: 700; font-size: 1.05rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { width: 20px; height: 20px; flex: none; transition: transform var(--dur-base) var(--ease-out-expo); color: var(--secondary); }
.faq-item[open] summary .icon { transform: rotate(180deg); }
.faq-answer { padding-bottom: 20px; color: var(--ink-soft); max-width: 62ch; }

/* ==========================================================================
   CTA banner
   ========================================================================== */
.cta-band {
  background: linear-gradient(120deg, var(--primary), #262820);
  color: var(--surface); border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 76px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 30px;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; width: 340px; height: 340px; border-radius: 50%;
  background: var(--accent); opacity: 0.16; filter: blur(50px); right: -80px; top: -80px;
}
.cta-band h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); max-width: 20ch; }
.cta-band-actions { display: flex; gap: 14px; flex-wrap: wrap; position: relative; z-index: 1; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid { display: grid; gap: 26px; }
@media (min-width: 980px) { .contact-grid { grid-template-columns: 1fr 1fr; align-items: start; } }
.contact-info { display: grid; gap: 14px; }
.info-card {
  display: flex; gap: 16px; align-items: flex-start; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-md); padding: 20px 22px;
}
.info-card .icon-wrap {
  width: 46px; height: 46px; border-radius: var(--radius-sm); background: var(--primary); color: var(--accent);
  display: flex; align-items: center; justify-content: center; flex: none;
}
.info-card .icon-wrap .icon { width: 22px; height: 22px; }
.info-card h4 { font-family: var(--font-heading); font-size: 1rem; margin-bottom: 4px; }
.info-card p, .info-card a { color: var(--ink-soft); font-size: 0.96rem; }
.info-card a:hover { color: var(--primary); text-decoration: underline; }
.map-frame { border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--line); margin-top: 14px; }
.map-frame iframe { width: 100%; height: 260px; border: 0; display: block; }

.contact-form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 38px); }
.form-row { display: grid; gap: 6px; margin-bottom: 18px; }
.form-row label { font-weight: 700; font-size: 0.9rem; }
.form-row .hint { font-weight: 500; font-size: 0.8rem; color: var(--ink-soft); }
.form-row input, .form-row textarea {
  width: 100%; padding: 14px 16px; border-radius: var(--radius-sm); border: 1.5px solid var(--line);
  font-family: var(--font-body); font-size: 1rem; background: var(--white); min-height: 48px;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.form-row textarea { min-height: 120px; resize: vertical; }
.form-row input:focus, .form-row textarea:focus {
  outline: none; border-color: var(--secondary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--secondary) 18%, transparent);
}
.form-row input:invalid:not(:placeholder-shown), .form-row textarea:invalid:not(:placeholder-shown) { border-color: #d9534f; }
.form-note { font-size: 0.82rem; color: var(--ink-soft); margin-top: 4px; }
.form-alert { border-radius: var(--radius-sm); padding: 14px 16px; margin-bottom: 18px; font-weight: 600; font-size: 0.94rem; display: flex; gap: 10px; align-items: flex-start; }
.form-alert.success { background: #e7f6e9; color: #1e5c2b; }
.form-alert.error { background: #fdecec; color: #8a1f1f; }
.form-alert .icon { width: 20px; height: 20px; flex: none; }
.hp-field { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--primary); color: rgba(246,243,235,0.75); padding-block: 56px 30px; }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 780px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.footer-brand { color: var(--surface); font-family: var(--font-heading); font-weight: 800; font-size: 1.2rem; display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-col h5 { color: var(--surface); font-family: var(--font-heading); font-size: 0.92rem; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a:hover { color: var(--surface); }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(246,243,235,0.22);
  display: flex; align-items: center; justify-content: center; transition: background var(--dur-fast), border-color var(--dur-fast);
}
.footer-social a:hover { background: var(--accent); color: var(--primary); border-color: var(--accent); }
.footer-social .icon { width: 18px; height: 18px; }
.footer-bottom {
  margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(246,243,235,0.14);
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 0.84rem;
}
.footer-bottom a:hover { color: var(--surface); text-decoration: underline; }

/* ==========================================================================
   Floating WhatsApp + mobile sticky action bar
   ========================================================================== */
.fab-whatsapp {
  position: fixed; right: 20px; bottom: 20px; z-index: 80;
  width: 60px; height: 60px; border-radius: 50%; background: #25D366; color: #06210f;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-lg);
  animation: pulse-ring 2.6s ease-out infinite;
}
.fab-whatsapp .icon { width: 28px; height: 28px; }
@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55), var(--shadow-lg); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0), var(--shadow-lg); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), var(--shadow-lg); }
}
@media (prefers-reduced-motion: reduce) { .fab-whatsapp { animation: none; } }
@media (max-width: 719px) { .fab-whatsapp { bottom: 84px; right: 16px; width: 54px; height: 54px; } }

.mobile-bar {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 79; display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--primary); box-shadow: 0 -6px 20px rgba(0,0,0,0.18);
  padding-bottom: env(safe-area-inset-bottom, 0);
}
@media (min-width: 720px) { .mobile-bar { display: none; } }
.mobile-bar a {
  display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 11px 4px 9px;
  color: rgba(246,243,235,0.82); font-size: 0.72rem; font-weight: 700; border-right: 1px solid rgba(246,243,235,0.1);
}
.mobile-bar a:last-child { border-right: none; }
.mobile-bar a .icon { width: 21px; height: 21px; }
.mobile-bar a.is-primary { color: var(--accent); }

/* keep content from hiding behind the mobile action bar */
@media (max-width: 719px) { body { padding-bottom: 64px; } }

/* ==========================================================================
   Misc utility
   ========================================================================== */
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.divider { height: 1px; background: var(--line); border: none; margin: 0; }
.badge-pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--accent) 35%, transparent); font-weight: 700; font-size: 0.78rem; color: var(--primary);
}
::selection { background: var(--accent); color: var(--primary); }

/* ==========================================================================
   Alternative composition components — for businesses where the default
   icon-grid / blob-hero pattern doesn't fit the subject (a multi-step care
   service, a process the customer has never experienced, etc.). Pick and
   combine these deliberately per client instead of always reaching for the
   default hero/services pattern above.
   ========================================================================== */

/* Ripple hero: concentric rings instead of blurred blobs — for water/calm-
   coded subjects (spa, wellness, hydrotherapy). */
.hero-ripple .hero-field { z-index: -1; }
.ripple-ring {
  position: absolute; border: 1.5px solid var(--secondary); border-radius: 50%;
  opacity: 0; top: 50%; right: 8%; translate: 50% -50%;
  animation: ripple-out 7s ease-out infinite;
}
.ripple-ring:nth-child(2) { animation-delay: 1.75s; }
.ripple-ring:nth-child(3) { animation-delay: 3.5s; }
.ripple-ring:nth-child(4) { animation-delay: 5.25s; }
@keyframes ripple-out {
  0% { width: 30px; height: 30px; opacity: 0.55; }
  65% { opacity: 0.14; }
  100% { width: 820px; height: 820px; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .ripple-ring { animation: none; opacity: 0; } }

.hero-inner-asym { display: grid; gap: clamp(30px, 5vw, 60px); align-items: center; }
@media (min-width: 980px) { .hero-inner-asym { grid-template-columns: 1.3fr 0.9fr; } }

/* Session timeline card — explains an unfamiliar multi-step service. */
.session-timeline { background: var(--white); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 34px); box-shadow: var(--shadow-lg); }
.session-timeline h3 { font-size: 1.02rem; margin-bottom: 24px; }
.timeline-step { display: flex; gap: 16px; position: relative; padding-bottom: 28px; }
.timeline-step:last-child { padding-bottom: 0; }
.timeline-step::after {
  content: ''; position: absolute; left: 17px; top: 38px; bottom: 2px; width: 2px; background: var(--line);
}
.timeline-step:last-child::after { display: none; }
.timeline-num {
  width: 36px; height: 36px; border-radius: 50%; background: var(--primary); color: var(--accent);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-heading);
  font-weight: 800; font-size: 0.92rem; flex: none; z-index: 1;
}
.timeline-step h4 { font-family: var(--font-heading); font-size: 0.98rem; margin-bottom: 4px; }
.timeline-step p { font-size: 0.86rem; color: var(--ink-soft); }

/* Numbered protocol band — use only where the content genuinely is an
   ordered sequence (a real safety/process checklist), not as decoration. */
.protocol-band { background: var(--primary); color: var(--surface); }
.protocol-band .eyebrow { color: var(--accent); }
.protocol-grid { display: grid; gap: 30px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: 40px; }
.protocol-num { font-family: var(--font-heading); font-size: 2.4rem; font-weight: 800; color: var(--accent); opacity: 0.9; line-height: 1; }
.protocol-item h4 { margin-top: 12px; font-size: 1.05rem; font-family: var(--font-heading); }
.protocol-item p { margin-top: 6px; font-size: 0.9rem; color: rgba(246, 243, 235, 0.72); }

/* Alternating editorial service rows — for a short list of services worth
   real space, instead of compressing everything into equal-sized cards. */
.service-rows { display: flex; flex-direction: column; }
.service-row { display: grid; gap: clamp(24px, 4vw, 40px); align-items: center; padding-block: clamp(32px, 5vw, 48px); border-bottom: 1px solid var(--line); }
.service-row:first-child { padding-top: 0; }
.service-row:last-child { border-bottom: none; padding-bottom: 0; }
@media (min-width: 860px) {
  .service-row { grid-template-columns: 0.85fr 1.15fr; }
  .service-row.reverse .service-row-visual { order: 2; }
}
.service-row-visual {
  aspect-ratio: 5 / 4; border-radius: var(--radius-lg); overflow: hidden; position: relative;
  background: linear-gradient(155deg, var(--surface), color-mix(in srgb, var(--accent) 38%, var(--surface)));
  display: flex; align-items: center; justify-content: center;
}
.service-row-visual .icon { width: 24%; height: 24%; color: var(--primary); opacity: 0.5; }
.service-row-index { font-family: var(--font-heading); font-size: 0.8rem; font-weight: 800; letter-spacing: 0.1em; color: var(--secondary); margin-bottom: 10px; }
.service-row h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); margin-bottom: 14px; }
.service-row p { color: var(--ink-soft); font-size: 1.02rem; max-width: 54ch; }

/* Inline trust pills — a lighter alternative to a boxed stat grid. */
.trust-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.trust-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: var(--radius-pill);
  background: var(--surface); border: 1px solid var(--line); font-weight: 700; font-size: 0.86rem; color: var(--primary);
}
.trust-pill .icon { width: 16px; height: 16px; color: var(--secondary); }

.pull-quote {
  font-family: var(--font-heading); font-weight: 600; font-style: italic; font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  line-height: 1.45; color: var(--primary); border-left: 3px solid var(--secondary); padding-left: 24px;
}

/* Real-photo variants — used automatically once a client uploads a real
   photo (hero/about/service), in place of the icon-in-gradient-box default.
   A real photo is worth far more than a clever abstract graphic. */
.hero-visual.has-photo { background: none; box-shadow: none; }
.hero-visual.has-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-lg); }
.hero-visual.has-photo::after { background: linear-gradient(0deg, rgba(16,17,15,0.55) 0%, transparent 45%); border-radius: var(--radius-lg); }

.about-media.has-photo .about-media-frame { background: none; }
.about-media.has-photo img { width: 100%; height: 100%; object-fit: cover; }

.service-card-photo { padding: 0; overflow: hidden; }
.service-card-photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.service-card-photo .service-card-body { padding: 22px 24px 26px; }
.service-card-photo h3 { font-size: 1.15rem; margin-bottom: 8px; }

.service-row-visual.has-photo { background: none; }
.service-row-visual.has-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Hero photo panel — a real photo replacing the abstract visual, with a
   small floating trust badge overlaid like a caption. */
.hero-photo-panel { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.hero-photo-panel img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo-panel::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(16,17,15,0.5) 0%, transparent 40%); }
.hero-photo-badge {
  position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 2;
  background: rgba(251,245,238,0.96); backdrop-filter: blur(6px); border-radius: var(--radius-md);
  padding: 14px 18px; display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow-md);
}
.hero-photo-badge .icon { width: 22px; height: 22px; color: var(--secondary); flex: none; }
.hero-photo-badge strong { display: block; font-family: var(--font-heading); font-size: 1rem; color: var(--primary); }
.hero-photo-badge span { font-size: 0.8rem; color: var(--ink-soft); }

/* Full-width numbered process section — a horizontal stepper as its own
   section, not squeezed into a hero sidebar card. */
.process-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: 44px; position: relative; }
.process-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 24px; position: relative; }
.process-num {
  width: 44px; height: 44px; border-radius: 50%; background: var(--primary); color: var(--accent);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-heading);
  font-weight: 800; font-size: 1.05rem; margin-bottom: 18px;
}
.process-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.process-card p { color: var(--ink-soft); font-size: 0.94rem; }

/* Icon trust badge row — for a short list of qualities/guarantees that are
   NOT a sequence (no numbering, just parallel claims). Different from
   .protocol-grid, which is reserved for genuinely ordered steps. */
.trust-band-grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); text-align: center; }
.trust-badge { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.trust-badge .icon-circle {
  width: 56px; height: 56px; border-radius: 50%; background: var(--primary); color: var(--accent);
  display: flex; align-items: center; justify-content: center; flex: none;
}
.trust-badge .icon-circle .icon { width: 26px; height: 26px; }
.trust-badge span { font-family: var(--font-heading); font-weight: 700; font-size: 0.96rem; color: var(--primary); }
