:root{--ink:#132955;--blue:#073b99;--red:#b92134;--sky:#a5dcf3;--pale:#eaf7ff;--cream:#fff5c9;--line:#c9e0f0;--muted:#40536a;font:100%/1.55 "Segoe UI",system-ui,sans-serif;color:var(--ink)}
*,*::before,*::after{box-sizing:border-box}body,h1,h2,h3,p,figure{margin:0}img{display:block;max-width:100%;height:auto}button,input,select,textarea{font:inherit}a{color:inherit}button{cursor:pointer}:focus-visible{outline:3px solid #0073ce;outline-offset:3px}[hidden]{display:none!important}[id]{scroll-margin-top:6rem}.wrap{width:min(100% - 3rem,75rem);margin:auto}.section{padding-block:clamp(3rem,6vw,5.4rem)}.sr,.skip:not(:focus){clip-path:inset(50%);position:absolute;width:1px;height:1px;overflow:hidden;white-space:nowrap}.skip:focus{position:fixed;top:.5rem;left:.5rem;background:#fff;padding:1rem;z-index:5}
header{position:sticky;top:0;background:white;z-index:3;box-shadow:0 1px 0 #1026571b}.mast{min-height:4.6rem;display:flex;align-items:center;gap:clamp(1rem,3.5vw,2.7rem)}.mast img{width:clamp(6.2rem,15vw,9rem)}nav{margin-left:auto;display:flex;gap:2.4rem}nav a{font-weight:650;text-decoration:none}nav a:hover{text-decoration:underline}.btn{display:inline-flex;justify-content:center;align-items:center;min-height:2.8rem;border:2px solid transparent;border-radius:.72rem;padding:.56rem 1rem;background:var(--blue);color:white;font-weight:750;line-height:1.2;text-decoration:none;text-align:center}.btn:hover{filter:brightness(.92)}.btn.red{background:var(--red)}.btn.outline{background:transparent;border-color:var(--blue);color:var(--blue)}.btn.outline:hover{background:#e7f5ff}.btn.white{background:white;color:var(--blue)}.mast>.btn{font-size:.9rem}
.hero{background:var(--sky);overflow:hidden}.hero-grid{min-height:clamp(29rem,43vw,38rem);display:grid;grid-template-columns:.95fr 1.05fr;align-items:center;gap:clamp(1.5rem,4.8vw,5rem);padding-block:clamp(2.6rem,5.7vw,5rem)}.hero figure{position:relative;isolation:isolate;margin:.8rem 1rem}.hero figure::before{content:"";position:absolute;inset:-18%;z-index:-1;background:radial-gradient(#f1fbff 2px,transparent 2.5px) 0 0/19px 19px;mask-image:radial-gradient(ellipse,#000 32%,transparent 70%)}.hero figure img{width:100%;border:clamp(.4rem,1vw,.85rem) solid var(--cream);border-radius:2.6rem 1.5rem 2.6rem 1.5rem;transform:rotate(-3deg);box-shadow:.45rem .85rem #1c74aa55,0 1.2rem 2rem #35637e24}.spark{position:absolute;z-index:1;right:4%;top:-17%;color:#cf2737;font-size:clamp(2rem,5vw,4.8rem);line-height:1}.spark.yellow{left:-6%;right:auto;top:auto;bottom:-12%;color:#ffe62a;-webkit-text-stroke:1px #927d24}
.year{display:inline-block;background:var(--cream);padding:.28rem .75rem;border-radius:.4rem;font-weight:750;margin-bottom:1rem}.copy>p:last-of-type{color:#213e57;font-size:1.12rem;max-width:35rem;margin-top:1.15rem}h1,h2,h3{line-height:1.05;text-wrap:balance}h1{font-size:clamp(2.7rem,5.4vw,5rem);letter-spacing:-.064em;font-weight:850}h1 em{font-style:normal;color:var(--blue)}h2{font-size:clamp(2rem,4vw,3.4rem);letter-spacing:-.055em;font-weight:820}h3{font-size:1.45rem;letter-spacing:-.035em}.actions{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:1.5rem}.benefits,.quote{background:var(--blue);color:white}.benefits ul{list-style:none;display:flex;flex-wrap:wrap;justify-content:space-between;gap:.45rem 1.2rem;padding:.83rem 0;font-weight:650}.benefits li::before{content:"✓";color:#ffe62a;margin-right:.45rem}
.intro,.note{color:var(--muted);margin:.65rem 0 1.15rem}.note{font-size:.88rem;margin:1rem 0 .3rem}.filters,.chips{display:flex;flex-wrap:wrap;gap:.45rem;margin-bottom:1.2rem}.filters button,.chip{background:var(--pale);color:var(--ink);border:1px solid var(--line);border-radius:10rem;padding:.45rem .85rem;min-height:2.65rem;font-weight:650}.filters button[aria-pressed=true]{background:var(--blue);color:white;border-color:var(--blue)}.catalog,.extras-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.95rem}.card,.extra{background:white;border:1px solid var(--line);border-radius:1rem;overflow:hidden}.card{box-shadow:0 .28rem 1rem #173b7b12}.card>img{width:100%;aspect-ratio:1.6;object-fit:contain;background:var(--pale);padding:.5rem}.card-content,.extra{padding:1rem}.count,.type{color:var(--blue);font-weight:700;font-size:.87rem;margin-bottom:.33rem}.price{font-size:1.3rem;font-weight:800;margin:.42rem 0 .58rem}.price small{font-size:.83rem;font-weight:500;color:var(--muted)}.card .btn,.card .link{width:100%}.link{border:0;background:none;color:var(--blue);font-weight:700;text-decoration:underline;text-underline-offset:.23rem;min-height:2.7rem;padding:.3rem 0}.link:hover{color:var(--red)}.extras{background:var(--pale)}.extras-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.extra{display:flex;align-items:center;gap:.85rem}.extra img{width:6rem;height:5rem;object-fit:contain}.extra h3{font-size:1.2rem;text-wrap:wrap}
.quote-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:clamp(1.4rem,5vw,5rem)}.quote-grid>div p{color:#e1f2ff;margin:1rem 0 1.2rem}.quote-grid>div :focus-visible{outline-color:#ffe62a}form{color:var(--ink);background:white;border-radius:1rem;padding:clamp(1rem,3vw,1.9rem);min-width:0}.demo{background:var(--cream);padding:.6rem .75rem;border-radius:.5rem;margin-bottom:1rem;font-size:.88rem}.fields,.checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem}.fields label,form>label{display:block;font-size:.92rem;font-weight:650}input:not([type=checkbox]),select,textarea{display:block;width:100%;min-width:0;border:1px solid #809ab5;border-radius:.5rem;padding:.48rem .6rem;min-height:2.7rem;margin-top:.25rem;background:#fff;color:var(--ink);font-size:1rem}textarea{resize:vertical}fieldset,form details{border:1px solid var(--line);border-radius:.6rem;margin:.9rem 0;padding:.6rem .75rem;min-width:0}legend,summary{font-weight:750}summary{cursor:pointer}.checks{margin-top:.45rem}.checks label{font-size:.91rem}.checks input{accent-color:var(--blue)}.picker{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.45rem}.picker select{margin-top:0}.chips{margin:0}.chips:not(:empty){margin-bottom:.5rem}.chip{font-size:.85rem}.status{background:#e7f4ff;border-radius:.5rem;margin-top:.8rem;padding:.65rem}.status[data-error]{background:#fff0f0;color:#8c1a28}form>.btn{margin-top:.45rem}footer{display:flex;align-items:center;justify-content:space-between;gap:.8rem 1.5rem;flex-wrap:wrap;padding-block:1.5rem;color:var(--muted);font-size:.91rem}footer img{width:10rem}
dialog{width:min(44rem,100% - 1.4rem);max-height:88dvh;border:0;border-radius:1rem;padding:clamp(1rem,3vw,1.9rem);color:var(--ink)}dialog::backdrop{background:#0d1e42b5}body:has(dialog[open]){overflow:hidden}.close{position:sticky;top:0;float:right;border:1px solid var(--line);border-radius:50%;background:white;color:var(--blue);height:2.65rem;width:2.65rem;font-size:1.5rem;z-index:1}.detail-top{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:center;gap:1rem;margin-bottom:1.1rem}.detail-top p,.detail-top .btn{margin-top:.4rem}.detail-items{columns:2;padding-left:1.2rem;margin:.65rem 0}.detail-items li{break-inside:avoid;margin-bottom:.3rem}
@media(max-width:58rem){.catalog,.extras-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:43rem){.wrap{width:min(100% - 1.65rem,75rem)}.mast{justify-content:space-between;min-height:4rem}nav{display:none}.hero-grid,.quote-grid{grid-template-columns:1fr}.hero-grid{gap:1.05rem;padding-block:1.35rem 2rem}.hero figure{grid-row:1;margin:.55rem auto;width:min(100% - 1.6rem,32rem)}.hero figure img{transform:none;border-radius:1.55rem .8rem 1.55rem .8rem}.spark{top:-10%}.spark.yellow{left:-4%;bottom:-9%}.year{margin-bottom:.65rem}.copy>p:last-of-type{margin-top:.65rem;font-size:1rem}.actions{margin-top:1rem}.benefits ul{justify-content:start;font-size:.88rem}.catalog{gap:.55rem}.card-content{padding:.72rem}.price small{display:block}.card .btn{padding:.45rem .2rem}.extras-grid{grid-template-columns:1fr}}
@media(max-width:26rem){.fields,.detail-top{grid-template-columns:1fr}.detail-items{columns:1}.picker .btn{padding-inline:.5rem}}

/* Ver Contenido 2. La versión anterior conserva sus reglas base. */
dialog.detail-expanded {
  width: min(85rem, 100% - 1.5rem);
  max-height: calc(100dvh - 1rem);
  padding: 0;
  box-shadow: 0 1.25rem 4rem #0d1e4245;
  overscroll-behavior: contain;
}
.detail-expanded .close {
  top: .7rem;
  margin: .7rem .8rem -3.35rem 0;
}
.detail-expanded .detail-hero {
  display: grid;
  place-items: center;
  height: clamp(10rem, 36dvh, 25rem);
  padding: .65rem 3.65rem .6rem;
  background: #fff;
}
.detail-expanded .detail-hero img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}
.detail-expanded .detail-summary {
  display: grid;
  grid-template-columns: 1fr minmax(0, auto) auto;
  align-items: center;
  gap: .7rem clamp(.8rem, 2.5vw, 2rem);
  padding: .75rem clamp(.95rem, 2.5vw, 2rem);
  background: var(--pale);
  border-block: 1px solid var(--line);
}
.detail-expanded .detail-summary h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.8rem);
}
.detail-expanded .detail-summary .count {
  margin: 0 0 .25rem;
}
.detail-expanded .detail-summary > p {
  font-weight: 700;
}
.detail-expanded .detail-description {
  padding: .85rem clamp(.95rem, 2.5vw, 2rem) 1rem;
}
.detail-expanded .detail-items {
  columns: 3;
  column-gap: clamp(1.3rem, 3vw, 2.75rem);
  font-size: .96rem;
  line-height: 1.36;
  margin: .65rem 0 0;
}
.detail-expanded .detail-items li {
  margin-bottom: .26rem;
}
.detail-expanded .note {
  margin: .65rem 0 0;
}
@media (max-width: 46rem) {
  .detail-expanded .detail-summary { grid-template-columns: 1fr auto; }
  .detail-expanded .detail-summary > p { grid-column: 1; grid-row: 2; }
  .detail-expanded .detail-summary .btn { grid-column: 2; grid-row: 1 / span 2; }
  .detail-expanded .detail-items { columns: 2; }
}
@media (max-width: 31rem) {
  dialog.detail-expanded { width: calc(100% - .8rem); }
  .detail-expanded .detail-hero { height: clamp(9.5rem, 30dvh, 13.5rem); padding-inline: .8rem; }
  .detail-expanded .detail-summary { grid-template-columns: 1fr; }
  .detail-expanded .detail-summary > p, .detail-expanded .detail-summary .btn { grid-column: auto; grid-row: auto; }
  .detail-expanded .detail-summary .btn { justify-self: start; }
  .detail-expanded .detail-items { columns: 1; }
}

@media (min-width: 46.01rem) {
  .detail-expanded #detalle-contenido {
    display: flex;
    flex-direction: column;
    max-height: calc(100dvh - 1rem);
  }
  .detail-expanded .detail-hero {
    height: clamp(10rem, 44dvh, 29rem);
    min-height: 10rem;
    flex-shrink: 1;
  }
  .detail-expanded .detail-summary,
  .detail-expanded .detail-description {
    flex-shrink: 0;
  }
}
