/* ═══════════════════════════════════════════
   NUEVAS SECCIONES — VORTEX STUDIOS
═══════════════════════════════════════════ */

.accent-span { color: #e8ff3e; }

/* ── LIGHTHOUSE ── */
.lh-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(240,236,227,0.08);
  border-radius: 12px;
  padding: 2.5rem 2rem;
}
.good-lh {
  border-color: rgba(12,206,107,.2);
  box-shadow: 0 0 40px rgba(12,206,107,.05);
}
.lh-label-top {
  font-size: .65rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #7a7a72;
  text-align: center;
}
.lh-circles {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}
.lh-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
}
.lh-ring-wrap {
  position: relative;
  width: 110px;
  height: 110px;
}
.lh-svg {
  width: 100%;
  height: 100%;
  display: block;
  transform: rotate(-90deg);
}
.lh-track {
  fill: none;
  stroke: rgba(255,255,255,.08);
  stroke-width: 8;
}
.lh-fill {
  fill: none;
  stroke-width: 8;
  stroke-linecap: round;
}
.bad-fill  { stroke: #FF4E42; }
.good-fill { stroke: #0CCE6B; }
.lh-num {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Bebas Neue", sans-serif;
  font-size: 2rem;
  pointer-events: none;
}
.bad-num  { color: #FF4E42; }
.good-num { color: #0CCE6B; }
.lh-cat {
  font-size: .65rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #7a7a72;
}
.lh-disclaimer {
  font-size: .65rem;
  color: #7a7a72;
  opacity: .5;
  text-align: center;
}

/* ── PROBLEMA ── */
#problema-section {
  padding: 8rem 3rem;
  max-width: 1400px;
  margin: 0 auto;
}
.problema-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  margin-bottom: 5rem;
}
.problema-text .section-title { margin-bottom: 1.5rem; }
.problema-desc {
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(240,236,227,.55);
  font-weight: 300;
}
.problema-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.prob-card {
  background: #0d0d1c;
  border: 1px solid rgba(240,236,227,0.08);
  border-radius: 8px;
  padding: 2rem;
  opacity: 0;
  transform: translateY(40px);
  transition: border-color .3s;
}
.prob-card:hover { border-color: rgba(232,255,62,.2); }
.prob-icon { font-size: 2rem; margin-bottom: 1rem; }
.prob-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.5rem;
  margin-bottom: .75rem;
}
.prob-desc {
  font-size: .88rem;
  line-height: 1.7;
  color: rgba(240,236,227,.45);
  font-weight: 300;
}

/* ── SOLUCIÓN ── */
#solucion-section {
  padding: 8rem 3rem;
  max-width: 1400px;
  margin: 0 auto;
  background: radial-gradient(ellipse at 70% 50%, rgba(12,206,107,.04) 0%, transparent 60%);
}
.solucion-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.solucion-desc {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(240,236,227,.55);
  font-weight: 300;
  margin-bottom: 1.5rem;
}
.solucion-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin-bottom: 2rem;
}
.solucion-list li {
  font-size: .95rem;
  line-height: 1.6;
  color: rgba(240,236,227,.75);
}
.solucion-cta { display: inline-flex; }

