/* Estilos de paginas internas del v2 (hero de seccion, tablas, pasos, FAQ).
   Vive aparte de style.css para no chocar con los cambios de la home. */

/* ================================================================
   PAGINAS INTERNAS  (hero de seccion, tablas, pasos, FAQ, etc.)
   ================================================================ */

/* ---------- Hero de pagina interna ---------- */
.page-hero{position:relative; background:#f9dedf; overflow:hidden; padding:120px 0 30px}
.page-hero .container{position:relative; z-index:2; display:grid; grid-template-columns:1.06fr .94fr; gap:10px; align-items:center; min-height:404px}
.page-hero-shapes{position:absolute; inset:0; width:100%; height:100%; z-index:0; pointer-events:none}
.page-hero .hero-copy{padding:34px 0 26px}
.page-hero h1{font-family:var(--font-serif); font-weight:600; font-size:clamp(30px,4.4vw,50px); line-height:1.02; margin:0 0 4px; color:var(--ink)}
.page-hero h1 .line2{color:var(--rose-800); display:block}
.page-hero .lead{color:var(--ink-soft); font-size:16px; line-height:1.6; max-width:470px; margin:12px 0 20px}
.page-hero-actions{display:flex; align-items:center; gap:14px; flex-wrap:wrap}
.page-hero .hero-img{position:relative}
.page-hero .illus{width:112%; max-width:none; margin-left:-6%; height:auto; display:block; filter:drop-shadow(0 20px 34px rgba(158,82,88,.16))}

/* precio de arranque, al lado de los botones */
.price-pill{display:inline-flex; flex-direction:column; line-height:1.15; padding:9px 18px; border-radius:var(--radius-full); background:#fff; box-shadow:0 8px 20px rgba(202,117,121,.14)}
.price-pill span{font-size:10.5px; letter-spacing:.1em; text-transform:uppercase; color:var(--ink-soft); font-weight:700}
.price-pill strong{font-family:var(--font-serif); font-size:19px; color:var(--rose-900)}

/* ---------- Migas ---------- */
.crumbs{font-size:12.5px; color:#8a6a67; margin:0 0 14px; display:flex; flex-wrap:wrap; gap:7px; align-items:center}
.crumbs a{color:#8a6a67}
.crumbs a:hover{color:var(--rose-900); text-decoration:underline}
.crumbs .sep{opacity:.5}
.crumbs [aria-current]{color:var(--rose-900); font-weight:600}

/* ---------- Secciones genericas ---------- */
.sec{padding:58px 0}
.sec-tight{padding:40px 0}
.sec-alt{background:var(--blush-50)}
.sec-white{background:#fff}
.head-center{text-align:center; max-width:760px; margin:0 auto 36px}
.head-center .eyebrow{display:inline-flex}
.head-center .section-sub{margin-left:auto; margin-right:auto}
.head-center .divider-heart{justify-content:center; max-width:200px; margin:8px auto 14px}
.prose{color:var(--ink-soft); font-size:15.5px; line-height:1.75; max-width:760px}
.prose p{margin:0 0 16px}
.prose a{color:var(--rose-900); font-weight:600; text-decoration:underline; text-underline-offset:2px}
.prose strong{color:var(--ink)}
.sec-cta{margin-top:26px; display:flex; gap:14px; flex-wrap:wrap; align-items:center}

/* ---------- Tarjetas de "que incluye" ---------- */
.feat-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:18px}
.feat-card{background:#fff; border-radius:var(--radius-md); padding:26px 24px 24px; box-shadow:0 10px 26px rgba(202,117,121,.09); transition:transform .18s, box-shadow .18s}
.feat-card:hover{transform:translateY(-4px); box-shadow:0 16px 32px rgba(202,117,121,.16)}
.feat-card .ico{width:52px; height:52px; border-radius:50%; background:var(--rose-100); color:var(--rose-900); display:flex; align-items:center; justify-content:center; margin-bottom:14px}
.feat-card .ico svg{width:25px; height:25px}
.feat-card h3{font-family:var(--font-serif); font-weight:600; font-size:19px; margin:0 0 8px; color:var(--ink)}
.feat-card p{margin:0; font-size:14px; line-height:1.6; color:var(--ink-soft)}
@media(max-width:900px){ .feat-grid{grid-template-columns:1fr 1fr; gap:12px} .feat-card{padding:20px 18px} }
@media(max-width:560px){ .feat-grid{grid-template-columns:1fr} }

/* ---------- Pasos ---------- */
.steps{display:grid; grid-template-columns:repeat(4,1fr); gap:16px; position:relative}
.steps::before{content:""; position:absolute; top:26px; left:12%; right:12%; height:2px;
  background:repeating-linear-gradient(90deg,var(--rose-300) 0 6px,transparent 6px 14px)}
.step{position:relative; text-align:center; padding:0 8px}
.step .num{position:relative; z-index:1; width:54px; height:54px; margin:0 auto 14px; border-radius:50%;
  background:var(--rose-800); color:#fff; font-family:var(--font-serif); font-size:22px;
  display:flex; align-items:center; justify-content:center; box-shadow:0 10px 20px rgba(202,117,121,.26)}
.step h3{font-family:var(--font-serif); font-weight:600; font-size:17px; margin:0 0 6px; color:var(--ink)}
.step p{margin:0; font-size:13.5px; line-height:1.55; color:var(--ink-soft)}
@media(max-width:820px){
  .steps{grid-template-columns:1fr 1fr; gap:26px 12px}
  .steps::before{display:none}
}
@media(max-width:460px){ .steps{grid-template-columns:1fr; text-align:left}
  .step{display:grid; grid-template-columns:54px 1fr; gap:14px; text-align:left; padding:0}
  .step .num{margin:0} }

/* ---------- Tablas ---------- */
.tbl-wrap{overflow-x:auto; -webkit-overflow-scrolling:touch; border-radius:var(--radius-md); box-shadow:0 10px 26px rgba(202,117,121,.09)}
.tbl{width:100%; border-collapse:collapse; background:#fff; min-width:520px}
.tbl th,.tbl td{padding:14px 18px; text-align:left; font-size:14px; border-bottom:1px solid #f2dbdc}
.tbl thead th{background:var(--rose-800); color:#fff; font-size:12.5px; letter-spacing:.06em; text-transform:uppercase; font-weight:700; border-bottom:none}
.tbl tbody tr:last-child td{border-bottom:none}
.tbl tbody tr:nth-child(even) td{background:#fdf5f5}
.tbl td:first-child{font-weight:600; color:var(--ink)}
.tbl td{color:var(--ink-soft)}
.tbl .val{font-family:var(--font-serif); font-size:16px; color:var(--rose-900); white-space:nowrap}
.tbl-note{font-size:13px; color:var(--ink-soft); margin:14px 0 0; line-height:1.6}

/* ---------- Lista con check (dietas, coberturas) ---------- */
.check-grid{display:grid; grid-template-columns:1fr 1fr; gap:12px 24px; margin:0}
.check-grid li{display:flex; gap:11px; align-items:flex-start; font-size:14.5px; line-height:1.55; color:var(--ink-soft)}
.check-grid li svg{width:19px; height:19px; flex:0 0 auto; margin-top:2px; color:var(--rose-800)}
.check-grid li b{color:var(--ink); font-weight:700}
@media(max-width:700px){ .check-grid{grid-template-columns:1fr} }

/* ---------- Bloque partido (texto + imagen) ---------- */
.split{display:grid; grid-template-columns:1fr 1fr; gap:46px; align-items:center}
.split.reverse .split-media{order:-1}
.split-media img{border-radius:var(--radius-lg); box-shadow:0 18px 36px rgba(90,35,40,.16); width:100%; height:340px; object-fit:cover}
@media(max-width:900px){ .split{grid-template-columns:1fr; gap:26px} .split.reverse .split-media{order:0} .split-media img{height:250px} }

/* ---------- Cobertura ---------- */
.cover-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:16px}
.cover-card{background:#fff; border-radius:var(--radius-md); padding:22px 20px; box-shadow:0 10px 24px rgba(202,117,121,.08)}
.cover-card .pin{width:38px; height:38px; border-radius:50%; background:var(--rose-100); color:var(--rose-900); display:flex; align-items:center; justify-content:center; margin-bottom:12px}
.cover-card .pin svg{width:19px; height:19px}
.cover-card h3{font-family:var(--font-serif); font-weight:600; font-size:17px; margin:0 0 6px; color:var(--ink)}
.cover-card p{margin:0; font-size:13.5px; line-height:1.55; color:var(--ink-soft)}
@media(max-width:900px){ .cover-grid{grid-template-columns:1fr 1fr; gap:12px} }
@media(max-width:480px){ .cover-grid{grid-template-columns:1fr} }

/* ---------- FAQ ---------- */
.faq{max-width:840px; margin:0 auto}
.faq-item{background:#fff; border-radius:14px; margin-bottom:12px; box-shadow:0 6px 18px rgba(202,117,121,.08); overflow:hidden}
.faq-item summary{list-style:none; cursor:pointer; padding:18px 54px 18px 22px; position:relative;
  font-weight:600; font-size:15.5px; color:var(--ink); line-height:1.45}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary::after{content:""; position:absolute; right:22px; top:50%; width:11px; height:11px;
  margin-top:-7px; border-right:2px solid var(--rose-800); border-bottom:2px solid var(--rose-800);
  transform:rotate(45deg); transition:transform .25s}
.faq-item[open] summary::after{transform:rotate(-135deg); margin-top:-3px}
.faq-item summary:hover{color:var(--rose-900)}
.faq-item .faq-body{padding:0 22px 20px; font-size:14.5px; line-height:1.7; color:var(--ink-soft)}
.faq-item .faq-body p{margin:0}
.faq-item .faq-body a{color:var(--rose-900); font-weight:600; text-decoration:underline}

/* ---------- Servicios relacionados ---------- */
.rel-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:14px}
.rel-card{display:flex; align-items:center; justify-content:space-between; gap:12px;
  background:#fff; border-radius:var(--radius-md); padding:18px 20px;
  box-shadow:0 8px 20px rgba(202,117,121,.08); transition:transform .16s, box-shadow .16s}
.rel-card:hover{transform:translateY(-3px); box-shadow:0 14px 28px rgba(202,117,121,.16)}
.rel-card b{font-size:14.5px; font-weight:600; color:var(--ink); line-height:1.4}
.rel-card span{font-size:12.5px; color:var(--ink-soft); display:block; margin-top:3px; font-weight:400}
.rel-card .go{width:32px; height:32px; border-radius:50%; background:var(--rose-100); color:var(--rose-900);
  display:flex; align-items:center; justify-content:center; flex:0 0 auto}
.rel-card .go svg{width:15px; height:15px}
@media(max-width:900px){ .rel-grid{grid-template-columns:1fr 1fr} }
@media(max-width:560px){ .rel-grid{grid-template-columns:1fr} }

/* ---------- Ajustes moviles del hero interno ---------- */
@media(max-width:980px){
  /* en movil el hero se apila: el titulo de una interna es largo y en dos
     columnas la ilustracion se le monta encima al parrafo */
  .page-hero{padding:102px 0 12px}
  .page-hero .container{grid-template-columns:1fr; gap:0; min-height:0; padding:0 16px}
  .page-hero .hero-copy{padding:18px 0 6px}
  .page-hero .hero-img{display:flex; justify-content:center}
  .page-hero .illus{width:74vw; max-width:340px; margin:0}
  .page-hero h1{font-size:clamp(21px,6.1vw,32px); line-height:1.04}
  .page-hero .crumbs{font-size:10.5px; gap:5px; margin-bottom:9px}
  .page-hero .lead{font-size:12.5px; line-height:1.45; margin:8px 0 14px; max-width:none}
  .page-hero .divider-heart{margin:6px 0 8px}
  .page-hero .divider-heart::before,.page-hero .divider-heart::after{flex-basis:26px}
  .page-hero-actions{gap:9px}
  .page-hero .btn{font-size:11px; padding:11px 8px 11px 16px}
  .page-hero .btn svg{width:22px; height:22px; padding:5px}
  .page-hero .btn-outline{padding:11px 16px}
  .price-pill{padding:7px 14px}
  .price-pill span{font-size:9px}
  .price-pill strong{font-size:15px}

  /* barra de confianza: 2x2 con el icono arriba, igual que en el resto del sitio.
     En fila (icono al lado) el texto largo se parte y las dos filas quedan de
     distinta altura, que era lo que se veía descuadrado en el teléfono. */
  .trust-interna{grid-template-columns:repeat(2,1fr); gap:16px 4px; padding:20px 10px}
  .trust-interna .trust-item{flex-direction:column; justify-content:flex-start; align-items:center;
    text-align:center; gap:7px; padding:0 10px; white-space:normal; border-right:none}
  .trust-interna .trust-item:nth-child(odd){border-right:1px solid #efd2d3}
  .trust-interna .trust-item .ico{width:44px; height:44px}
  .trust-interna .trust-item .ico svg{width:21px; height:21px}
  .trust-interna .trust-item strong{font-size:13px; line-height:1.3}
  .trust-interna .trust-item span{font-size:12px; line-height:1.35}

  .sec{padding:34px 0}
  .sec-tight{padding:26px 0}
  .head-center{margin-bottom:22px}
  .sec .section-title, .head-center .section-title{font-size:clamp(21px,6.1vw,28px)}
  .prose{font-size:14px; line-height:1.7}
  .sec .btn{font-size:11px; padding:11px 8px 11px 16px}
  .sec .btn svg{width:22px; height:22px; padding:5px}
  .sec .btn-outline{padding:11px 16px}
  .tbl th,.tbl td{padding:11px 13px; font-size:13px}
  .faq-item summary{font-size:14px; padding:15px 46px 15px 17px}
  .faq-item .faq-body{font-size:13.5px; padding:0 17px 17px}
}


/* ---------- Cabecera compacta: cotizador | logo | menu ---------- */
.site-header .container{justify-content:space-between}
.main-nav{display:none}                 /* el menu vive en el panel lateral */
.nav-toggle{display:flex}
.hdr-btn{width:58px; height:58px; flex:0 0 auto; border-radius:50%; border:none; cursor:pointer; padding:0;
  background:var(--rose-800); color:#fff; display:flex; align-items:center; justify-content:center;
  transition:background .18s ease, transform .18s ease}
.hdr-btn svg{width:25px; height:25px; color:#fff}
.hdr-btn:hover{background:var(--rose-900); transform:scale(1.07)}
.hdr-btn:focus-visible{outline:3px solid var(--rose-500); outline-offset:3px}
.site-header .logo{margin:0 auto}
@media(max-width:980px){
  .hdr-btn{width:48px; height:48px}
  .hdr-btn svg{width:21px; height:21px}
}
@media(max-width:420px){
  .hdr-btn{width:42px; height:42px}
  .hdr-btn svg{width:19px; height:19px}
}

/* ---------- Cabecera compacta: cotizador | logo | menu ---------- */
.site-header .container{justify-content:space-between}
.main-nav{display:none}                    /* el menu completo vive en el panel lateral */
.nav-toggle{display:flex}
.hdr-btn{width:58px; height:58px; flex:0 0 auto; border-radius:50%; border:none; cursor:pointer; padding:0;
  background:var(--rose-800); color:#fff; display:flex; align-items:center; justify-content:center;
  transition:background .18s ease, transform .18s ease}
.hdr-btn svg{width:25px; height:25px; color:#fff}
.hdr-btn:hover{background:var(--rose-900); transform:scale(1.07)}
.hdr-btn:focus-visible{outline:3px solid var(--rose-500); outline-offset:3px}
.site-header .logo{margin:0 auto}
@media(max-width:980px){
  .site-header .container{justify-content:space-between}
  .hdr-btn{width:48px; height:48px}
  .hdr-btn svg{width:21px; height:21px}
  .nav-toggle{position:static; transform:none}
}
@media(max-width:420px){ .hdr-btn{width:42px; height:42px} .hdr-btn svg{width:19px; height:19px} }