:root {
  --red: #D91312;
  --red-dark: #B00E0D;
  --cream: #F8ECEC;
  --black: #1A1414;
  --white: #FFFFFF;
  --gray: #6B6161;
  --font-display: 'Playfair Display', serif;
  --font-body: 'Poppins', sans-serif;
  --container: 1160px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

a { text-decoration: none; color: inherit; }

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.8rem;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 8px;
}

.center { text-align: center; }

.section-title {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.section-subtitle {
  color: var(--gray);
  max-width: 560px;
  margin: 0 auto 48px;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.25s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
}
.btn-primary:hover { background: var(--red-dark); }

.btn-outline {
  border-color: var(--black);
  color: var(--black);
}
.btn-outline:hover { background: var(--black); color: var(--white); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  z-index: 100;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand-logo { height: 48px; width: auto; }

.nav {
  display: flex;
  gap: 32px;
}

.nav a {
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
}
.nav a:hover { color: var(--red); }

.nav-cta { flex-shrink: 0; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--black);
}

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--cream) 0%, #FDF7F7 100%);
  padding: 120px 0 100px;
  text-align: center;
}

.hero-inner { max-width: 720px; }

.hero h1 {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 24px;
  color: var(--black);
}

.hero-text {
  font-size: 1.1rem;
  color: var(--gray);
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Sections */
.section { padding: 100px 0; }
.section.alt { background: var(--cream); }

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: start;
}

.card {
  padding: 40px 28px;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 16px;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.card:hover {
  box-shadow: 0 16px 40px rgba(217,19,18,0.12);
  transform: translateY(-4px);
}

.card-icon {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--red);
  margin-bottom: 16px;
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.card p { color: var(--gray); font-size: 0.95rem; }

/* Reveal cards (PRP, Toxina Botulínica, Ácido Hialurónico) */
.card-icon-visual {
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
}
.card-icon-visual svg { width: 100%; height: 100%; }

.card-hint {
  color: var(--red);
  font-size: 0.8rem;
  font-weight: 500;
  margin-top: 4px;
  transition: opacity 0.2s ease;
}

.card-detail {
  display: flex;
  align-items: center;
  gap: 16px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.3s ease, margin-top 0.35s ease;
  margin-top: 0;
}

.card-detail-image {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
}
.card-detail-image svg { width: 100%; height: 100%; }

.card-detail p {
  color: var(--gray);
  font-size: 0.88rem;
  margin: 0;
}

.card-reveal:hover .card-detail,
.card-reveal:focus-within .card-detail,
.card-reveal:focus .card-detail {
  max-height: 220px;
  opacity: 1;
  margin-top: 18px;
}

.card-reveal:hover .card-hint,
.card-reveal:focus-within .card-hint {
  opacity: 0;
}

.card-reveal { cursor: default; outline: none; }

/* About */
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-text p { color: var(--gray); margin-bottom: 16px; }
.about-text .section-title { margin-bottom: 20px; }

.about-image img {
  border-radius: 16px;
  width: 100%;
  height: 480px;
  object-fit: cover;
  box-shadow: 0 24px 60px rgba(0,0,0,0.15);
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 16px;
}

.gallery-item img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.05); }

/* Contact */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.contact-text p { color: var(--gray); margin-bottom: 24px; }

.contact-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.contact-list a { color: var(--red); font-weight: 500; }
.contact-list a:hover { text-decoration: underline; }

.contact-form {
  background: var(--white);
  padding: 32px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.08);
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--black);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  font-family: var(--font-body);
  padding: 12px 14px;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 8px;
  font-size: 0.95rem;
  resize: vertical;
  background: var(--white);
  color: var(--black);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--red);
}

.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}
.check-list li {
  padding-left: 28px;
  position: relative;
  color: var(--black);
  font-size: 0.95rem;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 700;
}

.contact-form button { margin-top: 8px; }