/* ── COMPARACIÓN ── */
#comparacion-section {
  padding: 8rem 3rem;
  max-width: 1400px;
  margin: 0 auto;
}
.compare-header { text-align: center; margin-bottom: 4rem; }
.compare-title { font-size: clamp(2rem, 4.5vw, 5rem); margin-bottom: 1rem; }
.compare-sub {
  font-size: 1.1rem;
  color: rgba(240,236,227,.5);
  font-weight: 300;
}
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.compare-col {
  border-radius: 10px;
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(50px);
}
.bad-col {
  background: #080814;
  border: 1px solid rgba(240,236,227,.05);
  filter: brightness(.88);
}
.good-col {
  background: #0c1018;
  border: 1px solid rgba(12,206,107,.25);
}
.compare-glow {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(12,206,107,.12) 0%, transparent 70%);
  pointer-events: none;
}
.compare-col-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(240,236,227,0.08);
}
.compare-flag { font-size: 1.5rem; }
.compare-col-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.8rem;
  letter-spacing: .05em;
}
.compare-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}
.compare-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .9rem;
  line-height: 1.5;
  color: rgba(240,236,227,.65);
}
.ci-icon { flex-shrink: 0; }
.compare-resultado {
  border-radius: 6px;
  padding: 1.2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .3rem;
}
.bad-resultado  { background: rgba(255,78,66,.08); border: 1px solid rgba(255,78,66,.15); }
.good-resultado { background: rgba(12,206,107,.08); border: 1px solid rgba(12,206,107,.15); }
.compare-result-label {
  font-size: .6rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #7a7a72;
}
.compare-result-val {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.4rem;
  letter-spacing: .03em;
}
.bad-resultado  .compare-result-val { color: #FF4E42; }
.good-resultado .compare-result-val { color: #0CCE6B; }
.compare-insight {
  text-align: center;
  font-size: 1rem;
  color: rgba(240,236,227,.6);
  font-style: italic;
  margin-bottom: 2.5rem;
}
.compare-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.compare-btn {
  display: block;
  width: 100%;
  margin-top: 1.25rem;
  padding: .85rem 1.5rem;
  border-radius: 8px;
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: transform .3s, filter .3s;
}
.compare-btn:hover { transform: translateY(-3px); filter: brightness(1.15); }
.bad-btn {
  background: transparent;
  border: 1px solid rgba(240,236,227,.15);
  color: rgba(240,236,227,.4);
}
.good-btn {
  background: #e8ff3e;
  color: #111;
  border: 1px solid transparent;
}

/* ── AUTORIDAD ── */
#autoridad-section {
  padding: 8rem 3rem;
  max-width: 1400px;
  margin: 0 auto;
}
#autoridad-section .section-title { margin-bottom: 4rem; }
.aut-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 5rem;
  padding: 3rem;
  background: #0d0d1c;
  border: 1px solid rgba(240,236,227,0.08);
  border-radius: 10px;
}
.aut-stat-item {
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
}
.aut-stat-num {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(3rem, 5vw, 5rem);
  color: #e8ff3e;
  line-height: 1;
  display: block;
}
.aut-stat-plus {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.5rem;
  color: #e8ff3e;
  opacity: .6;
}
.aut-stat-label {
  display: block;
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #7a7a72;
  margin-top: .5rem;
}
.aut-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.aut-card {
  background: #0d0d1c;
  border: 1px solid rgba(240,236,227,0.08);
  border-radius: 8px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(50px);
  transition: border-color .3s;
}
.aut-card:hover { border-color: rgba(232,255,62,.25); }
.aut-card-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.aut-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.aut-card:hover .aut-card-img img { transform: scale(1.05); }
.aut-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #e8ff3e;
  opacity: 0;
  transition: opacity .3s;
}
.aut-card:hover .aut-card-overlay { opacity: 1; }
.aut-card-body { padding: 1.5rem; }
.aut-card-tag {
  font-size: .6rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #e8ff3e;
  opacity: .7;
  display: block;
  margin-bottom: .6rem;
}
.aut-card-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.4rem;
  letter-spacing: .04em;
  margin-bottom: 1rem;
}
.aut-card-quote {
  font-size: .85rem;
  line-height: 1.7;
  color: rgba(240,236,227,.5);
  font-style: italic;
  font-weight: 300;
  border-left: 2px solid #e8ff3e;
  padding-left: 1rem;
  margin-bottom: .75rem;
}
.aut-card-author { font-size: .75rem; color: #7a7a72; }

/* ── FAQ ── */
#faq-section {
  padding: 8rem 3rem;
  max-width: 900px;
  margin: 0 auto;
}
#faq-section .section-title { margin-bottom: 3rem; }
.faq-list { display: flex; flex-direction: column; }
.faq-item {
  border-bottom: 1px solid rgba(240,236,227,0.08);
  opacity: 0;
  transform: translateX(-30px);
}
.faq-item:first-child { border-top: 1px solid rgba(240,236,227,0.08); }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  color: #f0ece3;
  text-align: left;
  padding: 1.5rem 0;
  font-size: 1rem;
  font-family: "DM Sans", sans-serif;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  letter-spacing: .02em;
  transition: color .25s;
}
.faq-q:hover { color: #e8ff3e; }
.faq-arrow {
  font-size: 1.5rem;
  font-weight: 300;
  flex-shrink: 0;
  transition: transform .35s cubic-bezier(.4,0,.2,1), color .25s;
  line-height: 1;
  display: inline-block;
}
.faq-item.open .faq-arrow {
  transform: rotate(45deg);
  color: #e8ff3e;
}
.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height .4s cubic-bezier(.4,0,.2,1);
}
.faq-item.open .faq-a { max-height: 300px; }
.faq-a-inner { padding-bottom: 1.5rem; }
.faq-a p {
  font-size: .9rem;
  line-height: 1.8;
  color: rgba(240,236,227,.55);
  font-weight: 300;
}
.faq-a strong { color: #f0ece3; font-weight: 700; }

/* ── CTA FINAL ── */
#cta-final-section {
  padding: 10rem 3rem;
  max-width: 100%;
  background: radial-gradient(ellipse at 50% 50%, rgba(232,255,62,.07) 0%, transparent 60%);
  border-top: 1px solid rgba(240,236,227,0.08);
}
.cta-final-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  opacity: 0;
  transform: translateY(50px);
}
.cta-final-tag {
  font-size: .7rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: #e8ff3e;
  margin-bottom: 1.5rem;
}
.cta-final-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: .95;
  margin-bottom: 1.5rem;
}
.cta-final-title span { color: #e8ff3e; }
.cta-final-sub {
  font-size: 1.1rem;
  color: rgba(240,236,227,.55);
  font-weight: 300;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}
.cta-final-btns { justify-content: center; margin-bottom: 1.5rem; }
.cta-final-note { font-size: .8rem; color: #7a7a72; letter-spacing: .05em; }

/* ── PROCESO CARDS ── */
.proceso-cards {
  grid-template-columns: repeat(3, 1fr);
}

.proceso-card {
  position: relative;
  overflow: hidden;
}

/* imagen superior */
.proceso-img-wrap {
  position: relative;
  height: 200px;
  background: linear-gradient(135deg, #161614 0%, #1e1e1b 100%);
  overflow: hidden;
  flex-shrink: 0;
}

.proceso-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}

.proceso-card:hover .proceso-img { transform: scale(1.04); }

/* estado vacío: cuando no hay imagen muestra un placeholder elegante */
.proceso-img-empty {
  display: flex;
  align-items: center;
  justify-content: center;
}

.proceso-img-empty::after {
  content: "Agrega tu imagen";
  font-size: .65rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(240,236,227,.15);
}

.proceso-img-empty .proceso-img { display: none; }

/* badge de número sobre la imagen */
.proceso-step-badge {
  position: absolute;
  bottom: .75rem;
  left: 1rem;
  font-family: "Bebas Neue", sans-serif;
  font-size: 1rem;
  letter-spacing: .2em;
  color: #e8ff3e;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(4px);
  padding: .2rem .65rem;
  border-radius: 4px;
  border: 1px solid rgba(232,255,62,.3);
}

.proceso-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  border: 1px solid rgba(232,255,62,.25);
  background: rgba(232,255,62,.05);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1.25rem 1.5rem .25rem;
  flex-shrink: 0;
  transition: background .3s, border-color .3s;
}

.proceso-icon-wrap svg {
  width: 22px;
  height: 22px;
  stroke: #e8ff3e;
}

.proceso-card:hover .proceso-icon-wrap {
  background: rgba(232,255,62,.12);
  border-color: rgba(232,255,62,.5);
}

.proceso-desc {
  font-size: .88rem;
  line-height: 1.75;
  color: rgba(240,236,227,.5);
  font-weight: 300;
  margin-bottom: 1.25rem;
}

.proceso-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.proceso-list li {
  font-size: .8rem;
  color: rgba(232,255,62,.7);
  letter-spacing: .03em;
}

/* ── BREATHE 24/7 ── */
@keyframes breathe {
  0%, 100% {
    transform: scale(1);
    text-shadow: 0 0 0px rgba(232,255,62,0);
  }
  50% {
    transform: scale(1.12);
    text-shadow: 0 0 30px rgba(232,255,62,.5), 0 0 60px rgba(232,255,62,.2);
  }
}

.breathe-247 {
  display: inline-block;
  color: #e8ff3e;
  animation: breathe 2.8s ease-in-out infinite;
  transform-origin: center;
}

/* ── DANGER SPAN (texto en rojo para énfasis de problema) ── */
.danger-span {
  color: #FF4E42;
  -webkit-text-stroke: 0;
}

/* ── COMPARE-COL como flex column para empujar botón al fondo ── */
.compare-col {
  display: flex;
  flex-direction: column;
}
.compare-list { flex: 1; }

/* ── FOOTER LINKS ── */
.footer-links {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
}
.footer-link {
  font-size: .7rem;
  letter-spacing: .1em;
  color: #7a7a72;
  text-decoration: none;
  transition: color .25s;
}
.footer-link:hover { color: #e8ff3e; }
.footer-sep { color: #7a7a72; opacity: .4; font-size: .8rem; }
.footer-copy { font-size: .7rem; color: #7a7a72; opacity: .5; }

/* ══ RESPONSIVE NUEVAS SECCIONES ══ */
@media (max-width: 768px) {
  .problema-inner  { grid-template-columns: 1fr; gap: 3rem; }
  .problema-cards  { grid-template-columns: 1fr; }
  .solucion-inner  { grid-template-columns: 1fr; gap: 3rem; }
  .solucion-inner .lh-wrapper { order: -1; }
  .compare-grid    { grid-template-columns: 1fr; }
  .compare-title   { font-size: clamp(1.8rem, 7vw, 3rem); }
  .aut-stats       { grid-template-columns: repeat(2, 1fr); padding: 1.5rem; }
  .aut-cards       { grid-template-columns: 1fr; }
  .proceso-img-wrap { height: 160px; }
  #faq-section, #cta-final-section { padding: 5rem 1.2rem; }
  #problema-section, #solucion-section,
  #comparacion-section, #autoridad-section { padding: 5rem 1.2rem; }
  .lh-circles   { gap: 1rem; }
  .lh-ring-wrap { width: 85px; height: 85px; }
  .lh-num       { font-size: 1.5rem; }
  /* Elementos que no usan GSAP en mobile — visibles por defecto */
  .prob-card, .compare-col, .aut-card,
  .cta-final-inner, .faq-item {
    opacity: 1 !important;
    transform: none !important;
  }
  /* aut-stat-item: empieza VISIBLE en mobile para que el JS del contador funcione */
  .aut-stat-item {
    opacity: 1 !important;
    transform: none !important;
  }
  /* Hero: visible en mobile sin esperar anim GSAP */
  .hero-tag, .hero-title, .hero-cta {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ── Marquee CSS para mobile (fallback sin GSAP) ── */
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Footer mobile — evita que se amontone ── */
@media (max-width: 768px) {
  footer {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 1.25rem !important;
    padding: 2.5rem 1.5rem !important;
  }

  .footer-logo {
    font-size: .95rem !important;
  }

  .footer-links {
    flex-direction: column !important;
    align-items: center !important;
    gap: .5rem !important;
  }

  .footer-sep {
    display: none !important;
  }

  .footer-note,
  .footer-copy {
    font-size: .7rem !important;
    text-align: center !important;
  }
}
