/* ============================================================
   MSV Maquinaria y Servicios — V2.8
   ============================================================ */

/* ── Variables ───────────────────────────────────────────── */
:root {
  --green:        #52C41A;
  --green-dark:   #1A3D0F;
  --green-mid:    #2d6b18;
  --orange:       #E8660A;
  --black:        #0D1B08;
  --text:         #1a2214;
  --text-muted:   #6b7a62;
  --stone:        #F3F1EC;
  --white:        #ffffff;
  --border:       #e5e3dc;
  --shadow:       0 1px 3px rgba(0,0,0,0.06), 0 4px 12px rgba(0,0,0,0.05);
  --shadow-md:    0 2px 8px rgba(0,0,0,0.07), 0 8px 24px rgba(0,0,0,0.08);
  --shadow-lg:    0 4px 16px rgba(0,0,0,0.09), 0 16px 40px rgba(0,0,0,0.10);

  --font:         'DM Sans', system-ui, -apple-system, sans-serif;
  --font-display: 'Sora', system-ui, sans-serif;

  --radius-sm:    6px;
  --radius:       12px;
  --radius-lg:    20px;
  --radius-pill:  100px;
  --container:    1160px;
  --transition:   0.22s ease;
  --header-clearance: 104px;
  --ease-premium:  cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out:      cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-soft:   0 1px 4px rgba(0,0,0,0.05), 0 4px 16px rgba(0,0,0,0.06);
  --shadow-lift:   0 6px 20px rgba(0,0,0,0.09), 0 24px 56px rgba(0,0,0,0.08);
  --shadow-green:  0 4px 24px rgba(82,196,26,0.32);
  --button-depth:  0 1px 0 rgba(0,0,0,0.14), 0 2px 8px rgba(82,196,26,0.16), inset 0 1px 0 rgba(255,255,255,0.10);
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
ul  { list-style: none; }
a   { text-decoration: none; color: inherit; }
address { font-style: normal; }
button  { cursor: pointer; border: none; background: none; font: inherit; }

/* ── Container ───────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

/* ── Anchor offset ───────────────────────────────────────── */
main section[id]  { scroll-margin-top: var(--header-clearance); }
.contacto-section { scroll-margin-top: var(--header-clearance); }

/* ── Scroll reveal ───────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.65s var(--ease-premium), transform 0.65s var(--ease-premium);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ── Label con acento naranja ────────────────────────────── */
.label {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
}
.label::before {
  content: '';
  display: inline-block;
  width: 22px;
  height: 2.5px;
  background: var(--orange);
  border-radius: 2px;
  margin-right: 10px;
  flex-shrink: 0;
  position: relative;
  top: -0.5px;
}
.label--light { color: rgba(255,255,255,0.52); }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  position: relative;
  overflow: hidden;
  transition: background 0.24s var(--ease-premium), color 0.24s var(--ease-premium),
              border-color 0.24s var(--ease-premium), box-shadow 0.28s ease,
              transform 0.24s var(--ease-premium);
  white-space: nowrap;
}
.btn--lg    { padding: 15px 28px; font-size: 15px; }
.btn--sm    { padding: 8px 16px;  font-size: 13px; }
.btn--block { width: 100%; justify-content: center; }