.form-note { font-size: 0.9rem; color: var(--red); min-height: 1.2em; }

/* Footer */
.site-footer {
  background: var(--black);
  color: rgba(255,255,255,0.7);
  padding: 48px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.footer-logo {
  height: 40px;
  border-radius: 8px;
}

.footer-inner p { font-size: 0.85rem; }

/* Responsive */
@media (max-width: 900px) {
  .about-inner, .contact-inner { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .about-image img { height: 340px; }
}

@media (hover: none) {
  .card-hint { display: none; }
  .card-detail {
    max-height: none;
    opacity: 1;
    overflow: visible;
    margin-top: 18px;
  }
}

@media (max-width: 720px) {
  .nav, .nav-cta { display: none; }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
  }
  .nav-toggle { display: flex; }
  .hero h1 { font-size: 2.2rem; }
  .cards { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .hero { padding: 90px 0 64px; }
}

/* ============================= */
/* Etapa 2 — Rediseño visual EK  */
/* ============================= */

/* Hero: fondo decorativo y showcase */
.hero { position: relative; overflow: hidden; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; filter: blur(60px); pointer-events: none; z-index: 0; }
.hero::before { width: 340px; height: 340px; background: var(--red); opacity: 0.08; top: -120px; right: -80px; }
.hero::after { width: 280px; height: 280px; background: #F2C94C; opacity: 0.14; bottom: -100px; left: -60px; }
.hero .container { position: relative; z-index: 1; }

.trust-row { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 20px; justify-content: center; margin-top: 28px; padding: 0; }
.trust-row li { display: flex; align-items: center; gap: 6px; font-size: 0.85rem; color: var(--black); font-weight: 500; }
.trust-row li svg { width: 16px; height: 16px; color: var(--red); flex-shrink: 0; }

.hero-showcase { position: relative; margin-top: 56px; max-width: 820px; margin-left: auto; margin-right: auto; }
.hero-showcase img { width: 100%; height: 380px; object-fit: cover; border-radius: 24px; box-shadow: 0 30px 70px rgba(0,0,0,0.18); }
.hero-showcase-badge { position: absolute; left: 24px; bottom: -22px; background: var(--white); padding: 14px 22px; border-radius: 14px; box-shadow: 0 16px 40px rgba(0,0,0,0.14); font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; color: var(--black); max-width: 280px; }
.hero-showcase-badge::before { content: "\2713"; color: var(--red); margin-right: 8px; font-weight: 700; }
/* Value bar */
.value-bar { padding: 64px 0; border-bottom: 1px solid rgba(0,0,0,0.06); }
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.value-item { text-align: center; }
.value-icon { width: 56px; height: 56px; border-radius: 16px; background: var(--cream); color: var(--red); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.value-icon svg { width: 26px; height: 26px; }
.value-item h3 { font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 8px; }
.value-item p { color: var(--gray); font-size: 0.88rem; }

/* Course cards (Etapa 2) */
.course-card { position: relative; padding: 44px 28px 32px; border: 1px solid rgba(0,0,0,0.08); border-radius: 20px; background: var(--white); transition: box-shadow 0.25s ease, transform 0.25s ease; }
.course-card:hover { box-shadow: 0 16px 40px rgba(217,19,18,0.12); transform: translateY(-4px); }
.course-number { position: absolute; top: -14px; left: 24px; background: var(--red); color: var(--white); font-family: var(--font-display); font-weight: 600; font-size: 0.85rem; padding: 6px 14px; border-radius: 999px; box-shadow: 0 8px 20px rgba(217,19,18,0.25); }
.course-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--cream); color: var(--red); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.course-icon svg { width: 26px; height: 26px; }
.course-card h3 { font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 10px; }
.course-card p { color: var(--gray); font-size: 0.92rem; }
.course-tag { display: inline-block; margin-top: 16px; font-size: 0.75rem; font-weight: 600; color: var(--red); background: rgba(217,19,18,0.08); padding: 6px 12px; border-radius: 999px; }

/* Proceso */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; position: relative; margin-top: 24px; }
.process-grid::before { content: ""; position: absolute; top: 24px; left: 10%; right: 10%; height: 2px; background: rgba(217,19,18,0.18); z-index: 0; }
.process-step { text-align: center; padding: 0 12px; position: relative; z-index: 1; }
.process-number { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: var(--red); color: var(--white); font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 16px; box-shadow: 0 8px 20px rgba(217,19,18,0.25); }
.process-step h3 { font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 8px; }
.process-step p { color: var(--gray); font-size: 0.9rem; }
/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid rgba(0,0,0,0.1); border-radius: 12px; padding: 18px 22px; }
.faq-item summary { cursor: pointer; font-weight: 600; font-family: var(--font-display); font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--red); transition: transform 0.25s ease; flex-shrink: 0; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--gray); margin-top: 12px; font-size: 0.95rem; }

