/* =============================================================
   1. Tokens
   ============================================================= */
@property --mesh-angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@property --mesh-x { syntax: "<percentage>"; inherits: false; initial-value: 30%; }
@property --mesh-y { syntax: "<percentage>"; inherits: false; initial-value: 40%; }

:root {
  --bg: #12100e;
  --bg-2: #19160f;
  --bg-3: #221d16;
  --bg-4: #2c2519;
  --cream: #f3eee4;
  --cream-2: #cbc3b1;
  --cream-3: #8f8676;
  --accent: #e8871e;
  --accent-2: #c96a12;
  --repro: #3fb6ff;
  --repro-2: #1e86c9;
  --line: rgba(243, 238, 228, 0.12);
  --line-strong: rgba(243, 238, 228, 0.22);

  --serif: "Space Grotesk", "Inter", sans-serif;
  --sans: "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", "IBM Plex Mono", monospace;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.7, 0, 0.84, 0);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --container: 1180px;
  --radius: 14px;
  --nav-h: 76px;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  scroll-behavior: smooth;
}
html.no-scroll, html.no-scroll body { overflow: hidden; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--cream);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.08; letter-spacing: -0.02em; font-family: var(--serif); font-weight: 600; }
ul { list-style: none; padding: 0; }
::selection { background: var(--accent); color: var(--bg); }

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

.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 9999;
  padding: 0.7rem 1.1rem; background: var(--cream); color: var(--bg);
  border-radius: 8px; font-weight: 600; transition: top 0.3s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

/* =============================================================
   3. Utilities
   ============================================================= */
.container { max-width: var(--container); margin-inline: auto; padding-inline: 1.25rem; }
.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;
}
.section { padding-block: clamp(4rem, 9vw, 8rem); position: relative; }
.section-inner { max-width: var(--container); margin-inline: auto; padding-inline: 1.25rem; }
.section-head { max-width: 640px; margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.kicker {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 0.9rem;
}
.kicker .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.section-head p { color: var(--cream-2); margin-top: 0.9rem; font-size: 1.05rem; max-width: 52ch; }
.eyebrow-line { color: var(--cream-3); font-size: 0.9rem; }

/* =============================================================
   4. Typography helpers
   ============================================================= */
.text-mono { font-family: var(--mono); }
.text-muted { color: var(--cream-2); }

/* =============================================================
   5. Components
   ============================================================= */

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 0.95rem 1.6rem; border-radius: 999px; font-weight: 600; font-size: 0.95rem;
  box-shadow: 0 4px 14px rgba(0,0,0,0.18), 0 1px 3px rgba(0,0,0,0.14);
  transition: transform 0.45s var(--ease-soft), box-shadow 0.45s var(--ease-soft), background 0.3s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px); transition-duration: 0.12s; }