.btn--primary {
  background: linear-gradient(160deg, #63d920 0%, var(--green) 55%, #3e9813 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--button-depth);
}
.btn--primary:hover {
  background: linear-gradient(160deg, #69e021 0%, #48b015 55%, #347b0f 100%);
  border-color: transparent;
  box-shadow: 0 2px 0 rgba(0,0,0,0.14), var(--shadow-green), inset 0 1px 0 rgba(255,255,255,0.12);
  transform: translateY(-2px);
}

.btn--white {
  background: #fff;
  color: var(--black);
  border-color: rgba(255,255,255,0.9);
}
.btn--white:hover { background: var(--stone); transform: translateY(-1px); }

.btn--outline-white {
  background: transparent;
  color: rgba(255,255,255,0.9);
  border-color: rgba(255,255,255,0.32);
}
.btn--outline-white:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(255,255,255,0.68);
  transform: translateY(-1px);
}

.btn--outline-dark {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn--outline-dark:hover {
  background: var(--stone);
  border-color: var(--text-muted);
  transform: translateY(-1px);
}

/* ════════════════════════════════════════════════════════════
   PRELOADER
   ════════════════════════════════════════════════════════════ */
.preloader {
  position: fixed; inset: 0;
  z-index: 9999;
  background: #061605;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}
.preloader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.preloader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  position: relative;
}
.preloader__glow {
  position: absolute; inset: -60px;
  background: radial-gradient(circle at center, rgba(82,196,26,0.16) 0%, transparent 68%);
  border-radius: 50%;
  animation: preloaderGlow 2.4s ease-in-out infinite;
  pointer-events: none;
}
.preloader__logo {
  width: 160px; height: auto;
  position: relative; z-index: 1;
  filter: brightness(0) invert(1) opacity(0.95);
  opacity: 0;
  animation: preloaderReveal 0.75s cubic-bezier(0.22,1,0.36,1) 0.15s forwards;
}
.preloader__sub {
  font-family: var(--font);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
  position: relative; z-index: 1;
  opacity: 0;
  animation: preloaderReveal 0.75s cubic-bezier(0.22,1,0.36,1) 0.3s forwards;
}
@keyframes preloaderReveal {
  from { opacity: 0; transform: scale(0.94) translateY(10px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes preloaderGlow {
  0%,100% { opacity: 0.5; transform: scale(0.9); }
  50%      { opacity: 1;   transform: scale(1.1); }
}
@media (prefers-reduced-motion: reduce) {
  .preloader__logo,
  .preloader__sub  { animation: none; opacity: 1; }
  .preloader__glow { animation: none; }
  .preloader__lawn { animation: none; opacity: 1; }
  .preloader__cut  { animation: none; width: 100%; }
  .preloader__mower-pos { animation: none; left: 100%; }
  .preloader__mower-icon { animation: none; }
}

/* ── Preloader lawn — cortacésped animado ── */
.preloader__lawn {
  width: 200px;
  position: relative;
  margin-top: 22px;
  opacity: 0;
  animation: preloaderReveal 0.4s ease 0.5s forwards;
}
.preloader__grass {
  height: 9px;
  background: repeating-linear-gradient(
    90deg,
    rgba(82,196,26,0.5) 0px, rgba(82,196,26,0.5) 2px,
    transparent 2px, transparent 9px
  );
  border-radius: 1px;
  margin-bottom: 2px;
}
.preloader__track {
  position: relative;
  height: 3px;
  background: rgba(255,255,255,0.07);
  border-radius: 2px;
  overflow: visible;
}
.preloader__cut {
  display: block;
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 0%;
  background: var(--green);
  border-radius: 2px;
  animation: lawnCut 1.6s ease-in-out 0.6s forwards;
}
.preloader__mower-pos {
  position: absolute;
  bottom: 5px;
  left: 0%;
  transform: translateX(-50%);
  filter: drop-shadow(0 0 6px rgba(82,196,26,0.5));
  animation: mowerRide 1.6s ease-in-out 0.6s forwards;
}
.preloader__mower-icon {
  display: block;
  animation: mowerWalk 0.4s ease-in-out 0.6s 4 both;
}
@keyframes lawnCut  { from { width: 0%; } to { width: 100%; } }
@keyframes mowerRide { from { left: 0%; } to { left: 100%; } }
@keyframes mowerWalk {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-2px); }
}

/* ════════════════════════════════════════════════════════════
   HEADER — Floating pill, ligeramente más amplio en V2.8
   ════════════════════════════════════════════════════════════ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  padding: 18px 20px;
  pointer-events: none;
}
.header__pill {
  pointer-events: all;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1060px;
  margin-inline: auto;
  padding: 12px 14px 12px 24px;
  background: rgba(255,255,255,0.90);
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 20px rgba(0,0,0,0.09), 0 0 0 1px rgba(0,0,0,0.04);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}
.header.is-scrolled .header__pill {
  background: rgba(255,255,255,0.98);
  box-shadow: 0 4px 32px rgba(0,0,0,0.13), 0 0 0 1px rgba(0,0,0,0.06);
}
.header__logo img {
  height: 46px;
  width: auto;
  object-fit: contain;
}

/* Nav */
.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__link {
  display: inline-block;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius-pill);
  transition: color var(--transition), background var(--transition);
}
.nav__link:hover     { color: var(--green-dark); background: rgba(82,196,26,0.07); }
.nav__link.is-active { color: var(--green-dark); background: rgba(82,196,26,0.10); font-weight: 600; }

.header__end { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

/* Header CTA — ligeramente más proporcionado */
.header__cta {
  padding: 10px 20px;
  font-size: 13.5px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px; height: 38px;
  padding: 7px;
  border-radius: 9px;
}
.hamburger span {
  display: block;
  width: 100%; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
  transform-origin: center;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-backdrop {
  display: none;
  position: fixed; inset: 0;
  background: rgba(10,22,6,0.65);
  z-index: 997;
  backdrop-filter: blur(3px);
}
.nav-backdrop.is-open { display: block; }

/* Mobile nav overlay: oculto por defecto, solo visible en móvil con is-open */
.mobile-nav { display: none; }

/* Scroll lock cuando el menú móvil está abierto */
body.menu-open { overflow: hidden; }

/* ════════════════════════════════════════════════════════════
   HERO — V3.0: Contained premium hero con marco redondeado
   ════════════════════════════════════════════════════════════ */

/* Sección exterior: fondo stone, crea el mat visual */
.hero {
  background: var(--stone);
  padding: 100px 0 40px;
}

/* Marco contenedor: redondeado, con sombra premium */
.hero__frame {
  position: relative;
  max-width: 1240px;
  width: calc(100% - 48px);
  margin-inline: auto;
  height: clamp(560px, 68vh, 640px);
  border-radius: 28px;
  overflow: hidden;
  background: var(--black);
  box-shadow:
    0 4px 6px rgba(0,0,0,0.04),
    0 16px 48px rgba(0,0,0,0.14),
    0 40px 90px rgba(0,0,0,0.09),
    0 0 0 1px rgba(0,0,0,0.06);
}

/* Gradiente localizado detrás del bloque de texto — imagen superior sin tocar */
.hero__frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(3,8,2,0.06) 0%,
    rgba(3,8,2,0.02) 30%,
    rgba(3,8,2,0.16) 72%,
    rgba(3,8,2,0.50) 100%
  );
  z-index: 2;
  pointer-events: none;
}

.hero__slider { position: relative; height: 100%; }

.hero__slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
  pointer-events: none;
}
.hero__slide.is-active { opacity: 1; pointer-events: auto; z-index: 1; }

.hero__bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 8s cubic-bezier(0.25,0.1,0.25,1);
}
.hero__slide.is-active .hero__bg { transform: scale(1); }

/* Overlay uniforme sobre la imagen para legibilidad del texto centrado */
.hero__overlay {
  position: absolute; inset: 0;
  background: rgba(3,8,2,0.50);
}

.hero__content {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -48%);
  width: min(680px, calc(100% - 48px));
  max-width: 680px;
  z-index: 3;
  margin: 0;
}

/* ── Seal premium — sello de autoridad ── */
.hero__seal {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px 9px 14px;
  background: rgba(6,12,4,0.76);
  border: 1px solid rgba(232,102,10,0.72);
  border-radius: 100px;
  backdrop-filter: blur(18px) saturate(1.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: 0 0 0 1px rgba(232,102,10,0.12), inset 0 1px 0 rgba(255,255,255,0.05);
  margin-bottom: 28px;
  white-space: nowrap;
}
.hero__seal-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(232,102,10,0.80), 0 0 4px rgba(232,102,10,0.50);
  animation: sealPulse 2.8s ease-in-out infinite;
}
@keyframes sealPulse {
  0%, 100% { box-shadow: 0 0 10px rgba(232,102,10,0.80), 0 0 4px rgba(232,102,10,0.50); }
  50% { box-shadow: 0 0 16px rgba(232,102,10,1), 0 0 7px rgba(232,102,10,0.70); }
}
@media (prefers-reduced-motion: reduce) { .hero__seal-dot { animation: none; } }
.hero__seal-text {
  font-family: var(--font);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.80);
}

/* ── Título hero — Sora 800, refinado y potente ── */
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.028em;
  color: #fff;
  margin-bottom: 24px;
  text-wrap: balance;
  -webkit-text-wrap: balance;
}

.hero__desc {
  font-size: 16px;
  line-height: 1.74;
  color: rgba(255,255,255,0.62);
  max-width: 480px;
  margin-bottom: 36px;
}

.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero__rating {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 20px;
  padding: 7px 14px 7px 9px;
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 100px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 12.5px;
  color: rgba(255,255,255,0.68);
  font-weight: 500;
}
.hero__stars { color: #FFB800; font-size: 12px; letter-spacing: 1px; display: inline-flex; align-items: center; }
.hero__stars .star--half { opacity: 0.35; }
.hero__rating strong { color: rgba(255,255,255,0.90); }


/* Controles hero — posicionados dentro de .hero__frame */
.hero__arrow {
  position: absolute;
  bottom: 28px; z-index: 4;
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  transition: background 0.22s ease, transform 0.22s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero__arrow:hover { background: rgba(255,255,255,0.22); transform: scale(1.07); }
.hero__arrow--prev { right: 80px; }
.hero__arrow--next { right: 28px; }

.hero__dots {
  position: absolute;
  bottom: 38px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 7px;
  z-index: 4;
}
.hero__dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,0.30);
  border: none;
  transition: background 0.25s ease, width 0.28s var(--ease-premium);
  cursor: pointer;
}
.hero__dot.is-active { background: #fff; width: 22px; border-radius: 3px; }

/* ════════════════════════════════════════════════════════════
   TRUST BAND — Contenida al ancho del hero frame, continúa visualmente bajo él
   ════════════════════════════════════════════════════════════ */
.trust-band {
  background: var(--black);
}
.trust-band__list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  max-width: var(--container);
  margin-inline: auto;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}
