/* ============ BASE / RESETEOS LIGEROS ============ */
:root {
  --violeta-1: #CFA8E6;
  --violeta-2: #B986D1;
  --violeta-3: #C295DB;
  --fondo: #F4F8F7;
  --negro: #111;
  --blanco: #fff;
}

* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }

body {
  font-family: 'Poppins', sans-serif;
  background: var(--fondo);
  color: #222;
  -webkit-font-smoothing: antialiased;
  animation: fadeIn 0.8s ease;
}
@keyframes fadeIn { from{opacity:0} to{opacity:1} }

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  margin: 0 0 .5rem 0;
}

/* ============ HEADER LOGO (CENTRADO Y LIMPIO) ============ */
header {
  background: #C79FEF; /* Tu color lila característico */
  color: white;
  text-align: center;
  padding: 15px 10px; /* Espacio mínimo y elegante */
  display: flex;
  flex-direction: column;
  align-items: center;
}
.main-logo {
  width: 250px; /* Tamaño ideal para que no robe pantalla */
  height: auto;
  margin-bottom: 5px;
}

header h1 {
  font-size: 1.1rem; /* Legible pero compacto */
  margin: 0;
  letter-spacing: 1px;
}

header em {
  font-size: 0.85rem;
  font-family: 'Playfair Display', serif; /* El toque elegante */
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: var(--fondo);
  color: #222;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  animation: fadeIn 0.8s ease;
}
@keyframes fadeIn { from{opacity:0} to{opacity:1} }

h1,h2,h3 {
  font-family: 'Playfair Display', serif;
  margin: 0 0 .5rem 0;
}
p { margin: .4rem 0 0 0; line-height: 1.5; }

/* Quitar fondos que puedan crear “bandas” inesperadas en algunos navegadores */
button, p, h3, em { background: transparent; }

/* ============ HEADER ============ */
header {
  background: var(--violeta-1);
  color: var(--blanco);
  text-align: center;
  padding: 2rem 1rem;
}
header em {
  display: block;
  font-size: 1rem;
  opacity: .9;
}

/* ============ CONTENEDOR (DESKTOP-FIRST) ============ */
/* Desktop: 3 columnas, centrado, con ancho máximo controlado. */
.cards-container{
  max-width: 1200px;      /* <- ancho máx del área de cards */
  margin: 2rem auto;      /* <- centrado */
  padding: 0 1rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columnas en escritorio */
  gap: 1.6rem;
}

/* ============ CARDS ============ */
.card{
  background: #333;
  color: var(--blanco);
  border-radius: 22px;
  position: relative;
  overflow: hidden;
  padding: 1rem;                /* Las “simple-card” usan este padding */
  box-shadow: 0 6px 18px rgba(0,0,0,.15);
}

/* Card simple (sin video) */
.simple-card h3{ font-size: 1.25rem; }
.simple-card p{ opacity: .9; }

/* Card de video: sin padding para que el video ocupe todo el fondo */
.video-card{
  padding: 0;
  /* Mantener proporción agradable en desktop: */
  aspect-ratio: 4 / 5;              /* si tu video es 9/16 podés usar 9/16 */
  background: #000;                 /* fallback por si no carga el video */
}

/* El video llena la card completamente */
.bg-video{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Overlay de info encima del video */
.info-overlay{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.2rem;
  background: linear-gradient(180deg, rgba(0,0,0,0) 10%, rgba(0,0,0,.92) 70%);
}

/* Evitar bandas: reseteo de márgenes/fondos internos en los textos del overlay */
.info-overlay h3,
.info-overlay p{
  margin: 0 0 .6rem 0;
  background: transparent;
}

/* ============ BOTONES ============ */
.btn-info, .modal-btn{
  width: 100%;
  background: linear-gradient(135deg, var(--violeta-1), var(--violeta-2));
  color: var(--blanco);
  border: none;
  border-radius: 14px;
  padding: .8rem 1rem;
  font-size: 1rem;
  letter-spacing: .3px;
  cursor: pointer;
  transition: transform .18s ease, filter .18s ease;
}
.btn-info:hover, .modal-btn:hover{
  transform: translateY(-1px);
  filter: brightness(1.04);
}

/* ============ MODAL ============ */
.modal{
  position: fixed;
  left: 0;
  bottom: -100%;
  width: 100%;
  height: 100dvh;                 /* viewport seguro */
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(3px);
  display: flex;
  justify-content: center;
  align-items: flex-end;
  z-index: 999;
  transition: bottom .35s ease;
}

.modal-content{
  background: var(--blanco);
  width: min(95%, 520px);
  max-height: 90dvh;
  overflow-y: auto;
  border-radius: 30px 30px 0 0;
  padding: 1.5rem;
  position: relative;
  box-shadow: 0 -4px 16px rgba(0,0,0,.15);
}

.close-btn {
    position: sticky; /* Esto hace que se quede fija al scrollear */
    top: 20px;        /* Distancia desde el borde superior de la tarjeta */
    left: 90%;        /* La empuja hacia la derecha */
    z-index: 999;     /* Para que siempre esté por encima de las fotos y textos */
    cursor: pointer;
    font-size: 30px;  /* Para que se vea bien clarita */
    background: white; /* Opcional: un fondo redondito para que resalte más */
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2); /* Sombrita para que flote */
}


