/* ========== TOKENS ========== */
:root {
  --color-bg: #F7F9FC;
  --color-bg-alt: #EAF1FB;
  --color-dark: #0D0D0D;
  --color-dark-2: #161616;
  --color-primary: #0511F2;
  --color-primary-dark: #0455BF;
  --color-accent: #F2B705;
  --color-text: #0D0D0D;
  --color-text-muted: #5A6270;
  --color-light: #FFFFFF;
  --color-whatsapp: #25D366;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(13, 13, 13, 0.12);
  --shadow-lg: 0 20px 50px rgba(13, 13, 13, 0.18);
  --font-head: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; border-radius: var(--radius); }

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

ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }
.section--alt { background: var(--color-bg-alt); }
.section--dark {
  background: linear-gradient(160deg, var(--color-dark) 0%, var(--color-dark-2) 100%);
  color: #EDEFF5;
}

.eyebrow {
  display: inline-block;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .78rem;
  color: var(--color-primary);
  background: rgba(5, 17, 242, .1);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.eyebrow--light { color: var(--color-accent); background: rgba(242, 183, 5, .15); }

.section__head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section__head h2 { margin-bottom: 14px; }
.section__head p { color: var(--color-text-muted); }
.section__head--light p { color: #C7CEDB; }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; color: var(--color-text); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #F1F4FA; }

h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
h3 { font-size: 1.25rem; }

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  transition: all .25s ease;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}
.btn--primary {
  background: var(--color-whatsapp);
  color: #fff;
  box-shadow: 0 8px 20px rgba(37, 211, 102, .35);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(37, 211, 102, .45); }
.btn--ghost {
  background: transparent;
  border: 2px solid rgba(255,255,255,.5);
  color: #fff;
}
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn--sm {
  padding: 10px 20px;
  font-size: .85rem;
  background: var(--color-primary);
  color: #fff;
}
.btn--sm:hover { background: var(--color-primary-dark); }
.btn--whatsapp-mini {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(37, 211, 102, .12);
  color: #14893f;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .88rem;
}
.btn--whatsapp-mini i { font-size: 1.1rem; }

.header__tip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--color-primary), #0597F2);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: .9rem;
  width: 360px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(5,17,242,.35);
}
.header__tip i {
  color: var(--color-accent);
  font-size: 1.15rem;
  flex-shrink: 0;
  animation: tipBulb 1.8s ease-in-out infinite;
}
.header__tip .header__tip-track {
  overflow: hidden;
  flex: 1;
}
.header__tip span {
  display: inline-block;
  white-space: nowrap;
  padding-left: 100%;
  animation: tipMarquee 26s linear infinite;
}
.header__tip strong { font-weight: 800; color: var(--color-accent); }

@keyframes tipMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}
@keyframes tipBulb {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .6; transform: scale(1.15); }
}

@media (prefers-reduced-motion: reduce) {
  .header__tip span { animation: none; padding-left: 0; }
  .header__tip i { animation: none; }
}


/* ========== INTRO DE VIDEO (TIPO POPUP) ========== */
body.has-intro { overflow: hidden; }
.intro-splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(13,13,13,.78);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 1;
  transition: opacity .5s ease;
}
.intro-splash.hide { opacity: 0; pointer-events: none; }
.intro-splash__box {
  position: relative;
  width: 100%;
  max-width: 400px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  background: var(--color-light);
}
.intro-splash__video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
}
.intro-splash__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.intro-splash__close {
  position: absolute;
  top: 10px; right: 10px;
  z-index: 3;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(13,13,13,.55);
  border: none;
  color: #fff;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(4px);
  transition: background .2s ease;
}
.intro-splash__close:hover { background: rgba(13,13,13,.85); }
.intro-splash__unmute {
  position: absolute;
  bottom: 14px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: none;
  align-items: center;
  gap: 8px;
  background: rgba(13,13,13,.65);
  border: 1.5px solid rgba(255,255,255,.4);
  color: #fff;
  font-weight: 600;
  font-size: .85rem;
  padding: 9px 18px;
  border-radius: 999px;
  cursor: pointer;
  backdrop-filter: blur(4px);
}
.intro-splash__unmute.visible { display: flex; }
.intro-splash__greet { padding: 20px 22px 24px; }

