/* --- Sección de Magia y Sabor --- */
.magic-box {
  background-color: #fff;
  padding: 120px 120px; /* más espacio arriba y a los lados */
  font-family: 'Georgia', serif;
}

.magic-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 80px; /* más separación entre texto e imágenes */
}

/* Parte izquierda */
.magic-left {
  flex: 1;
  color: #0e2a1f;
}

.magic-title {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 25px;
  line-height: 1.2;
}

.magic-text {
  font-size: 1.1rem;
  color: #3e4d47;
  line-height: 1.8;
  max-width: 420px;
}

/* Parte derecha */
.magic-right {
  flex: 1.2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 100px 80px; /* más espacio entre las frases */
  text-align: center;
}

.magic-item {
  font-size: 1rem;
  color: #3e4d47;
  font-weight: 500;
  letter-spacing: 0.3px;
}

/* Tipografías elegantes */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=Libre+Baskerville:wght@400;700&display=swap');

.magic-title {
  font-family: 'DM Serif Display', serif;
}

.magic-text, .magic-item {
  font-family: 'Libre Baskerville', serif;
}

/* Sección con fondo claro que se mantiene */
.ambient-section {
  background: #e8f0f7; /* Color suave como el de la imagen */
  padding: 80px 0;
  text-align: center;
}

/* Navegación */
.ambient-nav {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 40px;
  font-family: "Georgia", serif;
}

.ambient-nav a {
  color: #32523a;
  text-decoration: none;
  font-size: 16px;
  position: relative;
  padding-bottom: 8px;
  opacity: 0.7;
  transition: 0.3s;
}

.ambient-nav a:hover,
.ambient-nav a.active {
  opacity: 1;
  font-weight: 600;
}

.ambient-nav a.active::after {
  content: "";
  width: 100%;
  height: 2px;
  background: #32523a;
  position: absolute;
  left: 0;
  bottom: 0;
}

/* Título */
.ambient-title {
  color: #143315;
  font-size: 38px;
  font-family: "Georgia", serif;
  margin-bottom: 60px;
}

/* Imagen con bordes redondeados */
.ambient-image img {
  width: 70%;
  max-width: 900px;
  border-radius: 14px;
  display: block;
  margin: auto;
  box-shadow: 0px 8px 18px rgba(0,0,0,0.12);

  /* Ajuste para que sea tipo banner */
  height: 260px;
  object-fit: cover; /* Esto recorta la imagen para que quede bonita */
  object-position: center;
}



/* PARTE TRANSICIÓN */

/* --- SECCIÓN FANTASÍA --- */
.fantasy-section {
  position: relative;
  background-color: #f9f9f7; /* tono muy claro y cálido */
  padding: 120px 0;
  display: flex;
  justify-content: center;
  overflow: hidden;
}

/* Capa de fondo que cambia por JS (uso de overlay para fade) */
.fantasy-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: opacity 0.8s ease-in-out; /* transición suave */
  opacity: 1; /* siempre visible */
  z-index: 0;
}


/* cuando está visible sube la opacidad */
.fantasy-bg.visible {
  opacity: 1;
  transform: scale(1);
}

/* capa de color sobre la imagen para asegurar contraste del texto */
.fantasy-section::after {
  background: linear-gradient(to bottom, rgba(232,240,247,0.45), rgba(232,240,247,0.45));
}


/* Container principal encima del fondo */
.fantasy-container {
  position: relative;
  z-index: 2; /* por encima del fondo */
  width: 80%;
  max-width: 1100px;
  display: flex;
  flex-direction: column;
  gap: 48px; /* separación entre recuadros */
  align-items: flex-start; /* alineamos a la izquierda */
}

/* Tarjetas (recuadros) en formato cuadrado y alineadas a la izquierda */
.fantasy-card {
  background-color: #ffffff;
  border: 2px solid #0e2a1f;
  border-radius: 16px;
  padding: 28px;
  width: 420px;       /* ancho fijo para forma cuadrada */
  height: 420px;      /* alto igual al ancho -> cuadrado */
  box-sizing: border-box;
  color: #0e2a1f;
  box-shadow: 0 8px 18px rgba(0,0,0,0.06);
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(.2,.9,.3,1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
}

/* Al hacerse visible */
.fantasy-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Tipografía */
.fantasy-card h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #3b5b4a;
  margin: 0 0 8px 0;
}

.fantasy-card h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 12px 0;
  line-height: 1.15;
}

