/* Reset y estilos generales */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-black: #585151;
  --primary-white: #f4c3c3;
  --accent-pink: #ff6b93;
  --accent-light-pink: #fff5f7;
  --text-dark: #2d3748;
  --text-light: #666666;
  --background-light: #fafafa;
  --border-light: #e8e8e8;
  --shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 10px 30px rgba(0, 0, 0, 0.12);
  --hero-image: url("../assets/hero-image-home.png");
  --hero-opacity-color: rgba(0, 0, 0, 0.6);
  --hero-text-color: #ffffff;
  --black-alpha-color: rgba(0, 0, 0, 0.6);
  --white-color: #ffffff;
}

body {
  font-family: "Montserrat", sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--primary-white);
  font-weight: 400;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  line-height: 1.3;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/************* Header Superior **************/

.instructor-section2 {
  background: var(--primary-black);
  color: var(--primary-white);
  padding: 12px 0;
  text-align: center;
  border-bottom: 1px solid var(--border-light);
  position: relative;
  z-index: 1000;
}

.instructor-content2 {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.instructor-bio2 {
  font-size: 3.1rem;
  font-weight: 600;
  margin: 0;
  font-family: "Montserrat", sans-serif;
}

.instructor-bio2 strong {
  color: var(--accent-pink);
}

/* Hero Image Styles Completas ******************/

.home {
  position: relative;
  margin-bottom: 0;
}

.hero-image {
  background-image: var(--hero-image, url("../assets/loto2.jpg"));
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: var(--hero-attachment, fixed);
  width: 100%;
  height: 58vh; /* Mantenemos 55vh como solicitaste */
  position: relative;
}

/* Borde curvo inferior para Hero Image */
.hero-image::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 80px;
  background: var(--primary-white);
  border-radius: 100% 50% 0 0;
  z-index: 2;
}

.hero-image-opacity {
  width: 100%;
  height: 58vh; /* Aseguramos que coincida con el contenedor */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-color: var(--hero-opacity-color, rgba(0, 0, 0, 0.6));
  padding: 2rem;
  position: relative;
  z-index: 1;
}
.hero-image-content {
  max-width: 800px;
  width: 100%;
}