.btn-primary { background: var(--accent); color: #1a1206; }
.btn-primary:hover { box-shadow: 0 22px 46px rgba(232,135,30,0.28), 0 10px 20px rgba(0,0,0,0.24); }
.btn-ghost {
  background: transparent; color: var(--cream); border: 1px solid var(--line-strong);
}
.btn-ghost:hover { border-color: var(--cream); box-shadow: 0 16px 34px rgba(0,0,0,0.24); }
.btn-repro { background: var(--repro); color: #051822; }
.btn-repro:hover { box-shadow: 0 22px 46px rgba(63,182,255,0.26), 0 10px 20px rgba(0,0,0,0.24); }
.btn svg { width: 1.05em; height: 1.05em; }

/* Cards (tilt + halo applied via JS) */
.card {
  position: relative; isolation: isolate;
  background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.9rem;
  --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%;
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: transform 0.55s var(--ease-soft), border-color 0.4s, background 0.4s;
}
.card.has-tilt:hover { transition-duration: 0.15s; border-color: var(--line-strong); background: var(--bg-4); }
.card.has-halo::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: radial-gradient(220px circle at var(--mx) var(--my), rgba(232,135,30,0.16), transparent 62%);
  opacity: 0; transition: opacity 0.35s;
}
.card.has-halo:hover::before { opacity: 1; }
.card-icon {
  width: 52px; height: 52px; border-radius: 12px; margin-bottom: 1.1rem;
  display: grid; place-items: center; background: rgba(232,135,30,0.12); color: var(--accent);
}
.card-icon .icon { width: 26px; height: 26px; }
.card h3 { font-size: 1.2rem; margin-bottom: 0.55rem; }
.card p { color: var(--cream-2); font-size: 0.96rem; }

/* Nav */
.nav {
  position: fixed; inset-inline: 0; top: 0; z-index: 500; height: var(--nav-h);
  display: flex; align-items: center;
  background: linear-gradient(to bottom, rgba(18,16,14,0.75), transparent);
  transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.is-solid {
  background: rgba(18,16,14,0.88); backdrop-filter: blur(10px);
  border-bottom-color: var(--line);
}
.nav-inner { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.nav-brand { display: flex; align-items: center; gap: 0.6rem; font-family: var(--serif); font-weight: 700; font-size: 1.05rem; }
.nav-brand .mark {
  width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center;
  background: var(--accent); color: #1a1206; font-family: var(--mono); font-weight: 700; font-size: 0.85rem;
}
.nav-menu { display: none; align-items: center; gap: 1.9rem; }
.nav-menu a { font-size: 0.92rem; color: var(--cream-2); position: relative; padding-block: 0.3rem; }
.nav-menu a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--accent);
  transition: right 0.35s var(--ease-out);
}
.nav-menu a:hover { color: var(--cream); }
.nav-menu a:hover::after { right: 0; }
.nav-actions { display: flex; align-items: center; gap: 0.8rem; }
.nav-actions .btn { padding: 0.68rem 1.25rem; font-size: 0.85rem; }
.nav-toggle {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px;
  border: 1px solid var(--line-strong);
}
.nav-toggle svg { width: 18px; height: 18px; }

.nav-mobile {
  position: fixed; inset: 0; z-index: 480; background: var(--bg);
  display: flex; flex-direction: column; justify-content: center; gap: 1.6rem; padding: 2rem;
  transform: translateY(-8px); opacity: 0; pointer-events: none;
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}
.nav-mobile.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
.nav-mobile a { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; }
.nav-mobile .nav-actions { margin-top: 1rem; }

/* Scroll progress */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 600; background: rgba(255,255,255,0.06); pointer-events: none; }
.scroll-progress span {
  display: block; height: 100%; transform-origin: 0 0; transform: scaleX(0);
  background: linear-gradient(90deg, var(--accent), var(--repro));
}

/* Splash */
.splash {
  position: fixed; inset: 0; z-index: 10000; background: var(--bg);
  display: grid; place-items: center; pointer-events: auto;
  transition: opacity 0.8s, clip-path 1s;
  animation: splashSafety 0.01s 3.6s forwards;
}
.splash.is-out { opacity: 0; pointer-events: none; clip-path: inset(0 0 100% 0); }
@keyframes splashSafety { to { opacity: 0; pointer-events: none; clip-path: inset(0 0 100% 0); } }
.splash-mark { font-family: var(--mono); font-size: 0.85rem; letter-spacing: 0.3em; color: var(--cream-3); text-transform: uppercase; }
.splash-bar { width: 140px; height: 2px; background: var(--line); margin-top: 1.1rem; overflow: hidden; border-radius: 2px; }
.splash-bar::after {
  content: ""; display: block; width: 40%; height: 100%; background: var(--accent);
  animation: splashLoad 1.1s ease-in-out infinite;
}
@keyframes splashLoad { 0% { transform: translateX(-100%); } 100% { transform: translateX(350%); } }

/* Form */
.form { display: grid; gap: 1rem; }
.field { position: relative; }
.field input, .field select, .field textarea {
  width: 100%; padding: 1.35rem 1rem 0.55rem; border: 1px solid var(--line-strong); border-radius: 10px;
  background: rgba(255,255,255,0.02); color: var(--cream); font: inherit; font-size: 0.98rem;
  transition: border-color 0.3s;
}
.field textarea { min-height: 110px; resize: vertical; padding-top: 1.35rem; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); }
.field label {
  position: absolute; left: 1rem; top: 1.05rem; color: var(--cream-3); pointer-events: none;
  transition: all 0.25s var(--ease-out); font-size: 0.98rem;
}
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field label.is-static {
  top: 0.5rem; font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent);
}
.field select { color-scheme: dark; }
.form-note { font-size: 0.85rem; color: var(--cream-3); }