.trust-band__item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.76);
  padding: 15px 16px;
  position: relative;
  text-align: center;
  white-space: nowrap;
  transition: color 0.2s ease;
}
.trust-band__item:hover { color: rgba(255,255,255,1); }
.trust-band__item svg { color: var(--green); flex-shrink: 0; }
.trust-band__item + .trust-band__item::before {
  content: '';
  position: absolute;
  left: 0; top: 20%; height: 60%; width: 1px;
  background: rgba(255,255,255,0.10);
}
.trust-band__stars {
  color: #FFB800;
  font-size: 12px;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

/* ════════════════════════════════════════════════════════════
   STATS SECTION — 4 métricas internas de empresa
   ════════════════════════════════════════════════════════════ */
.stats-section {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 8px 0;
}
.stats-grid {
  display: flex;
  align-items: stretch;
}
.stat-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 44px 28px;
  text-align: center;
  border-right: 1px solid var(--border);
  position: relative;
  transition: background 0.22s ease;
}
.stat-item::after {
  content: '';
  position: absolute;
  top: 0; left: 18%; right: 18%; height: 2.5px;
  background: linear-gradient(90deg, var(--green) 0%, var(--green-mid) 100%);
  border-radius: 0 0 3px 3px;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.stat-item:hover::after { opacity: 1; }
.stat-item:hover { background: rgba(82,196,26,0.022); }
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 800;
  color: var(--black);
  letter-spacing: -0.03em;
  line-height: 1;
}
.stat-num--phrase {
  font-size: 24px;
  letter-spacing: -0.01em;
  color: var(--green-dark);
}
.stat-label {
  font-size: 12.5px;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.5;
  max-width: 150px;
}
.stat-label strong { color: var(--black); }
.stats-grid .reveal:nth-child(2) { transition-delay: 0.07s; }
.stats-grid .reveal:nth-child(3) { transition-delay: 0.14s; }
.stats-grid .reveal:nth-child(4) { transition-delay: 0.21s; }

/* ════════════════════════════════════════════════════════════
   REVIEWS SECTION — Cabecera + tarjetas de reseñas reales
   ════════════════════════════════════════════════════════════ */
.reviews-section {
  background: var(--stone);
  padding: 72px 0 68px;
}

/* Cabecera propia: más compacta que section__header genérico */
.reviews-section__header {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 36px;
}
.reviews-section__title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.5vw, 44px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--black);
  margin-bottom: 16px;
}

/* Aggregate: estrellas + nota + reseñas + link, en una sola línea */
.reviews-section__aggregate {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 13.5px;
  color: var(--text-muted);
  font-weight: 500;
}
.reviews-agg-stars {
  color: #FFB800;
  font-size: 14px;
  letter-spacing: 1.5px;
  line-height: 1;
}
.reviews-agg-score { color: var(--black); font-weight: 600; }
.reviews-agg-score strong { font-size: 15px; }
.reviews-agg-sep { color: var(--border); font-size: 16px; }
.reviews-agg-count { color: var(--text-muted); }
.reviews-agg-link {
  color: var(--green-mid);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.18s ease;
  white-space: nowrap;
}
.reviews-agg-link:hover { color: var(--green); }

/* ── Carrusel — wrapper ── */
.reviews-carousel {
  max-width: 820px;
  margin-inline: auto;
}

/* Grid stacking: todos los slides en la misma celda, crossfade entre ellos */
.reviews-carousel__track {
  display: grid;
  grid-template-columns: 1fr;
  margin-bottom: 28px;
}

.reviews-slide {
  grid-column: 1;
  grid-row: 1;
  opacity: 0;
  transform: scale(0.985) translateY(6px);
  transition: opacity 0.52s ease, transform 0.52s ease;
  pointer-events: none;
  z-index: 0;
}
.reviews-slide.is-active {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
  z-index: 1;
}
@media (prefers-reduced-motion: reduce) {
  .reviews-slide { transition: opacity 0.1s ease; transform: none !important; }
}

/* ── Tarjeta grande protagonista ── */
.reviews-slide__card {
  background: var(--white);
  border: 1px solid rgba(82,196,26,0.13);
  border-radius: var(--radius-lg);
  padding: 52px 56px 44px;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(82,196,26,0.07),
    0 4px 24px rgba(0,0,0,0.06),
    0 12px 40px rgba(0,0,0,0.04);
  transition: box-shadow 0.35s ease, transform 0.35s var(--ease-premium);
}

/* Comillas decorativas */
.reviews-slide__card::before {
  content: '\201C';
  position: absolute;
  top: 16px; left: 44px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 130px;
  line-height: 1;
  color: var(--green);
  opacity: 0.07;
  pointer-events: none;
  user-select: none;
}

/* Barra superior verde→naranja */
.reviews-slide__card::after {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%; height: 3px;
  background: linear-gradient(90deg, var(--green) 0%, var(--orange) 100%);
  border-radius: 0 0 4px 4px;
  opacity: 0.6;
}

.reviews-slide__stars {
  font-size: 20px;
  color: #FFB800;
  letter-spacing: 3px;
  line-height: 1;
  margin-bottom: 20px;
  position: relative; z-index: 1;
}

.reviews-slide__text {
  font-size: 18px;
  line-height: 1.82;
  color: var(--text);
  font-style: italic;
  margin: 0 0 28px;
  padding: 0;
  border: none;
  font-weight: 400;
  position: relative; z-index: 1;
}

.reviews-slide__author {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  position: relative; z-index: 1;
}

.reviews-slide__name {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--black);
  letter-spacing: -0.01em;
}

.reviews-slide__source {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--text-muted);
  font-weight: 500;
}

/* ── Controles: flechas + puntos ── */
.reviews-carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.reviews-carousel__arrow {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--text);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 0.22s ease, background 0.22s ease,
              color 0.22s ease, transform 0.22s ease;
  box-shadow: 0 1px 6px rgba(0,0,0,0.05);
}
.reviews-carousel__arrow:hover {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
  transform: scale(1.08);
  box-shadow: 0 4px 16px rgba(82,196,26,0.28);
}

.reviews-carousel__dots {
  display: flex;
  gap: 9px;
  align-items: center;
}

.reviews-carousel__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(0,0,0,0.15);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.25s ease, width 0.25s ease, border-radius 0.25s ease;
}
.reviews-carousel__dot.is-active {
  background: var(--green);
  width: 28px;
  border-radius: 4px;
}

.reviews-strip { display: none; }

/* ════════════════════════════════════════════════════════════
   SECTIONS — Generic
   ════════════════════════════════════════════════════════════ */
.section        { padding: 88px 0; }
.section--stone { background: var(--stone); }

