/* ===== Amigos Mederos · estilos compartidos ===== */
:root{
  --navy:#12305B; --navy-2:#0C2142; --red:#D62B2B; --red-dark:#B21F1F;
  --sun:#F5C518; --sky:#EAF2FB; --paper:#FFFFFF; --ink:#142033; --muted:#52627A; --line:#D6E1EE;
  --wa:#1FAF5A; --font:"Archivo","Helvetica Neue",Arial,sans-serif;
  box-sizing:border-box;
}
*,*::before,*::after{box-sizing:inherit}
html{scroll-behavior:smooth; scroll-padding-top:84px}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
body{margin:0; overflow-x:hidden; font-family:var(--font); font-size:1.0625rem; line-height:1.55; color:var(--ink); background:var(--paper); -webkit-font-smoothing:antialiased}
img{max-width:100%; display:block}
a{color:inherit}
:focus-visible{outline:3px solid var(--sun); outline-offset:3px; border-radius:4px}
.wrap{width:min(1120px, 100% - 2.5rem); margin-inline:auto}
h1,h2,h3{font-stretch:72%; font-weight:850; line-height:1.03; letter-spacing:-.01em; margin:0}
h2{font-size:clamp(2rem,5.5vw,3rem)}
h3{font-size:1.4rem}
p{margin:0}
.lead{font-size:1.15rem; color:var(--muted); max-width:58ch}
section{padding:4.5rem 0}
.alt{background:var(--sky)}
.sec-head{display:grid; gap:.9rem; margin-bottom:2.4rem}
.fine{font-size:.92rem; color:var(--muted)}

