/* ==========================================================================
   Alfa Real — estilos
   Extraído del sitio original en WordPress/Divi (backup 16/05/2026)
   ========================================================================== */

:root {
  --negro: #000000;
  --negro-2: #0c0c0c;
  --gris-card: #161616;
  --gris-caja: #383838;
  --oro: #F0B800;
  --oro-2: #E09900;
  --naranja: #ff9400;
  --rojo: #ff0000;
  --blanco: #ffffff;
  --gris-texto: #dbdbdb;

  --f-titulo: "Anton", Impact, "Arial Narrow Bold", sans-serif;
  --f-texto: "Abel", "Helvetica Neue", Arial, sans-serif;

  --ancho: 1080px;
  --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--negro);
  color: var(--blanco);
  font-family: var(--f-texto);
  font-size: 21px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, video, iframe { max-width: 100%; display: block; }
img { height: auto; pointer-events: none; } /* el sitio original bloqueaba arrastrar imágenes */

a { color: var(--oro); }

h1, h2, h3 { margin: 0 0 .5em; font-weight: 400; line-height: 1.3; }

.h-display {
  font-family: var(--f-titulo);
  color: var(--oro);
  font-size: clamp(40px, 6vw, 66px);
  text-transform: none;
}

.contenedor {
  width: 100%;
  max-width: var(--ancho);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.seccion { padding: clamp(40px, 7vw, 72px) 0; }

.centrado { text-align: center; }

/* ---------- Botón CTA (rojo, flotando) ---------- */
.cta-wrap { text-align: center; margin: 32px 0; }

.btn-cta {
  display: inline-block;
  padding: 18px 40px;
  background: var(--rojo);
  border: 3px solid #ff0400;
  border-radius: 6px;
  color: var(--blanco);
  font-family: Helvetica, Arial, sans-serif;
  font-weight: 600;
  font-size: clamp(20px, 2.4vw, 26px);
  letter-spacing: 1px;
  text-decoration: none;
  line-height: 1.2;
  animation: flotar 3s ease-in-out infinite;
  transition: background-color .2s, box-shadow .2s;
}
.btn-cta:hover { background: #d90000; box-shadow: 0 0 24px rgba(255, 0, 0, .45); }

@keyframes flotar {
  0%, 100% { transform: translateY(-5px); }
  50%      { transform: translateY(5px); }
}

/* ---------- Aparición al hacer scroll ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 1.2s ease, transform 1.2s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .btn-cta { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Header ---------- */
.site-header {
  background: var(--negro);
  padding: 12px 0 0;
  text-align: center;
}
.site-header img { height: 183px; width: auto; margin: 0 auto; }

/* ---------- Hero ---------- */
.hero { padding: 8px 0 24px; text-align: center; }

.hero .pre {
  font-family: var(--f-texto);
  color: var(--oro);
  font-size: clamp(20px, 2.2vw, 25px);
  margin-bottom: .2em;
}
.hero h1 {
  font-family: var(--f-titulo);
  font-size: clamp(44px, 7vw, 84px);
  line-height: 1.25;
  color: var(--blanco);
  margin: 0 auto .3em;
}

.video-hero {
  width: min(100%, 820px);
  aspect-ratio: 16 / 9;
  margin: 13px auto 8px;
  background: #000;
  border-radius: 6px;
  overflow: hidden;
}
.video-hero video { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Dolor ("¿Algo de esto te hace sentido?") ---------- */
.patron-diamantes {
  background-color: var(--negro);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64'%3E%3Cpath d='M32 4 60 32 32 60 4 32Z' fill='none' stroke='rgba(63,63,63,0.35)' stroke-width='1.5'/%3E%3C/svg%3E");
  background-size: 64px 64px;
}

.lista-dolor { list-style: none; padding: 0; margin: 0; font-family: var(--f-titulo); font-size: 22px; letter-spacing: .3px; }
.lista-dolor li { padding: 6px 0 6px 2.2em; position: relative; }
.lista-dolor li::before { content: "❌"; position: absolute; left: 0; top: 6px; }

/* ---------- Grillas 2 columnas ---------- */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
  margin-top: 48px;
}
.grid-2.top { align-items: start; }
.grid-2 img { width: 100%; border-radius: 4px; }
.stack { display: grid; gap: 20px; }

/* ---------- Programas ("¿Qué incluye la mentoría?") ---------- */
.programas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px clamp(28px, 5vw, 56px);
  margin-top: 40px;
}
.programa img {
  width: 30%;
  min-width: 120px;
  margin: 0 auto 20px;
  transition: transform .5s ease;
}
.programa:hover img { transform: scale(1.12); }
.programa h2 { font-family: var(--f-texto); font-weight: 700; color: var(--oro); font-size: 31px; }
.checks { list-style: none; padding: 0; margin: 0; }
.checks li {
  padding-left: 34px;
  margin-bottom: 14px;
  background: url("../assets/img/check.webp") no-repeat 0 .25em / 23px 23px;
}

/* ---------- Talleres en vivo (video de fondo) ---------- */
.talleres {
  position: relative;
  overflow: hidden;
  margin-top: 33px;
  padding: clamp(56px, 8vw, 96px) 0;
  box-shadow: inset 0 0 0 0 #000, 0 12px 18px -6px rgba(0, 0, 0, .7);
}
.talleres video.fondo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.talleres::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, .82) 0%, rgba(0, 0, 0, .6) 60%, rgba(0, 0, 0, .35) 100%);
  z-index: 1;
}
.talleres .contenedor { position: relative; z-index: 2; }
.talleres h2 { font-family: var(--f-titulo); color: var(--oro); font-size: clamp(56px, 8vw, 80px); line-height: 1.3; }
.talleres p { font-size: 23px; max-width: 760px; }