/* Gallery caption */
.gallery-item { position: relative; }
.gallery-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px; background: linear-gradient(180deg, transparent, rgba(0,0,0,0.65)); color: var(--white); font-weight: 500; opacity: 0; transition: opacity 0.3s ease; }
.gallery-item:hover .gallery-caption { opacity: 1; }
@media (hover: none) { .gallery-caption { opacity: 1; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.6)); } }

/* About CTA + form extras */
.about-cta { margin-top: 28px; }
.form-lock { font-size: 0.8rem; color: var(--gray); margin-top: -6px; }

/* Footer nav + social */
.footer-nav { display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; }
.footer-nav a { color: rgba(255,255,255,0.75); font-size: 0.9rem; }
.footer-nav a:hover { color: var(--white); }
.footer-social { display: flex; gap: 18px; }
.footer-social a { color: rgba(255,255,255,0.75); font-size: 0.85rem; font-weight: 500; }
.footer-social a:hover { color: var(--white); }

/* Sticky mobile CTA */
.mobile-sticky-cta { display: none; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
/* Responsive — Etapa 2 */
@media (max-width: 900px) {
  .value-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-grid::before { display: none; }
  .hero-showcase img { height: 300px; }
}

@media (max-width: 720px) {
  .value-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .hero-showcase { margin-top: 40px; }
  .hero-showcase img { height: 220px; }
  .hero-showcase-badge { position: static; margin-top: 16px; max-width: 100%; display: block; }
  .trust-row { gap: 8px 14px; }

  .mobile-sticky-cta {
    display: block;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(0,0,0,0.08);
    z-index: 150;
  }
  .mobile-sticky-cta .btn { display: block; text-align: center; width: 100%; }
  body { padding-bottom: 76px; }
}

/* ============================================ */
/* Etapa 3 -- Test de tipo de piel + guía descargable */
/* ============================================ */
.skin-quiz { max-width: 640px; margin: 40px auto 0; background: var(--white); border-radius: 20px; padding: 40px; box-shadow: 0 20px 50px rgba(26,20,20,0.08); }
.quiz-progress { height: 6px; background: rgba(217,19,18,0.12); border-radius: 999px; overflow: hidden; margin-bottom: 28px; }
.quiz-progress-bar { height: 100%; width: 0%; background: var(--red); border-radius: 999px; transition: width 0.35s ease; }
.quiz-progress-label { font-size: 0.8rem; color: var(--gray); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }
.quiz-q-text { font-family: var(--font-display); font-size: 1.35rem; margin-bottom: 22px; line-height: 1.3; }
.quiz-options { display: flex; flex-direction: column; gap: 12px; }
.quiz-option { display: flex; align-items: center; gap: 12px; text-align: left; width: 100%; padding: 14px 18px; border: 1.5px solid rgba(26,20,20,0.12); border-radius: 12px; background: var(--white); font-family: var(--font-body); font-size: 0.98rem; color: var(--black); cursor: pointer; transition: border-color 0.2s ease, background 0.2s ease; }
.quiz-option:hover, .quiz-option:focus-visible { border-color: var(--red); background: rgba(217,19,18,0.05); outline: none; }
.quiz-visual { flex: 0 0 auto; }
.quiz-swatch { display: block; width: 26px; height: 26px; border-radius: 50%; border: 1px solid rgba(26,20,20,0.15); }
.quiz-meter { display: flex; gap: 3px; }
.quiz-meter-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(26,20,20,0.12); }
.quiz-meter-dot.is-filled { background: var(--red); }
.quiz-option-label { flex: 1 1 auto; }
.quiz-result-eyebrow { text-transform: uppercase; letter-spacing: 2px; font-size: 0.78rem; color: var(--red); font-weight: 600; margin-bottom: 8px; }
.quiz-result-title { font-family: var(--font-display); font-size: 1.7rem; margin-bottom: 12px; }
.quiz-result-desc { color: var(--gray); margin-bottom: 18px; }
.quiz-result-tips { padding-left: 20px; margin-bottom: 18px; }
.quiz-result-tips li { margin-bottom: 8px; color: var(--black); }
.quiz-result-ektip { background: var(--cream); border-radius: 12px; padding: 14px 16px; font-size: 0.92rem; color: var(--gray); margin-bottom: 14px; }
.quiz-result-ektip b { color: var(--black); }
.quiz-result-disclaimer { font-size: 0.78rem; color: var(--gray); margin-bottom: 26px; }
.guia-box { background: var(--cream); border-radius: 16px; padding: 24px; margin-bottom: 18px; }
.guia-box-title { font-weight: 600; margin-bottom: 6px; }
.guia-box-desc { color: var(--gray); font-size: 0.9rem; margin-bottom: 16px; }
.guia-form { display: flex; gap: 10px; flex-wrap: wrap; }
.guia-form input[type="email"] { flex: 1 1 220px; padding: 12px 14px; border-radius: 10px; border: 1px solid rgba(26,20,20,0.15); font-family: var(--font-body); font-size: 0.95rem; }
.guia-form-note { font-size: 0.78rem; color: var(--gray); margin-top: 10px; }
.guia-form-error { font-size: 0.85rem; color: var(--red); margin-top: 10px; }
.guia-success { margin-top: 4px; font-size: 0.95rem; }
.guia-success a { color: var(--red); font-weight: 600; text-decoration: underline; }
.quiz-retry { display: block; margin: 0 auto; background: none; border: none; color: var(--gray); font-size: 0.85rem; text-decoration: underline; cursor: pointer; }

