/* PALETA DE COLORES */
:root {
  --naranja: #FF6B00;
  --violeta: #3B0066;
  --fondo: #0f0f12;
  --claro: #F5F5F5;
}

a {
  text-decoration: none;
}

/* RESET */
body {
  margin: 0;
  background: var(--fondo);
  color: var(--claro);
  font-family: 'Montserrat', sans-serif;
  scroll-behavior: smooth;
}

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

/* Background image layer */
.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../img/coaches-en-zapatillas-hero-header.png') center/cover no-repeat;
  z-index: 1;
}

/* Dark overlay layer for readability */
.hero-dark-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 15, 18, 0.75);
  z-index: 2;
}

/* Orange heartbeat overlay layer */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 107, 0, 0.5);
  z-index: 3;
  animation: breathing 4s ease-in-out infinite;
}

@keyframes breathing {
  0%, 100% {
    opacity: 0.25;
    transform: scale(1);
  }
  50% {
    opacity: 0.55;
    transform: scale(1.015);
  }
}

/* Content wrapper */
.hero-content-wrapper {
  position: relative;
  z-index: 4;
  width: 100%;
  padding: 120px 8% 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 80px;
}

.hero-content {
  width: 100%;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 64px;
  line-height: 1.1;
  margin-bottom: 32px;
  opacity: 1;
  transform: translateY(0);
  animation: heroFadeIn 1s ease-out;
}

@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero p {
  max-width: 720px;
  margin: 0 auto 48px;
  font-size: 18px;
  line-height: 1.7;
}

.hero-content .whatsapp-btn {
  margin-bottom: 56px;
}

.hero-sub {
  color: #FFB07A;
  font-size: 15px;
  margin-top: 0;
  line-height: 1.6;
  font-style: italic;
}

/* Hero animation handled by CSS animation on load */

/* BOTONES */
.btn {
  background: var(--naranja);
  color: var(--fondo);
  padding: 14px 34px;
  border-radius: 50px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: 0.3s;
}
.btn:hover {
  background: var(--violeta);
  color: #fff;
}

/* SECCIONES */
section {padding: 80px 8%; opacity: 0; transform: translateY(40px); transition: all 1s ease;}
section.visible {opacity: 1; transform: translateY(0);}

/* Story row animations */
.story-row {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

.story-row.visible {
  opacity: 1;
  transform: translateY(0);
}

.story-row:nth-child(1) { transition-delay: 0.1s; }
.story-row:nth-child(2) { transition-delay: 0.2s; }
.story-row:nth-child(3) { transition-delay: 0.3s; }
.story-row:nth-child(4) { transition-delay: 0.4s; }

/* STORY */
.story {
  background: #1a1a1a;
  padding: 100px 8%;
  border-radius: 12px;
}

.story-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 80px;
  position: relative;
}

.story-row-reverse {
  flex-direction: row-reverse;
}

.story-image {
  flex: 0 0 45%;
  position: relative;
}

.story-image-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 107, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.story-image-placeholder::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, rgba(255, 107, 0, 0.1), transparent);
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

.story-image-placeholder span {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 32px;
  color: rgba(255, 107, 0, 0.6);
  text-transform: uppercase;
  letter-spacing: 2px;
  z-index: 1;
  position: relative;
}

.story-connector {
  flex: 0 0 10%;
  height: 3px;
  background: linear-gradient(90deg, rgba(255, 107, 0, 0.4), rgba(255, 107, 0, 0.8), rgba(255, 107, 0, 0.4));
  position: relative;
  border-radius: 2px;
}

.story-connector::before {
  content: '';
  position: absolute;
  top: 50%;
  right: -8px;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid rgba(255, 107, 0, 0.8);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  animation: arrowPulse 2s ease-in-out infinite;
}

.story-connector-reverse {
  background: linear-gradient(90deg, rgba(255, 107, 0, 0.4), rgba(255, 107, 0, 0.8), rgba(255, 107, 0, 0.4));
}

