/* ================================
   styles.css — Estilos para OLVA
   Paleta de colores utilizada:
   • Champagne claro:  #F8F1EA
   • Rosa palo:        #DDB8B3
   • Terracota suave:  #B17B67
   • Verde seco:       #A8B5A2
   • Gris cálido:      #A79C94
   • Oro viejo:        #C5A880
   • Negro suave:      #3A3A3A
   ================================= */

/* Importación de fuentes */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600&family=Playfair+Display:wght@400;700&display=swap');

/* ============================
   RESET BÁSICO Y BASE
   ============================ */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: #F8F1EA;
  color: #3A3A3A;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ============================
   TIPOGRAFÍA
   ============================ */

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: #3A3A3A;
  margin-bottom: 0.5rem;
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

h2 {
  font-size: 2rem;
  font-weight: 600;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

p {
  font-size: 1rem;
  margin-bottom: 1rem;
}

/* ============================
   LINKS Y BOTONES
   ============================ */

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

.button {
  display: inline-block;
  font-weight: 600;
  text-align: center;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.primary-button {
  background-color: #C5A880; /* Oro viejo */
  color: #F8F1EA;
  border: 2px solid #C5A880;
}

.primary-button:hover {
  background-color: #A0794E; /* Versión más oscura de oro viejo */
  border-color: #A0794E;
}

.secondary-button {
  background-color: transparent;
  color: #B17B67; /* Terracota suave */
  border: 2px solid #B17B67;
}

.secondary-button:hover {
  background-color: #B17B67;
  color: #F8F1EA;
}

/* ============================
   HEADER Y NAVEGACIÓN
   ============================ */

.site-header {
  background-color: #FFFFFF;
  border-bottom: 1px solid #E4DDD5; /* Gris suave */
  position: sticky;
  top: 0;
  z-index: 1000;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo img {
  max-height: 60px;
  width: auto;
  border-radius: 15px;
}

.main-nav .nav-list {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.main-nav .nav-list li a {
  font-size: 1rem;
  color: #3A3A3A;
  transition: color 0.2s ease;
}

.main-nav .nav-list li a:hover {
  color: #B17B67; /* Terracota suave */
}

/* ============================
   SECCIÓN HERO (HOME)
   ============================ */

.hero-section {
  background-color: #F8F1EA;
  padding: 4rem 0;
}

.hero-section .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.hero-content {
  flex: 1;
}

.hero-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #3A3A3A;
}

.hero-subtitle {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  color: #A79C94; /* Gris cálido */
}

.hero-image {
  flex: 1;
  text-align: right;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(58, 58, 58, 0.1);
}

/* ============================
   SECCIÓN PACKS
   ============================ */

.packs-section {
  background-color: #FFFFFF;
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 2rem;
  color: #3A3A3A;
}

.packs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* Estilos para cada tarjeta de pack */
.pack-card {
  background-color: #F8F1EA;
  border: 1px solid #E4DDD5;
  border-radius: 8px;
  padding: 2rem 1.5rem;
  box-shadow: 0 4px 12px rgba(58, 58, 58, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pack-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(58, 58, 58, 0.1);
}

.pack-card.popular {
  border: 2px solid #B17B67; /* Terracota suave */
}

.pack-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #3A3A3A;
  text-align: center;
}

.pack-features {
  list-style: none;
  margin-bottom: 2rem;
  color: #3A3A3A;
  min-height: 280px; 
}

.pack-features li {
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1.5rem;
}

.pack-features li::before {
  content: '✔';
  position: absolute;
  left: 0;
  top: 0;
  color: #A8B5A2; /* Verde seco */
}


/* Contenedor de las imágenes de demostración */
.pack-demo {
  margin-top: 16px;          /* espacio entre la lista y la foto */
  border-radius: 12px;
  overflow: hidden;
  background: #fff;          /* fondo neutro si sobra espacio */
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Imagen dentro del pack */
.pack-demo img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;         /* recorte elegante para que todas llenen el ancho */
  border-radius: 12px;
}


.pack-cta {
  margin-top: 1rem;
  text-align: center;
}
/* ============================
   SECCIÓN CÓMO FUNCIONA
   ============================ */

.how-it-works-section {
  background-color: #F8F1EA;
  padding: 4rem 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.step-number {
  background-color: #B17B67; /* Terracota suave */
  color: #FFFFFF;
  font-size: 1.25rem;
  font-weight: 600;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-content {
  flex: 1;
}

.step-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: #3A3A3A;
}

.step-description {
  color: #A79C94; /* Gris cálido */
}

/* ============================
   SECCIÓN CONTACTO (Google Form integrado)
   ============================ */
.contact-section {
  background-color: var(--color-blanco);
  padding: 4rem 0;
}

/* Wrapper que envuelve al iframe */
.google-form-wrapper {
  background-color: var(--color-champagne);
  padding: 2rem;
  border: 1px solid var(--color-gris-calido);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(58, 58, 58, 0.05);
  
  /* Asegura que el iframe no sobresalga del contenedor */
  overflow: hidden; 
  max-width: 800px;   /* Opcional: limite máximo de ancho para no expandir 100% en pantallas muy grandes */
  margin: 0 auto;     /* Centra horizontalmente en pantallas mayores a 800px */
}

/* ============================
   FOOTER
   ============================ */

.site-footer {
  background-color: #3A3A3A; /* Negro suave */
  padding: 2rem 0;
  margin-top: 2rem;
  text-align: center;
  color: #F8F1EA;
  font-size: 0.9rem;
}

/* ============================
   MEDIA QUERIES (RESPONSIVE)
   ============================ */

/* Form, Ajuste responsivo: en pantallas muy angostas, el contenedor se adapta al 100% */
@media (max-width: 768px) {
  .google-form-wrapper {
    padding: 1rem;
    margin: 0 1rem;    /* Un poco de margen lateral */
    max-width: 100%;
  }
}

@media (max-width: 1024px) {
  .packs-grid {
    grid-template-columns: 1fr 1fr;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .hero-section .container {
    flex-direction: column;
    text-align: center;
  }
  .hero-image {
    margin-top: 2rem;
  }
}

@media (max-width: 768px) {
  .main-nav .nav-list {
    gap: 1rem;
  }
  .packs-grid {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 2rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .hero-content .button {
    width: 100%;
  }
  .steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.75rem;
  }
  h2 {
    font-size: 1.5rem;
  }
  .hero-title {
    font-size: 1.5rem;
  }
  .hero-subtitle {
    font-size: 0.9rem;
  }
  .main-nav .nav-list {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 768px){
  .pack-features {
    min-height: auto;  /* en mobile se ajusta libremente */
  }
}

/* Resaltado especial para "Oraculo del amor" */
.oraculo-amor {
  display: inline-block;
  background: linear-gradient(90deg, #DDB8B3 0%, #C5A880 100%);
  color: #3A3A3A;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  padding: 0.2em 0.7em;
  border-radius: 1.5em;
  box-shadow: 0 2px 8px rgba(177, 123, 103, 0.10);
  letter-spacing: 0.03em;
  font-size: 1.15em;
  transition: transform 0.2s;
}
.oraculo-amor:hover {
  transform: scale(1.05) rotate(-2deg);
  box-shadow: 0 4px 16px rgba(177, 123, 103, 0.18);
}