.video-proof {
  display: flex;
  align-items: center;
  gap: 56px;
  max-width: 920px;
  margin: 48px auto 0;
}
.video-proof-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(217,19,18,0.08);
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.video-proof-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  animation: pulseDot 1.6s infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}
.video-proof-frame {
  flex: 0 0 260px;
  width: 260px;
  border-radius: 28px;
  overflow: hidden;
  border: 6px solid var(--black);
  box-shadow: 0 24px 50px rgba(26,20,20,0.28);
  background: var(--black);
}
.video-proof-frame video {
  display: block;
  width: 100%;
  aspect-ratio: 478 / 850;
  object-fit: cover;
  background: #000;
}
.video-proof-info { flex: 1; }
.video-proof-points {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.video-proof-points li {
  padding-left: 30px;
  position: relative;
  color: var(--black);
}
.video-proof-points li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--red);
  font-weight: 700;
}

@media (max-width: 640px) {
  .skin-quiz { padding: 26px 20px; }
  .guia-form { flex-direction: column; }
  .guia-form button { width: 100%; }
}


/* Etapa 4 -- Fotos reales: diversidad de fototipos + imagenes tematicas de cursos */
.fototipo-diversity { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; margin: 28px 0 12px; }
.fototipo-diversity-item { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.fototipo-diversity-item img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; border: 2px solid var(--white); box-shadow: 0 4px 14px rgba(26,20,20,0.14); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.fototipo-diversity-item:hover img { transform: translateY(-4px) scale(1.08); box-shadow: 0 10px 22px rgba(217,19,18,0.24); }
.fototipo-diversity-item span { font-size: 0.72rem; font-weight: 600; color: var(--red); letter-spacing: 0.5px; }
.fototipo-diversity-caption { text-align: center; color: var(--gray); font-size: 0.85rem; max-width: 520px; margin: 0 auto 8px; }

.quiz-result-photo { width: 96px; height: 96px; border-radius: 50%; overflow: hidden; margin: 0 auto 16px; border: 3px solid var(--cream); box-shadow: 0 10px 26px rgba(26,20,20,0.16); }
.quiz-result-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.course-media { margin: -44px -28px 20px; height: 168px; overflow: hidden; border-radius: 19px 19px 0 0; position: relative; }
.course-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.course-card:hover .course-media img { transform: scale(1.06); }
.course-number { z-index: 3; }
.course-icon { position: relative; z-index: 2; }

@media (max-width: 640px) {
  .fototipo-diversity-item img { width: 50px; height: 50px; }
  .course-media { height: 150px; }
  .video-proof { flex-direction: column; gap: 28px; }
  .video-proof-frame { width: 220px; flex-basis: auto; }
}

/* ================================================================ */
/* Etapa 5 -- Pulido premium: formas, transiciones, mezcla de color  */
/* Solo estilo. No cambia IDs, nombres de campos, ni la logica de    */
/* enviar.php / guia.php / el quiz / el honeypot.                   */
/* ================================================================ */

:root {
  --gold: #F2C94C;
  --sky: #7EC8E3;
  --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base: reemplaza "transition: all ease" por curvas mas premium en lo interactivo */
.btn, .card, .course-card, .value-icon, .course-icon,
.gallery-item img, .about-image img, .contact-form,
.contact-form input, .contact-form select,
.fototipo-diversity-item img, .faq-item, .quiz-option,
.nav a, .site-header, .brand-logo {
  transition-timing-function: var(--ease-premium);
}

/* Botones: elevacion + sombra tenida + respuesta tactil */
.btn {
  transition: transform 0.35s var(--ease-premium), box-shadow 0.35s var(--ease-premium), background 0.25s ease, color 0.25s ease;
  will-change: transform;
}
.btn-primary { box-shadow: 0 10px 26px rgba(217,19,18,0.22); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(217,19,18,0.3); }
.btn-primary:active { transform: translateY(-1px) scale(0.97); }
.btn-outline:hover { transform: translateY(-3px); }
.btn-outline:active { transform: translateY(-1px) scale(0.97); }

/* Header: elevacion sutil al hacer scroll */
.site-header { transition: box-shadow 0.4s var(--ease-premium), border-color 0.4s ease; }
.site-header.scrolled { box-shadow: 0 10px 30px rgba(26,20,20,0.07); border-bottom-color: rgba(0,0,0,0.02); }
.brand-logo { transition: height 0.35s var(--ease-premium); }
.site-header.scrolled .brand-logo { height: 40px; }

/* Nav: subrayado animado que sigue la seccion activa */
.nav a { padding-bottom: 4px; }
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--red);
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-premium);
}
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.nav a.active { color: var(--red); }
.footer-nav a { position: relative; }
.footer-nav a::after {
  content: "";
  position: absolute; left: 0; bottom: -4px; width: 100%; height: 1px;
  background: rgba(255,255,255,0.6);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease-premium);
}
.footer-nav a:hover::after { transform: scaleX(1); }