.modal-img{
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 1rem;
}

.wa-icon{
  width: 22px;
  height: 22px;
  vertical-align: middle;
  margin-right: 8px;
  transform: translateY(-2px);
}


.modal-content h2 {
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  font-size: 1.6rem;
  font-weight: 600;
}

.modal-content h3 {
  margin-top: 1.2rem;
  font-size: 1.2rem;
  color: #9c6ec0;
}

.modal-content ul {
  margin: 0.5rem 0 1rem 1.2rem;
  padding: 0;
  line-height: 1.5;
}

.modal-content p {
  margin-bottom: 0.9rem;
  line-height: 1.6;
}

.modal-body {
  text-align: left; /* Mejor lectura para listas */
  padding: 0 10px;
  line-height: 1.6; /* Separa las líneas para que no se vean amontonadas */
}

.intro-text {
  margin-bottom: 15px;
  color: #555;
}

.services-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.services-list li {
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.session-details {
  background: #f9f9f9; /* Un fondo sutil para separar datos técnicos */
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.price-tag {
  font-size: 1.1rem;
  color: var(--violeta-1);
  font-weight: bold;
}


/* ============ MODAL TARJETA ORGANIZADO ============ */

/* Contenedor del carrusel dentro del modal */
.modal-carrusel {
  position: relative;
  width: 100%;
  height: 450px; /* Altura ideal para que no tape todo el texto en el celu */
  overflow: hidden;
  border-radius: 15px 15px 0 0;
}

.modal-carrusel .modal-img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover; /* 🔥 Clave para que la foto no se estire */
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.modal-carrusel .modal-img.active {
  opacity: 1;
}


/* ============ FOOTER ORGANIZADO ============ */
.footer {
  background: var(--violeta-1);
  color: #fff;
  padding: 40px 20px;
  margin-top: 2rem;
  text-align: center; /* Centramos todo para móvil */
}

.footer-container {
  display: flex;
  flex-direction: column; /* Uno debajo del otro en celu */
  gap: 2rem;
  max-width: 1200px;
  margin: auto;
}

.footer h2, .footer h3 {
  font-family: 'Playfair Display', serif;
  margin-bottom: 1rem;
  color: #fff;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer ul li {
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
}

/* Arreglo para los links azules feos */
.footer a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  padding-bottom: 2px;
  transition: opacity 0.3s;
}

.footer a:hover {
  opacity: 0.7;
}

.footer-copy {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.2);
  font-size: 0.8rem;
  opacity: 0.8;
}



/* =========== INSTAGRAM ===========*/

.instagram-footer {
    display: flex;
    align-items: center;
    gap: 10px; /* Espacio entre el ícono y el texto */
    color: white; /* Color del texto e ícono */
}

.instagram-footer i {
    font-size: 24px; /* Tamaño del ícono */
    color: white; /* Aseguramos que el ícono sea blanco */
}



/* ============ AJUSTE DESKTOP PARA EL FOOTER ============ */
@media (min-width: 768px) {
  .footer-container {
    flex-direction: row; /* En compu se ponen de costado */
    justify-content: space-around;
    text-align: left;
  }
}

/* ============ AJUSTE PARA MÓVIL ============ */
@media (max-width: 700px) {
  header {
    padding: 1.5rem 1rem;
  }
  
  .main-logo {
    width: 250px; /* Logo más acorde al tamaño del celu */
  }

  header h1 {
    font-size: 1.2rem;
  }

  .cards-container {
    grid-template-columns: 1fr; /* Una sola columna */
    gap: 1.5rem;
    padding: 0 1.2rem;
    margin: 1.5rem auto;
  }

  .video-card {
    /* Esto es clave: le damos una altura fija en el celu para que no se rompa */
    height: 400px; 
    aspect-ratio: auto; 
  }

  .info-overlay h3 {
    font-size: 1.4rem;
  }
}


/* ============ SOBRE NOSOTROS ============ */
.sobre-nosotros {
  padding: 60px 20px;
  background-color: #fdfaf7; /* Un color crema muy suave */
}

.sobre-container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap; /* Importante para que en el celular se acomode solo */
}

.sobre-foto-wrapper {
  flex: 1;
  min-width: 300px;
}

.sobre-foto {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.sobre-info {
  flex: 1.2;
  min-width: 300px;
}

.sobre-info h2 {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  margin-bottom: 15px;
  color: #4a4a4a;
}

.subtitulo {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 14px;
  color: #b5838d; /* Color rosado suave */
  font-weight: 600;
}

.sobre-detalles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 25px;
}

.detalle-item strong {
  display: block;
  margin-bottom: 5px;
  color: #b5838d;
}




video::-webkit-media-controls {
    display:none !important;
}

video::-webkit-media-controls-start-playback-button {
    display: none !important;
    -webkit-appearance: none;
}