/* Aperturas con cámara fija. La página comercial sigue en el flujo normal. */
.opening {position:relative;isolation:isolate;overflow:hidden;min-height:100vh;min-height:100svh;display:grid;align-content:center;background:#08131b;color:#f5f8fb;padding:6rem max(6vw,1.4rem)}
.direct-entry .opening {display:none}
.opening-art,.light-art {position:absolute;inset:0;z-index:-1;pointer-events:none}
.opening-art {left:42%;background:url(trazos.svg) center/cover no-repeat;mask-image:linear-gradient(90deg,transparent,#000 23%);animation:ink-in 2.1s ease-out both}
.opening-brand {position:absolute;top:5.4%;left:max(6vw,1.4rem)}
.opening-brand img {width:clamp(6rem,9vw,8rem);height:auto}
.opening-copy {position:relative;max-width:min(45rem,54%);text-wrap:balance}
.opening-copy p,.sp-kicker {font:650 .78rem/1.65 var(--font-mono);color:#b9d9e6;letter-spacing:.065em;margin:0 0 1.5rem}
.opening-copy img {width:clamp(12rem,24vw,22rem);height:auto;margin-bottom:2rem}
.opening-copy .opening-line {font-family:var(--font-sans);color:inherit;font-size:clamp(2.4rem,4.8vw,5rem);line-height:1.03;font-weight:540;letter-spacing:-.055em;margin:0}
.opening-next {position:absolute;bottom:max(1.3rem,6%);right:max(1.4rem,6vw);width:48px;height:48px;display:grid;place-items:center;font-size:1.45rem;border:1px solid #687b85;border-radius:50%;text-decoration:none;background:#0d1c25}
.luz {text-align:center;background:radial-gradient(ellipse at 50% 75%,#203945 0%,#0b181f 40%,#050c11 80%)}
.luz .opening-art,.opening:not(.luz) .light-art {display:none}
.luz .opening-copy {max-width:53rem;margin:auto}
.luz .opening-copy img {margin-inline:auto}
.light-art {inset:auto -5% 17%;height:19%;border-bottom:1px solid #87a8b7;background:radial-gradient(ellipse at 50% 105%,#e2e9dd 0%,#a5bab9 2%,#638594 6%,#395962 13%,transparent 45%);mask-image:linear-gradient(90deg,transparent,#000 24%,#000 76%,transparent);transform-origin:center bottom;animation:apertura 2.1s cubic-bezier(.18,.7,.2,1) both}
@keyframes ink-in {from{opacity:.25;clip-path:inset(0 0 65% 0)}to{opacity:1;clip-path:inset(0)}}
@keyframes apertura {from{transform:scale(.1,.15);opacity:.15}to{transform:scale(1);opacity:1}}
.site-header {position:sticky;background:#07131d}
#contenido,.sp-section[id] {scroll-margin-top:5.6rem}
#contenido:focus {outline:none}
.sp-section,.sp-hero {padding-block:clamp(3.6rem,7.2vw,7.25rem)}
.sp-hero,.paper {background:#f3f4ef;color:#122831}
.two {display:grid;grid-template-columns:minmax(0,.94fr) minmax(0,1fr);gap:clamp(2.2rem,7vw,7rem);align-items:start}
.sp-hero .two {align-items:center}
.sp-hero h1,.sp-section h2,.hero-note h2 {font-weight:580;letter-spacing:-.055em;text-wrap:balance;line-height:1.025;margin:0}
.sp-hero h1 {max-width:17ch;font-size:clamp(2.65rem,5.4vw,5.2rem)}
.sp-section h2,.hero-note h2 {font-size:clamp(2.2rem,3.8vw,3.8rem)}
.sp-hero .sp-kicker,.paper .sp-kicker {color:#34596b}
.lead,.sp-section .two>div>p:not(.sp-kicker) {font-size:clamp(1rem,1.5vw,1.18rem);line-height:1.55;max-width:57ch}
.sp-links,.answer {display:flex;gap:1.1rem;align-items:flex-start;flex-wrap:wrap}
.sp-links {align-items:center;margin-top:1.6rem}
.sp-primary {min-height:46px;background:#bce7f1;color:#0b202b;border:1px solid transparent;padding:.78rem 1.15rem;display:inline-flex;align-items:center;justify-content:space-between;gap:.8rem;font-weight:700;text-decoration:none;cursor:pointer}
.sp-hero .sp-primary {background:#123745;color:white}
.sp-primary:hover {filter:brightness(.93)}
.hero-note {border-inline-start:1px solid #9bb4bc;padding:2rem 0 2rem clamp(1.3rem,4vw,4rem)}
.hero-note p {font-size:clamp(1.4rem,2.4vw,2.2rem);line-height:1.22;max-width:20ch;margin:1rem 0 2rem;color:#385763}
.selector,.contact-zone {background:#0d202a}
#choices {display:flex;flex-wrap:wrap;gap:.55rem;margin-top:1.5rem}
#choices button {padding:.6rem .95rem;min-height:44px;border-radius:3px;border:1px solid #6b8995;background:transparent;color:white;cursor:pointer;font-size:.92rem}
#choices button:hover,#choices button[aria-pressed=true] {background:#d7ebef;color:#102a35}
.answer {border-top:2px solid #a9d4da;padding-block:1.4rem;flex-direction:column}
.answer .sp-kicker,.answer h3,.scope dd,.steps,.scope,.sp-fields label,.lead-form h3,.lead-form>p {margin:0}
.answer h3,.lead-form h3 {font-size:clamp(1.5rem,2.3vw,2.25rem);line-height:1.2;letter-spacing:-.035em}
.answer p:not(.sp-kicker){color:#d5e3e7;max-width:50ch}
.scope dt,.scope li,.steps li,.faq details {border-top:1px solid #a1b5bc;padding-top:1rem}
.scope dt,.scope strong,.steps strong {font-weight:700;font-size:1.15rem}
.scope dd {padding:.3rem 0 1.2rem}
.scope dd a {display:inline-block;margin-top:.5rem}
#desarrollo {background:#e6eef0}
#desarrollo .lead {margin-top:0}
#desarrollo .sp-links {align-items:flex-start;flex-direction:column;gap:.65rem}
.example,.faq {background:#182e39}
.steps,.ordered {list-style:decimal-leading-zero;padding-left:2.4rem}
.steps li,.ordered li {padding:.85rem 0 .95rem .6rem}
.steps strong,.steps span {display:block}
.faq summary {cursor:pointer;padding:0 0 1rem;font-weight:650}
.faq details p {margin:0 0 1.2rem;color:#d8e7ed}
.sp-fields {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
.sp-fields label {display:flex;flex-direction:column;gap:.35rem;font-size:.87rem}
.sp-fields input,.sp-fields select,.sp-fields textarea {min-width:0;width:100%;background:#102633;border:1px solid #69828d;color:#f2f7f9;min-height:45px;padding:.55rem;font-size:1rem}
.sp-fields .wide {grid-column:1/-1}
.sp-fields textarea {resize:vertical}
.sp-fields small {display:contents}
.sp-privacy {font-size:.88rem}
.cookie-banner {max-width:calc(100% - 6rem)}
@media(max-width:820px){
  .two {grid-template-columns:1fr;gap:2rem}
  #contenido,.sp-section[id]{scroll-margin-top:4.8rem}
  .hero-note {padding-block:.6rem}
  .opening-copy {max-width:29rem}
  .opening:not(.luz){align-content:start;padding-top:max(20svh,6rem)}
  .opening-art {inset:40% -12% 0 0;mask-image:linear-gradient(180deg,transparent,#000 32%)}
  .opening-copy .opening-line {font-size:clamp(2.35rem,7.4vw,3.7rem)}
  .opening-copy p {max-width:34ch}
  .luz .opening-copy p {margin-inline:auto}
  .opening-copy img {margin-bottom:1rem}
  .light-art {bottom:20%}
}
@media(max-width:520px){
  .sp-fields {grid-template-columns:minmax(0,1fr)}
  .sp-hero,.sp-section {padding-block:3.1rem}
  .opening-next {right:.8rem;bottom:1.3rem}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.opening-art,.light-art{animation:none}}

@media(max-width:520px) {
  .sp-hero {padding-block:1.65rem 2.4rem}
  .sp-hero .sp-kicker {margin-bottom:.65rem}
  .sp-hero h1 {font-size:clamp(2rem,9vw,2.65rem)}
  .sp-hero .lead {margin:.8rem 0}
  .sp-hero .sp-links {margin-top:.85rem;gap:.55rem 1rem}
}

@media(max-width:520px) and (max-height:640px) {
  .sp-hero {padding-top:.75rem}
  .sp-hero .sp-links > a {min-height:44px;display:inline-flex;align-items:center}
}

.opening-copy .opening-summary {
  max-width:49ch;margin:1rem 0 1.25rem;color:#d4e3ea;
  font:400 clamp(1rem,1.35vw,1.17rem)/1.5 var(--font-sans);letter-spacing:normal;
}
.luz .opening-summary {margin-inline:auto}
.opening-copy .sp-primary {background:#ddf3f7;color:#0b2530}
@media(max-width:820px) {
  .opening-copy .opening-line {max-width:17ch}
  .opening-copy .opening-summary {max-width:38ch}
}
@media(max-width:520px) and (max-height:720px) {
  .opening-brand {top:1rem}
  .opening:not(.luz) {padding-top:4.5rem}
  .opening-copy img {width:9.5rem;margin-bottom:.7rem}
  .opening-copy .opening-line {font-size:clamp(1.85rem,7.3vw,2.3rem)}
  .opening-copy .opening-summary {margin:.65rem 0 .85rem;line-height:1.4}
}

/* Oficinas institucionales en la grilla del pie de Tango. */
.soporte-oficinas {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2rem;margin-top:2.5rem;padding-top:1.8rem;border-top:1px solid var(--line-dark)}
.soporte-oficinas a {display:inline-block;color:#c7d5e0;font-size:.88rem;text-decoration:none}
.soporte-oficinas address {font-style:normal}
.soporte-oficinas a span {display:inline-block;margin-top:.45rem;color:#a5d8f3;text-decoration:underline;text-underline-offset:.22em}
.site-footer .footer-title {color:#96adc0}
body:has(.cookie-banner.show) .site-footer {padding-bottom:6rem}
@media(max-width:680px) {
  .soporte-oficinas {grid-template-columns:1fr;gap:1.4rem}
  body:has(.cookie-banner.show) .site-footer {padding-bottom:11rem}
}