.story-connector-reverse::before {
  left: -8px;
  right: auto;
  border-left: none;
  border-right: 10px solid rgba(255, 107, 0, 0.8);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

@keyframes arrowPulse {
  0%, 100% {
    opacity: 0.6;
    transform: translateY(-50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
  }
}

.story-question {
  flex: 0 0 45%;
}

.story-question h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 48px;
  line-height: 1.2;
  color: var(--naranja);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 0 20px rgba(255, 107, 0, 0.3);
}

.story-cta {
  text-align: center;
  margin-top: 60px;
  padding-top: 60px;
  border-top: 2px solid rgba(255, 107, 0, 0.2);
}

.story-sales {
  color: var(--naranja);
  font-weight: 700;
  font-size: 24px;
  margin-bottom: 30px;
  font-family: 'Montserrat', sans-serif;
}

/* TALLERES */
/* TALLERES */
.talleres {
  background: linear-gradient(180deg, rgba(15,15,18,1), rgba(26,26,26,1));
  position: relative;
  overflow: hidden;
  max-width: none !important;
}

.talleres::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--naranja), transparent);
  opacity: 0.5;
}

.talleres h2 {
  text-align: center;
  color: var(--naranja);
  margin-bottom: 60px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 56px;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-shadow: 0 0 20px rgba(255, 107, 0, 0.3);
  position: relative;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.card {
  background: linear-gradient(135deg, rgba(44,0,63,0.8), rgba(26,26,26,0.9));
  border-radius: 20px;
  padding: 40px 32px;
  width: 320px;
  text-align: center;
  box-shadow: 0 15px 40px rgba(0,0,0,0.5), 0 0 30px rgba(255,107,0,0.1);
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  border: 1px solid rgba(255, 107, 0, 0.2);
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,107,0,0.1), transparent);
  transition: left 0.6s ease;
}

.card:hover::before {
  left: 100%;
}

.card.visible {
  opacity: 1;
  transform: translateY(0);
}

.card:hover,
.card.mobile-center {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0,0,0,0.6), 0 0 40px rgba(255,107,0,0.2);
  border-color: rgba(255, 107, 0, 0.4);
}

.card.mobile-center::before {
  left: 100%;
}

.card h4 {
  color: var(--naranja);
  margin-bottom: 20px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 32px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-shadow: 0 0 15px rgba(255, 107, 0, 0.4);
  line-height: 1.2;
}

.card p {
  color: var(--claro);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 30px;
  opacity: 0.9;
}

.card .btn {
  margin-top: 10px;
  position: relative;
  z-index: 1;
}

.card .whatsapp-btn {
  margin-top: 10px;
  position: relative;
  z-index: 1;
}

/* QUIÉN SOY */
.quien-soy {
  background: linear-gradient(180deg, rgba(59,0,102,0.12), rgba(255,107,0,0.03));
  border-radius: 12px;
  max-width: 900px;
  margin: 60px auto;
}
.quien-soy h3 {color: var(--naranja);}
.quien-soy .frase {text-align:center;color:var(--naranja);font-weight:700;margin-top:20px;}

/* CONTACTO */
.contacto {text-align:center;}
.contacto h3 {color:var(--naranja);}
.contacto p {max-width:600px;margin:0 auto 20px;}

/* FOOTER */
footer {
  background: #1a1a1a;
  padding: 50px 8%;
  color: rgba(245,245,245,0.7);
  font-size: 14px;
  border-top: 1px solid rgba(255, 107, 0, 0.1);
  box-sizing: border-box;
  max-width: 100%;
  overflow-x: hidden;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  box-sizing: border-box;
}

.footer-copyright {
  text-align: center;
  margin: 0;
  opacity: 0.8;
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-direction: row;
  gap: 30px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.footer-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(245,245,245,0.8);
  transition: all 0.3s ease;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 8px;
}

.footer-link:hover {
  color: var(--naranja);
  background: rgba(255, 107, 0, 0.05);
  transform: translateX(5px);
}

.footer-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--naranja);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.footer-link:hover .footer-icon {
  opacity: 1;
  transform: scale(1.1);
}

.footer-link span {
  font-size: 14px;
  letter-spacing: 0.3px;
}


/* CONTAINER GLOBAL */
section:not(.hero):not(.story):not(.promesa):not(.talleres) {
  max-width: 950px;
  margin: 0 auto;
}

/* PROMESA */
.promesa {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: var(--fondo);
  width: 100%;
  overflow: visible;
  position: relative;
}

.promesa-text {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 120px;
  color: var(--claro);
  text-align: center;
  margin: 0;
  padding: 40px 8%;
  line-height: 1.1;
  letter-spacing: 4px;
  text-transform: uppercase;
  animation: textBreathing 4s ease-in-out infinite;
}

@keyframes textBreathing {
  0%, 100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}

.promesa-arrow-container {
  margin-top: 60px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.2s ease;
  animation: arrowBreathing 1s ease-in-out infinite;
  overflow: visible;
}