.section__header {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 52px;
}
.section__header h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.5vw, 44px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--black);
  margin-bottom: 14px;
}
.section__desc { font-size: 15.5px; color: var(--text-muted); line-height: 1.72; }

/* ════════════════════════════════════════════════════════════
   SERVICIOS — Grid 2×2, tarjetas premium ampliadas
   ════════════════════════════════════════════════════════════ */
#servicios .section__header h2 {
  font-size: clamp(26px, 3.8vw, 48px);
}

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.srv-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px 40px 40px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  transition: border-color 0.28s var(--ease-premium), box-shadow 0.28s ease, transform 0.28s var(--ease-premium);
}
.srv-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--green) 0%, var(--green-mid) 100%);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  opacity: 0;
  transition: opacity 0.28s ease;
}
.srv-card:hover {
  border-color: rgba(82,196,26,0.30);
  box-shadow: 0 8px 32px rgba(0,0,0,0.10), 0 2px 8px rgba(0,0,0,0.06), 0 0 0 1px rgba(82,196,26,0.10);
  transform: translateY(-4px);
}
.srv-card:hover::before { opacity: 1; }
.srv-card__num {
  position: absolute;
  bottom: -20px; right: 16px;
  font-family: var(--font-display);
  font-size: 120px;
  font-weight: 800;
  color: var(--black);
  opacity: 0.03;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.04em;
}
.srv-card__icon {
  width: 60px; height: 60px;
  background: rgba(82,196,26,0.08);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  margin-bottom: 24px;
  flex-shrink: 0;
  transition: background 0.22s ease, transform 0.22s ease;
}
.srv-card:hover .srv-card__icon {
  background: rgba(82,196,26,0.16);
  transform: scale(1.10) translateY(-1px);
}
.srv-card h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--black);
  margin-bottom: 12px;
  line-height: 1.25;
}
.srv-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 28px;
  flex: 1;
}
.srv-card__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: auto;
  align-self: stretch;
  padding: 13px 22px;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 600;
  background: var(--green);
  color: var(--white);
  border: 1.5px solid var(--green);
  transition: background var(--transition), border-color var(--transition),
              box-shadow var(--transition), transform var(--transition);
  white-space: nowrap;
  text-align: center;
}
.srv-card__btn:hover {
  background: var(--green-mid);
  border-color: var(--green-mid);
  box-shadow: 0 4px 16px rgba(82,196,26,0.3);
  transform: translateY(-1px);
}
.servicios-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.servicios-grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.servicios-grid .reveal:nth-child(4) { transition-delay: 0.24s; }

/* ════════════════════════════════════════════════════════════
   NOSOTROS
   ════════════════════════════════════════════════════════════ */
.nosotros {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 72px;
  align-items: center;
}
.nosotros__content h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.8vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--black);
  margin-bottom: 18px;
}
.nosotros__lead {
  font-size: 15.5px;
  line-height: 1.78;
  color: var(--text-muted);
  margin-bottom: 28px;
}

/* Highlights 2×2 — reemplaza los pilares */
.nosotros__highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 36px;
}
.nosotros__highlight {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 18px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}
.nosotros__highlight:hover {
  border-color: rgba(82,196,26,0.22);
  box-shadow: 0 2px 14px rgba(0,0,0,0.05);
}
.nosotros__hl-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  background: rgba(82,196,26,0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  margin-top: 1px;
}
.nosotros__highlight strong {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 4px;
  line-height: 1.3;
}
.nosotros__highlight p {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

.nosotros__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.nosotros__visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  position: relative;
}
@supports (clip-path: polygon(0 0, 100% 3%, 100% 97%, 0 100%)) {
  .nosotros__visual {
    clip-path: polygon(0 0, 100% 3%, 100% 97%, 0 100%);
    border-radius: 0;
  }
}
.nosotros__visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 30% top;
}
.nosotros__badge-google {
  position: absolute;
  bottom: 20px; left: 20px;
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  padding: 10px 14px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.14);
}
.nosotros__stars { color: #FFB800; font-size: 14px; letter-spacing: 1px; }
.nosotros__stars span { opacity: 0.3; }
.nosotros__badge-google > div { display: flex; flex-direction: column; gap: 1px; }
.nosotros__badge-google strong { font-size: 14px; font-weight: 700; color: var(--black); line-height: 1; }
.nosotros__badge-google span  { font-size: 11px; color: var(--text-muted); font-weight: 500; }

/* ════════════════════════════════════════════════════════════
   SOLUCIONES
   ════════════════════════════════════════════════════════════ */
.soluciones { background: var(--black); padding: 88px 0 0; }
.soluciones__header { text-align: center; margin-bottom: 48px; }
.soluciones__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #fff;
}
.soluciones__grid { display: grid; grid-template-columns: repeat(3, 1fr); }

.sol-panel {
  position: relative;
  height: 460px;
  overflow: hidden;
}
.sol-panel::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.40s ease;
  z-index: 4;
}
.sol-panel:hover::after { transform: scaleX(1); }

.sol-panel__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.05);
  transition: transform 0.72s ease;
}
.sol-panel:hover .sol-panel__bg { transform: scale(1); }

.sol-panel__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(5,12,3,0.96) 0%, rgba(5,12,3,0.56) 46%, rgba(5,12,3,0.18) 100%);
}
.sol-panel__content {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 36px 30px; z-index: 2;
}
.sol-panel__tag {
  display: inline-block;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 8px;
}
.sol-panel__content h3 {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 700;
  letter-spacing: -0.015em;
  color: #fff; line-height: 1.2; margin-bottom: 8px;
}
.sol-panel__content p {
  font-size: 13.5px;
  color: rgba(255,255,255,0.62);
  line-height: 1.6; margin-bottom: 14px;
}
.sol-panel__link {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12.5px; font-weight: 600;
  color: rgba(255,255,255,0.52);
  transition: color var(--transition), gap var(--transition);
}
.sol-panel__link:hover { color: #fff; gap: 9px; }

/* ════════════════════════════════════════════════════════════
   MARCAS — Marquee
   ════════════════════════════════════════════════════════════ */
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marcas-marquee {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  padding: 4px 0;
}
.marquee__track {
  display: flex; align-items: center;
  width: max-content;
  animation: marquee 52s linear infinite;
}
.marcas-marquee:hover .marquee__track { animation-play-state: paused; }

.marquee__logo {
  flex-shrink: 0;
  width: 200px; height: 96px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 5px; padding: 0 28px;
  border-right: 1px solid var(--border);
}
.marquee__logo:last-child { border-right: none; }
.marquee__logo img {
  height: 46px;
  max-height: 46px;
  max-width: 138px;
  width: auto; object-fit: contain;
  filter: grayscale(0.25) opacity(0.82);
  transition: filter 0.35s ease, transform 0.35s var(--ease-premium);
}
.marquee__logo:hover img { filter: grayscale(0) opacity(1); transform: scale(1.07); }
.marquee__logo--featured {
  background: rgba(82,196,26,0.05);
  border-radius: 10px;
  border: 1px solid rgba(82,196,26,0.12);
}
.marquee__logo--featured img { filter: grayscale(0) opacity(1) !important; }
.marquee__official {
  font-size: 9px; font-weight: 700;
  letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--orange); opacity: 0.9;
}