/* Hero: mezcla de color mas rica + movimiento suave en los blobs */
.hero::before {
  background: radial-gradient(circle at 30% 30%, rgba(217,19,18,0.14), rgba(242,201,76,0.10) 60%, transparent 75%);
  animation: ek-float-a 22s ease-in-out infinite;
}
.hero::after {
  background: radial-gradient(circle at 60% 40%, rgba(126,200,227,0.16), rgba(217,19,18,0.06) 60%, transparent 75%);
  animation: ek-float-b 26s ease-in-out infinite;
}
@keyframes ek-float-a {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-26px, 24px) scale(1.08); }
}
@keyframes ek-float-b {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(22px, -20px) scale(1.06); }
}

.hero-inner .eyebrow, .hero-inner h1, .hero-inner .hero-text, .hero-inner .hero-actions, .hero-inner .trust-row {
  opacity: 0;
  animation: ek-fade-up 0.9s var(--ease-premium) forwards;
}
.hero-inner .eyebrow { animation-delay: 0.05s; }
.hero-inner h1 { animation-delay: 0.14s; }
.hero-inner .hero-text { animation-delay: 0.24s; }
.hero-inner .hero-actions { animation-delay: 0.34s; }
.hero-inner .trust-row { animation-delay: 0.44s; }
.hero-showcase { opacity: 0; animation: ek-fade-up 1s var(--ease-premium) 0.5s forwards; }
@keyframes ek-fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-showcase img { transition: transform 0.6s var(--ease-premium); }
.hero-showcase:hover img { transform: scale(1.02); }
.hero-showcase-badge { transition: transform 0.35s var(--ease-premium); }
.hero-showcase:hover .hero-showcase-badge { transform: translateY(-3px); }