/* ---------- Testimonios ---------- */
.seccion-chevrons {
  background-color: rgba(17, 17, 17, .45);
  background-image:
    linear-gradient(135deg, #000 25%, transparent 25%),
    linear-gradient(225deg, #000 25%, transparent 25%);
  background-size: 80px 40px;
  background-repeat: repeat-x;
  background-position: top left;
}

.testimonios { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 32px; }
.testimonio {
  position: relative;
  margin: 0;
  background: var(--gris-card);
  padding: 48px 32px 32px;
  border-radius: 4px;
  font-size: 20px;
}
.testimonio::before {
  content: "“";
  position: absolute; top: -22px; left: 50%; transform: translateX(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: #000; color: #f2f2f2;
  font: 48px/58px Georgia, serif; text-align: center;
}
.testimonio p { margin: 0 0 1em; }
.testimonio .autor { display: flex; align-items: center; gap: 14px; margin-top: 20px; }
.testimonio .autor img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.testimonio .autor strong { display: block; font-size: 24px; }
.testimonio .autor span { font-size: 19px; color: var(--gris-texto); }

.videos-yt {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.yt {
  position: relative;
  aspect-ratio: 9 / 13;
  background: #111 center / cover no-repeat;
  border: 0; padding: 0;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
}
.yt::after {
  content: "";
  position: absolute; left: 50%; top: 50%;
  width: 64px; height: 44px; transform: translate(-50%, -50%);
  background: rgba(255, 0, 0, .9);
  border-radius: 12px;
}
.yt::before {
  content: "";
  position: absolute; left: 50%; top: 50%; z-index: 1;
  transform: translate(-35%, -50%);
  border-style: solid; border-width: 10px 0 10px 17px;
  border-color: transparent transparent transparent #fff;
}
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt.activo::before, .yt.activo::after { display: none; }

/* ---------- Cierre / advertencia ---------- */
.cierre h2 { font-family: var(--f-titulo); color: var(--oro); font-size: clamp(38px, 5vw, 53px); }
.advertencia {
  background: var(--gris-caja);
  color: var(--gris-texto);
  padding: 32px;
  font-size: 20px;
  border-radius: 4px;
}
.advertencia h3 { color: var(--oro); font-size: clamp(30px, 3.4vw, 40px); }
.img-bn { width: 70% !important; margin: 0 auto; }

/* ---------- FAQ ---------- */
.faq { margin-top: 24px; }
.faq details {
  background: #fff;
  margin-bottom: 12px;
  border-radius: 2px;
  overflow: hidden;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 56px 18px 22px;
  background: #0a0706;
  color: var(--blanco);
  font-size: 22px;
  position: relative;
  transition: background-color .2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  font-size: 30px; color: var(--oro-2);
}
.faq details[open] summary { background: var(--oro-2); font-size: 26px; }
.faq details[open] summary::after { content: "−"; color: #fff; }
.faq .respuesta { padding: 18px 22px 22px; color: #000; font-size: 20px; }
.faq .respuesta p { margin: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--negro-2) url("../assets/img/footer-espartano.webp") no-repeat right center / 50% auto;
  border-top: 2px solid #000;
  min-height: 265px;
  padding: 40px 0;
}
.site-footer h2 {
  font-family: var(--f-titulo);
  font-size: clamp(40px, 5vw, 56px);
  line-height: 1.2;
  max-width: 540px;
}
.site-footer p { font-size: 20px; max-width: 540px; color: #fff; margin: 0; }

/* ---------- Página "Llamada" ---------- */
.progreso { background: #3f3f3f; border-radius: 4px; overflow: hidden; margin: 24px 0 8px; }
.progreso > div {
  width: 75%;
  background: #db8925;
  padding: 6px 14px;
  font-size: 22px;
  display: flex; justify-content: space-between;
}
.calendly-inline-widget { min-width: 320px; height: 760px; margin-top: 24px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .site-header img { height: 150px; }
  .videos-yt { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  body { font-size: 19px; }
  .site-header img { height: 140px; }
  .grid-2, .programas, .testimonios { grid-template-columns: 1fr; }
  .grid-2 .orden-movil { order: -1; }
  .lista-dolor { font-size: 20px; }
  .talleres p { font-size: 20px; }
  .talleres::after { background: rgba(0, 0, 0, .7); }
  .site-footer {
    background-image: url("../assets/img/footer-espartano-movil.webp");
    background-position: top left;
    background-size: 100% auto;
    padding-top: 56vw;
  }
  .site-footer p { font-size: 16px; }
  .faq summary { font-size: 19px; }
  .faq details[open] summary { font-size: 21px; }
  .img-bn { width: 100% !important; }
  .btn-cta { padding: 16px 24px; }
}
