:root {
  --ink: #07111f;
  --ink-2: #0d1b2b;
  --panel: #13263a;
  --ice: #e8f0f4;
  --paper: #f4f7f8;
  --muted: #91a2b0;
  --cyan: #83d9f8;
  --copper: #ff8e67;
  --line: rgba(215, 232, 240, 0.16);
  --container: min(1180px, calc(100vw - 48px));
  --display: Bahnschrift, "Arial Narrow", "Segoe UI", sans-serif;
  --body: "Segoe UI", Inter, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--ice); font-family: var(--body); line-height: 1.5; overflow-x: hidden; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
::selection { background: var(--copper); color: var(--ink); }

.skip-link { position: fixed; left: 20px; top: -80px; z-index: 100; background: white; color: var(--ink); padding: 12px 18px; }
.skip-link:focus { top: 20px; }
.container { width: var(--container); margin-inline: auto; position: relative; z-index: 2; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: 82px; padding-inline: max(24px, calc((100vw - 1180px) / 2)); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid rgba(255,255,255,.12); transition: background .35s, height .35s; }
.site-header.scrolled { height: 68px; background: rgba(7,17,31,.88); backdrop-filter: blur(18px); }
.brand { display: inline-flex; align-items: center; gap: 7px; width: max-content; font: 700 25px/1 var(--display); letter-spacing: .08em; }
.brand svg { width: 30px; height: 30px; fill: currentColor; }
.brand .brand-signal { fill: var(--copper); }
.desktop-nav { display: flex; align-items: center; gap: 34px; font-size: 13px; font-weight: 600; }
.desktop-nav a { color: rgba(232,240,244,.72); transition: color .2s; }
.desktop-nav a:hover { color: white; }
.header-cta { justify-self: end; color: var(--ice); border: 1px solid rgba(255,255,255,.35); background: rgba(7,17,31,.2); padding: 10px 17px; cursor: pointer; font-size: 13px; font-weight: 650; transition: background .2s, color .2s; }
.header-cta:hover { color: var(--ink); background: var(--ice); }
.menu-toggle, .mobile-menu { display: none; }

