/* ──────────────────────────────────────────────
   RESET & BASE
────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --dark:   #1c1a18;
  --cream:  #f5f0eb;
  --gold:   #c9a96e;
  --white:  #ffffff;
  --serif:  'Cormorant Garamond', Georgia, serif;
  --sans:   'DM Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--dark);
  color: var(--white);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ──────────────────────────────────────────────
   1. HERO
────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 6vw;
  text-align: center;
  background-image:
    linear-gradient(
      to bottom,
      rgba(28,26,24,0.25) 0%,
      rgba(28,26,24,0.3)  40%,
      rgba(28,26,24,0.7)  75%,
      rgba(28,26,24,0.95) 100%
    ),
    url('images/hero.jpg');
  background-size: cover;
  background-position: center 20%;
  background-color: #3a3028;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 30%, rgba(120,90,60,0.3), transparent),
    radial-gradient(ellipse 50% 70% at 30% 70%, rgba(60,45,35,0.5), transparent);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Etiqueta "Masterclass gratuita" — prominente */
.hero-masterclass-label {
  font-family: var(--sans);
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.4rem;
  animation: fadeUp 0.9s ease both;
}

/* Pregunta — elemento principal, lo más grande */
.hero-question-title {
  font-family: var(--serif);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 1.4rem;
  animation: fadeUp 0.9s 0.1s ease both;
}

/* Subtítulo — título del curso, más pequeño */
.hero-subtitle {
  font-family: var(--serif);
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  font-weight: 300;
  color: rgba(255,255,255,0.65);
  margin-bottom: 2.2rem;
  line-height: 1.5;
  animation: fadeUp 0.9s 0.2s ease both;
}
.hero-subtitle em { font-style: italic; color: rgba(201,169,110,0.85); }

/* Área del formulario */
.hero-date {
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  background: rgba(201,169,110,0.15);
  border: 1px solid rgba(201,169,110,0.4);
  border-radius: 999px;
  padding: 0.45rem 1.2rem;
  margin-bottom: 1.8rem;
  animation: fadeUp 0.9s 0.25s ease both;
}

.hero-form-area {
  width: 100%;
  max-width: 560px;
  animation: fadeUp 0.9s 0.3s ease both;
}

#respuesta,
#registro-form input {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 10px;
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.95rem;
  padding: 0.9rem 1rem;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  margin-bottom: 0.8rem;
}

#respuesta {
  resize: none;
  height: 90px;
}

#respuesta:focus,
#registro-form input:focus {
  border-color: rgba(201,169,110,0.5);
  background: rgba(255,255,255,0.09);
}

#respuesta::placeholder,
#registro-form input::placeholder { color: rgba(255,255,255,0.25); }

.step2-msg {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 1.2rem;
  text-align: left;
}

.hero-submit {
  display: block;
  width: 100%;
  margin-top: 0.4rem;
  padding: 0.85rem;
  background: var(--white);
  border: none;
  border-radius: 10px;
  color: var(--dark);
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.hero-submit:hover { background: var(--cream); transform: translateY(-1px); }
.hero-submit:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.hero-success {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--white);
  text-align: center;
  line-height: 1.6;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ──────────────────────────────────────────────
   2. SOY PAULA CARO
────────────────────────────────────────────── */
.about-section {
  background: #ffffff;
  padding: 6rem 0 7rem 6vw; /* sin padding-right: el carrusel llega al borde */
  overflow: hidden;
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1200px;
}

.about-text {
  padding-right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.about-desc {
  font-size: clamp(0.95rem, 1.3vw, 1.05rem);
  line-height: 1.85;
  color: #3a3733;
}

.about-desc strong { color: #1c1a18; font-weight: 600; }

.podcast-label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8a8480;
  margin-top: 0.5rem;
}

.podcast-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(28,26,24,0.05);
  border: 1px solid rgba(28,26,24,0.1);
  border-radius: 12px;
  padding: 0.9rem 1.2rem;
  text-decoration: none;
  color: #1c1a18;
  transition: background 0.2s, border-color 0.2s;
}
.podcast-card:hover {
  background: rgba(28,26,24,0.09);
  border-color: rgba(28,26,24,0.18);
}

.podcast-play {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #1c1a18;
  display: flex;
  align-items: center;
  justify-content: center;
}

.podcast-tag {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8a8480;
  margin-bottom: 0.15rem;
}

.podcast-title {
  font-size: 0.92rem;
  font-weight: 500;
  color: #1c1a18;
}

.podcast-url {
  font-size: 0.78rem;
  color: #8a8480;
  margin-top: 0.1rem;
}

/* Carrusel columna derecha */
.about-carousel-wrap {
  position: relative;
  overflow: hidden;
  height: 380px;
}

/* Desvanecido izquierdo (blanco, coincide con fondo del about) */
.about-carousel-wrap::before,
.about-carousel-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}
.about-carousel-wrap::before {
  left: 0;
  background: linear-gradient(to right, #ffffff 0%, transparent 100%);
}
.about-carousel-wrap::after {
  right: 0;
  background: linear-gradient(to left, #ffffff 0%, transparent 100%);
}

.about-carousel-track {
  display: flex;
  gap: 8px;
  width: max-content;
  height: 100%;
  animation: about-scroll 35s linear infinite;
}

.about-carousel-wrap:hover .about-carousel-track {
  animation-play-state: paused;
}

@keyframes about-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.about-carousel-item {
  flex: 0 0 auto;
  width: 240px;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
}

.about-carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* ──────────────────────────────────────────────
   PODCAST SECTION
────────────────────────────────────────────── */
.podcast-section {
  background: #ffffff;
  padding: 3rem 6vw 5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  border-top: 1px solid rgba(28,26,24,0.08);
}

/* ──────────────────────────────────────────────
   TOAST
────────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--white);
  color: var(--dark);
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
  z-index: 1000;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  white-space: nowrap;
}
.toast.show { transform: translateX(-50%) translateY(0); }
.toast.error { background: #e74c3c; color: var(--white); }

/* ──────────────────────────────────────────────
   FOOTER
────────────────────────────────────────────── */
footer {
  background: var(--dark);
  padding: 1.5rem 6vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}

footer p { font-size: 0.8rem; color: #8a8480; }
footer a { color: #8a8480; text-decoration: none; font-size: 0.8rem; }
footer a:hover { color: var(--white); }

/* ──────────────────────────────────────────────
   RESPONSIVE
────────────────────────────────────────────── */
@media (max-width: 768px) {
  .about-section { padding: 4rem 5vw 5rem; }
  .about-inner { grid-template-columns: 1fr; gap: 3rem; }
  .about-text { padding-right: 0; }
  .about-carousel-wrap { height: 260px; }
  .about-carousel-item { width: 180px; }
}