.promesa-arrow-container:hover {
  transform: translateY(5px) scale(1.1);
}

.promesa-arrow-container:active {
  transform: translateY(8px) scale(1.05);
}

.promesa-arrow {
  width: 0;
  height: 0;
  border-left: 40px solid transparent;
  border-right: 40px solid transparent;
  position: relative;
}

.promesa-arrow-top {
  border-top: 50px solid rgba(255, 107, 0, 0.2);
  margin-bottom: -25px;
  z-index: 3;
}

.promesa-arrow-middle {
  border-top: 50px solid rgba(255, 107, 0, 0.5);
  margin-bottom: -25px;
  z-index: 2;
}

.promesa-arrow-bottom {
  border-top: 50px solid rgba(255, 107, 0, 0.8);
  z-index: 1;
}

@keyframes arrowBreathing {
  0%, 100% {
    opacity: 0.8;
    transform: translateY(0) scale(1);
  }
  50% {
    opacity: 1;
    transform: translateY(8px) scale(1.05);
  }
}

/* Magic wand particles - stars and sparks */
.particle {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  box-shadow: 0 0 6px rgba(255, 107, 0, 0.8);
}

.particle-1 {
  background: radial-gradient(circle, rgba(255, 107, 0, 1), rgba(255, 107, 0, 0.4));
  width: 5px;
  height: 5px;
  animation: particleMagic1 3s ease-out infinite;
}

.particle-2 {
  background: radial-gradient(circle, rgba(255, 107, 0, 0.9), rgba(255, 107, 0, 0.3));
  width: 4px;
  height: 4px;
  animation: particleMagic2 3.2s ease-out infinite 0.2s;
}

.particle-3 {
  background: radial-gradient(circle, rgba(255, 107, 0, 0.8), rgba(255, 107, 0, 0.3));
  width: 6px;
  height: 6px;
  animation: particleMagic3 2.8s ease-out infinite 0.4s;
}

.particle-4 {
  background: radial-gradient(circle, rgba(255, 107, 0, 0.7), rgba(255, 107, 0, 0.2));
  width: 3px;
  height: 3px;
  animation: particleMagic4 3.1s ease-out infinite 0.1s;
}

.particle-5 {
  background: radial-gradient(circle, rgba(255, 107, 0, 0.85), rgba(255, 107, 0, 0.35));
  width: 5px;
  height: 5px;
  animation: particleMagic5 2.9s ease-out infinite 0.3s;
}

.particle-6 {
  background: radial-gradient(circle, rgba(255, 107, 0, 0.9), rgba(255, 107, 0, 0.4));
  width: 4px;
  height: 4px;
  animation: particleMagic6 3.3s ease-out infinite 0.5s;
}

.particle-7 {
  background: radial-gradient(circle, rgba(255, 107, 0, 0.75), rgba(255, 107, 0, 0.25));
  width: 4px;
  height: 4px;
  animation: particleMagic7 2.7s ease-out infinite 0.15s;
}

.particle-8 {
  background: radial-gradient(circle, rgba(255, 107, 0, 0.8), rgba(255, 107, 0, 0.3));
  width: 5px;
  height: 5px;
  animation: particleMagic8 3.4s ease-out infinite 0.6s;
}

.particle-9 {
  background: radial-gradient(circle, rgba(255, 107, 0, 0.7), rgba(255, 107, 0, 0.2));
  width: 3px;
  height: 3px;
  animation: particleMagic9 2.6s ease-out infinite 0.25s;
}

.particle-10 {
  background: radial-gradient(circle, rgba(255, 107, 0, 0.85), rgba(255, 107, 0, 0.35));
  width: 4px;
  height: 4px;
  animation: particleMagic10 3.5s ease-out infinite 0.45s;
}

.particle-11 {
  background: radial-gradient(circle, rgba(255, 107, 0, 0.75), rgba(255, 107, 0, 0.25));
  width: 5px;
  height: 5px;
  animation: particleMagic11 2.8s ease-out infinite 0.35s;
}

.particle-12 {
  background: radial-gradient(circle, rgba(255, 107, 0, 0.9), rgba(255, 107, 0, 0.4));
  width: 4px;
  height: 4px;
  animation: particleMagic12 3.1s ease-out infinite 0.55s;
}