/* Value bar: badges con lavado de color radial en vez de plano */
.value-icon {
  background: radial-gradient(circle at 32% 30%, rgba(217,19,18,0.14), rgba(242,201,76,0.12) 70%);
  transition: transform 0.5s var(--ease-premium);
}
.value-item:hover .value-icon { transform: scale(1.08) rotate(-4deg); }

/* Cursos: icono con lavado radial + rotacion en hover, sombra tenida */
.course-card { transition: box-shadow 0.4s var(--ease-premium), transform 0.4s var(--ease-premium), border-color 0.4s ease; }
.course-card:hover { border-color: rgba(217,19,18,0.16); }
.course-icon {
  background: radial-gradient(circle at 32% 30%, rgba(217,19,18,0.14), rgba(242,201,76,0.12) 70%);
  transition: transform 0.5s var(--ease-premium);
}
.course-card:hover .course-icon { transform: scale(1.08) rotate(-4deg); }
.course-media img { transition: transform 0.6s var(--ease-premium); }
.course-number { transition: transform 0.35s var(--ease-premium); }
.course-card:hover .course-number { transform: translateY(-2px) scale(1.04); }

/* Proceso: linea conectora con degrade de color en vez de rojo plano */
.process-grid::before {
  background: linear-gradient(90deg, rgba(217,19,18,0.22), rgba(242,201,76,0.22), rgba(126,200,227,0.22));
}
.process-number { transition: transform 0.4s var(--ease-premium), box-shadow 0.4s var(--ease-premium); }
.process-step:hover .process-number { transform: scale(1.08); box-shadow: 0 12px 26px rgba(217,19,18,0.32); }

/* About: marco decorativo descentrado detras de la foto */
.about-image { position: relative; }
.about-image::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border-radius: 16px;
  border: 2px solid rgba(217,19,18,0.16);
  z-index: 0;
}
.about-image img { position: relative; z-index: 1; transition: transform 0.6s var(--ease-premium); }
.about-image:hover img { transform: translate(-4px, -4px); }