/* ════════════════════════════════════════════════════════════
   TALLER
   ════════════════════════════════════════════════════════════ */
.taller { background: #0d1c09; overflow: hidden; }
.taller__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}
.taller__content { display: flex; align-items: center; padding: 72px 0; }
.taller__content-inner { padding-inline: 72px 52px; max-width: 540px; }

.taller__title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.2vw, 46px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 16px;
}
.taller__desc {
  font-size: 15px;
  color: rgba(255,255,255,0.56);
  line-height: 1.78; margin-bottom: 28px;
}
.taller__list { display: flex; flex-direction: column; gap: 11px; margin-bottom: 36px; }
.taller__list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13.5px;
  color: rgba(255,255,255,0.70);
  line-height: 1.5;
}
.taller__list svg { flex-shrink: 0; color: var(--green); margin-top: 1px; }
.taller__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.taller__visual { position: relative; overflow: hidden; }
.taller__visual img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }

/* ════════════════════════════════════════════════════════════
   CTA FINAL — Número de teléfono como watermark
   ════════════════════════════════════════════════════════════ */
.cta-final {
  background: var(--black);
  padding: 88px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  position: relative;
  overflow: hidden;
}
.cta-final__phone-bg {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: clamp(48px, 14vw, 170px);
  font-weight: 800;
  color: #fff;
  opacity: 0.025;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.02em;
  overflow: hidden;
}
.cta-final__inner {
  text-align: center;
  max-width: 600px;
  position: relative;
  z-index: 1;
}
.cta-final__pre {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(255,255,255,0.26); margin-bottom: 14px;
}
.cta-final__title {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #fff; margin-bottom: 14px;
}
.cta-final__desc {
  font-size: 15px;
  color: rgba(255,255,255,0.42);
  line-height: 1.72; margin-bottom: 38px;
}
.cta-final__actions {
  display: flex; gap: 10px;
  justify-content: center; flex-wrap: wrap;
}

/* ════════════════════════════════════════════════════════════
   CONTACTO — Sección unificada
   ════════════════════════════════════════════════════════════ */
.contacto-section { background: var(--stone); }

.contacto-section__header {
  padding: 56px 0 40px;
  text-align: center;
}
.contacto-section__header .label { margin-bottom: 10px; }
.contacto-section__header h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--black); margin-bottom: 12px;
}
.contacto-section__header p {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 500px;
  margin-inline: auto;
  line-height: 1.7;
}

.mapa-block { width: 100%; }
.mapa-block iframe { display: block; width: 100%; border: none; height: 360px; }

.contacto {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: flex-start;
  padding-top: 48px; padding-bottom: 80px;
}
.contacto__info-title {
  font-size: 18px; font-weight: 700;
  letter-spacing: -0.01em; color: var(--black); margin-bottom: 20px;
}
.contacto__datos {
  display: flex; flex-direction: column;
  border-top: 1px solid var(--border);
}
.dato {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
  transition: opacity var(--transition);
}
a.dato:hover { opacity: 0.72; }
.dato__icon {
  width: 34px; height: 34px; flex-shrink: 0;
  background: var(--white);
  border: 1px solid var(--border); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
}
.dato > div { display: flex; flex-direction: column; gap: 2px; }
.dato strong { font-size: 12.5px; font-weight: 600; color: var(--black); }
.dato span, .dato address { font-size: 13.5px; color: var(--text-muted); line-height: 1.5; }
.dato__value { font-size: 15px; font-weight: 700; color: var(--black); }
.dato__sub   { font-size: 12.5px; color: var(--text-muted); margin-top: 1px; }
.dato--cta { border-radius: var(--radius-sm); transition: background var(--transition), opacity var(--transition); }
.dato--cta:hover { background: rgba(82,196,26,0.06); opacity: 1; }
.contacto__btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }

.contacto__form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-md);
}
.contacto__form h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; color: var(--black); margin-bottom: 5px; }
.form-intro { font-size: 13.5px; color: var(--text-muted); margin-bottom: 22px; line-height: 1.5; }

.form-group { display: flex; flex-direction: column; gap: 5px; margin-bottom: 13px; }
.form-row   { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }

label { font-size: 12.5px; font-weight: 600; color: var(--text); }
label span { color: var(--green); }