/* Magic wand wave - particles travel in all directions */
@keyframes particleMagic1 {
  /* Up */
  0% {
    transform: translateX(-50%) translateY(0) scale(1) rotate(0deg);
    opacity: 1;
  }
  50% {
    transform: translateX(-50%) translateY(-150px) scale(1.3) rotate(180deg);
    opacity: 0.6;
  }
  100% {
    transform: translateX(-50%) translateY(-280px) scale(0.3) rotate(360deg);
    opacity: 0;
  }
}

@keyframes particleMagic2 {
  /* Up-right (45°) */
  0% {
    transform: translateX(-50%) translateY(0) scale(1) rotate(0deg);
    opacity: 0.9;
  }
  50% {
    transform: translateX(calc(-50% + 120px)) translateY(-120px) scale(1.4) rotate(180deg);
    opacity: 0.5;
  }
  100% {
    transform: translateX(calc(-50% + 220px)) translateY(-220px) scale(0.2) rotate(360deg);
    opacity: 0;
  }
}

@keyframes particleMagic3 {
  /* Right (90°) */
  0% {
    transform: translateX(-50%) translateY(0) scale(1) rotate(0deg);
    opacity: 0.8;
  }
  50% {
    transform: translateX(calc(-50% + 160px)) translateY(0) scale(1.2) rotate(180deg);
    opacity: 0.5;
  }
  100% {
    transform: translateX(calc(-50% + 300px)) translateY(0) scale(0.3) rotate(360deg);
    opacity: 0;
  }
}

@keyframes particleMagic4 {
  /* Down-right (135°) */
  0% {
    transform: translateX(-50%) translateY(0) scale(1) rotate(0deg);
    opacity: 0.7;
  }
  50% {
    transform: translateX(calc(-50% + 130px)) translateY(130px) scale(1.3) rotate(180deg);
    opacity: 0.4;
  }
  100% {
    transform: translateX(calc(-50% + 240px)) translateY(240px) scale(0.25) rotate(360deg);
    opacity: 0;
  }
}

@keyframes particleMagic5 {
  /* Down (180°) */
  0% {
    transform: translateX(-50%) translateY(0) scale(1) rotate(0deg);
    opacity: 0.85;
  }
  50% {
    transform: translateX(-50%) translateY(140px) scale(1.3) rotate(180deg);
    opacity: 0.5;
  }
  100% {
    transform: translateX(-50%) translateY(270px) scale(0.3) rotate(360deg);
    opacity: 0;
  }
}

@keyframes particleMagic6 {
  /* Down-left (225°) */
  0% {
    transform: translateX(-50%) translateY(0) scale(1) rotate(0deg);
    opacity: 0.9;
  }
  50% {
    transform: translateX(calc(-50% - 125px)) translateY(125px) scale(1.4) rotate(180deg);
    opacity: 0.5;
  }
  100% {
    transform: translateX(calc(-50% - 230px)) translateY(230px) scale(0.2) rotate(360deg);
    opacity: 0;
  }
}

@keyframes particleMagic7 {
  /* Left (270°) */
  0% {
    transform: translateX(-50%) translateY(0) scale(1) rotate(0deg);
    opacity: 0.75;
  }
  50% {
    transform: translateX(calc(-50% - 155px)) translateY(0) scale(1.2) rotate(180deg);
    opacity: 0.4;
  }
  100% {
    transform: translateX(calc(-50% - 290px)) translateY(0) scale(0.3) rotate(360deg);
    opacity: 0;
  }
}

@keyframes particleMagic8 {
  /* Up-left (315°) */
  0% {
    transform: translateX(-50%) translateY(0) scale(1) rotate(0deg);
    opacity: 0.8;
  }
  50% {
    transform: translateX(calc(-50% - 115px)) translateY(-115px) scale(1.3) rotate(180deg);
    opacity: 0.5;
  }
  100% {
    transform: translateX(calc(-50% - 215px)) translateY(-215px) scale(0.25) rotate(360deg);
    opacity: 0;
  }
}

@keyframes particleMagic9 {
  /* Up-slight-right (22.5°) */
  0% {
    transform: translateX(-50%) translateY(0) scale(1) rotate(0deg);
    opacity: 0.7;
  }
  50% {
    transform: translateX(calc(-50% + 60px)) translateY(-140px) scale(1.3) rotate(180deg);
    opacity: 0.4;
  }
  100% {
    transform: translateX(calc(-50% + 110px)) translateY(-260px) scale(0.3) rotate(360deg);
    opacity: 0;
  }
}