/* ========== HEADER ========== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  background: rgba(247, 249, 252, .85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(13,13,13,.06);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 1.3rem;
  color: var(--color-text);
}
.logo i { color: var(--color-primary); font-size: 1.4rem; }
.logo--light { color: #fff; }
.logo__img { height: 88px; width: auto; display: block; border-radius: 0; }

.nav {
  display: flex;
  gap: 32px;
}
.nav a {
  font-weight: 600;
  font-size: .95rem;
  color: var(--color-text);
  position: relative;
  padding: 6px 2px;
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--color-primary);
  transition: width .25s ease;
}
.nav a:hover::after { width: 100%; }

.header__actions { display: flex; align-items: center; gap: 18px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  width: 24px; height: 2px;
  background: var(--color-text);
  border-radius: 2px;
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: 88px;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(5,17,242,.35), transparent 55%),
    radial-gradient(ellipse at 80% 80%, rgba(242,183,5,.25), transparent 55%),
    linear-gradient(160deg, #0D0D0D 0%, #161616 60%, #0D0D0D 100%);
  color: #fff;
  overflow: hidden;
}
.hero__overlay {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}

.hero__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

@media (max-width: 768px) {
  .hero { min-height: 88vh; min-height: 88dvh; }
}
.hero__video-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(13,13,13,.82) 0%, rgba(22,22,22,.68) 55%, rgba(13,13,13,.85) 100%);
  z-index: 0;
}
.hero__sound-toggle {
  position: absolute;
  bottom: 24px; right: 24px;
  z-index: 3;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(13,13,13,.55);
  border: 1.5px solid rgba(255,255,255,.35);
  color: #fff;
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: background .2s ease;
}
.hero__sound-toggle:hover { background: rgba(13,13,13,.8); }

/* Fondo animado de fuego (brasas + resplandor) */
.fire-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}
.fire-glow {
  position: absolute;
  left: 50%;
  bottom: -15%;
  transform: translateX(-50%);
  width: 150%;
  height: 55%;
  background: radial-gradient(ellipse at center, rgba(5,17,242,.4) 0%, rgba(242,183,5,.2) 38%, transparent 70%);
  filter: blur(50px);
  animation: fireGlow 5s ease-in-out infinite;
}
@keyframes fireGlow {
  0%, 100% { opacity: .65; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.1); }
}