input, select, textarea {
  font-family: var(--font);
  font-size: 14px; color: var(--text);
  background: var(--stone);
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  transition: border-color var(--transition), background var(--transition);
  width: 100%;
}
input:focus, select:focus, textarea:focus {
  outline: none; background: var(--white);
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(82,196,26,0.10);
}
input::placeholder, textarea::placeholder { color: #b5bfab; }
select { appearance: none; cursor: pointer; }
textarea { resize: vertical; min-height: 88px; }

.form-check { display: flex; align-items: flex-start; gap: 9px; margin-bottom: 16px; margin-top: 4px; }
.form-check input[type="checkbox"] { width: 15px; height: 15px; flex-shrink: 0; margin-top: 2px; accent-color: var(--green); }
.form-check label { font-size: 12.5px; color: var(--text-muted); font-weight: 400; }
.form-check a { color: var(--green-mid); text-decoration: underline; }

.form-success {
  margin-top: 13px; padding: 12px 14px;
  background: rgba(82,196,26,0.08);
  border: 1px solid rgba(82,196,26,0.22);
  border-radius: var(--radius-sm);
  font-size: 13.5px; color: var(--green-mid); font-weight: 500;
}

/* ════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════ */
.footer {
  background: var(--black);
  color: rgba(255,255,255,0.58);
  font-size: 13.5px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 44px;
  padding: 60px 0 48px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer__brand img {
  height: 36px; width: auto; object-fit: contain;
  margin-bottom: 14px;
  filter: brightness(0) invert(1) opacity(0.75);
}
.footer__brand p {
  font-size: 13px; line-height: 1.72;
  max-width: 230px; margin-bottom: 16px;
  color: rgba(255,255,255,0.50);
}
.footer__phone {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 15px; font-weight: 700;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}
.footer__phone:hover { color: var(--green); }
.footer__phone svg   { color: var(--green); flex-shrink: 0; }

.footer__nav h4,
.footer__servicios h4,
.footer__contacto h4 {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.20); margin-bottom: 16px;
}
.footer__nav ul li,
.footer__servicios ul li { margin-bottom: 9px; }
.footer__nav a, .footer__servicios a {
  color: rgba(255,255,255,0.56);
  font-size: 13.5px;
  transition: color var(--transition);
}
.footer__nav a:hover, .footer__servicios a:hover { color: #fff; }
.footer__contacto a,
.footer__contacto address,
.footer__contacto p {
  display: block; font-size: 13.5px;
  color: rgba(255,255,255,0.56);
  line-height: 1.65; margin-bottom: 7px;
  transition: color var(--transition);
}
.footer__contacto a:hover { color: #fff; }
.footer__horario { font-size: 12.5px; }

.footer__rexify {
  display: flex; justify-content: center; align-items: center;
  padding: 22px 0 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer__rexify-link {
  font-size: 13px; font-weight: 500;
  color: rgba(255,255,255,0.42);
  letter-spacing: 0.03em;
  transition: color var(--transition);
  display: inline-flex; align-items: center; gap: 8px;
}
.footer__rexify-link:hover { color: rgba(255,255,255,0.72); }
.footer__rexify-link svg { opacity: 0.35; transition: opacity var(--transition); }
.footer__rexify-link:hover svg { opacity: 0.7; }
.footer__rexify-brand {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  background: linear-gradient(90deg, #52C41A 0%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer__bottom { border-top: 1px solid rgba(255,255,255,0.05); }
.footer__bottom-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0; font-size: 12px; color: rgba(255,255,255,0.20);
}
.footer__bottom-inner nav { display: flex; gap: 16px; }
.footer__bottom-inner a { color: rgba(255,255,255,0.20); transition: color var(--transition); }
.footer__bottom-inner a:hover { color: rgba(255,255,255,0.56); }

/* ════════════════════════════════════════════════════════════
   PHONE FAB — Solo móvil
   ════════════════════════════════════════════════════════════ */
.phone-fab {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 990;
  display: none;
  align-items: center; gap: 8px;
  padding: 13px 20px;
  background: var(--green); color: #fff;
  border-radius: var(--radius-pill);
  font-size: 13.5px; font-weight: 600;
  box-shadow: 0 4px 20px rgba(82,196,26,0.42);
  transition: transform var(--transition), box-shadow var(--transition), opacity 0.25s ease;
}
.phone-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(82,196,26,0.54);
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE — 1200px
   ════════════════════════════════════════════════════════════ */
@media (max-width: 1200px) {
  .trust-band__item   { font-size: 10px; padding: 14px 12px; }
  .taller__content-inner { padding-inline: 48px 36px; }
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE — 1024px
   ════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero { padding: 96px 0 32px; }
  .hero__frame { border-radius: 24px; height: clamp(520px, 70vh, 640px); }

  .section    { padding: 72px 0; }
  .soluciones { padding: 72px 0 0; }
  .cta-final  { padding: 72px 0; }

  .trust-band__list { grid-template-columns: repeat(3, 1fr); }
  .trust-band__item:nth-child(4)::before { display: none; }
  .trust-band__item:nth-child(4),
  .trust-band__item:nth-child(5) { border-top: 1px solid rgba(255,255,255,0.08); }

  .servicios-grid { grid-template-columns: repeat(2, 1fr); }

  .nosotros { grid-template-columns: 1fr; gap: 44px; }
  .nosotros__visual { aspect-ratio: 4/3; order: -1; }
  @supports (clip-path: polygon(0 0, 100% 2%, 100% 98%, 0 100%)) {
    .nosotros__visual { clip-path: polygon(0 0, 100% 2%, 100% 98%, 0 100%); }
  }

  .soluciones__grid { grid-template-columns: 1fr; }
  .sol-panel { height: 340px; }

  .taller__inner { grid-template-columns: 1fr; }
  .taller__visual { height: 320px; }
  .taller__content-inner { padding-inline: 40px; max-width: 100%; }

  .contacto { grid-template-columns: 1fr; gap: 40px; }

  .footer__top { grid-template-columns: 1fr 1fr; gap: 36px; }
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE — 768px
   ════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  :root { --header-clearance: 80px; }

  .section    { padding: 60px 0; }
  .soluciones { padding: 60px 0 0; }
  .cta-final  { padding: 64px 0; }

  .header { padding: 10px 14px; }
  .header__cta { display: none; }
  .hamburger { display: flex; }

  /* En móvil el nav de desktop desaparece — lo sustituye .mobile-nav */
  .nav { display: none; }

  /* ── Mobile nav overlay V3.0 ──────────────────────────────────────────────
     CRÍTICO: .mobile-nav es sibling del <header>, NO está dentro de ningún
     elemento con backdrop-filter. Así position:fixed referencia el viewport
     correctamente y el overlay cubre la pantalla completa.
  ────────────────────────────────────────────────────────────────────────── */
  .mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100svh;
    height: 100dvh;
    z-index: 9990;
    background: #061304;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.77, 0, 0.18, 1);
    visibility: hidden;
    pointer-events: none;
    overscroll-behavior: contain;
  }
  .mobile-nav.is-open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: all;
  }

  /* Zona superior: logo + botón cerrar */
  .mobile-nav__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 20px 18px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    flex-shrink: 0;
    min-height: 72px;
  }
  .mobile-nav__logo {
    height: 36px;
    width: auto;
    filter: brightness(0) invert(1) opacity(0.85);
  }
  .mobile-nav__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.80);
    flex-shrink: 0;
    transition: background 0.2s ease, color 0.2s ease;
  }
  .mobile-nav__close:hover,
  .mobile-nav__close:active { background: rgba(255,255,255,0.16); color: #fff; }

  /* Zona central: links de navegación */
  .mobile-nav__body {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 8px 20px;
    overflow-y: auto;
  }
  .mobile-nav__list {
    list-style: none;
    width: 100%;
  }
  .mobile-nav__link {
    display: block;
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 700;
    color: rgba(255,255,255,0.65);
    padding: 14px 8px;
    letter-spacing: -0.02em;
    line-height: 1.1;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: color 0.18s ease, padding-left 0.18s ease;
    text-decoration: none;
  }
  .mobile-nav__list li:last-child .mobile-nav__link { border-bottom: none; }
  .mobile-nav__link:hover,
  .mobile-nav__link:active { color: #fff; padding-left: 14px; }
  .mobile-nav__link.is-active { color: var(--green); }

  /* Zona inferior: CTA + dirección */
  .mobile-nav__foot {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 20px 28px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .mobile-nav__cta {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--green);
    color: #fff;
    border-radius: var(--radius);
    padding: 16px 20px;
    font-size: 15px;
    font-weight: 600;
    font-family: var(--font);
    justify-content: center;
    text-decoration: none;
    transition: background 0.2s ease;
  }
  .mobile-nav__cta:hover { background: var(--green-mid); }
  .mobile-nav__address {
    font-size: 12px;
    color: rgba(255,255,255,0.28);
    text-align: center;
    font-style: normal;
    line-height: 1.5;
  }

  .hero { padding: 90px 0 20px; }
  .hero__frame { border-radius: 20px; height: clamp(480px, 70vh, 600px); }
  .hero__arrow { display: none; }
  .hero__content { width: calc(100% - 32px); max-width: 100%; }
  .hero__title {
    font-size: clamp(28px, 7.5vw, 44px);
    letter-spacing: -0.022em;
    line-height: 1.1;
  }
  .hero__desc  { font-size: 14.5px; max-width: 100%; line-height: 1.68; }
  .hero__seal  { margin-bottom: 18px; }
  .hero__actions { gap: 10px; }
  .hero__rating { margin-top: 14px; font-size: 12px; padding: 6px 12px 6px 8px; }
  .header__logo img { height: 40px; }

  .trust-band__list { grid-template-columns: repeat(2, 1fr); }
  .trust-band__item:nth-child(3)::before { display: none; }
  .trust-band__item:nth-child(4)::before { display: block; }
  .trust-band__item:nth-child(5)::before { display: none; }
  .trust-band__item:nth-child(3),
  .trust-band__item:nth-child(4) { border-top: 1px solid rgba(255,255,255,0.08); }
  .trust-band__item:nth-child(5) { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,0.08); }

  /* Stats section — móvil: grid 2×2 (4 items) */
  .stats-section .container { padding: 0; }
  .stats-section { padding: 0; }
  .stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .stat-item {
    padding: 28px 16px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }
  .stat-item::after { display: none; }
  .stat-item:nth-child(even) { border-right: none; }
  .stat-item:nth-last-child(-n+2) { border-bottom: none; }
  .stat-num { font-size: 30px; }
  .stat-num--phrase { font-size: 19px; }
  .stat-label { max-width: 100%; font-size: 11.5px; }

  /* Reviews carousel — móvil */
  .reviews-section { padding: 52px 0 48px; }
  .reviews-section__header { margin-bottom: 28px; padding-inline: 20px; }
  .reviews-section__aggregate { gap: 7px; font-size: 12.5px; }
  .reviews-slide__card { padding: 36px 28px 30px; }
  .reviews-slide__card::before { font-size: 90px; left: 22px; top: 10px; }
  .reviews-slide__card::after  { left: 8%; right: 8%; }
  .reviews-slide__stars { font-size: 17px; }
  .reviews-slide__text  { font-size: 16px; line-height: 1.76; margin-bottom: 22px; }
  .reviews-carousel__controls { gap: 14px; }
  .reviews-carousel__arrow { width: 42px; height: 42px; }

  .servicios-grid { grid-template-columns: 1fr; gap: 16px; }
  .srv-card { padding: 32px 28px 28px; }
  .srv-card h3 { font-size: 17px; }
  .srv-card p  { font-size: 14px; }
  .srv-card__btn { width: 100%; justify-content: center; }

  .nosotros { grid-template-columns: 1fr; gap: 40px; }
  .nosotros__visual { order: -1; aspect-ratio: 16/9; max-height: 340px; }
  .nosotros__highlights { grid-template-columns: 1fr 1fr; gap: 12px; }
  .nosotros__actions { flex-direction: column; }
  .nosotros__actions .btn { width: 100%; justify-content: center; }
  .nosotros__badge-google { left: 12px; bottom: 12px; }

  .sol-panel { height: 300px; }
  .sol-panel__content { padding: 24px 20px; }
  .sol-panel__content h3 { font-size: 19px; }

  .taller__content-inner { padding-inline: 24px; }

  .contacto-section__header { padding: 44px 0 30px; }
  .mapa-block iframe { height: 260px; }
  .contacto { padding-top: 36px; padding-bottom: 60px; }
  .contacto__form-wrap { padding: 24px 18px; }
  .form-row { grid-template-columns: 1fr; }
  .contacto__btns { flex-direction: column; }
  .contacto__btns .btn { justify-content: center; }

  .footer__top { grid-template-columns: 1fr; gap: 28px; }
  .footer__bottom-inner { flex-direction: column; gap: 10px; text-align: center; }

  .phone-fab {
    display: flex;
    right: 18px; bottom: 20px;
    padding: 13px 18px;
    font-size: 13px;
    gap: 8px;
    box-shadow: 0 4px 20px rgba(82,196,26,0.40);
  }
  .cta-final__phone-bg { opacity: 0.018; }
  .preloader__logo { width: 140px; }
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE — 480px
   ════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .trust-band__list { border-radius: 0; }
  .trust-band__item { font-size: 9.5px; padding: 12px 8px; }

  .hero { padding: 86px 0 14px; }
  .hero__frame { border-radius: 16px; height: clamp(440px, 72vh, 540px); }
  .hero__title { font-size: clamp(26px, 8.5vw, 38px); margin-bottom: 18px; }
  .hero__desc  { margin-bottom: 22px; }
  .hero__seal  { padding: 7px 13px; margin-bottom: 16px; }
  .hero__seal-dot { width: 5px; height: 5px; }
  .hero__seal-text { font-size: 9.5px; letter-spacing: 0.11em; }
  .hero__actions { flex-direction: column; gap: 8px; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .hero__dots { bottom: 14px; }
  .header__logo img { height: 36px; }

  .section__header h2 { font-size: clamp(22px, 8vw, 32px); }

  .cta-final__actions { flex-direction: column; align-items: center; }
  .cta-final__actions .btn { width: 100%; max-width: 280px; justify-content: center; }

  .taller__actions { flex-direction: column; }
  .taller__actions .btn { width: 100%; justify-content: center; }

  .phone-fab span { display: none; }
  .phone-fab { padding: 14px; border-radius: 50%; width: 52px; height: 52px; bottom: 20px; right: 16px; }

  .reviews-section__title { font-size: clamp(22px, 7vw, 32px); }
  .reviews-slide__card { padding: 28px 20px 24px; }
  .reviews-slide__text { font-size: 15px; line-height: 1.72; }
  .reviews-slide__card::before { font-size: 72px; left: 16px; }

  .nosotros__highlights { grid-template-columns: 1fr; }
  .nosotros__actions .btn { width: 100%; }
  .sol-panel { height: 280px; }

  /* Menú móvil — pantallas pequeñas */
  .mobile-nav__link { font-size: 26px; padding: 12px 8px; }
  .mobile-nav__foot { padding: 16px 16px 24px; }
  .mobile-nav__cta  { font-size: 14px; padding: 14px 16px; }
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE — 360px (teléfonos compactos)
   ════════════════════════════════════════════════════════════ */
@media (max-width: 360px) {
  .trust-band__list { border-radius: 0; }
  .hero { padding: 78px 0 10px; }
  .hero__frame { border-radius: 12px; height: clamp(460px, 70vh, 540px); }
  .hero__content { transform: translate(-50%, -50%); }
  .hero__title { font-size: clamp(21px, 6.5vw, 30px); line-height: 1.07; margin-bottom: 12px; }
  .hero__seal  { margin-bottom: 10px; }
  .hero__seal-text { font-size: 9px; letter-spacing: 0.09em; }
  .hero__desc  { font-size: 13px; line-height: 1.55; margin-bottom: 14px; }
  .hero__rating { margin-top: 10px; padding: 5px 10px 5px 8px; font-size: 11px; }
  .header__logo img { height: 32px; }
  .header { padding: 8px 12px; }

  .trust-band__item { font-size: 9px; padding: 10px 6px; gap: 5px; white-space: normal; text-align: center; }

  .mobile-nav__link { font-size: 24px; padding: 11px 8px; }
  .mobile-nav__head { padding: 16px 16px 14px; min-height: 64px; }
  .mobile-nav__logo { height: 30px; }
  .mobile-nav__close { width: 40px; height: 40px; min-width: 40px; }

  .section__header h2 { font-size: clamp(20px, 7.5vw, 28px); }
  .srv-card { padding: 24px 20px 22px; }
  .mapa-block iframe { height: 200px; }
  .nosotros__actions { gap: 10px; }
  .contacto__form-wrap { padding: 20px 14px; }
}

/* ════════════════════════════════════════════════════════════
   PREMIUM POLISH — V3.0
   Microinteracciones, profundidad y refinamiento de UI
   ════════════════════════════════════════════════════════════ */

/* ── Botones: barrido de brillo diagonal al hover ── */
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(255,255,255,0.13) 50%,
    transparent 70%
  );
  transform: translateX(-110%);
  transition: transform 0.55s var(--ease-premium);
  pointer-events: none;
}
.btn:hover::after { transform: translateX(110%); }

/* ── Botón primary: pulsación al clic ── */
.btn--primary:active {
  transform: translateY(1px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.16), 0 1px 6px rgba(82,196,26,0.18);
  transition-duration: 0.08s;
}

/* ── Botón outline-dark: hover con tinte verde ── */
.btn--outline-dark:hover {
  background: rgba(82,196,26,0.06);
  border-color: rgba(82,196,26,0.32);
  color: var(--green-dark);
  box-shadow: 0 2px 10px rgba(0,0,0,0.07);
  transform: translateY(-2px);
}

/* ── Botón white (sobre fondos oscuros): sombra sutil ── */
.btn--white:hover {
  background: #f4f4f0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.14);
  transform: translateY(-2px);
}

/* ── Botón outline-white: más visible al hover ── */
.btn--outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.72);
  box-shadow: 0 2px 12px rgba(255,255,255,0.06);
  transform: translateY(-2px);
}