@keyframes particleMagic10 {
  /* Right-slight-up (67.5°) */
  0% {
    transform: translateX(-50%) translateY(0) scale(1) rotate(0deg);
    opacity: 0.85;
  }
  50% {
    transform: translateX(calc(-50% + 140px)) translateY(-70px) scale(1.4) rotate(180deg);
    opacity: 0.5;
  }
  100% {
    transform: translateX(calc(-50% + 260px)) translateY(-130px) scale(0.2) rotate(360deg);
    opacity: 0;
  }
}

@keyframes particleMagic11 {
  /* Down-slight-right (157.5°) */
  0% {
    transform: translateX(-50%) translateY(0) scale(1) rotate(0deg);
    opacity: 0.75;
  }
  50% {
    transform: translateX(calc(-50% + 70px)) translateY(135px) scale(1.2) rotate(180deg);
    opacity: 0.4;
  }
  100% {
    transform: translateX(calc(-50% + 130px)) translateY(250px) scale(0.3) rotate(360deg);
    opacity: 0;
  }
}

@keyframes particleMagic12 {
  /* Down-slight-left (202.5°) */
  0% {
    transform: translateX(-50%) translateY(0) scale(1) rotate(0deg);
    opacity: 0.9;
  }
  50% {
    transform: translateX(calc(-50% - 65px)) translateY(145px) scale(1.3) rotate(180deg);
    opacity: 0.5;
  }
  100% {
    transform: translateX(calc(-50% - 120px)) translateY(265px) scale(0.25) rotate(360deg);
    opacity: 0;
  }
}

/* BOTÓN WHATSAPP - Reusable component */
.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  gap: 12px;
  background: var(--naranja);
  color: var(--fondo);
  font-weight: 800;
  border-radius: 50px;
  padding: 14px 34px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  vertical-align: middle;
  text-align: center;
  white-space: nowrap;
  box-sizing: border-box;
}

.whatsapp-btn:hover {
  background: var(--violeta);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 0, 0.3);
}

.whatsapp-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  display: inline-block;
  transition: filter 0.3s ease;
  filter: brightness(0) saturate(100%) invert(17%) sepia(100%) saturate(7000%) hue-rotate(270deg) brightness(0%) contrast(100%);
  vertical-align: middle;
  order: -1;
}

.whatsapp-btn:hover .whatsapp-icon {
  filter: brightness(0) invert(1); 
}


