/* --- RESET BÁSICO --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/* Imágenes global: nunca deformar */
img { max-width: 100%; height: auto; }

/* --- BODY CIELO EN DEGRADÉ --- */
body {
  background-attachment: fixed;
  font-family: 'Alice', serif;
  background-image: linear-gradient(
    to bottom,
   #f6df6c,
   #f7d46a, 
   #f7c969, 
   #f0c481, 
   #e6bd8e, 
   #efb783, 
   #f38b94, 
   #ea7eb0);
}

/* CONTENEDOR GENERAL */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 0;
}

/* =============================================================
    HEADER OSCURO
    =============================================================*/
.header {
   background-color: #f7b896; /* durazno pastel */
  border-bottom: 1px solid #e6bd8e;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header .logo img {
  height: 145px;
  width: auto;
}

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

.nav a {
  text-decoration: none;
  color: #fff;
  font-weight: 550;
  transition: opacity 0.2s;
}

.nav a:hover {
  background: linear-gradient(45deg, #7193e9, #9575cd);
  -webkit-background-clip: text;
  background-clip: text; /* Propiedad estándar */
  color: transparent;
  opacity: 1;
}

/* input oculto */
#menu-toggle { display: none; }

.hamburguesa {
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  display: none;
}
/* al hacer hover sobre el ícono de hamburguesa */
.hamburguesa:hover {
  background: linear-gradient(45deg, #7193e9, #9575cd);
  -webkit-background-clip: text;
  background-clip: text; /* Propiedad estándar */
  color: transparent;
}
/* Hero sin contenedor */
.home-hero {
  text-align: center;
  padding: 2.5rem 1rem 1.25rem;
  color: #fff;
}
/* Vuelve el contenedor del hero */
.home-hero .hero-box{
  background: rgba(255,240,245,0.44); /* translúcido rosado */
  border-radius: 24px;
  padding: 2rem 1.25rem;
  backdrop-filter: blur(4px);
  box-shadow: 0 0 6px rgba(255,255,255,0.9);
  text-align: center;

   display: inline-block;   /* se encoge al contenido */
  max-width: 720px;        /* límite para que no se haga gigante en desktop */
  margin: 0 auto;          /* centrado */
}

/* La foto del resumen ya la tenías, aseguro centrado y sombra suave */
.resumen-foto{
  display: block;
  margin: 1rem auto 0;
  width: 70%;
  max-width: 300px;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 0 8px rgba(255,255,255,0.8);
}
/* HERO logo (tamaño fluido y seguro) */
.hero-logo {
  display: block;
  width: clamp(96px, 40vw, 160px);
  height: auto;
  margin: 0 auto 1rem;
}

.home-hero h1 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  margin-bottom: 1rem;
  letter-spacing: .5px;
}

/* === Mini resumen con foto sola === */
.resumen-texto {
  text-align: center;
  color: #6777dc;
  text-shadow: 0 1px 2px rgba(0,0,0,.25);
}

.resumen-texto p {
  max-width: 70ch;
  margin: .3rem auto;
  line-height: 1.6;
}



/* Botón principal */
.cta-primary {
  display: inline-block;
  margin-top: .5rem;
  background: rgba(255, 240, 245, 0.44); /* casi blanco con rosita */
  color: #fff;
  font-weight: 200;
  text-decoration: none;
  padding: .7rem 1rem;
  border-radius: 12px;
  transition: transform .15s ease, opacity .15s ease;
}

.cta-primary:hover { 
  transform: translateY(-2px); 
  opacity: .95; 
  background: linear-gradient(45deg, #7193e9, #9575cd);
}

/* ===== MINI RESUMEN ===== */
.home-summary {
  text-align: center;
  color: #6777dc;
  text-shadow: 0 1px 2px rgba(0,0,0,.25);
}

.home-summary p { 
  max-width: 70ch; 
  margin: .3rem auto; 
  line-height: 1.6; 
}


/* ===== CARDS ===== */
.home-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 1rem;
}
.home-card {
  background: rgba(255, 240, 245, 0.44); /* casi blanco con rosita */
  color: #9575cd;
  border-radius: 18px;
  padding: 1.2rem;
  box-shadow: #fff 0 0 5px;
  display: grid;
  gap: .5rem;
  align-content: start;
  min-height: 180px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.home-card:hover {
  transform: translateY(-3px);
  box-shadow: #fff 0 0 5px;
}
.card-emoji { font-size: 1.6rem; }
.home-card h3 { font-size: 1.1rem; letter-spacing: .4px; }
.home-card p { opacity: .9; line-height: 1.5; }
.card-link {
  margin-top: auto;
  text-decoration: none;
  font-weight: 600;
  background: #fff;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ===== ENCUENTROS: Álbum de fotos con carrusel ===== */
.encuentros-head {
  text-align: center;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,.25);
  margin-bottom: 1rem;
}
.encuentros-head h1 {
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  letter-spacing: .6px;
}
.encuentros-head p {
  max-width: 72ch;
  margin: .5rem auto 0;
  line-height: 1.6;
  color: #9575cd;
}
/*ENCUENTROS*/
.album { margin-top: 1.4rem; }
.album-title h2 {
  color: #fff;
  font-size: clamp(1.1rem, 2.4vw, 1.6rem);
  letter-spacing: .5px;
  margin-bottom: .6rem;
}

/* Card del carrusel (sin cambios grandes, por si ya lo tenías) */
.carousel {
  position: relative;
  background: rgba(255, 240, 245, 0.44); /* casi blanco con rosita */
  color: #9575cd;
  border-radius: 18px;
  box-shadow: #fff 0 0 5px;
  padding: .8rem .9rem 1.2rem;
  /* NUEVO: control responsive por CSS variables */
  --per-view: 1;   /* mobile: 1 foto */
  --gap: .5rem;
}

/* El viewport no ocupa toda la pantalla: centrado y con ancho máximo */
.viewport {
  overflow: hidden;
  border-radius: 12px;
  max-width: min(100%, 980px);  /* límite para que no “desborde” */
  margin: 0 auto;
}
/* Track: columnas iguales según --per-view */
.track {
  display: grid;
  grid-auto-flow: column;
  gap: var(--gap);
  grid-auto-columns: calc((100% - (var(--per-view) - 1) * var(--gap)) / var(--per-view));
  transition: transform .35s ease;
  will-change: transform;
}
/* Slides con formato vertical (mejor para fotos en vertical) */
.slide {
  position: relative;
  aspect-ratio: 3 / 4;     /* vertical */
  border-radius: 12px;
  overflow: hidden;
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  -webkit-user-drag: none;
  user-select: none;
}

/* Flechas */
.cnav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid #fff;
  background:#fff;
  color: #9575cd;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  line-height: 1;
  transition: transform .15s ease, opacity .15s ease, border-color .15s ease;
  z-index: 2;
}
.cnav.prev { left: .4rem; }
.cnav.next { right: .4rem; }
/* Dots */
.dots {
  display: flex;
  gap: .45rem;
  justify-content: center;
  margin-top: .7rem;
}
.dots button {
  width: 8px; height: 8px; border-radius: 999px;
  border: 1px solid #6777dc; background: #da9164; cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.dots button[aria-current="true"] {
  background: linear-gradient(45deg, #ffd698, #ff99c8, #9575cd);
  border-color: #555;
  transform: scale(1.15);
}


/* --- QUIENES SOMOS --- */
.quienes-somos {
  max-width: 920px;
  margin: 3rem auto;
}

.bio-container {
  background: rgba(255, 240, 245, 0.44); /* casi blanco con rosita */
  color: #9575cd;
  border-radius: 20px;
  padding: 1rem 1.5rem;
  box-shadow: #fff 0 0 5px;
}

.quienes-somos h2 {
  text-align: center;
  margin-bottom: 2rem;
  letter-spacing: 2px;
  font-size: 1.6rem;
  color: #fff;
}

/* ----- BIO EN GRID con ÁREAS (orden perfecto) ----- */
.bio-container .bio {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) 160px; /* texto | foto */
  grid-template-areas: "text photo";
  gap: 1.2rem 1rem;
  align-items: start;
  margin-bottom: 2.5rem;
}

.bio-text { 
  grid-area: text;
  max-width: 64ch; /* ancho cómodo de lectura */
}

/* Jerarquías */
.bio-container .bio h3 {
  font-family: "Alice", serif;
  font-size: 1.35rem;
  letter-spacing: .5px;
  margin: 0 0 .25rem 0;
}
.bio-container .bio h4 {
  font-size: 1rem;
  font-weight: 600;
  opacity: .9;
  margin: 0 0 .75rem 0;
}

/* Texto */
.bio-container .bio p,
.bio-container .bio li {
  line-height: 1.65;
}
.bio-container .bio p + p {
  margin-top: .6rem;
}

/* Listas prolijas (respetamos emojis) */
.bio-container .bio ul {
  list-style: none;
  padding-left: 0;
  margin: .6rem 0 0 0;
}
.bio-container .bio li {
  padding-left: .2rem;
  margin: .35rem 0;
}

/* Foto */
.bio-container .bio-img {
  grid-area: photo;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 10px rgba(255,255,255,0.8);
  align-self: start;
}

/* Alterno el orden solo para Claudia (foto | texto) */
.bio-container .claudia {
  grid-template-columns: 160px minmax(320px, 1fr);
  grid-template-areas: "photo text";
}

/* Separadores suaves entre bios (opcional) */
.bio-container .bio:not(.texto-final) {
  position: relative;
}
.bio-container .bio:not(.texto-final)::after {
  content: "";
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.12), transparent);
  margin-top: 2rem;
  grid-column: 1 / -1;
}

