:root {
  color-scheme: light;
  --navy: #071a4b;
  --navy-2: #0c245f;
  --blue: #00aeef;
  --magenta: #ff0067;
  --purple: #6a35c1;
  --ink: #101936;
  --muted: #5f6d89;
  --line: #dbe2ef;
  --surface: #f5f7fb;
  --white: #fff;
  --success: #08775b;
  --warning: #9b5c00;
  --danger: #b42318;
  --shadow: 0 18px 48px rgba(7, 26, 75, .12);
  --radius: 18px;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); line-height: 1.55; }
body.panel-open { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; color: var(--navy); font-family: Montserrat, Inter, "Segoe UI", sans-serif; line-height: 1.08; }
h1 { font-size: clamp(2.5rem, 7vw, 5.6rem); letter-spacing: -.055em; }
h2 { font-size: clamp(2rem, 4vw, 3.6rem); letter-spacing: -.035em; }
h3 { font-size: 1.2rem; }
p { margin: .55rem 0 0; }

.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; background: white; color: var(--navy); padding: .8rem 1rem; border-radius: 8px; }
.skip-link:focus { top: 1rem; }
.demo-bar { min-height: 30px; padding: .35rem 4vw; background: var(--magenta); color: white; display: flex; justify-content: space-between; gap: 1rem; font: 700 .75rem/1.4 Montserrat, sans-serif; letter-spacing: .08em; }
.site-header { height: 84px; padding: 0 4vw; position: sticky; top: 0; z-index: 30; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2rem; background: rgba(255, 255, 255, .98); border-bottom: 1px solid var(--line); box-shadow: 0 8px 28px rgba(7,26,75,.06); }
.brand { width: 180px; height: 72px; display: grid; place-items: center; }
.brand img { width: 180px; height: 72px; object-fit: contain; }
.primary-nav { display: flex; justify-content: center; align-items: center; gap: clamp(.75rem, 2vw, 1.8rem); }
.primary-nav a { color: var(--navy); text-decoration: none; font-weight: 700; font-size: .9rem; }
.primary-nav a:hover, .primary-nav a:focus-visible { color: var(--blue); }
.menu-button { display: none; }
.cart-button, .menu-button { background: var(--navy); color: white; border: 0; border-radius: 999px; padding: .7rem 1rem; font-weight: 800; cursor: pointer; }
.cart-button span { display: inline-grid; place-items: center; min-width: 1.45rem; height: 1.45rem; margin-left: .35rem; border-radius: 50%; background: var(--magenta); color: white; font-size: .78rem; }