/* Botones */
.btn{display:inline-flex; align-items:center; justify-content:center; gap:.55rem; min-height:54px; padding:0 1.4rem; border-radius:12px; font-weight:750; font-size:1.05rem; text-decoration:none; border:2px solid transparent; cursor:pointer; font-family:inherit; transition:background .15s}
.btn svg{width:22px; height:22px; flex:none}
.btn-wa{background:var(--wa); color:#fff}
.btn-wa:hover{background:#178F49}
.btn-ghost{border-color:currentColor; background:transparent}
.btn-navy{background:var(--navy); color:#fff}
.btn-navy:hover{background:var(--navy-2)}

/* Cabecera */
.top{position:sticky; top:0; z-index:40; background:rgba(255,255,255,.96); backdrop-filter:blur(8px); border-bottom:1px solid var(--line)}
.top .wrap{display:flex; align-items:center; gap:1rem; height:70px}
.brand{display:flex; align-items:center; gap:.6rem; text-decoration:none; margin-right:auto}
.brand svg{width:42px; height:42px; flex:none}
.brand b{display:block; white-space:nowrap; font-stretch:75%; font-weight:900; font-size:1.35rem; line-height:1; color:var(--navy)}
.brand small{display:block; font-size:.78rem; color:var(--muted); font-weight:600}
.menu-btn{display:inline-flex; align-items:center; justify-content:center; width:46px; height:46px; border-radius:10px; border:1.5px solid var(--line); background:#fff; cursor:pointer; color:var(--navy)}
.menu-btn svg{width:24px; height:24px}
.nav{position:absolute; top:70px; left:0; right:0; background:#fff; border-bottom:1px solid var(--line); display:none; flex-direction:column; padding:.5rem 1.25rem 1.25rem}
.nav.open{display:flex}
.nav a{text-decoration:none; font-weight:650; padding:.8rem 0; border-bottom:1px solid var(--line); color:var(--ink)}
.nav a[aria-current="page"]{color:var(--red)}
.top .btn{min-height:44px; padding:0 1rem; font-size:.95rem}
@media (max-width:480px){.top .btn span{display:none}.top .btn{padding:0 .75rem}}
@media (min-width:1100px){
  .menu-btn{display:none}
  .nav{position:static; display:flex; flex-direction:row; gap:1.4rem; padding:0; border:0; background:none}
  .nav a{border:0; padding:0; font-size:.97rem}
  .nav a:hover{color:var(--red)}
}

/* Hero */
.hero{background:var(--navy); color:#fff; padding:3rem 0 3.5rem; position:relative; overflow:hidden}
.hero .wrap{display:grid; grid-template-columns:minmax(0,1fr); gap:2.5rem; position:relative; z-index:1}
.hero h1{font-size:clamp(2.5rem,8.5vw,4.4rem); max-width:14ch}
.hero .lead{color:#C9D6EA; margin-top:1.1rem}
.hero-ctas{display:flex; flex-wrap:wrap; gap:.75rem; margin-top:1.8rem}
.hero .btn-ghost{color:#fff}
.hero .btn-ghost:hover{background:rgba(255,255,255,.1)}
.hero-mark{position:absolute; right:-70px; bottom:-90px; width:360px; opacity:.07; pointer-events:none}
.crumb{font-size:.95rem; color:#AFC2DE; font-weight:600; margin-bottom:1rem; display:block; text-decoration:none}
.crumb:hover{color:#fff}
.trust{display:flex; flex-wrap:wrap; gap:.5rem 1.2rem; margin:1.6rem 0 0; padding:0; list-style:none; font-size:.95rem; color:#C9D6EA; font-weight:600}
.trust li{display:flex; align-items:center; gap:.45rem}
.trust li::before{content:""; width:8px; height:8px; border-radius:50%; background:var(--sun)}
.price-chip{display:inline-flex; flex-wrap:wrap; align-items:baseline; gap:.5rem; margin-top:1.6rem; background:var(--sun); color:var(--navy-2); padding:.55rem 1rem; border-radius:10px; font-weight:800}
.price-chip strong{font-size:1.9rem; font-stretch:72%; line-height:1}
@media (min-width:960px){.hero{padding:5rem 0}.hero .wrap{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr); align-items:center}}

/* Panel de servicios del inicio */
.menu-board{background:#fff; color:var(--ink); border-radius:18px; padding:.6rem 1.4rem; box-shadow:0 24px 50px -20px rgba(0,0,0,.5)}
.menu-board a{display:grid; grid-template-columns:auto 1fr auto; gap:1rem; align-items:center; padding:1.05rem 0; text-decoration:none; border-bottom:1px dashed var(--line)}
.menu-board a:last-child{border-bottom:0}
.menu-board .ic{width:46px; height:46px; border-radius:12px; background:var(--sky); display:grid; place-items:center; color:var(--navy)}
.menu-board .ic svg{width:26px; height:26px}
.menu-board b{display:block; font-size:1.15rem; font-stretch:85%}
.menu-board small{color:var(--muted); font-size:.9rem}
.menu-board .tag{font-weight:800; color:var(--red); text-align:right; font-size:.95rem; line-height:1.15}
.menu-board a:hover b{color:var(--red)}

/* Tarjetas de servicio */
.services{display:grid; gap:1rem}
@media (min-width:760px){.services{grid-template-columns:repeat(2,minmax(0,1fr))}}
.service{padding:1.6rem; border-radius:18px; background:#fff; border:1px solid var(--line); display:flex; flex-direction:column; gap:.6rem; text-decoration:none}
.service svg{width:40px; height:40px; color:var(--red)}
.service p{color:var(--muted); flex:1}
.service .more{font-weight:750; color:var(--navy)}
.service:hover{border-color:var(--navy)}
.service:hover .more{color:var(--red)}

/* Promesas */
.promise{display:grid; gap:1rem}
@media (min-width:760px){.promise{grid-template-columns:repeat(3,minmax(0,1fr))}}
.promise div{padding:1.4rem; border-radius:16px; background:var(--sky)}
.alt .promise div{background:#fff}
.promise h3{font-size:1.25rem; color:var(--navy); margin-bottom:.35rem}
.promise p{color:var(--muted)}

/* Pasos */
.steps{list-style:none; margin:0; padding:0; display:grid; gap:1rem}
.steps li{display:grid; grid-template-columns:auto 1fr; gap:.3rem 1rem; align-items:start; padding:1.3rem; border-radius:16px; background:#fff; border:1px solid var(--line)}
.steps .num{grid-row:span 3; width:50px; height:50px; border-radius:50%; background:var(--navy); color:#fff; display:grid; place-items:center; font-weight:900; font-size:1.35rem; font-stretch:75%}
.steps li:last-child .num{background:var(--red)}
.steps .when{font-weight:800; color:var(--red); font-size:.95rem}
.steps p{color:var(--muted)}
@media (min-width:860px){.steps.four{grid-template-columns:repeat(4,minmax(0,1fr))}.steps.three{grid-template-columns:repeat(3,minmax(0,1fr))}.steps li{grid-template-columns:1fr}.steps .num{grid-row:auto; margin-bottom:.5rem}}

/* Tablero semanal */
.board{background:#fff; color:var(--ink); border-radius:18px; padding:1.4rem; box-shadow:0 24px 50px -20px rgba(0,0,0,.5)}
.board-head{display:flex; justify-content:space-between; align-items:baseline; gap:.5rem 1rem; flex-wrap:wrap}
.board-head h2{font-size:1.5rem; color:var(--navy)}
.board-head span{font-size:.9rem; color:var(--muted); font-weight:600}
.week{display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:4px; margin:1.1rem 0}
.day{min-width:0; border-radius:10px; background:var(--sky); padding:.6rem .2rem .55rem; text-align:center; min-height:84px; display:flex; flex-direction:column; justify-content:space-between; align-items:center; border:2px solid transparent}
.day b{font-size:.95rem; font-stretch:80%}
.day i{font-style:normal; font-size:.6rem; letter-spacing:-.02em; font-weight:700; color:var(--muted); line-height:1.15}
.day svg{width:20px; height:20px; color:var(--navy)}
.day.fly{background:var(--navy); color:#fff}.day.fly i,.day.fly svg{color:#fff}
.day.deliver{background:var(--red); color:#fff}.day.deliver i,.day.deliver svg{color:#fff}
.day.today{border-color:var(--sun); box-shadow:0 0 0 3px rgba(245,197,24,.45)}
.day.today::after{content:"Hoy"; font-size:.6rem; font-weight:800; background:var(--sun); color:var(--navy-2); border-radius:6px; padding:0 .3rem; margin-top:.15rem}
@media (max-width:480px){.board{padding:1.1rem .8rem}.week{gap:3px}.day{padding:.55rem .1rem}.day i{font-size:.56rem}}
.status{border-top:1px dashed var(--line); padding-top:1rem}
.status p{font-weight:650}
.status .sub{color:var(--muted); font-weight:500; font-size:.95rem; margin-top:.2rem}
.count{display:flex; gap:.5rem; margin-top:.9rem}
.count div{flex:1; background:var(--navy-2); color:#fff; border-radius:10px; text-align:center; padding:.5rem .2rem}
.count strong{display:block; font-size:1.9rem; font-stretch:70%; font-weight:850; line-height:1.05; font-variant-numeric:tabular-nums}
.count small{font-size:.72rem; color:#AFC2DE; font-weight:600}

/* Precios y calculadoras */
.pricing{display:grid; gap:1.5rem}
@media (min-width:900px){.pricing{grid-template-columns:minmax(0,1fr) minmax(0,1fr); align-items:start}}
.rates{display:grid; gap:1rem}
.rate{display:flex; justify-content:space-between; align-items:center; gap:1rem; padding:1.4rem; border-radius:16px; border:2px solid var(--navy); background:#fff}
.rate.main{background:var(--navy); color:#fff}
.rate h3{font-size:1.3rem}
.rate p{font-size:.95rem; margin-top:.25rem; opacity:.85}
.rate .amt{text-align:right; flex:none}
.rate .amt strong{display:block; font-size:2.7rem; font-stretch:70%; font-weight:900; line-height:1}
.rate.main .amt strong{color:var(--sun)}
.rate .amt small{font-weight:650; font-size:.85rem}
.calc{background:#fff; border:2px solid var(--line); border-radius:18px; padding:1.5rem; display:grid; gap:1.1rem}
.calc h3{color:var(--navy)}
.field{display:grid; gap:.4rem}
.field label,.field legend{font-weight:700; font-size:.98rem; padding:0}
fieldset{border:0; margin:0; padding:0}
.seg{display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.5rem}
.seg input{position:absolute; opacity:0; pointer-events:none}
.seg label{display:block; height:100%; padding:.8rem; border-radius:12px; background:var(--sky); border:2px solid var(--line); cursor:pointer; font-weight:650; font-size:.95rem; line-height:1.25}
.seg label small{display:block; font-weight:500; color:var(--muted)}
.seg input:checked + label{border-color:var(--navy); box-shadow:inset 0 0 0 1px var(--navy)}
.seg input:focus-visible + label{outline:3px solid var(--sun); outline-offset:2px}
.stepper{display:grid; grid-template-columns:54px 1fr 54px; gap:.5rem}
.stepper button{border:2px solid var(--navy); background:#fff; color:var(--navy); border-radius:12px; font-size:1.6rem; font-weight:700; cursor:pointer; font-family:inherit}
.input{width:100%; min-height:54px; font-size:1.1rem; font-family:inherit; border:2px solid var(--line); border-radius:12px; color:var(--ink); background:var(--sky); padding:0 .9rem}
.stepper .input{text-align:center; font-size:1.4rem; font-weight:800}
textarea.input{min-height:120px; padding:.8rem .9rem; resize:vertical}
select.input{appearance:auto}
.input:focus{outline:none; border-color:var(--navy)}
.total{display:flex; justify-content:space-between; align-items:baseline; gap:1rem; border-top:2px solid var(--navy); padding-top:1rem}
.total strong{font-size:2.5rem; font-stretch:70%; font-weight:900; color:var(--navy); line-height:1; font-variant-numeric:tabular-nums; text-align:right}
.rows{display:grid; gap:.45rem; font-size:1rem}
.rows div{display:flex; justify-content:space-between; gap:1rem}
.rows span:last-child{font-weight:700; text-align:right}

/* Opciones / tarjetas simples */
.cards{display:grid; gap:1rem}
@media (min-width:760px){.cards.c2{grid-template-columns:repeat(2,minmax(0,1fr))}.cards.c3{grid-template-columns:repeat(3,minmax(0,1fr))}.cards.c4{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:1040px){.cards.c4{grid-template-columns:repeat(4,minmax(0,1fr))}}
.card{padding:1.4rem; border-radius:16px; background:#fff; border:1px solid var(--line); display:flex; flex-direction:column; gap:.45rem}
.alt .card{border-color:transparent}
.card.top-navy{border-top:6px solid var(--navy)}
.card.top-red{border-top:6px solid var(--red)}
.card svg{width:34px; height:34px; color:var(--navy); margin-bottom:.3rem}
.card h3{color:var(--navy)}
.card p{color:var(--muted)}
.card .btn{margin-top:auto; align-self:flex-start}
.card .price{font-size:2rem; font-stretch:70%; font-weight:900; color:var(--red); line-height:1}
.notice{margin-top:1.5rem; padding:1rem 1.2rem; border-radius:12px; background:#FFF6D6; border-left:5px solid var(--sun); font-size:.98rem}
.rate-box{display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:1rem; padding:1.3rem 1.4rem; border-radius:16px; background:var(--navy); color:#fff}
.rate-box strong{font-size:2rem; font-stretch:72%; color:var(--sun); line-height:1}
.rate-box p{color:#C9D6EA}

/* Cobertura / mapa */
.where{display:grid; gap:1.5rem}
@media (min-width:900px){.where{grid-template-columns:minmax(0,1fr) minmax(0,1.2fr)}}
.prov{list-style:none; margin:0; padding:0; display:grid; gap:.7rem; align-content:start}
.prov li{display:flex; justify-content:space-between; align-items:center; gap:1rem; padding:1.1rem 1.2rem; border-radius:14px; background:#fff; border:1px solid var(--line); font-weight:700; font-size:1.1rem}
.prov li span{font-size:.92rem; font-weight:600; color:var(--muted)}
.prov li.base{background:var(--navy); color:#fff; border-color:var(--navy)}
.prov li.base span{color:var(--sun)}
.map{border-radius:16px; overflow:hidden; border:1px solid var(--line); background:#fff}
.map iframe{display:block; width:100%; height:320px; border:0}
.map div{padding:1.1rem 1.2rem; display:grid; gap:.3rem}
.map strong{color:var(--navy)}
.map p{color:var(--muted); font-size:.98rem}

/* Galería */
.gallery{display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.75rem}
@media (min-width:760px){.gallery{grid-template-columns:repeat(4,minmax(0,1fr))}}
.ph{aspect-ratio:4/5; border-radius:14px; background:repeating-linear-gradient(135deg,#DCE7F4 0 12px,#E6EEF8 12px 24px); display:grid; place-items:center; text-align:center; padding:1rem; color:var(--muted); font-size:.85rem; font-weight:600}
.gallery img{aspect-ratio:4/5; object-fit:cover; border-radius:14px; width:100%}

/* FAQ */
.faq{display:grid; gap:.7rem; max-width:800px}
details{border-radius:14px; background:#fff; border:1px solid var(--line)}
summary{list-style:none; cursor:pointer; padding:1.15rem 3rem 1.15rem 1.2rem; font-weight:750; position:relative}
summary::-webkit-details-marker{display:none}
summary::after{content:"+"; position:absolute; right:1.2rem; top:50%; transform:translateY(-50%); font-size:1.6rem; color:var(--red); font-weight:600}
details[open] summary::after{content:"–"}
details p{padding:0 1.2rem 1.2rem; color:var(--muted)}

/* Combos */
.combo-empty{padding:1.6rem; border-radius:18px; background:#fff; border:2px dashed var(--line); display:grid; gap:.8rem; justify-items:start}
.combo-empty h3{color:var(--navy)}
.combo-empty p{color:var(--muted)}
.combo ul{margin:.3rem 0 .6rem; padding-left:1.1rem; color:var(--muted)}

/* Contacto */
.contact-grid{display:grid; gap:1.5rem}
@media (min-width:900px){.contact-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr); align-items:start}}
.contact-list{display:grid; gap:.8rem}
.contact-list a,.contact-list div{display:flex; gap:1rem; align-items:center; padding:1.1rem 1.2rem; border-radius:14px; background:#fff; border:1px solid var(--line); text-decoration:none}
.contact-list svg{width:28px; height:28px; color:var(--navy); flex:none}
.contact-list b{display:block}
.contact-list small{color:var(--muted); font-size:.95rem}

/* Cierre */
.final{background:var(--red); color:#fff}
.final .wrap{display:grid; gap:1.6rem}
.final h2{max-width:17ch}
.final p{color:#FFE1E1; font-size:1.1rem; margin-top:.8rem}
.final .btn-ghost{color:#fff}
.final .btn-wa{background:#fff; color:var(--red-dark)}
.final .ctas{display:flex; flex-wrap:wrap; gap:.75rem}
@media (min-width:900px){.final .wrap{grid-template-columns:1.2fr 1fr; align-items:center}.final .ctas{justify-content:flex-end}}

/* Pie */
footer{background:var(--navy-2); color:#AFC2DE; padding:3rem 0 2rem; font-size:.95rem}
.foot{display:grid; gap:2rem}
@media (min-width:860px){.foot{grid-template-columns:1.3fr 1fr 1fr}}
.foot h4{color:#fff; margin:0 0 .8rem; font-size:1rem}
.foot ul{list-style:none; margin:0; padding:0; display:grid; gap:.45rem}
.foot a{color:#fff; text-decoration:none}
.foot a:hover{text-decoration:underline}
.foot .brand b{color:#fff}
.foot .brand small{color:#AFC2DE}
.copy{margin-top:2.5rem; padding-top:1.2rem; border-top:1px solid rgba(255,255,255,.12); font-size:.85rem}

.float-wa{position:fixed; right:16px; bottom:16px; z-index:30; width:60px; height:60px; border-radius:50%; background:var(--wa); color:#fff; display:grid; place-items:center; box-shadow:0 10px 25px -6px rgba(0,0,0,.4)}
.float-wa svg{width:32px; height:32px}

/* Ejemplo de remesa */
.example{padding:2.5rem 0; background:var(--paper); border-bottom:1px solid var(--line)}
.ex-label{font-weight:800; color:var(--red); margin-bottom:1rem}
.ex-row{display:grid; gap:.8rem; align-items:center}
@media (min-width:860px){.ex-row{grid-template-columns:1fr auto 1fr auto 1fr}}
.ex-box{border-radius:16px; padding:1.2rem 1.4rem; background:var(--sky); display:grid; gap:.15rem}
.ex-box small{color:var(--muted); font-weight:600; font-size:.92rem}
.ex-box strong{font-size:2.6rem; font-stretch:70%; font-weight:900; line-height:1.05; color:var(--navy)}
.ex-box.gold{background:var(--navy)}.ex-box.gold small{color:#C9D6EA}.ex-box.gold strong{color:var(--sun)}
.ex-box.red{background:var(--red)}.ex-box.red small{color:#FFE1E1}.ex-box.red strong{color:#fff}
.ex-arrow,.ex-or{justify-self:center; font-weight:900; font-size:1.6rem; color:var(--navy)}
.ex-or{font-size:1.1rem; color:var(--muted)}
@media (max-width:859px){.ex-arrow{transform:rotate(90deg)}}
.ex-note{margin-top:1rem}

/* Club VIP */
.vip{background:linear-gradient(135deg,var(--navy-2),var(--navy)); color:#fff}
.vip-grid{display:grid; gap:2rem}
@media (min-width:900px){.vip-grid{grid-template-columns:1.1fr 1fr; align-items:center}}
.vip .lead{color:#C9D6EA; margin-top:1rem}
.vip .lead strong{color:var(--sun)}
.vip-badge{display:inline-block; background:var(--sun); color:var(--navy-2); font-weight:800; padding:.3rem .8rem; border-radius:8px; margin-bottom:1rem}
.vip-card{background:rgba(255,255,255,.07)!important; border:1px solid rgba(255,255,255,.15)!important}
.vip-card h3{color:#fff!important}
.vip-card p{color:#C9D6EA!important}
.vip-card .price{color:var(--sun)}
@media (min-width:520px){.vip .cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
.vip-check{display:flex; gap:.6rem; align-items:center; padding:.8rem; border-radius:12px; background:#FFF6D6; font-weight:650; font-size:.95rem; cursor:pointer}
.vip-check input{width:20px; height:20px; accent-color:var(--navy)}