/* ----- BLOQUE FINAL ----- */
.texto-final {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 1.2rem 2rem;
  align-items: start;
}

.texto-final-p {
  color:#9575cd;
}

.cierrecito-cute {
  max-width: 100%;
  background:#ea7eb0;
  backdrop-filter: blur(4px);
  padding: 1rem;
  border-radius: 16px;
  box-shadow: #fff 0 0 5px;
  position: relative;
  color: #fff;
}
.cierrecito-cute::before {
  content: "★";
  position: absolute;
  top: -12px;
  right: -12px;
  font-size: 1.8rem;
  color: #fff;
  text-shadow:
    0 0 4px rgba(255,214,100,0.9),
    0 0 6px rgba(255,214,100,0.6);
}

/* =========================
   SESIONES (cards)
   ========================= */
   .sesiones-head {
  text-align: center;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,.25);
  margin-bottom: 1rem;
}
.sesiones-head h1 {
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  letter-spacing: .6px;
}
.sesiones-head p {
  max-width: 72ch;
  margin: .5rem auto 0;
  line-height: 1.6;
  color: #9575cd;  /* mismo tono que usás en encuentros */
}

.sessions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(240px, 1fr));
  gap: 1rem;
}

/* Ajustes de contenido dentro de cada card de sesión */
.session-card .session-points {
  list-style: none;
  margin: .4rem 0 0;
  padding: 0;
}
.session-card .session-points li {
  position: relative;
  padding-left: 1.1rem;
  margin: .25rem 0;
  line-height: 1.5;
}
.session-card .session-points li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  opacity: .65;
}
/* =========================
   AGENDA (Sol / Clau)
   ========================= */