main { min-height: 70vh; }
.page { animation: enter .45s ease both; }
.shell { width: min(1180px, 92vw); margin: 0 auto; }
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section-tight { padding: 3rem 0; }
.surface { background: var(--surface); }
.dark { background: var(--navy); color: #e9efff; }
.dark h1, .dark h2, .dark h3 { color: white; }
.eyebrow { display: block; margin-bottom: .8rem; color: var(--magenta); font: 800 .8rem/1.2 Montserrat, sans-serif; letter-spacing: .14em; }
.lead { max-width: 68ch; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.25rem); }
.dark .lead { color: #cbd6f4; }
.gradient-text { background: linear-gradient(90deg, var(--magenta), var(--purple), var(--blue)); background-clip: text; color: transparent; }
.button-row { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 1.7rem; }
.button { border: 1px solid transparent; border-radius: 10px; padding: .8rem 1.15rem; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; text-decoration: none; font-weight: 800; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: linear-gradient(100deg, var(--magenta), var(--purple), var(--blue)); box-shadow: 0 10px 24px rgba(106,53,193,.26); }
.button-secondary { background: white; color: var(--navy); border-color: var(--line); }
.button-dark { color: white; background: var(--navy); }
.button-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.button-small { padding: .55rem .8rem; font-size: .88rem; }

.hero { min-height: calc(100vh - 108px); display: grid; align-items: stretch; background: var(--navy); overflow: hidden; }
.hero-grid { width: min(1440px, 100%); margin: 0 auto; display: grid; grid-template-columns: 1.05fr .95fr; }
.hero-copy { padding: clamp(4rem, 9vw, 8rem) max(4vw, calc((100vw - 1180px)/2)); padding-right: 4vw; display: flex; flex-direction: column; justify-content: center; color: white; position: relative; }
.hero-copy::before { content: ""; position: absolute; top: 12%; right: 0; width: 1px; height: 76%; background: linear-gradient(var(--magenta), var(--blue)); }
.hero-copy h1 { color: white; }
.hero-copy p { max-width: 610px; color: #cbd6f4; font-size: 1.15rem; }
.hero-proof { display: flex; flex-wrap: wrap; gap: .7rem 1.5rem; margin-top: 2.5rem; color: #cbd6f4; font-size: .9rem; }
.hero-proof span::before { content: ""; display: inline-block; width: .5rem; height: .5rem; margin-right: .55rem; border-radius: 50%; background: var(--blue); }
.hero-image { min-height: 620px; position: relative; background: #0b0d13; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(.88); }
.hero-image::after { content: "PROYECTO REAL · FABRICACIÓN LOCAL"; position: absolute; right: 1.5rem; bottom: 1.5rem; padding: .55rem .75rem; color: white; background: rgba(7,26,75,.86); font: 800 .75rem Montserrat, sans-serif; letter-spacing: .08em; }

.split { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 7vw, 7rem); align-items: start; }
.rule-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.rule-list li { display: grid; grid-template-columns: 2rem 1fr; gap: 1rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.rule-list b { color: var(--blue); font-family: "IBM Plex Mono", Consolas, monospace; }
.rule-list p { margin: .25rem 0 0; color: var(--muted); }
.grid { display: grid; gap: 1.2rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: white; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 8px 24px rgba(7,26,75,.05); }
.card-body { padding: 1.25rem; }
.card p { color: var(--muted); }
.service-card { padding: 1.5rem; min-height: 250px; position: relative; }
.service-card .number { color: var(--blue); font: 700 .85rem "IBM Plex Mono", monospace; }
.service-card h3 { margin-top: 3.5rem; }
.service-card::after { content: ""; position: absolute; left: 1.5rem; right: 1.5rem; bottom: 1.4rem; height: 2px; background: linear-gradient(90deg, var(--magenta), var(--blue)); transform-origin: left; transform: scaleX(.28); transition: transform .25s ease; }
.service-card:hover::after { transform: scaleX(1); }

.route-hero { padding: 5rem 0 3.5rem; background: linear-gradient(120deg, var(--navy), var(--navy-2)); color: white; }
.route-hero h1 { color: white; font-size: clamp(2.6rem, 6vw, 4.6rem); }
.route-hero p { max-width: 700px; color: #cbd6f4; font-size: 1.1rem; }
.toolbar { display: flex; gap: 1rem; flex-wrap: wrap; margin: 2rem 0; }
.field { display: grid; gap: .45rem; }
.field label, .field-label { color: var(--navy); font-weight: 750; font-size: .9rem; }
.input, select, textarea { width: 100%; min-height: 46px; padding: .7rem .8rem; color: var(--ink); background: white; border: 1px solid #b8c3d8; border-radius: 9px; }
.input:focus, select:focus, textarea:focus, button:focus-visible, a:focus-visible { outline: 3px solid rgba(0,174,239,.42); outline-offset: 2px; }
.toolbar .field { min-width: 220px; flex: 1; }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.product-card { display: flex; flex-direction: column; }
.product-image { aspect-ratio: 4/3; background: #0b0d13; overflow: hidden; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.product-card:hover img { transform: scale(1.025); }
.product-card .card-body { display: flex; flex: 1; flex-direction: column; }
.product-card .meta { color: var(--purple); font: 750 .75rem "IBM Plex Mono", monospace; text-transform: uppercase; }
.price-line { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-top: auto; padding-top: 1.3rem; }
.price { color: var(--navy); font-size: 1.35rem; font-weight: 850; }
.demo-label { display: inline-block; width: fit-content; padding: .25rem .55rem; border-radius: 999px; color: var(--warning); background: #fff2cf; font-size: .75rem; font-weight: 800; }
.empty { padding: 3rem; border: 1px dashed #a8b4cb; border-radius: var(--radius); text-align: center; color: var(--muted); }

.quote-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(300px, .6fr); gap: 1.5rem; align-items: start; }
.wizard { background: white; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); }
.stepper { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.step-tab { padding: 1rem .5rem; color: var(--muted); background: transparent; border: 0; border-bottom: 3px solid transparent; font-weight: 800; cursor: pointer; }
.step-tab.active { color: var(--navy); border-color: var(--magenta); }
.step-panel { padding: clamp(1.25rem, 4vw, 2.5rem); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.full { grid-column: 1 / -1; }
.check { display: flex; gap: .7rem; align-items: flex-start; }
.check input { width: 1.2rem; height: 1.2rem; margin-top: .2rem; accent-color: var(--magenta); }
.drop-zone { min-height: 220px; padding: 2rem; display: grid; place-items: center; text-align: center; border: 2px dashed #94a3bd; border-radius: 16px; background: var(--surface); cursor: pointer; }
.drop-zone.drag { border-color: var(--blue); background: #ecfaff; }
.drop-zone input { position: absolute; opacity: 0; pointer-events: none; }
.file-result { margin-top: 1rem; padding: 1rem; border-radius: 10px; background: #edf9f5; color: #075f49; }
.model-canvas { width: 100%; height: 290px; border-radius: 14px; background: #06143d; }
.notice { padding: 1rem; border-left: 4px solid var(--blue); background: #edf8ff; color: #24415f; }
.notice-warning { border-color: #e89b00; background: #fff7e1; }
.summary-card { position: sticky; top: 126px; padding: 1.4rem; background: var(--navy); color: white; border-radius: 18px; }
.summary-card h2 { color: white; font-size: 1.5rem; }
.summary-list { margin: 1.2rem 0; padding: 0; list-style: none; }
.summary-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .65rem 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.summary-list span { color: #bdcaeb; }
.summary-total { font-size: 2rem; font-weight: 850; }

.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin: 2rem 0; }
.metric { padding: 1.2rem; border: 1px solid var(--line); border-radius: 14px; background: white; }
.metric span { color: var(--muted); font-size: .85rem; }
.metric strong { display: block; margin-top: .4rem; color: var(--navy); font-size: 1.8rem; }
.admin-layout { display: grid; grid-template-columns: 240px 1fr; gap: 1.5rem; }
.admin-nav { padding: 1rem; border-radius: 14px; background: var(--navy); color: white; }
.admin-nav button { width: 100%; padding: .7rem; text-align: left; color: #dce5ff; background: transparent; border: 0; border-radius: 7px; cursor: pointer; }
.admin-nav button.active, .admin-nav button:hover { background: rgba(255,255,255,.12); color: white; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
table { width: 100%; border-collapse: collapse; background: white; }
th, td { padding: .9rem; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
th { background: var(--navy); color: white; font-size: .8rem; letter-spacing: .04em; }
.status { display: inline-flex; padding: .28rem .55rem; border-radius: 999px; background: #e8eefb; color: var(--navy); font-size: .75rem; font-weight: 800; }
.status-review { background: #fff2cf; color: #885300; }
.timeline { list-style: none; margin: 2rem 0; padding: 0 0 0 1.3rem; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 1.6rem 1.3rem; }
.timeline li::before { content: ""; position: absolute; left: -1.72rem; top: .25rem; width: .75rem; height: .75rem; border-radius: 50%; background: var(--blue); border: 3px solid white; }

.cart-panel { position: fixed; z-index: 60; top: 0; right: 0; width: min(460px, 94vw); height: 100vh; padding: 1.4rem; background: white; box-shadow: -20px 0 55px rgba(7,26,75,.2); transform: translateX(105%); transition: transform .25s ease; overflow-y: auto; }
.cart-panel.open { transform: translateX(0); }
.cart-header { display: flex; align-items: start; justify-content: space-between; gap: 1rem; }
.icon-button { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: white; color: var(--navy); font-size: 1.5rem; cursor: pointer; }
.scrim { position: fixed; z-index: 50; inset: 0; background: rgba(3,12,36,.55); }
.cart-item { display: grid; grid-template-columns: 70px 1fr auto; gap: .8rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.cart-item img { width: 70px; height: 70px; object-fit: cover; border-radius: 8px; }
.toast { position: fixed; z-index: 90; right: 1.2rem; bottom: 1.2rem; max-width: 360px; padding: 1rem 1.2rem; border-radius: 10px; background: var(--navy); color: white; box-shadow: var(--shadow); transform: translateY(140%); transition: transform .24s ease; }
.toast.show { transform: translateY(0); }
.site-footer { padding: 3rem 4vw; display: grid; grid-template-columns: 1fr auto 1fr; gap: 2rem; align-items: start; color: #cbd6f4; background: #03102f; font-size: .9rem; }
.site-footer strong { color: white; }
.site-footer nav { display: grid; gap: .4rem; }
.site-footer a { color: white; }

@keyframes enter { from { opacity: 0; transform: translateY(8px); } }
@media (max-width: 980px) {
  .site-header { grid-template-columns: auto 1fr auto; gap: .8rem; }
  .menu-button { display: block; justify-self: end; }
  .primary-nav { position: absolute; left: 0; right: 0; top: 84px; padding: 1rem 4vw 1.5rem; display: none; align-items: stretch; flex-direction: column; background: white; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .primary-nav.open { display: flex; }
  .hero-grid, .split, .quote-layout { grid-template-columns: 1fr; }
  .hero-copy { padding: 5rem 6vw; }
  .hero-copy::before { display: none; }
  .hero-image { min-height: 520px; }
  .grid-4, .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid, .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .summary-card { position: static; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-nav { display: flex; overflow-x: auto; }
  .admin-nav button { min-width: max-content; }
  .site-footer { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 650px) {
  .demo-bar { justify-content: center; text-align: center; }
  .demo-bar span:last-child { display: none; }
  .site-header { padding: 0 3vw; }
  .brand { width: 140px; }
  .brand img { width: 140px; height: 68px; }
  .cart-button { font-size: 0; padding: .6rem; }
  .cart-button::before { content: "Carrito"; font-size: .8rem; }
  .cart-button span { font-size: .72rem; }
  .hero-image { min-height: 420px; }
  .product-grid, .grid-3, .grid-4, .metric-grid, .form-grid { grid-template-columns: 1fr; }
  .stepper { grid-template-columns: repeat(2, 1fr); }
  .site-footer { grid-template-columns: 1fr; }
  .route-hero { padding-top: 3.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Nexora editorial home refresh */
.nx-hero { min-height: min(840px, calc(100vh - 110px)); position: relative; overflow: hidden; background: var(--navy); color: white; }
.nx-hero::before { content: ""; position: absolute; z-index: 1; inset: 0; pointer-events: none; background: radial-gradient(circle at 72% 40%, rgba(0,174,239,.18), transparent 28%), linear-gradient(115deg, rgba(7,26,75,.98) 0%, rgba(7,26,75,.78) 40%, rgba(7,26,75,.22) 75%, rgba(7,26,75,.55) 100%); }
.nx-hero::after { content: ""; position: absolute; z-index: 2; width: 52vw; height: 52vw; right: -21vw; top: 12%; border: 1px solid rgba(0,174,239,.25); border-radius: 50%; box-shadow: 0 0 0 8vw rgba(0,174,239,.025), 0 0 0 16vw rgba(255,0,103,.02); animation: nx-orbit 18s linear infinite; pointer-events: none; }
.nx-hero-media { position: absolute; inset: 0; overflow: hidden; }
.nx-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,26,75,.25), transparent 45%, rgba(7,26,75,.35)); }
.nx-hero-media img { width: 100%; height: 100%; object-fit: cover; animation: nx-zoom 16s ease-in-out infinite alternate; }
.nx-hero-caption { position: absolute; z-index: 2; right: 2.5rem; bottom: 2rem; color: white; font: 700 .68rem "IBM Plex Mono", monospace; letter-spacing: .16em; }
.nx-hero-content { position: relative; z-index: 3; min-height: min(840px, calc(100vh - 110px)); padding: clamp(4rem, 9vw, 9rem) clamp(2rem, 7vw, 7rem); display: flex; flex-direction: column; justify-content: center; background: transparent; }
.nx-hero-content h1 { max-width: 680px; color: white; font-size: clamp(3.3rem, 7vw, 7.2rem); font-weight: 800; letter-spacing: -.075em; }
.nx-hero-content h1 em, .nx-quote-content h2 em { color: var(--blue); font-style: normal; }
.nx-hero-content p { max-width: 520px; margin-top: 1.5rem; color: #ccd7f4; font-size: clamp(1.05rem, 1.8vw, 1.3rem); }
.button-outline-light { color: white; border-color: rgba(255,255,255,.45); background: transparent; }
.button-outline-light:hover { background: rgba(255,255,255,.12); }
.nx-scroll-note { display: flex; align-items: center; gap: .75rem; margin-top: 5rem; color: #9baad0; font: 700 .7rem "IBM Plex Mono", monospace; letter-spacing: .13em; }
.nx-line { width: 54px; height: 1px; background: var(--blue); }
.nx-live-mark { position: absolute; top: 2rem; right: clamp(1.2rem, 5vw, 5rem); display: flex; align-items: center; gap: .6rem; color: #dce7ff; font: 700 .65rem "IBM Plex Mono", monospace; letter-spacing: .15em; }
.nx-live-mark::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--magenta); box-shadow: 0 0 0 .35rem rgba(255,0,103,.16); animation: nx-pulse 1.8s ease-in-out infinite; }
.nx-hero-bottom { position: absolute; z-index: 4; right: clamp(1.2rem, 5vw, 5rem); bottom: 2rem; display: flex; gap: .65rem; align-items: center; color: #dce7ff; font: 700 .68rem "IBM Plex Mono", monospace; letter-spacing: .12em; }
.nx-hero-bottom b { color: var(--blue); font-size: 1.2rem; }
.nx-marquee { overflow: hidden; padding: 1.05rem 0; color: var(--navy); background: var(--blue); font: 850 .8rem "IBM Plex Mono", monospace; letter-spacing: .15em; white-space: nowrap; }
.nx-marquee div { width: max-content; animation: nx-marquee 28s linear infinite; }
.nx-marquee span { margin: 0 1.7rem; color: var(--magenta); }
.nx-intro-grid, .nx-section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: end; }
.nx-intro h2, .nx-section-head h2 { max-width: 620px; font-size: clamp(2.7rem, 5vw, 5.4rem); }
.nx-big-copy { max-width: 560px; color: var(--muted); font-size: clamp(1.2rem, 2.2vw, 1.65rem); line-height: 1.35; }
.nx-text-link { display: inline-flex; align-items: center; gap: .75rem; margin-top: 1.8rem; color: var(--navy); font-weight: 800; text-decoration: none; border-bottom: 1px solid var(--blue); padding-bottom: .45rem; }
.nx-text-link span { color: var(--magenta); font-size: 1.2rem; transition: transform .2s; }
.nx-text-link:hover span { transform: translate(4px,-4px); }
.nx-section-head { margin-bottom: 3rem; }
.nx-section-head > .lead { max-width: 390px; justify-self: end; }
.nx-service-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.nx-service-card { min-height: 400px; padding: 2rem; position: relative; display: flex; flex-direction: column; justify-content: space-between; background: white; transition: color .3s, background .3s, transform .3s; }
.nx-service-card:hover { z-index: 2; color: white; background: var(--navy); transform: translateY(-8px); box-shadow: var(--shadow); }
.nx-service-card > span { color: var(--magenta); font: 700 .8rem "IBM Plex Mono", monospace; }
.nx-service-card h3 { margin-top: auto; font-size: clamp(1.8rem, 3.3vw, 3rem); letter-spacing: -.055em; }
.nx-service-card p { max-width: 290px; margin-top: 1rem; color: var(--muted); }
.nx-service-card:hover p { color: #cbd6f4; }
.nx-service-card > a { align-self: flex-end; width: 3.1rem; height: 3.1rem; display: grid; place-items: center; color: white; background: var(--magenta); border-radius: 50%; text-decoration: none; font-size: 1.35rem; }
.nx-process { color: white; background: #111d41; }
.nx-process h2 { color: white; }
.nx-process .lead { justify-self: end; color: #bac8e9; }
.nx-process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 5rem; border-top: 1px solid rgba(255,255,255,.25); }
.nx-process-step { padding: 2rem 2rem 1rem 0; border-right: 1px solid rgba(255,255,255,.25); }
.nx-process-step + .nx-process-step { padding-left: 2rem; }
.nx-process-step:last-child { border-right: 0; }
.nx-process-step b { color: var(--blue); font: 700 1.15rem "IBM Plex Mono", monospace; }
.nx-process-step h3 { margin-top: 5rem; color: white; font-size: 2rem; }
.nx-process-step p { max-width: 260px; color: #bac8e9; }
.nx-quote-banner { min-height: 620px; position: relative; display: grid; align-items: center; background: url('./assets/optimized/lampara.jpg') center 45% / cover; }
.nx-quote-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,26,75,.97), rgba(7,26,75,.65) 55%, rgba(7,26,75,.2)); }
.nx-quote-content { position: relative; z-index: 1; color: white; }
.nx-quote-content h2 { max-width: 870px; color: white; font-size: clamp(3rem, 7vw, 7rem); letter-spacing: -.075em; }
.nx-products { background: #f0f2f7; }
.nx-product-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.nx-product-tile { color: var(--navy); text-decoration: none; }
.nx-product-tile img { width: 100%; aspect-ratio: 1.15; object-fit: cover; background: #101936; transition: transform .4s; }
.nx-product-tile:hover img { transform: scale(.97); }
.nx-product-tile span { display: block; margin-top: 1.1rem; color: var(--magenta); font: 700 .72rem "IBM Plex Mono", monospace; letter-spacing: .12em; }
.nx-product-tile h3 { margin-top: .4rem; font-size: 1.45rem; }
@keyframes nx-zoom { from { transform: scale(1); filter: saturate(.9) brightness(.78); } to { transform: scale(1.08); filter: saturate(1.15) brightness(1); } }
@keyframes nx-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes nx-orbit { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes nx-pulse { 0%, 100% { opacity: .55; transform: scale(.85); } 50% { opacity: 1; transform: scale(1.15); } }
@media (max-width: 760px) {
  .nx-hero { min-height: 760px; }
  .nx-hero-media { min-height: 760px; }
  .nx-hero-content { min-height: 760px; padding: 8rem 1.2rem 5rem; }
  .nx-hero-content h1 { font-size: clamp(3.2rem, 16vw, 5.2rem); }
  .nx-hero-caption { right: 1rem; bottom: 1rem; font-size: .55rem; }
  .nx-scroll-note { margin-top: 2.5rem; }
  .nx-live-mark { top: 1.25rem; right: 1.2rem; }
  .nx-hero-bottom { right: 1.2rem; bottom: 1.25rem; }
  .nx-intro-grid, .nx-section-head { grid-template-columns: 1fr; gap: 1rem; }
  .nx-section-head > .lead { justify-self: start; }
  .nx-service-grid, .nx-product-strip { grid-template-columns: 1fr; }
  .nx-service-card { min-height: 320px; }
  .nx-process-grid { grid-template-columns: 1fr; margin-top: 2.5rem; }
  .nx-process-step, .nx-process-step + .nx-process-step { padding: 1.4rem 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.25); }
  .nx-process-step h3 { margin-top: 2.5rem; }
  .nx-quote-banner { min-height: 510px; }
}
@media (prefers-reduced-motion: reduce) { .nx-hero-media img, .nx-marquee div { animation: none; } }