.cta-form { position: relative; transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-soft); }
.cta-form.is-sent { opacity: 0; transform: translateY(-10px); pointer-events: none; }
.cta-submit { position: relative; width: 100%; }
.cta-form-spinner { position: absolute; inset: 0; display: none; place-items: center; }
.cta-form.is-sending .cta-form-label { opacity: 0; }
.cta-form.is-sending .cta-form-spinner { display: grid; }
.cta-form-spinner::after {
  content: ""; width: 18px; height: 18px; border: 2px solid rgba(0,0,0,0.25); border-top-color: #1a1206;
  border-radius: 50%; animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.cta-success {
  margin-top: 1rem; padding: 1.1rem 1.3rem; border-radius: 12px; background: rgba(232,135,30,0.12);
  border: 1px solid rgba(232,135,30,0.3);
  opacity: 0; transform: translateY(8px); pointer-events: none;
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-soft);
}
.cta-success.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.cta-success h3 { font-size: 1.05rem; margin-bottom: 0.3rem; }
.cta-success p { color: var(--cream-2); font-size: 0.92rem; }

/* =============================================================
   6. Sections
   ============================================================= */

/* --- Hero --- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding-top: var(--nav-h); overflow: hidden; isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -3; overflow: hidden; }
.hero-bg img {
  position: absolute; left: 0; top: -18%; width: 100%; height: 136%;
  object-fit: cover;
  filter: saturate(1.02) contrast(1.05) brightness(0.72);
}
.hero-bg-tint {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(18,16,14,0.55) 0%, rgba(18,16,14,0.72) 55%, rgba(18,16,14,0.94) 100%);
}
.hero::before {
  content: ""; position: absolute; inset: -15%; z-index: -2;
  background:
    radial-gradient(55% 45% at var(--mesh-x) var(--mesh-y), rgba(232,135,30,0.30), transparent 62%),
    radial-gradient(50% 40% at calc(100% - var(--mesh-x)) calc(100% - var(--mesh-y)), rgba(63,182,255,0.16), transparent 60%),
    conic-gradient(from var(--mesh-angle), rgba(232,135,30,0.08), rgba(63,182,255,0.06), rgba(232,135,30,0.08));
  filter: blur(70px) saturate(120%);
  animation: meshShift 26s linear infinite;
  mix-blend-mode: screen;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.15; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.45 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 200px 200px;
}
@keyframes meshShift {
  0% { --mesh-angle: 0deg; --mesh-x: 28%; --mesh-y: 36%; }
  50% { --mesh-angle: 180deg; --mesh-x: 68%; --mesh-y: 58%; }
  100% { --mesh-angle: 360deg; --mesh-x: 28%; --mesh-y: 36%; }
}
.hero-glyph {
  position: absolute; right: -6%; top: 12%; width: min(46vw, 560px); opacity: 0.5;
  color: var(--cream); z-index: -1; pointer-events: none;
}
.hero-inner { position: relative; max-width: var(--container); margin-inline: auto; padding-inline: 1.25rem; width: 100%; padding-block: 3rem; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--mono); font-size: 0.78rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 1.3rem;
}
.hero-kicker .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(232,135,30,0.18); }
.hero-title { font-size: clamp(2.4rem, 6.4vw, 4.6rem); max-width: 18ch; }
.hero-title em { font-style: normal; color: var(--accent); }
.hero-sub { margin-top: 1.4rem; font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: var(--cream-2); max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.1rem; }
.hero-badge {
  position: absolute; right: 1.25rem; bottom: 1.5rem; z-index: 2;
  display: flex; align-items: center; gap: 0.9rem; padding: 0.9rem 1.2rem;
  background: rgba(18,16,14,0.72); border: 1px solid var(--line-strong); border-radius: 999px;
  backdrop-filter: blur(8px);
}
.hero-badge .rating-num { font-family: var(--mono); font-size: 1.15rem; font-weight: 700; color: var(--accent); }
.hero-badge .rating-stars { color: var(--accent); letter-spacing: 1px; font-size: 0.85rem; }
.hero-badge .rating-meta { font-size: 0.78rem; color: var(--cream-3); }

/* --- Stats strip --- */
.stats-strip { background: var(--bg-2); border-block: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem 1rem; }
.stat { text-align: center; opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease-soft), transform 0.8s var(--ease-soft); }
.stat.is-revealed { opacity: 1; transform: none; }
.stat-num { display: block; font-family: var(--mono); font-size: clamp(1.7rem, 4vw, 2.4rem); font-weight: 700; color: var(--accent); }
.stat-label { display: block; font-size: 0.85rem; color: var(--cream-2); margin-top: 0.35rem; }