.agenda-cards {
  display: flex;
  justify-content: center;
  gap: 2rem;           /* espacio entre Sol y Clau */
  flex-wrap: wrap;     /* en mobile se apilan */
  margin-bottom: 2rem;
  
}
.agenda-cards .home-card {
  flex: 1 1 300px;     /* mínimo 300px, luego se adaptan */
  max-width: 400px;    /* no crecen demasiado */
}

/* =========================
   AGENDA & CONTACTO (bloque)
   ========================= */
.agenda-contacto {
  text-align: center;
  margin-top: 3rem;
}
.agenda-contacto h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 1.5rem;
}

/* Grilla de agendas (si usás cards de agenda independientes) */
.agenda-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.agenda-card {
  background: rgba(255, 240, 245, 0.44); /* casi blanco con rosita */
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: #fff 0 0 5px;
  display: grid;
  gap: .5rem;
  align-content: start;
  transition: transform .15s ease, box-shadow .15s ease;
}
.agenda-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 10px #fff;
}

/* =========================
    CONTACTO (links + redes)
   ========================= */
.contacto-grid {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}
.contact-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: 1rem;
  text-decoration: none;
  
  font-weight: 600;
  transition: opacity .2s;
}
.contact-link:hover { opacity: .8; }
.contacto-extra { margin-top: 1.5rem; }

