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

body{
  background:#f7f6f2;
  color:#111;
  font-family:Georgia, serif;
  -webkit-font-smoothing:antialiased;
}

/* =========================
   NAVEGACIÓN
========================= */

nav{
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.logo{
  font-size:20px;
  font-weight:400;
}

.menu-btn,
.close-menu{
  border:none;
  background:none;
  cursor:pointer;
  color:#111;
}

.menu-btn{
  font-size:32px;
}

.close-menu{
  position:absolute;
  top:40px;
  right:40px;
  font-size:32px;
}

/* =========================
   MENÚ OVERLAY
========================= */

.menu-overlay{
  position:fixed;
  inset:0;
  background:#f7f6f2;
  z-index:999;

  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:24px;

  opacity:0;
  pointer-events:none;
  transition:.3s ease;
}

.menu-overlay.active{
  opacity:1;
  pointer-events:auto;
}

.menu-overlay a{
  text-decoration:none;
  color:#111;
  font-size:34px;
  transition:.2s;
}

.menu-overlay a:hover{
  opacity:.6;
}

/* =========================
   HERO
========================= */

.hero{
  min-height:100vh;
  padding:40px 7%;
  display:flex;
  flex-direction:column;
}

.hero-content{
  max-width:850px;
  margin:auto 0;
}

.eyebrow{
  text-transform:uppercase;
  letter-spacing:2px;
  font-size:12px;
  opacity:.5;
  margin-bottom:18px;
}

h1{
  font-size:92px;
  line-height:.95;
  font-weight:400;
  letter-spacing:-2px;
  margin-bottom:24px;
}

.subtitle{
  font-size:24px;
  line-height:1.7;
  max-width:700px;
  opacity:.85;
  margin-bottom:40px;
}

/* =========================
   BOTONES
========================= */

.hero-buttons{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
}

.hero-buttons a{
  text-decoration:none;
  padding:18px 32px;
  border-radius:999px;
  font-size:16px;
  transition:.25s;
}

.primary{
  background:#111;
  color:white;
  border:1px solid #111;
}

.primary:hover{
  opacity:.9;
}

.secondary{
  color:#111;
  border:1px solid #111;
}

.secondary:hover{
  background:#111;
  color:white;
}

/* =========================
   FRASE CENTRAL
========================= */

.quote{
  padding:120px 7%;
  text-align:center;
}

.quote h2{
  max-width:900px;
  margin:auto;
  font-size:64px;
  line-height:1.1;
  font-weight:400;
}

/* =========================
   TESTIMONIOS
========================= */

.testimonials{
  background:white;
  padding:120px 7%;
}

.testimonials h2{
  font-size:52px;
  font-weight:400;
  text-align:center;
  margin-bottom:60px;
}

blockquote{
  max-width:850px;
  margin:0 auto 60px;
  font-size:34px;
  line-height:1.5;
}

blockquote span{
  display:block;
  margin-top:14px;
  font-size:16px;
  opacity:.55;
}

/* =========================
   TABLAS (PROGRAMAS Y TARIFAS)
========================= */

.programs{
  max-width:1400px;
  margin:auto;
  padding:80px 7%;
}

.table-container{
  overflow-x:auto;
  margin-top:30px;
}

.program-table{
  width:100%;
  min-width:900px;
  border-collapse:collapse;
  background:white;
  border-radius:24px;
  overflow:hidden;
  box-shadow:0 10px 30px rgba(0,0,0,.04);
}

.program-table th{
  background:#f1f1ee;
  padding:20px;
  text-align:left;
  font-size:15px;
  font-weight:600;
}

.program-table td{
  padding:22px 20px;
  border-top:1px solid #ececec;
  vertical-align:top;
  line-height:1.6;
}

.program-table td:not(:first-child):not(:last-child){
  text-align:center;
}

.program-note{
  text-align:center;
  margin-top:30px;
  color:#666;
  line-height:1.7;
}

.program-note p{
  margin-bottom:10px;
}

/* =========================
   SUBPÁGINAS
========================= */

.subpage-hero{
  padding:40px 7% 80px;
}

.subpage-content{
  max-width:900px;
}

.subpage-content h1{
  margin-bottom:20px;
}

/* =========================
   FAQ
========================= */

.faq-section{
  max-width:1100px;
  margin:auto;
  padding:40px 7% 100px;
}

.faq-item{
  background:white;
  border-radius:24px;
  margin-bottom:18px;
  padding:10px 28px;
  box-shadow:0 10px 25px rgba(0,0,0,.04);
}

.faq-question{
  width:100%;
  border:none;
  background:none;
  padding:24px 0;
  cursor:pointer;
  display:flex;
  justify-content:space-between;
  align-items:center;

  font-family:Georgia, serif;
  font-size:24px;
  text-align:left;
}

.faq-answer{
  max-height:0;
  overflow:hidden;
  transition:.3s ease;
}

.faq-answer p{
  padding-bottom:24px;
  font-size:18px;
  line-height:1.8;
  opacity:.8;
}

.faq-item.active .faq-answer{
  max-height:500px;
}

/* =========================
   ÁREA FAMILIAS
========================= */

.family-dashboard{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:24px;
  padding:40px 7% 100px;
}

.family-card{
  background:white;
  border-radius:28px;
  padding:40px;
  text-decoration:none;
  color:#111;
  box-shadow:0 10px 25px rgba(0,0,0,.04);
  transition:.25s;
}

.family-card:hover{
  transform:translateY(-4px);
}

.family-card h2{
  font-size:36px;
  margin-bottom:15px;
}

.family-card span{
  opacity:.6;
}

/* =========================
   MÓVIL
========================= */

@media(max-width:900px){

  .hero{
    min-height:auto;
    padding:30px 6% 70px;
  }

  h1{
    font-size:54px;
    line-height:1;
    letter-spacing:-1px;
  }

  .subtitle{
    font-size:18px;
    line-height:1.7;
  }

  .hero-buttons{
    flex-direction:column;
  }

  .hero-buttons a{
    width:100%;
    text-align:center;
  }

  .quote{
    padding:70px 6%;
  }

  .quote h2{
    font-size:38px;
  }

  .testimonials{
    padding:70px 6%;
  }

  .testimonials h2{
    font-size:36px;
  }

  blockquote{
    font-size:24px;
  }

  .programs{
    padding:60px 4%;
  }

  .family-dashboard{
    grid-template-columns:1fr;
  }

  .family-card h2{
    font-size:30px;
  }

  .faq-question{
    font-size:20px;
  }

  .menu-overlay a{
    font-size:28px;
  }

  .program-table{
    min-width:750px;
  }
}