/* Ajustes de tamaño de fuente para Hero Image */
.hero-image-title {
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  color: var(--hero-text-color, var(--white-color));
  font-family: "Playfair Display", serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.hero-image-title h1 {
  font-size: inherit;
  margin-bottom: 0.5rem;
  color: inherit;
}

.hero-image-title .hero-subtitle {
  font-size: clamp(2rem, 2vw, 1.4rem);
  color: var(--hero-text-color, var(--white-color));
  font-style: italic;
  margin-top: 0.5rem;
  opacity: 0.9;
}
.hero-image-title i {
  font-style: italic;
  color: var(--accent-pink);
  display: block;
  margin-bottom: 1rem;
}

/* Responsive para la hero image */
@media (max-width: 768px) {
  .hero-image-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .btn {
    padding: 15px 35px;
    font-size: 1.1rem;
  }

  .hero-image-opacity {
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-image-title {
    font-size: 2rem;
  }

  .btn {
    padding: 12px 30px;
    font-size: 1rem;
  }

  .instructor-bio2 {
    font-size: 1rem;
  }
}

/***************** Hero Section********************** */
.hero {
  background: var(--primary-white);
  color: var(--primary-black);
  padding: 40px 0;
  padding-top: 1px;
  min-height: auto;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border-light);
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-text h1 {
  font-size: 3.2rem;
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.2;
}

.highlight {
  color: var(--accent-pink);
  font-weight: 700;
}

.hero-subtitle {
  font-size: 1.4rem;
  margin-bottom: 40px;
  color: var(--text-light);
  font-style: italic;
  font-family: "Playfair Display", serif;
}

.masterclass-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.info-item {
  display: absolute;
  padding-top: 20px;
  align-items: center;
  gap: 15px;
  font-size: 1rem;
}

.info-item .icon {
  font-size: 1.5rem;
  background: var(--accent-light-pink);
  padding: 10px;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: absolute;
  align-items: center;
  justify-content: center;
}

.benefits-list {
  margin-top: 30px;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
  font-size: 1.1rem;
  gap: 15px;
}

.benefit-item .check {
  color: var(--accent-pink);
  font-weight: bold;
  font-size: 1.3rem;
  margin-top: 2px;
  flex-shrink: 0;
}

/* Ajustes para Hero Section con imagen lateral */

.hero-text {
  position: relative;
  z-index: 2;
}

.hero-text::before {
  content: "";
  position: absolute;
  left: -100px;
  top: 50%;
  transform: translateY(-50%);
  width: 300px;
  height: 300px;
  background-image: url("../assets/guille.jpeg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.1;
  z-index: 1;
}

/* Registration Box */
.registration-box {
  background: var(--background-light);
  border-radius: 15px;
  padding: 5px;
  box-shadow: var(--shadow-hover);
  border: 1px solid var(--border-light);
}

.form-container {
  background: var(--background-light);
  border-radius: 12px;
  padding: 35px 30px;
  border: 1px solid var(--border-light);
}

.form-header {
  text-align: center;
  margin-bottom: 25px;
}

.form-header h3 {
  color: var(--primary-black);
  font-size: 1.8rem;
  margin-bottom: 8px;
  font-family: "Playfair Display", serif;
}

.form-header p {
  color: var(--text-light);
  font-size: 1rem;
}

.form-group {
  margin-bottom: 20px;
}

.form-group input {
  width: 100%;
  padding: 16px 20px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  font-size: 16px;
  transition: all 0.3s ease;
  background: var(--primary-white);
  font-family: "Montserrat", sans-serif;
}

.form-group input:focus {
  outline: none;
  border-color: var(--accent-pink);
  box-shadow: 0 0 0 3px rgba(255, 107, 147, 0.1);
}

.form-group input::placeholder {
  color: #171109;
  font-family: "Montserrat", sans-serif;
}

/* Botón de registro */
.btn-registrar {
  width: 100%;
  padding: 20px;
  background: var(--primary-black);
  color: var(--primary-white);
  border: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  font-family: "Montserrat", sans-serif;
}

.btn-registrar:hover {
  background: #333333;
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-text {
  font-size: 1.1rem;
  font-weight: 600;
}

.btn-subtext {
  font-size: 0.9rem;
  opacity: 0.8;
  font-weight: 400;
}

.privacy-notice {
  text-align: center;
  margin-top: 20px;
}

.privacy-notice p {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* Mensajes */
.mensaje {
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  text-align: center;
  font-weight: 600;
}

.mensaje.error {
  background: #fed7d7;
  color: #c53030;
  border: 1px solid #feb2b2;
}

.mensaje.advertencia {
  background: #feebc8;
  color: #dd6b20;
  border: 1px solid #fbd38d;
}

/* Contenedor de la imagen circular */

.hero-image-circle {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.hero-avatar {
  width: 480px;
  height: 480px;
  border-radius: 50%;
  overflow: hidden;

  border: 8px outset var(--accent-pink);
  box-shadow: var(--shadow-hover);
  margin-bottom: 30px;
}

.hero-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-badge {
  background: var(--accent-pink);
  color: var(--primary-white);
  padding: 12px 25px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 20px;
  display: inline-block;
}

.hero-main-title {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: var(--primary-black);
  font-family: "Playfair Display", serif;
}

.hero-main-subtitle {
  font-size: 1.3rem;
  color: var(--text-light);
  margin-bottom: 25px;
  line-height: 1.5;
}

/* Formulario estilo Leonabel */
.registration-box-leonabel {
  background: var(--background-light);
  border-radius: 20px;
  padding: 10px 15px;
  box-shadow: var(--shadow-hover);
  border: 1px solid var(--border-light);
  position: relative;
}

.registration-box-leonabel::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(
    45deg,
    var(--accent-pink),
    #ff8e8e,
    var(--accent-pink)
  );
  border-radius: 22px;
  z-index: -1;
  opacity: 0.1;
}

.form-header-leonabel {
  text-align: center;
  margin-bottom: 30px;
}

.form-header-leonabel h3 {
  color: var(--primary-black);
  font-size: 1.8rem;
  margin-bottom: 10px;
  font-family: "Playfair Display", serif;
  font-weight: 700;
}

.form-header-leonabel p {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.5;
}

.form-group-leonabel {
  margin-bottom: 20px;
}

.form-group-leonabel input {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid var(--border-light);
  border-radius: 12px;
  font-size: 16px;
  transition: all 0.3s ease;
  background: var(--background-light);
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
}

.form-group-leonabel input:focus {
  outline: none;
  border-color: var(--accent-pink);
  box-shadow: 0 0 0 3px rgba(255, 107, 147, 0.1);
  transform: translateY(-2px);
}

.form-group-leonabel input::placeholder {
  color: #a0aec0;
  font-family: "Montserrat", sans-serif;
}

/* Botón estilo Leonabel */
.btn-leonabel {
  width: 100%;
  padding: 18px;
  background: linear-gradient(135deg, var(--accent-pink), #ff8e8e);
  color: var(--primary-white);
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Montserrat", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}
.btn-leonabel2 {
  width: 100%;
  padding: 18px;
  background: linear-gradient(135deg, var(--accent-pink), #ff8e8e);
  color: var(--primary-white);
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Montserrat", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.btn-leonabel:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(255, 107, 147, 0.4);
}
.btn-leonabel2:hover {
  box-shadow: 0 15px 35px rgba(255, 107, 147, 0.4);
}

.btn-leonabel::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.5s;
}

.btn-leonabel:hover::after {
  left: 100%;
}

.privacy-notice-leonabel {
  text-align: center;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
}

.privacy-notice-leonabel p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.4;
}

/* Elementos de urgencia */
.urgency-badge {
  background: var(--primary-black);
  color: var(--primary-white);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 15px;
}

/* Responsive */
@media (max-width: 968px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }

  .hero-main-title {
    font-size: 2.3rem;
  }

  .hero-avatar {
    width: 220px;
    height: 320px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 40px 0;
  }

  .hero-main-title {
    font-size: 2rem;
  }

  .hero-main-subtitle {
    font-size: 1.1rem;
  }

  .registration-box-leonabel {
    padding: 30px 25px;
  }

  .hero-avatar {
    width: 300px;
    height: 300px;
    border-width: 6px;
  }
}

@media (max-width: 480px) {
  .hero-main-title {
    font-size: 1.8rem;
  }

  .registration-box-leonabel {
    padding: 25px 20px;
    border-radius: 15px;
  }

  .hero-avatar {
    width: 180px;
    height: 180px;
  }
}

/* ****************Learn Section ***********************/
.learn-section {
  padding: 100px 0;
  background: var(--background-light);
  border-bottom: 1px solid var(--border-light);
}

.learn-section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 60px;
  color: var(--primary-black);
}

.learn-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
}

.learn-card {
  background: var(--primary-white);
  padding: 50px 30px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
  position: relative;
}

.learn-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.card-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-pink);
  color: var(--primary-white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.1rem;
}

.learn-card h3 {
  font-size: 1.4rem;
  margin-bottom: 20px;
  color: var(--primary-black);
  font-family: "Playfair Display", serif;
}

.learn-card p {
  color: var(--text-light);
  line-height: 1.7;
  font-size: 1rem;
}

/******************** Instructor Section *************************/
.instructor-section {
  padding: 100px 0;
  background: var(--primary-white);
}
.instructor-section2 {
  padding: 10px 0;
  background: var(--background-light);
}

.instructor-content {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 60px;
  align-items: start;
}
.instructor-content2 {
  display: grid;
  grid-template-columns: 1fr 0px;
  gap: 80px;
  align-items: center;
}

.instructor-image .image-placeholder {
  width: 100%;
  height: 200px;
  background: var(--accent-light-pink);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 1rem;
  border: 1px solid var(--border-light);
  overflow: hidden;
}

.instructor-image .image-placeholder img {
  width: 100%;
  height: 200px;
  background: var(--accent-light-pink);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 1rem;
  border: 1px solid var(--border-light);
  overflow: hidden;
}

.instructor-info h2 {
  font-size: 2.5rem;
  margin-bottom: 25px;
  color: var(--primary-black);
}

.instructor-info2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: var(--primary-black);
  text-align: center;
  align-items: center;
}
.instructor-bio {
  font-size: 1.3rem;
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: 40px;
}
.instructor-bio2 {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: 10px;
  text-align: center;
  align-items: center;
}
.instructor-stats {
  display: flex;
  gap: 40px;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-pink);
  font-family: "Playfair Display", serif;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/******************* Testimonials Section *************************/
.testimonials-section {
  padding: 100px 0;
  background: var(--primary-white);
  border-bottom: 1px solid var(--border-light);
}

.testimonials-section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 60px;
  color: var(--primary-black);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: var(--primary-white);
  padding: 40px 30px;
  border-radius: 12px;
  border: 1px solid var(--border-light);
  position: relative;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  box-shadow: var(--shadow);
}

