/* =========================
   RESET & BASE
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background: #0a0a0a;
  color: #fff;
  -webkit-tap-highlight-color: transparent; /* mejora UX móvil */
}

/* =========================
   HERO
========================= */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

/* VIDEO */
.hero video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: 50% 30%;

  transform: translate(-50%, -50%);
  filter: brightness(70%);
}

/* OVERLAY (no bloquea clics) */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85),
    rgba(0, 0, 0, 0.4),
    rgba(0, 0, 0, 0.2)
  );

  z-index: 1;
  pointer-events: none;
}

/* CONTENIDO */
.hero-content {
  position: relative;
  z-index: 2;

  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  text-align: center;
  padding: 20px;
}

/* TEXTO */
.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem); /* responsive */
  letter-spacing: 2px;
  text-shadow: 0 5px 20px rgba(0, 0, 0, 0.9);
}

.hero p {
  margin: 20px 0;
  font-weight: 300;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.9);
}

/* =========================
   BOTONES
========================= */
.btn {
  padding: 12px 20px;
  background: #c1121f;
  border: none;
  color: white;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    background 0.3s ease;
}

.btn:hover {
  transform: scale(1.05);
  background: #ff2e3d;
}

.btn:active {
  transform: scale(0.95); /* feedback móvil */
}

/* =========================
   SECCIONES
========================= */
section {
  padding: 60px 20px;
  text-align: center;
}

/* =========================
   CARDS GENERALES
========================= */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}

/* BASE CARD */
.card {
  position: relative;
  background: #111;
  padding: 30px;
  border: 1px solid #222;
  transition:
    transform 0.3s ease,
    border 0.3s ease;
  overflow: hidden;
}

/* HOVER DESKTOP */
.card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: #c1121f;
}

/* MOBILE TOUCH */
.card:active {
  transform: scale(0.97);
}

/* EFECTO LUZ */
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  height: 0;
  background: linear-gradient(to top, rgba(193, 18, 31, 0.3), transparent);
  transition: 0.3s;
  pointer-events: none;
}

.card:hover::before {
  height: 100%;
}

/* =========================
   PATHS (ELIGE TU CAMINO)
========================= */
.paths-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.path {
  position: relative;
  background: #111;
  padding: 35px 20px;
  border: 1px solid #222;
  transition:
    transform 0.3s ease,
    border 0.3s ease;
  overflow: hidden;
}

.path span {
  font-size: 2.5rem;
  margin-bottom: 10px;
  display: block;
}

.path p {
  font-size: 0.9rem;
  color: #ccc;
  margin-bottom: 20px;
}

/* INTERACCIONES */
.path:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: #c1121f;
}

.path:active {
  transform: scale(0.97);
}

/* LUZ */
.path::before {
  content: "";
  position: absolute;
  inset: 0;
  height: 0;
  background: linear-gradient(to top, rgba(193, 18, 31, 0.3), transparent);
  transition: 0.3s;
  pointer-events: none;
}

.path:hover::before {
  height: 100%;
}

/* =========================
   PHILOSOPHY
========================= */
.philosophy {
  background: #111;
  padding: 80px 20px;
}

.philosophy-content {
  max-width: 700px;
  margin: auto;
}

.philosophy h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.philosophy p {
  margin: 15px 0;
  line-height: 1.6;
  color: #ccc;
}

.philosophy .main-text,
.philosophy .highlight {
  color: #fff;
}

/* =========================
   BENEFITS
========================= */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.benefit {
  background: #111;
  padding: 30px 20px;
  border: 1px solid #222;
  transition:
    transform 0.3s ease,
    border 0.3s ease;
}

.benefit span {
  font-size: 2rem;
  margin-bottom: 10px;
  display: block;
}

.benefit p {
  font-size: 0.9rem;
  color: #ccc;
}

.benefit:hover {
  transform: translateY(-5px);
  border-color: #c1121f;
}

.benefit:active {
  transform: scale(0.97);
}

/* =========================
   CTA
========================= */
.cta {
  background: #000;
}

/* =========================
   WHATSAPP FLOAT
========================= */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;

  width: 65px;
  height: 65px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #29a81a;
  border-radius: 50%;

  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  z-index: 9999;
}

/* ICONO */
.whatsapp-float img {
  width: 35px;
}

/* HOVER + TOUCH */
.whatsapp-float:hover {
  transform: scale(1.1);
}

/* ANIMACIÓN */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.whatsapp-float {
  animation: pulse 2s infinite;
}

/* =========================
   FOOTER
========================= */
footer {
  display: flex;
  justify-content: center;
  align-items: center;

  padding: 20px;
  font-size: 0.8rem;
  color: #777;
  background: #000;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
  .cards,
  .paths-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 480px) {
  .benefits-grid {
    grid-template-columns: 1fr;
  }
}