.fantasy-card p {
  font-size: 0.95rem;
  color: #3e4d47;
  line-height: 1.5;
  margin: 0 0 18px 0;
  flex: 1;
}

/* enlace explorar al final */
.explore {
  text-decoration: none;
  color: #0e2a1f;
  font-weight: 700;
  transition: color 0.25s ease;
}
.explore:hover { color: #E97A7A; }

/* ajustes para pantallas pequeñas */
@media (max-width: 900px) {
  .fantasy-container {
    align-items: center;
    gap: 28px;
  }

  .fantasy-card {
    width: 90%;
    height: auto; /* quitar cuadrado en móvil para mejor lectura */
    padding: 20px;
  }

  /* ocultamos la imagen de fondo en pantallas pequeñas para legibilidad */
  .fantasy-bg { display: none; }
  .fantasy-section::after { background: rgba(249,249,247,1); } /* sólido */
}











/* --- SECCIÓN PRINCIPAL --- */
.stories-section {
  width: 100%;
  padding: 120px 0;
  background-color: #e8f1f5;
  font-family: 'Georgia', 'Times New Roman', serif;
}

/* --- CABECERA DE LA SECCIÓN --- */
.stories-header {
  width: 88%;
  margin: 0 auto 60px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.stories-title {
  font-size: 3.2rem;
  font-weight: 700;
  color: #0e2a1f;
  margin-bottom: 25px;
  line-height: 1.2;
}

.stories-label {
  background-color: #dbe8e3;
  border: none;
  border-radius: 12px;
  padding: 8px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #0e2a1f;
  letter-spacing: 1px;
}

/* --- CUADRÍCULA DE TARJETAS --- */
.stories-grid {
  width: 88%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
}

/* --- TARJETAS --- */
.story-card {
  text-align: left;
}

.story-image {
  width: 100%;
  height: 380px;
  border-radius: 20px;
  overflow: hidden;
  background-color: #ddd;
}

.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.story-image:hover img {
  transform: scale(1.05);
}

.story-card h3 {
  margin-top: 25px;
  font-size: 1.9rem;
  color: #0e2a1f;
  font-weight: 700;
}

.story-card p {
  margin-top: 12px;
  color: #3e4d47;
  line-height: 1.7;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .stories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .stories-grid {
    grid-template-columns: 1fr;
  }

  .story-image {
    height: 300px;
  }

  .stories-title {
    font-size: 2.2rem;
  }
}


/* Layout general idéntico */
.testimonio-section {
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 60px;
  font-family: Georgia, "Times New Roman", serif;
}

/* Imagen idéntica */
.testimonio-section .imagen img {
  width: 600px;
  height: 430px;
  object-fit: cover;
  border-radius: 20px;
}

/* Bloque blanco idéntico */
.contenido-blanco {
  background: #ffffff;
  padding: 55px;
  border-radius: 25px;
  box-shadow: 0px 20px 50px rgba(0, 0, 0, 0.08);
  max-width: 580px;
}

/* Título similar al estilo serif original */
.select-titulo {
  font-size: 36px;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 30px;
  color: #0b3d2e;
}

/* SELECT estilizado exactamente como el bloque */
.select-elegante {
  width: 100%;
  padding: 18px 22px;
  font-size: 18px;
  border-radius: 14px;
  border: 2px solid #d6d6d6;
  background: #ffffff;
  font-family: 'Inter', sans-serif;
  color: #1d1d1d;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 7l5 5 5-5' stroke='%230b3d2e' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 22px;
  margin-bottom: 40px;
  cursor: pointer;
}

.select-elegante:focus {
  outline: none;
  border-color: #0b3d2e;
  box-shadow: 0 0 0 4px rgba(11, 61, 46, 0.15);
}

/* Firma igual estilo */
.firma {
  margin-top: 40px;
}

.logo {
  font-size: 22px;
  color: #0b3d2e;
  margin-bottom: 10px;
}

.nombre {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #1d1d1d;
}

.rol {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: #6b6b6b;
}




/* --- Sección: Momentos que inspiran magia --- */
.momentos-section {
  width: 100%;
  background-color: #ffffff; /* recuadro blanco */
  padding: 80px 20px;
  display: flex;
  justify-content: center;
  box-sizing: border-box;
  font-family: 'Georgia', serif;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.momentos-box {
  max-width: 1200px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

/* Título */
.momentos-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: #0e2a1f;
  text-align: center;
  margin: 0;
  line-height: 1.2;
}

/* Subtítulo */
.momentos-subtitle {
  font-size: 1.2rem;
  color: #3e4d47;
  text-align: center;
  max-width: 600px;
  line-height: 1.6;
  margin: 0;
}

/* Galería 3x2 más compacta */
.momentos-galeria {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 15px;                /* menos espacio entre imágenes */
  width: 100%;
  max-width: 900px;         /* limitamos ancho total */
}

/* Cada imagen más pequeña dentro de su celda */
.momentos-galeria img {
  width: 90%;               /* reduce tamaño dentro de cada celda */
  margin: 0 auto;           /* centrado horizontal */
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  transition: transform 0.35s ease, filter 0.35s ease;
}

/* Hover sutil */
.momentos-galeria img:hover {
  transform: scale(1.05);
  filter: saturate(1.05);
}

/* Responsive */
@media (max-width: 992px) {
  .momentos-galeria {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
    max-width: 600px;
  }
}

@media (max-width: 600px) {
  .momentos-galeria {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    max-width: 100%;
  }
  
  .momentos-section {
    padding: 60px 15px;
  }
  
  .momentos-title {
    font-size: 2rem;
  }
  
  .momentos-subtitle {
    font-size: 1rem;
  }
}










/* --- Sección FAQ: Respuestas mágicas --- */
.faq-section {
  width: 100%;
  background-color: #ffffff; /* fondo blanco */
  padding: 80px 20px;
  display: flex;
  justify-content: center;
  box-sizing: border-box;
  font-family: 'Georgia', serif;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.faq-box {
  max-width: 900px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 25px;
  text-align: left;
}

/* Título */
.faq-title {
  font-size: 2.6rem;
  font-weight: 700;
  color: #0e2a1f;
  text-align: center;
  margin: 0;
}

/* Subtítulo */
.faq-subtitle {
  font-size: 1.3rem;
  font-weight: 500;
  color: #3e4d47;
  text-align: center;
  margin: 0;
}

/* Descripción general */
.faq-description {
  font-size: 1rem;
  color: #3e4d47;
  line-height: 1.7;
  text-align: center;
  margin: 0 auto 30px;
  max-width: 700px;
}

/* Cada pregunta y respuesta */
.faq-item {
  background-color: #f9fafb;
  padding: 20px 25px;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
}

.faq-question {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 10px 0;
  color: #0b3d2e;
}

.faq-answer {
  font-size: 1rem;
  color: #3e4d47;
  line-height: 1.6;
  margin: 0;
}

/* Espaciado entre preguntas */
.faq-item + .faq-item {
  margin-top: 20px;
}

/* Responsive */
@media (max-width: 768px) {
  .faq-title {
    font-size: 2rem;
  }

  .faq-subtitle {
    font-size: 1.1rem;
  }

  .faq-description {
    font-size: 0.95rem;
  }

  .faq-item {
    padding: 18px 20px;
  }
}





/* --- Select con estilo mágico --- */
.select-magico {
  width: 100%;
  padding: 14px 16px;
  font-size: 1rem;
  font-family: 'Georgia', serif;
  color: #0e2a1f; /* verde oscuro */
  background-color: #f9fafb;
  border: 1px solid #0e2a1f;
  border-radius: 8px;
  appearance: none; /* elimina el estilo por defecto */
  background-image: url("data:image/svg+xml,%3Csvg width='14' height='10' viewBox='0 0 14 10' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l6 7 6-7' stroke='%230e2a1f' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.select-magico:hover {
  border-color: #145c44;
  background-color: #f1f5f4;
}

.select-magico:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(20, 92, 68, 0.2);
  border-color: #145c44;
}

/* Label */
.form-group label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: #0b3d2e;
  margin-bottom: 6px;
  font-family: 'Georgia', serif;
}





/* --- Fondo general centrado --- */
.contacto-section {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #edf3f6;
  padding: 50px 20px;
  font-family: 'Inter', sans-serif;
  color: #0e2a1f;
}

/* --- Recuadro principal --- */
.contacto-card {
  background-color: #ffffff;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  border-radius: 18px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
  max-width: 1100px;
  width: 100%;
  padding: 50px;
  box-sizing: border-box;
}

/* --- Columna izquierda --- */
.contacto-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  text-align: left;
}

.contacto-info h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #0e2a1f;
  font-family: 'Georgia', serif;
  margin: 0;
}

.contacto-info p {
  font-size: 1.05rem;
  color: #3e4d47;
  line-height: 1.6;
  margin: 0;
}

/* Lista de información */
.info-list {
  list-style: none;
  padding: 0;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.info-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 1rem;
  color: #0e2a1f;
}

.info-list a {
  color: #0e2a1f;
  text-decoration: none;
}

.info-list a:hover {
  text-decoration: underline;
}

/* --- Columna derecha (formulario) --- */
.contacto-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Campos */
.contacto-form input,
.contacto-form select,
.contacto-form textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 1rem;
  color: #0e2a1f;
  background-color: #edf3f6;
  border: 1px solid #0e2a1f;
  border-radius: 8px;
  box-sizing: border-box;
  transition: all 0.3s ease;
  appearance: none;
}