.testimonial-card::before {
  content: '"';
  font-size: 4rem;
  color: var(--accent-pink);
  opacity: 0.3;
  position: absolute;
  top: 20px;
  left: 25px;
  font-family: "Playfair Display", serif;
}

.testimonial-text {
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 25px;
  color: var(--text-dark);
  font-size: 1.05rem;
}

.testimonial-author {
  border-top: 1px solid var(--border-light);
  padding-top: 20px;
}

.testimonial-author strong {
  display: block;
  color: var(--primary-black);
  margin-bottom: 5px;
}

.testimonial-author span {
  color: var(--text-light);
  font-size: 0.9rem;
}

/************************ FAQ Section **************************/
.faq-section {
  padding: 100px 0;
  background: var(--background-light);
}

.faq-section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 60px;
  color: var(--primary-black);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.faq-item {
  background: var(--primary-white);
  padding: 35px 30px;
  border-radius: 12px;
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--accent-pink);
}

.faq-item h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: var(--primary-black);
  font-family: "Playfair Display", serif;
}

.faq-item p {
  color: var(--text-light);
  line-height: 1.6;
}

/* Final CTA Section */
.final-cta {
  padding: 100px 0;
  background: var(--primary-white);
  color: var(--primary-black);
  text-align: center;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--primary-black);
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 35px;
  opacity: 0.9;
  color: var(--primary-black);
}