/* RESPONSIVE */
@media(max-width:768px){
  .hero {
    min-height: 90vh;
  }
  .hero-content-wrapper {
    padding: 80px 5% 60px;
    gap: 50px;
  }
  .hero h1 {
    font-size: 42px;
    margin-bottom: 24px;
  }
  .hero p {
    margin-bottom: 36px;
    font-size: 16px;
    line-height: 1.6;
  }
  .hero-content .whatsapp-btn {
    margin-bottom: 40px;
  }
  .hero-sub {
    margin-top: 0;
    font-size: 13px;
    line-height: 1.5;
  }
  .frase-container {
    height: 150px;
    margin-top: 10px;
  }
  .anim-text {
    font-size: 46px;
    letter-spacing: 2px;
  }
  
  /* Story section responsive */
  .story {
    padding: 0;
  }
  .story-row {
    flex-direction: column !important;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    min-height: 100dvh; /* Dynamic viewport height for mobile browsers */
    padding: 40px 5%;
    margin-bottom: 0;
    gap: 24px;
    box-sizing: border-box;
  }
  .story-row:last-of-type {
    margin-bottom: 0;
  }
  /* Ensure image appears first, then text on mobile - override reverse */
  .story-row .story-image,
  .story-row-reverse .story-image {
    order: 1 !important;
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
  }
  .story-row .story-connector,
  .story-row-reverse .story-connector {
    order: 2 !important;
    flex: 0 0 auto;
    width: 3px;
    height: 32px;
    background: linear-gradient(180deg, rgba(255, 107, 0, 0.4), rgba(255, 107, 0, 0.8), rgba(255, 107, 0, 0.4));
    margin: 8px auto;
    position: relative;
    align-self: center;
  }
  .story-row .story-question,
  .story-row-reverse .story-question {
    order: 3 !important;
    flex: 0 0 auto;
    width: 100%;
    text-align: center;
    padding: 0 10px;
  }
  .story-connector::before,
  .story-connector-reverse::before {
    content: '';
    position: absolute;
    top: 100%;
    /*left: 50%;*/
    left: -4.6px;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 10px solid rgba(255, 107, 0, 0.8);
    border-bottom: none;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    display: block;
  }
  .story-image-placeholder {
    aspect-ratio: 4/3;
    max-height: 50vh;
  }
  .story-question h3 {
    font-size: 28px;
    line-height: 1.3;
    padding: 0;
  }
  .story-image-placeholder span {
    font-size: 22px;
  }
  .story-cta {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 5%;
    margin-top: 0;
    box-sizing: border-box;
  }
  .story-sales {
    font-size: 20px;
  }
  
  /* Promesa section responsive */
  .promesa {
    min-height: 100vh;
    min-height: 100dvh;
  }
  .promesa-text {
    font-size: 48px;
    letter-spacing: 2px;
    padding: 40px 5%;
    line-height: 1.2;
  }
  .promesa-arrow-container {
    margin-top: 40px;
  }
  .promesa-arrow {
    border-left-width: 24px;
    border-right-width: 24px;
  }
  .promesa-arrow-top {
    border-top-width: 30px;
    margin-bottom: -15px;
  }
  .promesa-arrow-middle {
    border-top-width: 30px;
    margin-bottom: -15px;
  }
  .promesa-arrow-bottom {
    border-top-width: 30px;
  }
  /* Particles responsive */
  .particle {
    width: 3px;
    height: 3px;
    box-shadow: 0 0 4px rgba(255, 107, 0, 0.6);
  }
  .particle-1,
  .particle-3,
  .particle-5,
  .particle-8,
  .particle-11 {
    width: 3px;
    height: 3px;
  }
  .particle-2,
  .particle-6,
  .particle-7,
  .particle-10,
  .particle-12 {
    width: 2.5px;
    height: 2.5px;
  }
  .particle-4,
  .particle-9 {
    width: 2px;
    height: 2px;
  }
  
  /* Talleres responsive */
  .talleres h2 {
    font-size: 36px;
    letter-spacing: 2px;
    margin-bottom: 40px;
  }
  .cards {
    gap: 30px;
    padding: 0 5%;
  }
  .card {
    width: 100%;
    max-width: 400px;
    padding: 32px 24px;
  }
  .card h4 {
    font-size: 28px;
    letter-spacing: 1.5px;
  }
  .card p {
    font-size: 15px;
  }
  .whatsapp-icon {
    width: 18px;
    height: 18px;
  }
  .whatsapp-btn {
    font-size: 14px;
    padding: 12px 26px;
    gap: 10px;
    white-space: nowrap;
  }
  
  /* Footer responsive */
  footer {
    padding: 40px 5%;
  }
  .footer-content {
    gap: 25px;
  }
  .footer-copyright {
    font-size: 12px;
  }
  .footer-links {
    gap: 20px;
    flex-wrap: wrap;
  }
  .footer-link {
    padding: 6px 12px;
    gap: 10px;
  }
  .footer-icon {
    width: 18px;
    height: 18px;
  }
  .footer-link span {
    font-size: 13px;
  }
}











/* ==== BLOQUE FRASE IMPACTO ROTATIVA ==== */
.frase-container {
  position: relative;
  width: 100%;
  max-width: 900px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
}

/* Texto principal */
.anim-text {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 82px;
  letter-spacing: 3px;
  text-transform: uppercase;
  position: absolute;
  width: 100%;
  text-align: center;
  opacity: 0;
  transform: scale(0.95);
  animation: fraseFade 16s infinite;
  line-height: 1.2;
}

/* Color destacado */
.resaltado {
  color: #FF6B00;
  text-shadow: 0 0 20px rgba(255,107,0,0.6);
}

/* Animaciones rotativas */
.frase:nth-child(1) { animation-delay: 0s; }
.frase:nth-child(2) { animation-delay: 4s; }
.frase:nth-child(3) { animation-delay: 8s; }
.frase:nth-child(4) { animation-delay: 12s; }

@keyframes fraseFade {
  0% {
    opacity: 0;
    transform: scale(0.95) translateY(20px);
    filter: blur(5px);
  }
  5% {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: blur(0);
  }
  25% {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: blur(0);
  }
  30% {
    opacity: 0;
    transform: scale(1.05) translateY(-20px);
    filter: blur(5px);
  }
  100% {
    opacity: 0;
    transform: scale(0.95) translateY(20px);
    filter: blur(5px);
  }
}

/* AUDIO */
.audio-container {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 10;
  display: none; /* mantiene el audio oculto pero activo */
}