/* Flecha del select */
.contacto-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='10'%3E%3Cpath d='M1 1l6 7 6-7' stroke='%230e2a1f' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 14px;
  cursor: pointer;
}

/* Hover y focus */
.contacto-form input:hover,
.contacto-form select:hover,
.contacto-form textarea:hover {
  border-color: #145c44;
}

.contacto-form input:focus,
.contacto-form select:focus,
.contacto-form textarea:focus {
  outline: none;
  border-color: #145c44;
  box-shadow: 0 0 0 3px rgba(20, 92, 68, 0.2);
}

/* Labels */
.contacto-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #0e2a1f;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

/* Checkbox */
.form-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: #0e2a1f;
}

.form-checkbox a {
  color: #0e2a1f;
  text-decoration: underline;
}

/* Botón */
.btn-enviar {
  background-color: #0e2a1f;
  color: #ffffff;
  font-weight: 600;
  padding: 14px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 4px 4px 0 #07341f;
}

.btn-enviar:hover {
  background-color: #145c44;
  box-shadow: 2px 2px 0 #07341f;
}

/* --- Responsivo --- */
@media (max-width: 900px) {
  .contacto-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 40px 25px;
  }

  .contacto-info {
    align-items: center;
    text-align: center;
  }

  .info-list {
    align-items: center;
  }

  .contacto-info h2 {
    font-size: 1.8rem;
  }

  .contacto-info p {
    font-size: 1rem;
  }
}