.btn-cta {
  display: inline-block;
  padding: 20px 45px;
  background: var(--accent-pink);
  color: var(--primary-white);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.2rem;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-bottom: 25px;
  font-family: "Montserrat", sans-serif;
}

.btn-cta:hover {
  background: #ff5a83;
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.urgency-element {
  font-size: 1.1rem;
  font-weight: 600;
  opacity: 0.9;
}

/* Responsive */
@media (max-width: 968px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .hero-text::before {
    display: none;
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }

  .instructor-content {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .instructor-image .image-placeholder {
    height: auto;
    max-width: 200px;
    object-fit: contain;
    margin: 0 auto;
  }

  .instructor-stats {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 40px 0;
  }

  .hero-text h1 {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .learn-section h2,
  .instructor-info h2,
  .testimonials-section h2,
  .faq-section h2,
  .cta-content h2 {
    font-size: 2rem;
  }

  .instructor-stats {
    flex-direction: column;
    gap: 25px;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .learn-grid {
    grid-template-columns: 1fr;
  }

  .masterclass-info {
    gap: 15px;
  }
  .hero-image::after {
    height: 50px;
  }

  .hero-image-title {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
  }
  .instructor-image .image-placeholder {
    height: auto;
    max-width: 200px;
    margin: 0 auto;
  }

  .instructor-image .image-placeholder img {
    height: auto;
    max-width: 200px;
    object-fit: cover;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .form-container {
    padding: 25px 20px;
  }

  .hero-text h1 {
    font-size: 1.8rem;
  }

  .benefit-item {
    font-size: 1rem;
  }

  .learn-card,
  .testimonial-card,
  .faq-item {
    padding: 30px 20px;
  }
  .instructor-image .image-placeholder img {
    height: auto;
    max-width: 200px;
    object-fit: contain;
    margin: 0 auto;
  }
}