/* --- Services --- */
.services-grid { display: grid; grid-template-columns: 1fr; gap: 1.1rem; }
[data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity 0.8s var(--ease-soft), transform 0.8s var(--ease-soft); transition-delay: var(--d, 0ms); }
[data-reveal].is-revealed { opacity: 1; transform: none; }

/* --- Process timeline --- */
.timeline { position: relative; display: grid; gap: 2rem; max-width: 640px; }
.timeline::before {
  content: ""; position: absolute; left: 27px; top: 8px; bottom: 8px; width: 1px;
  background: linear-gradient(var(--line-strong), transparent);
}
.tl-item { display: flex; gap: 1.4rem; position: relative; }
.tl-step {
  flex-shrink: 0; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--bg-3); border: 1px solid var(--line-strong); font-family: var(--mono); font-size: 0.85rem; color: var(--accent);
  z-index: 1;
}
.tl-body h3 { font-size: 1.15rem; margin-bottom: 0.3rem; }
.tl-body p { color: var(--cream-2); font-size: 0.95rem; }

/* --- ReproBoost --- */
.repro-section {
  background:
    radial-gradient(75% 65% at 85% 15%, rgba(63,182,255,0.18), transparent 60%),
    radial-gradient(50% 50% at 10% 90%, rgba(232,135,30,0.08), transparent 60%),
    var(--bg-2);
  border-block: 1px solid var(--line);
}
.repro-head {
  display: grid; gap: 2rem; align-items: center; margin-bottom: 2.6rem;
}
.repro-logo-frame {
  justify-self: center; max-width: 320px; width: 100%; border-radius: 18px; overflow: hidden;
  border: 1px solid rgba(63,182,255,0.3);
  box-shadow: 0 30px 70px rgba(63,182,255,0.2), 0 12px 28px rgba(0,0,0,0.45);
}
.repro-logo-frame img { width: 100%; display: block; }
.repro-cta-row { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.6rem; align-items: center; }
.repro-title { font-size: clamp(1.9rem, 4.4vw, 2.7rem); }
.repro-title .accent-repro { color: var(--repro); }
.repro-kicker { color: var(--repro); }
.repro-desc { color: var(--cream-2); max-width: 46ch; margin-top: 0.9rem; }
.specs-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.spec-item {
  border: 1px solid rgba(63,182,255,0.28); border-radius: var(--radius); padding: 1.4rem;
  background: rgba(63,182,255,0.06); display: flex; flex-direction: column; gap: 0.3rem;
}
.spec-value { font-family: var(--mono); font-size: clamp(1.15rem, 2.3vw, 1.6rem); font-weight: 700; color: var(--repro); line-height: 1.25; }
.spec-label { font-size: 0.92rem; color: var(--cream); }
.spec-note { font-size: 0.78rem; color: var(--cream-3); }

/* --- Reviews --- */
.reviews-grid { display: grid; grid-template-columns: 1fr; gap: 1.1rem; }
.review-card {
  background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem;
  display: flex; flex-direction: column; gap: 0.8rem;
}
.review-stars { color: var(--accent); letter-spacing: 2px; }
.review-card blockquote { color: var(--cream-2); font-size: 0.98rem; }
.review-card figcaption { font-size: 0.85rem; color: var(--cream-3); }
.reviews-cta { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

/* --- Galería --- */
.gallery-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.7rem;
}
.gallery-item {
  position: relative; overflow: hidden; border-radius: 10px; aspect-ratio: 3 / 4;
  background: var(--bg-3);
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s var(--ease-soft), filter 0.5s;
  filter: saturate(1.02);
}
.gallery-item:hover img { transform: scale(1.07); filter: saturate(1.15) brightness(1.03); }