/* Cards de redes */
.social-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  gap: 1rem;
}
.social-card {
  background: rgba(255, 240, 245, 0.44); /* casi blanco con rosita */
  color: #9575cd;
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: #fff 0 0 5px;
  display: grid;
  gap: .5rem;
  align-content: start;
  text-align: center;
  transition: transform .15s ease, box-shadow .15s ease;
}
.social-card:hover { transform: translateY(-3px); box-shadow: 0 0 10px #fff; }
.social-icon {
  width: 56px; height: 56px;
  margin: 0 auto .25rem;
  border-radius: 14px;
  display: grid; place-items: center;
  background: #fff;
  color: #9575cd;
  box-shadow: inset 0 0 0 2px rgba(103,119,220,.15);
}
.social-icon i { font-size: 1.6rem; }

.footer {
   background-color: #f7b896; /* durazno pastel */
  color: #fff;
  border-top: 1px solid #e6bd8e;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 3rem;
}

.footer a {
  color: #fff;
  text-decoration: none;
  margin-left: 2rem;
  font-size: 1.4rem;
  transition: opacity 0.3s ease;
}

.footer a:hover {
  opacity: 0.7;
  background: linear-gradient(45deg, #7193e9, #9575cd);
  -webkit-background-clip: text;
  background-clip: text; /* Propiedad estándar */
  color: transparent;
  opacity: 1;
}



/* ----- MOBILE del home ----- */
/* ===== RESPONSIVE home ===== */
@media (max-width: 992px) {
  .home-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .comment-form .form-row { grid-template-columns: 1fr; }
  .home-cards { grid-template-columns: 1fr; }
  .home-hero .hero-box {
    padding: 2.25rem 1.25rem; /* antes 4rem 3rem */
  }
}
/*MOBILE DE ENCUENTROS*/
/* Responsivo encuentros fotos*/
@media (max-width: 768px) {
  .carousel { padding: .6rem .6rem 1rem; 
    --per-view: 2; /* 2 fotos en mobile*/
  }
  .cnav { width: 34px; height: 34px; font-size: 1.2rem; }
  .slide { height: clamp(200px, 56vw, 320px); 
  aspect-ratio: 4 / 5;}

}
@media (min-width: 1200px) {
  .carousel { --per-view: 3; }
}
/* ----- MOBILE bio quienes somos ----- */
@media (max-width: 768px) {
  .bio-container .bio {
    grid-template-columns: 1fr;
    grid-template-areas:
      "text"
      "photo";
    text-align: center;
  }
  .bio-container .bio-img {
    justify-self: center;
    margin-top: .75rem;
  }
  .texto-final {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .cierrecito-cute { max-width: 100%; }
}
/* =============================================================
   MOBILE (menú desplegable desde debajo del header)
   =============================================================*/
@media (max-width: 768px) {

  .hamburguesa {
    display: block;
    position: absolute;
    top: 1.2rem;
    right: 1.5rem;
    font-size: 2.4rem;
  }

  .header .logo img {
    height: 165px; /* logo más grande en mobile */
  }

  .nav ul {
    position: fixed;
    top: 165px;              /* arranca debajo del header */
    left: 0;
    right: 0;
    bottom: 0;               /* hasta abajo */
    width: 100vw;
    background: #eb9ac0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 2rem 0;
    margin: 0;
    box-sizing: border-box;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .25s ease, transform .25s ease;
    z-index: 999;
    overflow-y: auto; 
    top: calc(165px + 2rem); /* altura del logo (165) + padding vertical del header (1rem arriba + 1rem abajo) */
       /* scroll si se pasa */
  }
  .home-hero .hero-box{ 
    padding: 1.5rem 1rem; }
  .resumen-foto{ 
    width: 70%; max-width: 300px; }
}

  #menu-toggle:checked ~ .nav ul {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav a {
    color: #fff;
    font-size: 1.4rem;
  }

/* EXTRA responsive (celus chicos tipo Edge) */
@media (max-width: 420px) {
  .container {
    width: 95%;
    padding: 1.5rem 0;
  }
}
/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 992px) {
  .sessions-grid { grid-template-columns: repeat(2, 1fr); }
  .social-grid   { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .sessions-grid { grid-template-columns: 1fr; }
  .social-grid   { grid-template-columns: 1fr; }
}