.embers { position: absolute; inset: 0; }
.ember {
  position: absolute;
  bottom: -20px;
  left: calc(2% + (var(--i) * 3.8%));
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: radial-gradient(circle, #FFD37A 0%, #F2B705 45%, transparent 80%);
  box-shadow: 0 0 6px 2px rgba(242,183,5,.55);
  opacity: 0;
  animation: emberRise calc(7s + (var(--i) * 0.4s)) ease-in infinite;
  animation-delay: calc(var(--i) * 0.3s);
}
.ember:nth-child(3n) { width: 3px; height: 3px; }
.ember:nth-child(4n) { width: 7px; height: 7px; }
.ember:nth-child(5n+1) { background: radial-gradient(circle, #BFE3FF 0%, #0511F2 50%, transparent 80%); }

@keyframes emberRise {
  0% { transform: translateY(0) translateX(0) scale(.6); opacity: 0; }
  12% { opacity: 1; }
  55% { transform: translateY(-280px) translateX(14px) scale(1); opacity: .85; }
  90% { opacity: .25; }
  100% { transform: translateY(-560px) translateX(-10px) scale(.3); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .fire-glow, .ember { animation: none; opacity: 0; }
}
.hero__content { position: relative; z-index: 2; max-width: 780px; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(242,183,5,.15);
  color: var(--color-accent);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.15;
  color: #fff;
  margin-bottom: 20px;
}
.hero h1 span { color: var(--color-accent); }
.hero p {
  font-size: 1.1rem;
  color: #C7CEDB;
  max-width: 560px;
  margin-bottom: 36px;
}
.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 64px; }

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 32px;
  max-width: 560px;
}
.stat strong {
  display: block;
  font-family: var(--font-head);
  font-size: 2rem;
  color: var(--color-accent);
}
.stat span { font-size: .82rem; color: #A9B4C7; }

.scroll-down {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  color: #fff;
  opacity: .6;
  font-size: 1.3rem;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* ========== SPLIT (Nosotros / Cobertura) ========== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 96px;
}
.split--reverse .split__media { order: 2; }
.split--reverse .split__text { order: 1; }
.split__media { position: relative; }
.split__media--video { display: flex; justify-content: center; }
.split__video-wrap { position: relative; width: 100%; max-width: 420px; }
.split__video {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: #000;
}
.split__badge {
  position: absolute;
  bottom: -20px; left: -20px;
  background: var(--color-light);
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  font-weight: 700;
  font-size: .9rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.split__badge i { color: var(--color-primary); }

.split__text p { color: var(--color-text-muted); margin-bottom: 16px; }
.split__text h2 { margin-bottom: 20px; }

.check-list { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.check-list li { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.check-list i { color: var(--color-primary); }

/* ========== VISION / MISION ========== */
.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 44px;
}
.vm-card {
  position: relative;
  background: var(--color-light);
  border-radius: var(--radius);
  padding: 52px 40px 40px;
  margin-top: 40px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform .25s ease;
}
.vm-card:hover { transform: translateY(-4px); }
.vm-card--dark {
  background: linear-gradient(160deg, var(--color-dark) 0%, var(--color-dark-2) 100%);
  color: #EDEFF5;
}
.vm-card--dark h3 { color: #fff; }
.vm-card--dark p { color: #C7CEDB; }
.vm-icon-float {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), #0597F2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  color: #fff;
  box-shadow: 0 14px 30px rgba(5,17,242,.35), 0 0 0 6px var(--color-bg);
}
.vm-card--dark .vm-icon-float {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  box-shadow: 0 14px 30px rgba(242,183,5,.3), 0 0 0 6px var(--color-bg);
}
.vm-card h3 { margin-bottom: 14px; }
.vm-card p { color: var(--color-text-muted); }

/* ========== CARDS GRID (Servicios) ========== */
.maint-info {
  background: var(--color-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
  margin-bottom: 40px;
}
.maint-info h3 { margin-bottom: 10px; }
.maint-info > p { color: var(--color-text-muted); margin-bottom: 24px; max-width: 760px; }
.maint-info__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.maint-info__item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--color-bg-alt);
  border-radius: var(--radius-sm);
  padding: 18px;
}
.maint-info__item i { color: var(--color-primary); font-size: 1.3rem; margin-top: 2px; flex-shrink: 0; }
.maint-info__item strong { display: block; margin-bottom: 6px; font-size: .95rem; }
.maint-info__item span { font-size: .86rem; color: var(--color-text-muted); line-height: 1.5; }

@media (max-width: 768px) {
  .maint-info__grid { grid-template-columns: 1fr; }
  .maint-info { padding: 24px; }
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.card {
  background: var(--color-light);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card--photo {
  background-size: cover;
  background-position: center;
}
.card--photo h3 { color: #fff; }
.card--photo p { color: #D8DCE6; }
.card__icon {
  position: relative;
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
  z-index: 1;
}
.card__icon::before {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 20px;
  background: radial-gradient(circle, rgba(242,183,5,.55) 0%, rgba(5,17,242,0) 72%);
  filter: blur(9px);
  opacity: .5;
  z-index: -1;
  animation: iconFlicker 2.3s ease-in-out infinite;
}
.card:nth-child(2n) .card__icon::before { animation-delay: .4s; }
.card:nth-child(3n) .card__icon::before { animation-delay: .8s; }
.card:nth-child(4n) .card__icon::before { animation-delay: 1.2s; }
.card:hover .card__icon::before { opacity: .85; }

@keyframes iconFlicker {
  0%, 100% { opacity: .4; transform: scale(.9); }
  25% { opacity: .7; transform: scale(1.06); }
  50% { opacity: .45; transform: scale(.95); }
  75% { opacity: .65; transform: scale(1.03); }
}

@media (prefers-reduced-motion: reduce) {
  .card__icon::before { animation: none; opacity: .5; }
}

.card h3 { margin-bottom: 10px; }
.card p { color: var(--color-text-muted); font-size: .95rem; }

/* ========== ZONAS ========== */
.zones-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 28px;
}
.zone {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--color-light);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .92rem;
  box-shadow: 0 4px 12px rgba(13,13,13,.06);
}
.zone i { color: var(--color-primary); }

/* ========== MAPA DE COBERTURA (Leaflet + OpenStreetMap) ========== */
.map-card {
  background: var(--color-light);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  line-height: 0;
}
.coverage-map-real { width: 100%; height: 460px; }

.map-marker__ring, .map-marker__dot {
  position: absolute;
  top: 50%; left: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.map-marker__ring {
  width: 34px; height: 34px;
  border: 2.5px solid var(--color-primary);
  animation: mapPulse 2.4s ease-out infinite;
}
.map-marker__dot {
  width: 12px; height: 12px;
  background: var(--color-accent);
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,.35);
  animation: mapBlink 2.4s ease-in-out infinite;
}

@keyframes mapPulse {
  0% { transform: translate(-50%, -50%) scale(.3); opacity: .9; }
  100% { transform: translate(-50%, -50%) scale(1.6); opacity: 0; }
}
@keyframes mapBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: .4; }
}

.leaflet-tooltip.map-marker__label {
  background: var(--color-light);
  color: var(--color-text);
  border: none;
  border-radius: 8px;
  padding: 4px 10px;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(13,13,13,.15);
}
.leaflet-tooltip.map-marker__label::before { display: none; }

@media (prefers-reduced-motion: reduce) {
  .map-marker__ring { animation: none; opacity: 0; }
  .map-marker__dot { animation: none; opacity: 1; }
}

@media (max-width: 768px) {
  .coverage-map-real { height: 340px; }
}

/* ========== PRODUCTOS ========== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: 780px;
  margin: 0 auto;
}
.product {
  background: var(--color-light);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .25s ease;
}
.product:hover { transform: translateY(-6px); }
.product img { border-radius: 0; aspect-ratio: 5/4; object-fit: cover; }
.product__body { padding: 22px; }
.product__body h3 { margin-bottom: 8px; font-size: 1.05rem; }
.product__body p { color: var(--color-text-muted); font-size: .88rem; margin-bottom: 16px; min-height: 54px; }

.product__media { position: relative; aspect-ratio: 5/4; overflow: hidden; }
.product__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.product__img--1 { animation: productFade1 6s infinite; }
.product__img--2 { animation: productFade2 6s infinite; }
@keyframes productFade1 {
  0%, 45% { opacity: 1; }
  50%, 95% { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes productFade2 {
  0%, 45% { opacity: 0; }
  50%, 95% { opacity: 1; }
  100% { opacity: 0; }
}

.product__brands {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}
.product__brand {
  background: var(--color-bg-alt);
  color: var(--color-text);
  font-size: .74rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
}

/* ========== GALERIA ========== */
.tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}
.tab {
  background: var(--color-light);
  border: none;
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  color: var(--color-text-muted);
  box-shadow: 0 4px 12px rgba(13,13,13,.06);
  transition: all .2s ease;
}
.tab.active { background: var(--color-primary); color: #fff; }

.tab-panel { display: none; }
.tab-panel.active { display: block; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.gallery-grid img {
  aspect-ratio: 5/4;
  object-fit: cover;
  width: 100%;
  transition: transform .3s ease;
}
.gallery-grid img:hover { transform: scale(1.03); }

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.video-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 16/9;
}
.video-card iframe {
  width: 100%; height: 100%;
  border: none;
}
.video-card video {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 0;
  display: block;
  background: #000;
}

/* ========== POR QUE ELEGIRNOS ========== */
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.reason {
  text-align: center;
  padding: 20px;
}
.reason i {
  font-size: 2.2rem;
  color: var(--color-accent);
  margin-bottom: 18px;
}
.reason h3 { margin-bottom: 10px; }
.reason p { color: #A9B4C7; font-size: .92rem; }

/* ========== FOOTER ========== */
.footer {
  background: var(--color-dark);
  color: #C7CEDB;
  padding: 80px 0 0;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer__brand p { margin: 16px 0 24px; font-size: .92rem; max-width: 320px; }
.footer__col h4 { color: #fff; margin-bottom: 18px; font-size: 1rem; }
.footer__col a, .footer__col p {
  display: block;
  margin-bottom: 12px;
  font-size: .92rem;
  color: #A9B4C7;
}
.footer__col p i { color: var(--color-accent); margin-right: 8px; width: 16px; }
.footer__col a:hover { color: var(--color-accent); }

.social-icons { display: flex; gap: 12px; }
.social-icons a {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  transition: all .25s ease;
}
.social-icons a:hover { background: var(--color-primary); transform: translateY(-3px); }

.footer__bottom {
  text-align: center;
  padding: 24px 0;
  font-size: .85rem;
  color: #7A8494;
}

/* ========== SOCIAL FLOAT (Facebook / Instagram) ========== */
.social-float {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  z-index: 997;
  display: flex;
  flex-direction: column;
}
.social-float__item {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 1.25rem;
  border-radius: 10px 0 0 10px;
  box-shadow: -4px 4px 14px rgba(13,13,13,.18);
  transition: transform .2s ease, width .2s ease;
}
.social-float__item:hover { transform: translateX(-6px); }
.social-float__item--fb { background: #1877F2; }
.social-float__item--ig { background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }

.footer__visits { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 6px; color: #7A8494; font-size: .82rem; }
.footer__credit { margin-top: 4px; }
.footer__credit a { color: var(--color-accent); transition: color .2s ease; animation: creditBlink 1.6s ease-in-out infinite; }
.footer__credit a:hover { color: #fff; }

.footer__admin { margin-top: 4px; }
.footer__admin a { display: inline-flex; align-items: center; gap: 5px; color: #7A8494; font-size: .78rem; text-decoration: none; transition: color .2s ease; }
.footer__admin a:hover { color: var(--color-accent); }

@keyframes creditBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: .3; }
}

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

/* ========== SALUDO (dentro de la intro fusionada) ========== */
.greet-popup__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.greet-popup__header img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.greet-popup__header strong { display: block; font-family: var(--font-head); font-size: 1rem; }
.greet-popup__header span { display: flex; align-items: center; gap: 5px; font-size: .78rem; color: var(--color-primary); font-weight: 600; }
.greet-popup__header span::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--color-primary); }
.intro-splash__greet p { font-size: .92rem; color: var(--color-text); margin-bottom: 18px; line-height: 1.55; }
.greet-popup__btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%;
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  font-size: .92rem;
  padding: 13px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: background .2s ease;
}
.greet-popup__btn:hover { background: var(--color-primary-dark); }

/* ========== WHATSAPP FLOAT ========== */
.whatsapp-float {
  position: fixed;
  bottom: 28px; right: 28px;
  height: 62px;
  padding: 0 24px 0 20px;
  background: var(--color-whatsapp);
  color: #fff;
  border-radius: 999px;
  display: flex; align-items: center; gap: 10px;
  font-size: 1.8rem;
  font-weight: 700;
  box-shadow: 0 10px 26px rgba(37,211,102,.45);
  z-index: 998;
  animation: pulse 2.4s infinite;
}
.whatsapp-float span {
  font-family: var(--font-head);
  font-size: 0.95rem;
  white-space: nowrap;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,.55), 0 10px 26px rgba(37,211,102,.45); }
  70% { box-shadow: 0 0 0 16px rgba(37,211,102,0), 0 10px 26px rgba(37,211,102,.45); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0), 0 10px 26px rgba(37,211,102,.45); }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
  .split, .vm-grid { grid-template-columns: 1fr; }
  .split--reverse .split__media, .split--reverse .split__text { order: initial; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .reasons-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .hero__stats { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .cards-grid, .products-grid, .reasons-grid, .gallery-grid, .video-grid, .zones-grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .social-float__item { width: 40px; height: 40px; font-size: 1.05rem; }
  .whatsapp-float { width: 62px; padding: 0; justify-content: center; }
  .whatsapp-float span { display: none; }
}

/* ========== HEADER / HERO MOBILE (movido al final para ganar prioridad sobre las reglas base) ========== */
@media (max-width: 992px) {
  .header__tip { display: flex; width: auto; max-width: 46vw; padding: 6px 12px; font-size: .72rem; box-shadow: none; }
  .header__tip i { font-size: .95rem; }
  .logo__img { height: 60px; }
  .hero { padding-top: 92px; align-items: flex-start; }
  .hero__content { padding-top: 28px; }
  .nav { position: fixed; top: 92px; left: 0; right: 0; background: var(--color-bg);
    flex-direction: column; padding: 24px; gap: 18px; box-shadow: var(--shadow);
    transform: translateY(-150%); transition: transform .3s ease; z-index: 998; }
  .nav.open { transform: translateY(0); }
  .hamburger { display: flex; }
}