/* Video-proof: resplandor de color detras del telefono */
#clase-real { position: relative; overflow: hidden; }
#clase-real::before {
  content: "";
  position: absolute;
  top: 10%;
  left: 50%;
  width: 480px;
  height: 480px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(217,19,18,0.08), rgba(242,201,76,0.06) 55%, transparent 75%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 0;
}
#clase-real .container { position: relative; z-index: 1; }
.video-proof-frame { transition: transform 0.5s var(--ease-premium), box-shadow 0.5s var(--ease-premium); }
.video-proof-frame:hover { transform: translateY(-4px); box-shadow: 0 30px 60px rgba(26,20,20,0.34); }

/* Test de fototipo: barra de progreso con degrade, opciones con acento creciente */
.quiz-progress-bar { background: linear-gradient(90deg, var(--red), var(--gold)); transition: width 0.4s var(--ease-premium); }
.quiz-option {
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s var(--ease-premium), background 0.3s var(--ease-premium), padding-left 0.3s var(--ease-premium);
}
.quiz-option::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--red);
  transform: scaleY(0);
  transition: transform 0.3s var(--ease-premium);
}
.quiz-option:hover::before, .quiz-option:focus-visible::before { transform: scaleY(1); }
.quiz-option:hover, .quiz-option:focus-visible { padding-left: 22px; }

/* Galeria: curva premium en el zoom + oscurecido mas suave */
.gallery-item img { transition: transform 0.6s var(--ease-premium), filter 0.6s ease; }
.gallery-item:hover img { transform: scale(1.06); filter: brightness(0.82); }
.gallery-caption { transition: opacity 0.4s var(--ease-premium); }

/* FAQ: acento de color al abrir */
.faq-item { transition: border-color 0.3s var(--ease-premium), background 0.3s var(--ease-premium); }
.faq-item[open] { border-color: rgba(217,19,18,0.22); background: rgba(217,19,18,0.02); }
.faq-item summary::after { transition: transform 0.3s var(--ease-premium), color 0.3s ease; }

/* Reveal: curva premium + stagger automatico dentro de grillas */
.reveal { transition-timing-function: var(--ease-premium); transition-duration: 0.7s; }
.value-grid .value-item.reveal:nth-child(1) { transition-delay: 0ms; }
.value-grid .value-item.reveal:nth-child(2) { transition-delay: 80ms; }
.value-grid .value-item.reveal:nth-child(3) { transition-delay: 160ms; }
.value-grid .value-item.reveal:nth-child(4) { transition-delay: 240ms; }
.courses-grid .course-card.reveal:nth-child(1) { transition-delay: 0ms; }
.courses-grid .course-card.reveal:nth-child(2) { transition-delay: 70ms; }
.courses-grid .course-card.reveal:nth-child(3) { transition-delay: 140ms; }
.courses-grid .course-card.reveal:nth-child(4) { transition-delay: 210ms; }
.courses-grid .course-card.reveal:nth-child(5) { transition-delay: 280ms; }
.courses-grid .course-card.reveal:nth-child(6) { transition-delay: 350ms; }
.process-grid .process-step.reveal:nth-child(1) { transition-delay: 0ms; }
.process-grid .process-step.reveal:nth-child(2) { transition-delay: 90ms; }
.process-grid .process-step.reveal:nth-child(3) { transition-delay: 180ms; }
.process-grid .process-step.reveal:nth-child(4) { transition-delay: 270ms; }

/* Formulario: resplandor de foco tenido a la marca */
.contact-form { transition: box-shadow 0.4s var(--ease-premium); }
.contact-form:focus-within { box-shadow: 0 28px 70px rgba(217,19,18,0.14); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  box-shadow: 0 0 0 4px rgba(217,19,18,0.12);
}

