/* =====================================================================
   OPOS EDUCACIÓN INFANTIL — Hoja de estilos
   =====================================================================
   Para cambiar los colores de toda la web, solo tienes que tocar los
   valores de aquí abajo (paleta de colores). No hace falta tocar nada
   más en el resto del archivo.
   ===================================================================== */


  :root{
    /* ---- PALETA DE COLORES (edita aquí para cambiar toda la web) ---- */
    --cream: #FDF9F4;            /* fondo general de la página */
    --cream-section: #F8EFE4;    /* fondo sección "Tu camino hasta la plaza" */
    --cream-section-2: #F6EAE0;  /* fondo sección "Por qué prepararme / Incluye / Modalidades" */
    --tan-brown: #D6B589;        /* marrón claro: barra de menú y números del timeline */
    --tan-brown-dark: #8B6A3F;   /* marrón oscuro: iconos de "modalidades" */
    --terracotta: #C97B54;       /* color principal de botones y acentos */
    --terracotta-dark: #A85F3C;  /* terracota oscuro: texto destacado, iconos check */
    --peach: #F0C9B4;            /* melocotón: acentos de color (fotos, chips) */
    --mustard: #E7C171;          /* mostaza: acentos de color (estrellas, chips, botón contacto) */
    --taupe: #DED2C6;            /* taupe: acentos de color (chips) */
    --sage: #BFCFC6;             /* verde salvia: acentos de color (fotos, chips) */
    --mauve: #DEC2CC;            /* malva: acentos de color (chips) */
    --teal-panel: #6FA29E;       /* verde azulado del panel "¿Hablamos?" */
    --mint-deep: #E4EEEA;        /* fondo sección "Lo que dicen mis alumnas" */
    --text-dark: #3A2E22;        /* color de texto principal (títulos) */
    --text-mid: #7C6C5B;         /* color de texto secundario (párrafos) */
    --border-soft: #ECE1D2;      /* color de bordes suaves */
  }
  *{box-sizing:border-box; margin:0; padding:0;}
  html{scroll-behavior:smooth;}
  body{
    font-family: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    background: var(--cream);
    width: 100%;
    overflow-x:hidden;
  }
  a{text-decoration:none; color:inherit; cursor:pointer;}
  .wrap{width:100%;}
  .inner{width:100%; max-width:1240px; margin:0 auto; padding:0 20px;}

  /* ---------- HEADER ---------- */
  header{
    background: var(--tan-brown);
    padding: 15px 0;
  }
  header .inner{display:flex; align-items:center; justify-content:space-between;}
  .logo{display:flex; align-items:center; gap:12px;}
  .logo .badge{height:58px; width:auto; flex-shrink:0; object-fit:contain;}
  nav{display:flex; gap:10px; font-size:14.5px; font-weight:600; color:#3A2E1C;}
  nav a{padding:9px 18px; border-radius:20px; background:rgba(255,255,255,0.55); transition:background .15s, box-shadow .15s;}
  nav a:hover{background:#fff; box-shadow:0 2px 8px rgba(0,0,0,0.08);}
  .wa-btn{
    display:flex; align-items:center; gap:8px;
    background: var(--terracotta); color:#fff; font-size:14px; font-weight:500;
    padding:11px 22px; border-radius:24px;
  }

  /* ---------- HERO ---------- */
  .hero{background:var(--cream); padding: 60px 0 44px;}
  .hero .inner{display:flex; align-items:center; justify-content:center; gap:48px;}
  .hero-text{flex: 0 1 520px; min-width:280px;}
  .hero-text h1{
    font-size:48px; line-height:1.14; font-weight:600; color:var(--text-dark); margin-bottom:22px;
    letter-spacing:-0.5px;
  }
  .hero-text p{font-size:16px; line-height:1.6; color:var(--text-mid); max-width:460px; margin-bottom:30px;}
  .hero-btns{display:flex; gap:14px; margin-bottom:44px;}
  .btn-primary{
    display:flex; align-items:center; gap:9px;
    background:var(--terracotta); color:#fff; font-size:14.5px; font-weight:500;
    padding:14px 24px; border-radius:26px;
  }
  .btn-secondary{
    background:transparent; color:var(--text-dark); font-size:14.5px; font-weight:500;
    padding:14px 24px; border-radius:26px; border:1.5px solid var(--text-dark);
  }
  .hero-stats{display:flex; gap:46px;}
  .hero-stats .stat{display:flex; gap:10px; align-items:flex-start;}
  .hero-stats .stat .num{font-size:15px; font-weight:600; display:block;}
  .hero-stats .stat .lbl{font-size:12.5px; color:var(--text-mid);}

  .hero-photo-wrap{flex: 0 1 380px; min-width:220px; display:flex; flex-direction:column; align-items:center;}
  .hero-photo-circle{
    width: 300px; height:300px; border-radius: 50%; overflow:hidden;
    box-shadow: 0 24px 48px -18px rgba(150,110,70,0.30);
    border: 6px solid #fff;
    position:relative;
  }
  .hero-photo-circle img{display:block; width:100%; height:100%; object-fit:cover;}
  .sobre-mi{
    text-align:center; margin-top:22px; max-width:360px; background:#fff;
    border-radius:16px; padding:18px 22px; box-shadow:0 10px 30px -14px rgba(150,110,70,0.25);
  }
  .sobre-mi h4{font-size:15px; font-weight:600; color:var(--terracotta-dark); margin-bottom:6px; letter-spacing:.3px;}
  .sobre-mi p{font-size:12.5px; color:var(--text-mid); line-height:1.6;}

  /* ---------- TIMELINE ---------- */
  .timeline{background:var(--cream-section); padding:52px 0 56px;}
  .timeline .inner{display:flex; gap:56px; align-items:flex-start;}
  .timeline-intro{flex:0 0 230px;}
  .timeline-intro h2{font-size:23px; font-weight:600; line-height:1.28; margin-bottom:14px; color:var(--text-dark);}
  .timeline-intro .rule{width:46px; height:3px; background:var(--terracotta); margin-bottom:16px;}
  .timeline-intro p{font-size:13.5px; color:var(--text-mid); line-height:1.6; margin-bottom:18px;}
  .timeline-intro .link-btn{
    display:inline-block; border:1.3px solid var(--text-dark); border-radius:20px;
    padding:9px 18px; font-size:12.5px; font-weight:500;
  }

  .steps{display:flex; flex:1; min-width:0; position:relative;}
  .steps::before{
    content:''; position:absolute; top:22px; left:calc(100%/12); right:calc(100%/12);
    border-top:2px dashed #D8C3A5; z-index:1;
  }
  .step{flex:1; min-width:0; text-align:center; position:relative; padding:0 6px;}
  .step .circle{
    width:44px; height:44px; border-radius:50%;
    display:flex; align-items:center; justify-content:center;
    font-size:15px; font-weight:600; margin: 0 auto 18px;
    position:relative; z-index:2;
  }
  .step .circle{background:var(--tan-brown); color:#5B4020; border:1px solid #C9A876;}
  .step-divider{position:absolute; top:60px; bottom:8px; right:0; width:1px; background:#E4D5BE;}
  .step .icon{width:30px; height:30px; margin:0 auto 14px; color:var(--terracotta-dark);}
  .step h3{font-size:12.5px; font-weight:600; letter-spacing:.2px; margin-bottom:9px; color:var(--text-dark); min-height:32px; overflow-wrap:break-word;}
  .step p{font-size:11.5px; color:var(--text-mid); line-height:1.5; padding:0 4px; overflow-wrap:break-word;}

  /* ---------- WHY / INCLUDES / MODALITIES ---------- */
  .why-section{background: var(--cream-section-2); padding:54px 0;}
  .why-section .inner{display:flex; gap:0;}
  .col{flex:1; padding:0 30px;}
  .col:first-child{padding-left:0;}
  .col:last-child{padding-right:0;}
  .col-divider{width:1px; background:#E2D2C0; align-self:stretch;}
  .col h2{font-size:16.5px; font-weight:600; margin-bottom:24px; letter-spacing:.2px; color:var(--text-dark);}

  /* why preparar conmigo - vertical list */
  .why-item{display:flex; gap:16px; margin-bottom:22px; align-items:center;}
  .why-item .thumb{width:76px; height:76px; border-radius:16px; flex-shrink:0; padding:5px; display:flex; align-items:center; justify-content:center;}
  .why-item .thumb.c1{background:var(--peach);}
  .why-item .thumb.c2{background:var(--mustard);}
  .why-item .thumb.c3{background:var(--sage);}
  .why-item img{width:100%; height:100%; object-fit:cover; border-radius:11px; display:block;}
  .why-item h4{font-size:14px; font-weight:600; margin-bottom:5px; color:var(--text-dark);}
  .why-item p{font-size:12px; color:var(--text-mid); line-height:1.5;}

  /* includes checklist */
  .check-list{list-style:none; margin-bottom:20px;}
  .check-list li{display:flex; gap:10px; align-items:center; font-size:13px; color:#4A3B2C; margin-bottom:12px; line-height:1.4;}
  .check-list li .chip{
    flex-shrink:0; width:22px; height:22px; border-radius:50%;
    display:flex; align-items:center; justify-content:center;
  }
  .check-list li .chip svg{color:var(--text-dark);}
  .check-list li:nth-child(5n+1) .chip{background:var(--peach);}
  .check-list li:nth-child(5n+2) .chip{background:var(--mustard);}
  .check-list li:nth-child(5n+3) .chip{background:var(--taupe);}
  .check-list li:nth-child(5n+4) .chip{background:var(--sage);}
  .check-list li:nth-child(5n+5) .chip{background:var(--mauve);}
  .includes-cta{
    background:var(--terracotta); border-radius:14px; padding:20px 22px; color:#fff;
    display:flex; gap:14px; align-items:flex-start;
  }
  .includes-cta svg{flex-shrink:0; width:26px; height:26px; margin-top:2px;}
  .includes-cta p{font-size:13px; line-height:1.55; font-weight:500;}

  /* modalidades */
  .modal-card{
    border:1.3px solid #E5D8C8; background:#FFFDFA; border-radius:14px;
    padding:20px 22px; margin-bottom:16px; display:flex; gap:16px; align-items:flex-start;
  }
  .modal-icon{
    width:46px; height:46px; border:1.3px solid var(--mustard); border-radius:10px;
    display:flex; align-items:center; justify-content:center; flex-shrink:0; color:var(--tan-brown-dark);
  }
  .modal-card h4{font-size:14.5px; font-weight:600; margin-bottom:5px; color:var(--text-dark);}
  .modal-card p{font-size:12px; color:var(--text-mid); line-height:1.5;}
  .modal-note{
    font-size:26px; font-style:italic; color:var(--text-dark); margin-top:24px;
    display:flex; align-items:center; justify-content:center; gap:10px; line-height:1.35;
    font-family: 'Caveat', 'Segoe Script', cursive; font-weight:600;
    text-align:center; transform:rotate(-3deg);
  }

  /* ---------- TESTIMONIALS ---------- */
  .testimonials{background:var(--mint-deep); padding:50px 0;}
  .testimonials .inner{display:flex; flex-direction:column; align-items:flex-start; gap:0;}
  .t-header{display:flex; align-items:center; gap:14px; margin-bottom:22px; width:100%;}
  .testimonials h2{font-size:16.5px; font-weight:600; color:#233028;}
  .t-row{display:flex; gap:20px; align-items:center; width:100%;}
  .google-link{
    display:inline-flex; align-items:center; gap:7px; margin-top:20px;
    font-size:13px; font-weight:600; color:var(--terracotta-dark);
  }
  .google-link:hover{text-decoration:underline;}
  .wa-circle{
    width:46px; height:46px; border-radius:50%; background:#fff; flex-shrink:0;
    display:flex; align-items:center; justify-content:center; color:#3E9188;
    box-shadow:0 4px 10px rgba(0,0,0,0.06);
  }
  .t-card{
    background:#fff; border-radius:14px; padding:20px 22px; flex:1;
    box-shadow:0 6px 16px rgba(0,0,0,0.04);
  }
  .t-card .stars{color:var(--mustard); font-size:13px; margin-bottom:10px; letter-spacing:2px;}
  .t-card p{font-size:12.5px; color:#3A3A32; line-height:1.55; margin-bottom:14px; min-height:52px;}
  .t-card .name{font-size:12.5px; font-weight:600; color:#233028;}

  /* ---------- CONTACT ---------- */
  .contact{background:#fff; padding:0;}
  .contact-grid{display:flex; width:100%;}
  .map-block{flex:0 0 30%; background:#E7E5DD; position:relative; min-height:280px;}
  .map-block img{width:100%; height:100%; object-fit:cover; display:block; min-height:280px;}
  .pin{
    position:absolute; top:44%; left:38%; background:#fff; padding:10px 12px; border-radius:10px;
    box-shadow:0 6px 14px rgba(0,0,0,0.15); font-size:11px; display:flex; gap:8px; align-items:center;
  }
  .where-block{flex:0 0 28%; padding:40px 36px; background:#fff;}
  .where-block h3{font-size:16px; font-weight:600; margin-bottom:18px;}
  .where-block .row{display:flex; gap:12px; margin-bottom:16px; font-size:12.5px; color:var(--text-mid); align-items:flex-start;}
  .where-block .row b{display:block; color:#233028; font-size:13px; margin-bottom:2px;}
  .where-block .link{display:inline-flex; align-items:center; gap:8px; font-size:12.5px; font-weight:500; border:1.3px solid #233028; border-radius:20px; padding:9px 16px; margin-top:6px;}

  .talk-block{flex:1; min-width:0; background:var(--teal-panel); padding:40px 44px; color:#fff; display:flex; gap:32px;}
  .talk-left{flex:0 0 210px; min-width:0;}
  .talk-block h3{font-size:16px; font-weight:600; margin-bottom:6px;}
  .talk-block > .talk-left > p{font-size:12.5px; opacity:.9; margin-bottom:20px;}
  .talk-block .row{display:flex; gap:12px; margin-bottom:14px; font-size:12.5px; align-items:flex-start;}
  .talk-block .row b{display:block; font-size:13px; margin-bottom:1px;}
  .talk-form{flex:1; min-width:0; margin-top:0; display:flex; flex-direction:column; gap:10px; justify-content:center;}
  .talk-form input, .talk-form textarea{
    border:none; border-radius:8px; padding:11px 14px; font-size:12.5px; font-family:inherit;
    background:#fff; color:#333;
  }
  .talk-form textarea{height:56px; resize:none;}
  .talk-form button{
    background:var(--mustard); color:#2c2410; border:none; border-radius:22px; padding:12px; font-size:12px; font-weight:600; margin-top:2px;
  }

  /* ---------- FOOTER ---------- */
  footer{background:var(--cream); padding:30px 0; border-top:1px solid var(--border-soft);}
  footer .inner{display:flex; justify-content:space-between; align-items:center;}
  .foot-logo{font-size:13px; font-weight:600; line-height:1.2;}
  .foot-logo small{display:block; font-weight:400; font-size:10px; color:var(--text-mid);}
  footer .foot-mid{font-size:11px; color:var(--text-mid); display:flex; gap:22px;}
  footer .foot-social{display:flex; gap:12px; color:#233028;}
  footer .foot-credit{
    text-align:center; font-size:10px; color:var(--text-mid);
    padding:14px 20px 0; margin-top:18px; border-top:1px solid var(--border-soft);
  }
  .foot-credit a{color:var(--terracotta-dark); font-weight:600;}
  .foot-credit a:hover{text-decoration:underline;}

  /* =====================================================================
     RESPONSIVE — adaptación a tablet y móvil
     ===================================================================== */

  /* ---------- TABLET (pantallas medianas, hasta 980px) ---------- */
  @media (max-width: 980px){
    header .inner{flex-wrap:wrap; row-gap:14px;}
    nav{gap:22px; order:3; width:100%; justify-content:center;}

    .hero .inner{flex-direction:column; text-align:center;}
    .hero-text{flex:0 0 auto; width:100%; display:flex; flex-direction:column; align-items:center;}
    .hero-text p{margin-left:auto; margin-right:auto;}
    .hero-stats{flex-wrap:wrap; justify-content:center; row-gap:16px;}
    .hero-photo-wrap{flex:0 0 auto; margin-top:36px;}

    .timeline .inner{flex-direction:column;}
    .timeline-intro{flex:0 0 auto; text-align:center;}
    .timeline-intro .rule{margin-left:auto; margin-right:auto;}
    .steps{flex-wrap:wrap; row-gap:34px; margin-top:30px;}
    .step{flex:0 0 33.33%; min-width:0;}
    .steps::before{display:none;}

    .why-section .inner{flex-direction:column; row-gap:38px;}
    .col{padding:0;}
    .col-divider{display:none;}

    .contact-grid{flex-direction:column;}
    .map-block{min-height:260px;}
    .where-block, .talk-block{flex:0 0 auto; width:100%;}
  }

  /* ---------- MÓVIL (hasta 640px) ---------- */
  @media (max-width: 640px){
    .inner{padding:0 18px;}

    .logo .badge{height:44px;}
    nav{gap:14px; font-size:13px; flex-wrap:wrap;}
    .wa-btn{padding:9px 16px; font-size:13px;}

    .hero{padding:40px 0 32px;}
    .hero-text h1{font-size:32px;}
    .hero-text p{font-size:14.5px;}
    .hero-btns{flex-wrap:wrap; justify-content:center;}
    .hero-photo-circle{width:220px; height:220px;}
    .sobre-mi{padding:16px 18px;}

    .hero-stats{gap:24px;}

    .timeline-intro h2{font-size:20px;}
    .steps{row-gap:28px;}
    .step{flex:0 0 50%;}

    .why-section .inner{row-gap:32px;}
    .why-item{flex-direction:column; text-align:center;}
    .why-item .thumb{width:100px; height:100px;}

    .modal-card{flex-direction:column; text-align:center; align-items:center;}
    .modal-note{justify-content:center; text-align:center; flex-direction:column;}

    .t-row{flex-direction:column;}
    .t-card{width:100%;}

    .map-block{min-height:220px;}
    .where-block, .talk-block{padding:32px 22px;}
    .talk-block{flex-direction:column;}
    .talk-left{flex:0 0 auto;}

    footer .inner{flex-direction:column; gap:16px; text-align:center;}
    footer .foot-mid{flex-direction:column; gap:8px;}
  }