/* --- Nosotros --- */
.nosotros-grid { display: grid; gap: 2.5rem; align-items: center; }
.nosotros-text p + p { margin-top: 1rem; }
.nosotros-text p { color: var(--cream-2); font-size: 1.02rem; }
.nosotros-stamp {
  justify-self: start; display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  width: 168px; height: 168px; border-radius: 50%; border: 1px dashed var(--line-strong); text-align: center;
  font-family: var(--mono); color: var(--cream-2); padding: 1rem; gap: 0.3rem;
}
.nosotros-stamp strong { color: var(--accent); font-size: 1.6rem; display: block; }

/* --- Social --- */
.social-row { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.social-link {
  display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.85rem 1.3rem; border-radius: 999px;
  border: 1px solid var(--line-strong); font-size: 0.92rem;
  transition: border-color 0.3s, transform 0.3s var(--ease-soft);
}
.social-link:hover { border-color: var(--accent); transform: translateY(-2px); }
.social-link svg { width: 1.15em; height: 1.15em; }

/* --- Contact --- */
.contact-grid { display: grid; gap: 2.4rem; }
.contact-info { display: grid; gap: 1.5rem; }
.info-block h3 { font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--cream-3); margin-bottom: 0.5rem; font-family: var(--mono); font-weight: 500; }
.info-block p, .info-block a { color: var(--cream); font-size: 1rem; }
.hours-row { display: flex; justify-content: space-between; font-size: 0.95rem; color: var(--cream-2); padding-block: 0.3rem; border-bottom: 1px solid var(--line); }
.hours-row:last-child { border-bottom: none; }
.map-frame { width: 100%; height: 260px; border: 1px solid var(--line); border-radius: var(--radius); filter: grayscale(0.3) invert(0.92) contrast(0.9); }

/* --- Botón flotante de WhatsApp --- */
.whatsapp-fab {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 400;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: #1f1c17; box-shadow: 0 12px 30px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.06);
  transition: transform 0.35s var(--ease-soft), box-shadow 0.35s var(--ease-soft);
}
.whatsapp-fab svg { width: 32px; height: 32px; position: relative; z-index: 1; }
.whatsapp-fab:hover { transform: translateY(-4px) scale(1.05); box-shadow: 0 18px 40px rgba(0,0,0,0.45); }
.whatsapp-fab-ring {
  position: absolute; inset: -6px; border-radius: 50%; border: 2px solid #25D366;
  opacity: 0; animation: waPulse 2.6s ease-out infinite;
}
@keyframes waPulse {
  0% { opacity: 0.55; transform: scale(0.85); }
  70% { opacity: 0; transform: scale(1.35); }
  100% { opacity: 0; transform: scale(1.35); }
}
@media (min-width: 720px) {
  .whatsapp-fab { right: 2rem; bottom: 2rem; }
}

/* --- Footer --- */
.footer { background: var(--bg-2); border-top: 1px solid var(--line); padding-block: 3.4rem 2rem; }
.footer-grid { display: grid; gap: 2.2rem; }
.footer-brand { font-family: var(--serif); font-weight: 700; font-size: 1.2rem; }
.footer-nav { display: grid; gap: 0.6rem; }
.footer-nav a { color: var(--cream-2); font-size: 0.95rem; }
.footer-nav a:hover { color: var(--cream); }
.footer-bottom {
  margin-top: 2.4rem; padding-top: 1.6rem; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: 0.82rem; color: var(--cream-3);
}
.back-to-top { display: inline-flex; align-items: center; gap: 0.4rem; }

/* =============================================================
   7. Effects & keyframes (shared)
   ============================================================= */
.has-tilt, .has-halo { will-change: transform; }

/* =============================================================
   8. Responsive
   ============================================================= */
@media (min-width: 540px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 720px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .specs-grid { grid-template-columns: repeat(3, 1fr); }
  .nosotros-grid { grid-template-columns: 1.1fr 0.9fr; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .repro-head { grid-template-columns: 280px 1fr; }
  .repro-logo-frame { justify-self: start; }
}
@media (min-width: 960px) {
  .nav-menu { display: flex; }
  .nav-toggle { display: none; }
  .services-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1280px) {
  .hero-title { max-width: 20ch; }
}

/* =============================================================
   9. Reduced motion — ONLY intrusive effects
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero::before { animation: none; }
  .splash-bar::after { animation: none; }
  .whatsapp-fab-ring { animation: none; display: none; }
  /* Tilt, hovers, fades, counts, mesh-static remain active on purpose */
}