/* ── Header CTA: elevación específica ── */
.header__cta.btn--primary:hover {
  box-shadow: 0 2px 0 rgba(0,0,0,0.14), 0 4px 22px rgba(82,196,26,0.36), inset 0 1px 0 rgba(255,255,255,0.14);
}

/* ── Nav desktop: transición más suave ── */
.nav__link {
  transition: color 0.22s var(--ease-premium), background 0.22s var(--ease-premium);
}
.nav__link:hover     { background: rgba(82,196,26,0.09); }
.nav__link.is-active { background: rgba(82,196,26,0.11); }

/* ── Métricas: número con transición de color ── */
.stat-num { transition: color 0.32s var(--ease-premium); }
.stat-item:hover .stat-num { color: var(--green-dark); }
.stat-item:hover { background: rgba(82,196,26,0.03); }

/* ── Tarjetas servicios: número decorativo ── */
.srv-card__num { transition: opacity 0.3s ease, color 0.3s ease; }
.srv-card:hover .srv-card__num { opacity: 0.06; color: var(--green-dark); }

/* ── Reviews card: hover en slide activo ── */
.reviews-slide.is-active .reviews-slide__card:hover {
  box-shadow:
    0 0 0 1px rgba(82,196,26,0.12),
    0 8px 40px rgba(0,0,0,0.09),
    0 20px 56px rgba(0,0,0,0.05);
  transform: translateY(-2px);
}