/* --- Footer general --- */
.footer {
  background-color: #072b1c;
  color: #e9edea;
  padding: 60px 8%;
  font-family: 'Inter', sans-serif;
}

/* Contenedor principal */
.footer-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 40px;
  align-items: flex-start;
}

/* --- Columna izquierda --- */
.footer-left p {
  margin: 6px 0;
}

.footer-left a {
  color: #e9edea;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-left a:hover {
  color: #b4cdbf;
}

/* --- Columna central --- */
.footer-center {
  text-align: center;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.footer-logo img {
  width: 40px;
  height: 40px;
}

.footer-logo span {
  font-family: 'Georgia', serif;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.footer-center hr {
  border: none;
  border-top: 1px solid #345c48;
  margin: 20px 0;
}

.footer-center p {
  font-size: 0.9rem;
  color: #cdd8d2;
}

/* --- Columna derecha --- */
.footer-right {
  text-align: left;
}

.footer-right h3 {
  font-family: 'Georgia', serif;
  font-size: 1.4rem;
  margin-bottom: 8px;
  color: #ffffff;
}

.footer-right p {
  font-size: 0.95rem;
  color: #cdd8d2;
  margin-bottom: 18px;
}

.subscribe-form {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.subscribe-form input {
  flex: 1;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid #cdd8d2;
  background-color: transparent;
  color: #ffffff;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.subscribe-form input::placeholder {
  color: #cdd8d2;
}

.subscribe-form input:focus {
  outline: none;
  border-color: #ffffff;
  background-color: rgba(255, 255, 255, 0.05);
}

.subscribe-form button {
  background-color: #0d4e35;
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 4px 4px 0 #ffffff20;
}

.subscribe-form button:hover {
  background-color: #145c44;
  box-shadow: 2px 2px 0 #ffffff30;
}

/* Política y crédito */
.policy-text {
  font-size: 0.85rem;
  color: #b4cdbf;
}

.policy-text a {
  color: #b4cdbf;
  text-decoration: underline;
}

.credit {
  margin-top: 20px;
  text-align: right;
  font-size: 0.9rem;
  color: #b4cdbf;
}

/* --- Responsivo --- */
@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .footer-left,
  .footer-right {
    text-align: center;
  }

  .subscribe-form {
    flex-direction: column;
  }

  .subscribe-form input,
  .subscribe-form button {
    width: 100%;
  }

  .credit {
    text-align: center;
  }
}