@media (prefers-reduced-motion: reduce) {
  .hero::before, .hero::after,
  .hero-inner .eyebrow, .hero-inner h1, .hero-inner .hero-text,
  .hero-inner .hero-actions, .hero-inner .trust-row, .hero-showcase {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ================================================================ */
/* Etapa 6 -- Logo, fotos reales nuevas, infografia PRP, bento galeria */
/* ================================================================ */

/* Logo: mas grande y presente, manteniendo el header dentro del limite de 80px */
.header-inner { padding-top: 8px; padding-bottom: 8px; }
.brand-logo { height: 62px; }
.site-header.scrolled .brand-logo { height: 48px; }
.footer-logo { height: 56px; border-radius: 10px; }

/* Infografia del proceso PRP (didactica) */
.process-diagram {
  max-width: 920px;
  margin: 44px auto 0;
  text-align: center;
}
.process-diagram-label {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--black);
  margin-bottom: 16px;
}
.process-diagram img {
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(26,20,20,0.16);
  transition: transform 0.5s var(--ease-premium), box-shadow 0.5s var(--ease-premium);
}
.process-diagram img:hover { transform: translateY(-4px); box-shadow: 0 30px 70px rgba(26,20,20,0.22); }

/* Tira de fotos reales de respaldo (prueba visual, no genericas) */
.proof-strip {
  max-width: 920px;
  margin: 28px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.proof-strip-item {
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  background: var(--black);
}
.proof-strip-item img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-premium);
}
.proof-strip-item:hover img { transform: scale(1.06); }
.proof-strip-item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 10px 12px;
  font-size: 0.78rem;
  color: var(--white);
  background: linear-gradient(0deg, rgba(0,0,0,0.72), transparent);
}

/* Galeria: bento real (1 foto grande + 3 normales), no la grilla pareja de siempre */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 260px);
  gap: 20px;
}
.gallery-item-lg { grid-column: 1 / 3; grid-row: 1 / 3; }
.gallery-grid .gallery-item:nth-child(2) { grid-column: 3; grid-row: 1; }
.gallery-grid .gallery-item:nth-child(3) { grid-column: 3; grid-row: 2; }
.gallery-grid .gallery-item:nth-child(4) { grid-column: 1 / 3; grid-row: 3; }
.gallery-grid .gallery-item img { height: 100%; }
.gallery-item-lg img { height: 100%; }

@media (max-width: 900px) {
  .proof-strip { grid-template-columns: 1fr; }
  .proof-strip-item img { height: 200px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 220px 220px; }
  .gallery-item-lg { grid-column: 1 / 3; grid-row: 1; }
  .gallery-grid .gallery-item:nth-child(2) { grid-column: 1; grid-row: 2; }
  .gallery-grid .gallery-item:nth-child(3) { grid-column: 2; grid-row: 2; }
  .gallery-grid .gallery-item:nth-child(4) { grid-column: 1 / 3; grid-row: 3; }
}
@media (max-width: 640px) {
  .gallery-grid { grid-template-columns: 1fr; grid-template-rows: none; }
  .gallery-item-lg, .gallery-grid .gallery-item:nth-child(2),
  .gallery-grid .gallery-item:nth-child(3), .gallery-grid .gallery-item:nth-child(4) {
    grid-column: 1; grid-row: auto;
  }
  .gallery-grid .gallery-item img, .gallery-item-lg img { height: 300px; }
}

/* ================================================================ */
/* Etapa 7 -- Curso de PRP y Fototipo como paginas propias           */
/* ================================================================ */
.course-link {
  display: inline-block;
  margin-top: 14px;
  margin-left: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--red);
  transition: transform 0.3s var(--ease-premium), color 0.25s ease;
}
.course-link:hover { color: var(--red-dark); transform: translateX(3px); }

/* Etapa 8 -- Pagina de curso: instructora y publico objetivo */
.instructor-quote {
  max-width: 720px;
  margin: 0 auto;
  border-left: 3px solid var(--red);
  padding-left: 28px;
}
.instructor-quote p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--gray);
}
.instructor-quote strong { color: var(--black); }

.audience-callout {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.3rem;
  line-height: 1.5;
  color: var(--black);
}
.audience-callout strong { color: var(--red); }

@media (max-width: 720px) {
  .audience-callout { font-size: 1.1rem; }
}