/* ── Reviews dots: hover + transición mejorada ── */
.reviews-carousel__dot {
  transition: background 0.25s ease, width 0.28s var(--ease-premium),
              border-radius 0.28s ease, transform 0.22s var(--ease-premium);
}
.reviews-carousel__dot:hover:not(.is-active) {
  background: rgba(82,196,26,0.42);
  transform: scale(1.3);
}

/* ── Highlights Nosotros: elevación sutil ── */
.nosotros__highlight {
  transition: border-color 0.26s var(--ease-premium), box-shadow 0.26s ease,
              transform 0.26s var(--ease-premium);
}
.nosotros__highlight:hover {
  border-color: rgba(82,196,26,0.26);
  box-shadow: 0 4px 18px rgba(0,0,0,0.07);
  transform: translateY(-2px);
}

/* ── Header pill: transición más suave ── */
.header__pill {
  transition: box-shadow 0.38s ease, background 0.38s ease;
}
.header.is-scrolled .header__pill {
  box-shadow: 0 4px 24px rgba(0,0,0,0.11), 0 1px 0 rgba(0,0,0,0.05), 0 0 0 1px rgba(0,0,0,0.04);
}

/* ── Phone FAB: gradient premium ── */
.phone-fab {
  background: linear-gradient(160deg, #63d920 0%, var(--green) 60%, #3e9813 100%);
  box-shadow: 0 4px 20px rgba(82,196,26,0.46), 0 1px 0 rgba(0,0,0,0.10);
}
.phone-fab:hover {
  box-shadow: 0 8px 28px rgba(82,196,26,0.58), 0 1px 0 rgba(0,0,0,0.10);
}

/* ── Mobile nav CTA: gradient ── */
@media (max-width: 768px) {
  .mobile-nav__cta {
    background: linear-gradient(160deg, #63d920 0%, var(--green) 60%, #3e9813 100%);
    box-shadow: 0 2px 12px rgba(82,196,26,0.30);
    transition: background 0.25s ease, box-shadow 0.25s ease;
  }
  .mobile-nav__cta:hover { background: linear-gradient(160deg, #69e024 0%, #47aa16 60%, #357c0d 100%); }
}

/* ── Focus-visible: accesibilidad por teclado ── */
:focus-visible {
  outline: 2.5px solid var(--green);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}
.btn:focus-visible {
  outline-offset: 4px;
  border-radius: var(--radius-pill);
}
.reviews-carousel__arrow:focus-visible,
.reviews-carousel__dot:focus-visible { outline-offset: 3px; }
.nav__link:focus-visible,
.mobile-nav__link:focus-visible { outline-offset: 2px; }

/* ── prefers-reduced-motion: neutralizar microinteracciones ── */
@media (prefers-reduced-motion: reduce) {
  .hero__bg { transition: none; transform: none !important; }
  .hero__slide { transition: opacity 0.15s ease; }
  .btn::after { display: none; }
  .btn:hover,
  .btn--primary:hover,
  .btn--outline-dark:hover,
  .btn--white:hover,
  .btn--outline-white:hover { transform: none !important; }
  .btn--primary:active { transform: translateY(1px) !important; }
  .srv-card:hover { transform: none; }
  .srv-card:hover .srv-card__icon { transform: scale(1.04); }
  .marquee__logo:hover img { transform: none; }
  .reviews-slide.is-active .reviews-slide__card:hover { transform: none; }
  .nosotros__highlight:hover { transform: none; }
  .reviews-carousel__dot:hover { transform: none; }
  .reveal {
    transition: opacity 0.4s ease, transform 0.4s ease;
  }
}