.hero { position: relative; min-height: 760px; height: 100svh; max-height: 980px; display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.hero-media, .feature-media, .cta-media { position: absolute; inset: 0; background-repeat: no-repeat; background-size: cover; background-position: center; z-index: -3; }
.hero-media { background-image: url("assets/hero-infraestructura.png"); transform: scale(1.03); animation: ambient-drift 16s ease-in-out infinite alternate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(5,14,25,.98) 0%, rgba(5,14,25,.88) 34%, rgba(5,14,25,.28) 67%, rgba(5,14,25,.18)), linear-gradient(0deg, rgba(5,14,25,.6), transparent 50%); }
.hero-glow { position: absolute; right: 26%; top: 32%; width: 420px; height: 220px; background: rgba(90,196,242,.16); filter: blur(80px); z-index: -1; animation: breathe 6s ease-in-out infinite; }
.signal-dust i { position: absolute; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 14px var(--cyan); animation: float-dot 8s ease-in-out infinite; }
.signal-dust i:nth-child(1) { width: 3px; height: 3px; left: 57%; top: 28%; }
.signal-dust i:nth-child(2) { width: 5px; height: 5px; left: 70%; top: 42%; animation-delay: -2s; }
.signal-dust i:nth-child(3) { width: 3px; height: 3px; left: 78%; top: 23%; animation-delay: -4s; }
.signal-dust i:nth-child(4) { width: 4px; height: 4px; left: 61%; top: 61%; animation-delay: -6s; background: var(--copper); box-shadow: 0 0 14px var(--copper); }
.hero-layout { display: grid; grid-template-columns: minmax(0, 1fr) 250px; align-items: end; gap: 60px; padding-top: 60px; }
.hero-copy { max-width: 760px; }
.eyebrow { margin: 0 0 25px; display: flex; align-items: center; gap: 11px; color: rgba(232,240,244,.7); text-transform: uppercase; letter-spacing: .16em; font: 650 11px/1.2 var(--body); }
.eyebrow > span { width: 24px; height: 1px; background: var(--copper); box-shadow: 10px 0 0 -4px var(--copper); }
.eyebrow.dark { color: #607483; }
h1, h2, h3, p { text-wrap: pretty; }
h1 { margin: 0; max-width: 760px; font: 600 clamp(60px, 7vw, 112px)/.9 var(--display); letter-spacing: -.055em; text-transform: uppercase; }
h1 em { color: transparent; -webkit-text-stroke: 1px rgba(232,240,244,.7); font-style: normal; }
.hero-lead { margin: 30px 0 0; max-width: 590px; color: rgba(232,240,244,.72); font-size: clamp(17px, 1.4vw, 21px); line-height: 1.55; }
.hero-actions { margin-top: 34px; display: flex; align-items: center; gap: 28px; }
.button { min-height: 50px; border: 0; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; gap: 20px; cursor: pointer; font-weight: 700; font-size: 14px; transition: transform .25s, background .25s, color .25s, border-color .25s; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, a:focus-visible, .menu-toggle:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--copper); outline-offset: 4px; }
.button-primary { background: var(--copper); color: #101a26; }
.button-primary:hover { background: #ffa17f; }
.button svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.text-link { font-size: 14px; font-weight: 650; border-bottom: 1px solid rgba(255,255,255,.35); padding-block: 8px; }
.text-link span { margin-left: 8px; color: var(--cyan); }
.hero-proof { align-self: end; border-left: 1px solid rgba(255,255,255,.24); padding: 0 0 8px 24px; margin-bottom: 13px; }
.proof-number { margin: 0 0 8px; font: 300 19px/1 var(--display); color: var(--cyan); }
.proof-number span { font-size: 52px; letter-spacing: -.05em; }
.hero-proof > p:last-child { color: rgba(232,240,244,.6); font-size: 13px; line-height: 1.55; margin: 0; }
.hero-status { position: absolute; bottom: 0; left: 0; right: 0; height: 52px; padding-inline: max(24px, calc((100vw - 1180px) / 2)); display: flex; align-items: center; gap: 10px; border-top: 1px solid rgba(255,255,255,.12); font-size: 11px; text-transform: uppercase; letter-spacing: .13em; color: rgba(232,240,244,.55); }
.status-dot { width: 7px; height: 7px; background: #6ed8a1; border-radius: 50%; box-shadow: 0 0 0 4px rgba(110,216,161,.12); }
.status-place { margin-left: auto; }

.intro { background: var(--paper); color: var(--ink); padding: 130px 0 120px; }
.section-heading { display: grid; grid-template-columns: 1.5fr 1fr; gap: 70px; align-items: end; margin-bottom: 76px; }
.section-heading .eyebrow { grid-column: 1 / -1; margin-bottom: -32px; }
.section-heading h2, .method h2 { margin: 0; font: 620 clamp(44px, 5vw, 76px)/.98 var(--display); letter-spacing: -.045em; text-transform: uppercase; }
.section-heading > p:last-child, .method-heading > p:last-child { margin: 0; color: #5d7180; max-width: 460px; font-size: 17px; line-height: 1.7; }
.service-rail { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid #cdd8de; }
.service-card { position: relative; min-height: 430px; padding: 35px 36px 32px; border-right: 1px solid #cdd8de; display: flex; flex-direction: column; transition: background .3s, color .3s; overflow: hidden; }
.service-card:last-child { border-right: 0; }
.service-card::after { content: ""; position: absolute; inset: auto 0 0; height: 3px; background: var(--copper); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.service-card:hover { background: var(--ink-2); color: var(--ice); }
.service-card:hover::after { transform: scaleX(1); }
.service-index { color: #8396a3; font: 600 11px/1 var(--body); letter-spacing: .13em; }
.service-icon { width: 52px; height: 52px; margin: 38px 0 30px; fill: none; stroke: currentColor; stroke-width: 1.1; }
.service-card h3 { margin: 0; font: 600 31px/1.05 var(--display); letter-spacing: -.025em; text-transform: uppercase; }
.service-card p { color: #667884; font-size: 14px; line-height: 1.65; margin: 23px 0; transition: color .3s; }
.service-card:hover p { color: #9cabb5; }
.service-card a { margin-top: auto; width: max-content; font-size: 13px; font-weight: 700; border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.service-card a span { margin-left: 8px; color: var(--copper); }

.feature { position: relative; min-height: 780px; display: flex; align-items: center; isolation: isolate; overflow: hidden; border-top: 1px solid rgba(255,255,255,.1); }
.feature-media { transform: scale(1.01); transition: transform 1.2s ease; }
.feature:hover .feature-media { transform: scale(1.035); }
.feature-media-system { background-image: url("assets/hero-infraestructura.png"); }
.feature-media-wifi { background-image: url("assets/wifi-empresarial.png"); }
.feature-media-security { background-image: url("assets/videovigilancia.png"); }
.feature-shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(6,15,26,.96) 0%, rgba(6,15,26,.77) 42%, rgba(6,15,26,.1) 72%); }
.feature-shade.shade-right { background: linear-gradient(270deg, rgba(6,15,26,.97) 0%, rgba(6,15,26,.82) 42%, rgba(6,15,26,.16) 70%); }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: end; }
.feature-grid-right .feature-copy { grid-column: 2; margin-left: auto; }
.feature-copy { max-width: 570px; }
.feature-copy h2 { margin: 0; font: 620 clamp(42px, 4.6vw, 70px)/.98 var(--display); letter-spacing: -.045em; text-transform: uppercase; }
.feature-copy > p:not(.eyebrow) { color: rgba(232,240,244,.68); font-size: 17px; line-height: 1.7; max-width: 530px; margin: 28px 0; }
.check-list { list-style: none; padding: 0; margin: 35px 0 0; border-top: 1px solid rgba(255,255,255,.18); }
.check-list li { border-bottom: 1px solid rgba(255,255,255,.18); padding: 14px 0; color: rgba(232,240,244,.82); font-size: 14px; }
.check-list span { color: var(--cyan); margin-right: 12px; }
.availability { position: absolute; right: 0; bottom: -130px; width: 330px; display: flex; align-items: center; gap: 17px; padding: 18px 20px; border: 1px solid rgba(255,255,255,.2); background: rgba(7,17,31,.58); backdrop-filter: blur(12px); }
.availability strong, .availability small { display: block; }
.availability strong { font-size: 13px; }
.availability small { color: #9aacb7; margin-top: 3px; }
.pulse-ring { width: 31px; height: 31px; border: 1px solid rgba(131,217,248,.55); border-radius: 50%; display: grid; place-items: center; }
.pulse-ring i { width: 7px; height: 7px; background: var(--cyan); border-radius: 50%; animation: status-pulse 2s infinite; }
.mini-metrics { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(255,255,255,.2); margin-top: 40px; }
.mini-metrics div { padding: 22px 20px 0 0; }
.mini-metrics div + div { padding-left: 25px; border-left: 1px solid rgba(255,255,255,.2); }
.mini-metrics strong, .mini-metrics span { display: block; }
.mini-metrics strong { font: 400 36px/1 var(--display); color: var(--cyan); }
.mini-metrics span { font-size: 12px; color: #a4b3bd; margin-top: 7px; }
.button-ghost { color: white; border: 1px solid rgba(255,255,255,.5); background: transparent; margin-top: 10px; }
.button-ghost:hover { background: white; color: var(--ink); }

.method { padding: 130px 0; background: var(--paper); color: var(--ink); }
.method-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 110px; }
.method-heading { position: sticky; top: 120px; align-self: start; }
.method-heading > p:last-child { margin-top: 26px; }
.steps { list-style: none; padding: 0; margin: 0; border-top: 1px solid #cbd7dd; }
.steps li { min-height: 190px; display: grid; grid-template-columns: 80px 1fr; gap: 20px; padding: 34px 0; border-bottom: 1px solid #cbd7dd; align-items: start; }
.step-number { color: var(--copper); font: 600 11px/1 var(--body); letter-spacing: .12em; padding-top: 8px; }
.steps h3 { font: 600 30px/1.1 var(--display); text-transform: uppercase; margin: 0 0 15px; }
.steps p { color: #617583; max-width: 450px; margin: 0; line-height: 1.65; }

.experience { padding: 130px 0 0; background: #102034; }
.experience-top { max-width: 900px; }
.experience-top h2 { font: 600 clamp(46px, 5.5vw, 82px)/.97 var(--display); text-transform: uppercase; letter-spacing: -.045em; margin: 0; }
.stats { display: grid; grid-template-columns: .75fr .75fr .75fr 1.4fr; margin-top: 90px; border-top: 1px solid var(--line); }
.stats > div, .stats blockquote { min-height: 220px; margin: 0; padding: 35px 25px; border-right: 1px solid var(--line); }
.stats strong, .stats span { display: block; }
.stats strong { color: var(--cyan); font: 350 54px/1 var(--display); letter-spacing: -.04em; }
.stats span { color: #91a3b0; font-size: 12px; margin-top: 12px; }
.stats blockquote { padding-left: 42px; border-right: 0; }
.stats blockquote p { margin: 0; font: 400 24px/1.35 var(--display); }
.stats cite { display: block; color: var(--copper); font-size: 11px; font-style: normal; text-transform: uppercase; letter-spacing: .12em; margin-top: 25px; }

.final-cta { position: relative; min-height: 720px; display: grid; place-items: center; overflow: hidden; isolation: isolate; text-align: center; }
.cta-media { background-image: url("assets/cta-sistemas.png"); transform: scale(1.03); animation: ambient-drift 18s ease-in-out infinite alternate-reverse; }
.final-cta::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(rgba(7,17,31,.52), rgba(7,17,31,.8)), radial-gradient(circle at center, transparent, rgba(7,17,31,.5)); }
.cta-orbit { position: absolute; width: 420px; height: 420px; border: 1px solid rgba(131,217,248,.16); border-radius: 50%; animation: spin 24s linear infinite; }
.cta-orbit::after { content: ""; width: 8px; height: 8px; position: absolute; left: 28px; top: 76px; border-radius: 50%; background: var(--copper); box-shadow: 0 0 20px var(--copper); }
.cta-content { max-width: 850px; display: flex; flex-direction: column; align-items: center; }
.cta-content h2 { margin: 0; font: 620 clamp(46px, 5.5vw, 82px)/.96 var(--display); letter-spacing: -.05em; text-transform: uppercase; }
.cta-content > p:not(.eyebrow) { color: rgba(232,240,244,.7); max-width: 610px; font-size: 17px; line-height: 1.7; margin: 27px 0 32px; }

.site-footer { background: #050d17; padding: 70px 0 22px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.brand-footer { margin-bottom: 18px; }
.footer-grid > div:first-child > p { color: #8295a2; max-width: 300px; font-size: 14px; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.footer-links div { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.footer-links span { color: #637783; text-transform: uppercase; letter-spacing: .14em; font-size: 10px; margin-bottom: 8px; }
.footer-links a, .footer-links button { color: #c6d1d7; background: none; border: 0; padding: 0; cursor: pointer; font-size: 13px; }
.footer-links a:hover, .footer-links button:hover { color: white; }
.footer-bottom { margin-top: 70px; border-top: 1px solid var(--line); padding-top: 20px; display: flex; justify-content: space-between; color: #637783; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }

.contact-dialog { width: min(680px, calc(100vw - 32px)); max-height: calc(100vh - 32px); border: 0; padding: 52px; color: var(--ink); background: var(--paper); box-shadow: 0 30px 120px rgba(0,0,0,.55); }
.contact-dialog::backdrop { background: rgba(3,9,16,.78); backdrop-filter: blur(8px); }
.dialog-close { position: absolute; right: 17px; top: 12px; border: 0; background: none; font-size: 30px; font-weight: 200; color: #526977; cursor: pointer; }
.dialog-copy h2 { margin: 0; font: 620 45px/1 var(--display); letter-spacing: -.04em; text-transform: uppercase; }
.dialog-copy > p:last-child { color: #647887; line-height: 1.6; }
.contact-form { margin-top: 30px; display: grid; gap: 18px; }
.form-honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; }
.contact-form label { color: #4d6270; font-size: 12px; font-weight: 700; }
.contact-form input, .contact-form textarea { width: 100%; border: 0; border-bottom: 1px solid #b8c6ce; background: transparent; color: var(--ink); padding: 10px 0; margin-top: 4px; border-radius: 0; resize: vertical; }
.contact-form .button { width: max-content; margin-top: 5px; }
.form-note { color: #84959f; font-size: 11px; margin: 0; }
.form-success { text-align: center; padding: 35px 0 10px; }
.form-success > span { width: 56px; height: 56px; display: grid; place-items: center; margin: 0 auto 20px; background: var(--ink); color: var(--cyan); border-radius: 50%; }
.form-success h3 { font: 600 34px/1 var(--display); text-transform: uppercase; margin: 0; }
.form-success p { color: #647887; }
.form-success .button { margin: 20px auto 0; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .75s ease, transform .75s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@keyframes ambient-drift { from { transform: scale(1.03) translate3d(-.4%,0,0); } to { transform: scale(1.07) translate3d(.4%,-.3%,0); } }
@keyframes breathe { 50% { opacity: .45; transform: scale(1.15); } }
@keyframes float-dot { 50% { transform: translate(15px,-17px); opacity: .45; } }
@keyframes status-pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(131,217,248,.4); } 50% { box-shadow: 0 0 0 8px rgba(131,217,248,0); } }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 900px) {
  :root { --container: min(100% - 36px, 720px); }
  .site-header { height: 70px; padding-inline: 18px; grid-template-columns: 1fr auto; }
  .desktop-nav, .header-cta { display: none; }
  .menu-toggle { display: grid; gap: 6px; background: none; border: 0; padding: 10px 0 10px 15px; cursor: pointer; }
  .menu-toggle span { display: block; width: 26px; height: 1px; background: white; transition: transform .25s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .mobile-menu { position: fixed; inset: 70px 0 auto; background: rgba(7,17,31,.97); padding: 28px 24px 34px; border-bottom: 1px solid var(--line); flex-direction: column; gap: 18px; }
  .mobile-menu.open { display: flex; }
  .mobile-menu a { font: 600 25px/1 var(--display); text-transform: uppercase; }
  .mobile-menu button { margin-top: 8px; min-height: 48px; background: var(--copper); border: 0; color: var(--ink); font-weight: 700; }
  .hero { min-height: 720px; height: 100svh; }
  .hero::before { background: linear-gradient(90deg, rgba(5,14,25,.97), rgba(5,14,25,.68)), linear-gradient(0deg, rgba(5,14,25,.7), transparent); }
  .hero-layout { grid-template-columns: 1fr; align-items: center; }
  h1 { font-size: clamp(54px, 13vw, 82px); }
  .hero-proof { display: none; }
  .section-heading { grid-template-columns: 1fr; gap: 24px; }
  .section-heading .eyebrow { margin-bottom: 0; }
  .service-rail { grid-template-columns: 1fr; }
  .service-card { min-height: 310px; border-right: 0; border-bottom: 1px solid #cdd8de; }
  .feature { min-height: 720px; }
  .feature-grid, .feature-grid-right { grid-template-columns: 1fr; }
  .feature-grid-right .feature-copy { grid-column: 1; margin-left: 0; }
  .feature-shade.shade-right { background: linear-gradient(90deg, rgba(6,15,26,.96), rgba(6,15,26,.42)); }
  .availability { position: static; margin-top: 40px; width: min(100%, 330px); }
  .method-grid { grid-template-columns: 1fr; gap: 65px; }
  .method-heading { position: static; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stats blockquote { grid-column: 1 / -1; border-top: 1px solid var(--line); min-height: 180px; }
}

@media (max-width: 600px) {
  :root { --container: calc(100% - 32px); }
  .hero { min-height: 680px; }
  .hero-media { background-position: 62% center; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 14px; }
  .hero-lead { font-size: 16px; }
  .hero-status { padding-inline: 16px; }
  .status-place { display: none; }
  .intro, .method { padding: 95px 0; }
  .section-heading { margin-bottom: 50px; }
  .section-heading h2, .method h2 { font-size: 43px; }
  .service-card { padding-inline: 23px; }
  .feature { min-height: 680px; }
  .feature-copy h2 { font-size: 42px; }
  .feature-copy > p:not(.eyebrow) { font-size: 15px; }
  .feature-media-wifi { background-position: 47% center; }
  .feature-media-security { background-position: 60% center; }
  .mini-metrics { grid-template-columns: 1fr; }
  .mini-metrics div + div { border: 0; padding-left: 0; }
  .steps li { grid-template-columns: 52px 1fr; }
  .experience { padding-top: 95px; }
  .stats { grid-template-columns: 1fr; margin-top: 60px; }
  .stats > div { min-height: 150px; border-right: 0; border-bottom: 1px solid var(--line); }
  .stats blockquote { grid-column: 1; padding-left: 25px; }
  .final-cta { min-height: 670px; }
  .cta-content h2 { font-size: 43px; }
  .cta-orbit { width: 300px; height: 300px; }
  .footer-grid { grid-template-columns: 1fr; gap: 50px; }
  .footer-links { grid-template-columns: 1fr; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 8px; }
  .contact-dialog { padding: 43px 24px 30px; }
  .dialog-copy h2 { font-size: 35px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
