:root {
  --bg: #070707;
  --bg-soft: #0d0d0e;
  --panel: #111113;
  --paper: #f3f1ed;
  --ink: #101012;
  --text: #f7f7f5;
  --muted: #a6a6a9;
  --line: rgba(255, 255, 255, 0.15);
  --red: #f20d1d;
  --red-dark: #9e0010;
  --green: #25d366;
  --shell: min(1280px, calc(100vw - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 1000; background: #fff; color: #000; padding: .75rem 1rem; border-radius: 4px; }
.skip-link:focus { top: 1rem; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: 92px;
  display: grid;
  grid-template-columns: 260px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 0 max(24px, calc((100vw - 1280px) / 2));
  background: rgba(7, 7, 7, .76);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: height .25s ease, border-color .25s ease, background .25s ease;
}
.site-header.scrolled { height: 76px; border-color: var(--line); background: rgba(7, 7, 7, .94); }
.brand, .footer-brand { display: block; width: 230px; }
.brand-crop { display: block; width: 100%; aspect-ratio: 3.34 / 1; overflow: hidden; }
.brand-crop img { width: 100%; height: 100%; object-fit: contain; }
.main-nav { display: flex; align-items: center; justify-content: center; gap: clamp(18px, 2.4vw, 38px); }
.main-nav a { color: #c9c9ca; font-size: .84rem; font-weight: 650; letter-spacing: .045em; transition: color .2s; }
.main-nav a:hover, .main-nav a:focus-visible { color: #fff; }
.header-cta { padding: .8rem 1.2rem; border: 1px solid rgba(255,255,255,.28); font-size: .84rem; font-weight: 750; letter-spacing: .03em; transition: .2s; }
.header-cta:hover, .header-cta:focus-visible { background: var(--red); border-color: var(--red); }
.menu-toggle { display: none; color: #fff; border: 0; background: transparent; padding: 10px; cursor: pointer; }
.menu-toggle > span:not(.sr-only) { display: block; width: 24px; height: 2px; margin: 5px 0; background: currentColor; transition: transform .2s, opacity .2s; }

.hero { position: relative; min-height: 860px; padding: 188px 0 104px; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-grid { position: absolute; inset: 0; opacity: .22; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(to bottom, #000 10%, transparent 92%); }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(8px); pointer-events: none; }
.hero-orb-one { width: 520px; height: 520px; right: -160px; top: 100px; background: radial-gradient(circle, rgba(242,13,29,.24), transparent 68%); }
.hero-orb-two { width: 440px; height: 440px; left: -260px; bottom: -80px; background: radial-gradient(circle, rgba(242,13,29,.14), transparent 68%); }
.hero-content { position: relative; z-index: 2; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: clamp(56px, 8vw, 120px); }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 1.5rem; color: #c1c1c4; font-size: .72rem; font-weight: 750; letter-spacing: .19em; text-transform: uppercase; }
.eyebrow > span { width: 34px; height: 2px; background: var(--red); }
.hero h1 { margin: 0; font-size: clamp(4.5rem, 7.6vw, 8.5rem); line-height: .84; letter-spacing: -.075em; font-weight: 850; text-transform: uppercase; }
.hero h1 em, .europe h2 em { color: var(--red); font-style: normal; }
.hero-lead { max-width: 610px; margin: 2.1rem 0 0; color: #b9b9bc; font-size: clamp(1rem, 1.25vw, 1.18rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2.3rem; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 18px; min-height: 52px; padding: 0 1.35rem; border: 1px solid transparent; font-size: .87rem; font-weight: 780; letter-spacing: .02em; cursor: pointer; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-primary { background: var(--red); color: #fff; }
.button-primary:hover, .button-primary:focus-visible { background: #ff2332; }
.button-ghost { border-color: rgba(255,255,255,.25); color: #fff; }
.button-ghost:hover, .button-ghost:focus-visible { border-color: #fff; background: rgba(255,255,255,.05); }

.hero-system { border-top: 1px solid var(--line); }
.system-row { display: grid; grid-template-columns: 46px 1fr auto 28px; align-items: center; gap: 16px; min-height: 98px; border-bottom: 1px solid var(--line); transition: background .25s, padding .25s; }
.system-row:hover, .system-row:focus-visible { background: linear-gradient(90deg, rgba(242,13,29,.16), transparent); padding-inline: 16px; }
.system-index { color: var(--red); font: 800 .68rem/1 ui-monospace, monospace; }
.system-name { font-size: clamp(1.15rem, 1.7vw, 1.55rem); font-weight: 760; letter-spacing: -.025em; }
.system-detail { color: #929296; font-size: .75rem; }
.system-arrow { color: var(--red); font-size: 1.2rem; }
.system-status { display: grid; grid-template-columns: 14px 1fr; gap: 2px 10px; align-items: center; margin-top: 28px; padding: 18px; border: 1px solid rgba(255,255,255,.11); background: rgba(255,255,255,.025); }
.system-status strong { font-size: .83rem; }
.system-status > span:last-child { grid-column: 2; color: #89898c; font-size: .75rem; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 6px rgba(37,211,102,.12); }
.hero-marquee { position: absolute; z-index: 1; inset: auto 0 0; display: flex; width: max-content; padding: 15px 0; background: var(--red); color: #fff; font-weight: 850; font-size: .75rem; letter-spacing: .15em; white-space: nowrap; animation: marquee 30s linear infinite; }
.hero-marquee div { display: inline-flex; gap: 22px; align-items: center; padding-right: 22px; }
.hero-marquee span { color: #160003; }
@keyframes marquee { to { transform: translateX(-50%); } }

.intro { padding: 132px 0 112px; }
.section-kicker { display: flex; align-items: center; gap: 16px; margin-bottom: 48px; color: #8d8d91; font-size: .72rem; font-weight: 750; letter-spacing: .15em; text-transform: uppercase; }
.section-kicker span { display: grid; place-items: center; width: 54px; height: 30px; border: 1px solid rgba(255,255,255,.22); color: #fff; }
.intro-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(50px, 10vw, 160px); align-items: end; }
.intro h2, .europe h2, .contact h2 { margin: 0; font-size: clamp(2.8rem, 5.4vw, 5.8rem); line-height: .96; letter-spacing: -.06em; text-transform: uppercase; }
.intro p { margin: 0 0 .4rem; color: #a9a9ad; font-size: clamp(1.05rem, 1.6vw, 1.35rem); }

.division { min-height: 760px; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); background: var(--bg-soft); }
.division:nth-of-type(even) { background: #09090a; }
.division-media { position: relative; min-height: 760px; overflow: hidden; background: #171719; }
.division-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.8)); pointer-events: none; }
.division-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.86) contrast(1.04); transition: transform .8s ease, filter .8s ease; }
.division:hover .division-media img { transform: scale(1.025); filter: saturate(1) contrast(1.04); }
.media-label { position: absolute; z-index: 2; left: 36px; bottom: 30px; padding: 8px 12px; border: 1px solid rgba(255,255,255,.55); color: #fff; font: 750 .7rem/1 ui-monospace, monospace; letter-spacing: .12em; }
.division-content { display: flex; flex-direction: column; justify-content: center; padding: clamp(54px, 7vw, 112px); }
.division-content h2 { margin: 0 0 1.5rem; font-size: clamp(3.1rem, 5.4vw, 6.4rem); line-height: .86; letter-spacing: -.07em; text-transform: uppercase; }
.division-lead { max-width: 620px; margin: 0 0 2rem; color: #ababaf; font-size: clamp(1.03rem, 1.45vw, 1.28rem); }
.product-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 2.25rem; }
.product-tags span { padding: .55rem .72rem; border: 1px solid rgba(255,255,255,.16); color: #d5d5d7; font-size: .72rem; font-weight: 700; letter-spacing: .03em; }
.feature-list { list-style: none; padding: 0; margin: 0 0 2rem; border-top: 1px solid var(--line); }
.feature-list li { display: flex; align-items: center; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); color: #d3d3d5; font-size: .88rem; }
.feature-list span { color: var(--red); font: 750 .65rem/1 ui-monospace, monospace; }
.text-link { align-self: flex-start; display: inline-flex; gap: 16px; align-items: center; padding-bottom: 7px; border-bottom: 2px solid var(--red); font-size: .86rem; font-weight: 790; }

.catalog-section { padding: 112px 0 124px; border-top: 1px solid var(--line); background: #080809; }
.catalog-light { background: var(--paper); color: var(--ink); }
.catalog-heading { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(42px, 9vw, 140px); align-items: end; margin-bottom: 52px; }
.catalog-heading h2 { margin: 0; font-size: clamp(2.9rem, 5.3vw, 5.8rem); line-height: .9; letter-spacing: -.065em; text-transform: uppercase; }
.catalog-heading > p { max-width: 560px; margin: 0 0 .5rem; color: #9d9da1; font-size: 1.05rem; }
.catalog-light .catalog-heading > p, .catalog-light .eyebrow { color: #66666b; }
.catalog-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.product-card { min-width: 0; display: flex; flex-direction: column; border: 1px solid rgba(255,255,255,.14); background: #101012; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.product-card:hover { transform: translateY(-5px); border-color: rgba(242,13,29,.62); box-shadow: 0 18px 48px rgba(0,0,0,.22); }
.catalog-light .product-card { border-color: rgba(16,16,18,.16); background: #fff; }
.product-card-media { position: relative; aspect-ratio: 1.32 / 1; overflow: hidden; background: #f5f5f5; }
.product-card-media::after { content: ""; position: absolute; inset: auto 0 0; height: 42%; background: linear-gradient(transparent, rgba(0,0,0,.56)); pointer-events: none; }
.product-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.product-card:hover .product-card-media img { transform: scale(1.035); }
#catalogo-drones .product-card-media img, #catalogo-computadores .product-card-media img { object-fit: contain; padding: 12px; background: #fff; }
#catalogo-drones .product-card:hover .product-card-media img, #catalogo-computadores .product-card:hover .product-card-media img { transform: scale(1.02); }
.product-card-media > span { position: absolute; z-index: 2; left: 13px; bottom: 12px; padding: 6px 8px; border: 1px solid rgba(255,255,255,.7); color: #fff; background: rgba(0,0,0,.28); backdrop-filter: blur(8px); font: 760 .62rem/1 ui-monospace, monospace; letter-spacing: .1em; }
.product-card-body { flex: 1; display: flex; flex-direction: column; padding: 22px 20px 20px; }
.product-code { margin: 0 0 10px; color: var(--red); font: 770 .65rem/1 ui-monospace, monospace; letter-spacing: .1em; text-transform: uppercase; }
.product-card h3 { margin: 0; font-size: 1.17rem; line-height: 1.15; letter-spacing: -.025em; text-transform: uppercase; }
.product-card-body > p:not(.product-code) { margin: 12px 0 22px; color: #96969b; font-size: .82rem; line-height: 1.55; }
.catalog-light .product-card-body > p:not(.product-code) { color: #67676c; }
.product-card-body a { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-top: auto; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.13); font-size: .76rem; font-weight: 780; text-transform: uppercase; }
.catalog-light .product-card-body a { border-top-color: rgba(16,16,18,.13); }
.product-card-body a span { color: var(--red); font-size: 1rem; }

.europe { position: relative; min-height: 880px; display: flex; align-items: center; overflow: hidden; background: var(--paper); color: var(--ink); }
.europe-content { position: relative; z-index: 2; padding: 110px 0; }
.europe .section-kicker { color: #6e6e73; }
.europe .section-kicker span { border-color: rgba(0,0,0,.24); color: #000; }
.europe .eyebrow { color: #6f6f73; }
.europe-copy { max-width: 920px; }
.europe-copy > p:last-child { max-width: 650px; margin: 2rem 0 0; color: #59595e; font-size: 1.16rem; }
.europe-map { position: absolute; width: 690px; height: 690px; right: -110px; top: 80px; border-radius: 50%; opacity: .9; background: radial-gradient(circle at 50% 50%, rgba(242,13,29,.15) 0 2%, transparent 2.5%), repeating-radial-gradient(circle, transparent 0 68px, rgba(16,16,18,.1) 69px 70px); }
.map-ring { position: absolute; inset: 50%; border: 1px solid rgba(242,13,29,.32); border-radius: 50%; transform: translate(-50%, -50%); }
.ring-one { width: 190px; height: 190px; }
.ring-two { width: 360px; height: 360px; }
.ring-three { width: 540px; height: 540px; }
.map-dot { position: absolute; left: 42%; top: 46%; width: 13px; height: 13px; border: 4px solid var(--red); border-radius: 50%; background: #fff; box-shadow: 0 0 0 12px rgba(242,13,29,.12); }
.map-city { position: absolute; left: calc(42% + 26px); top: calc(46% - 3px); color: var(--red); font: 850 .68rem/1 ui-monospace, monospace; letter-spacing: .12em; }
.service-grid { width: min(920px, 100%); display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 70px; background: rgba(0,0,0,.14); border: 1px solid rgba(0,0,0,.14); }
.service-grid article { min-height: 200px; padding: 24px; background: var(--paper); }
.service-grid strong { color: var(--red); font: 800 .7rem/1 ui-monospace, monospace; }
.service-grid h3 { margin: 42px 0 8px; font-size: 1.05rem; text-transform: uppercase; }
.service-grid p { margin: 0; color: #67676b; font-size: .82rem; }

.contact { position: relative; padding: 130px 0; background: #0b0b0c; }
.contact::before { content: ""; position: absolute; left: 0; top: 0; width: 44%; height: 4px; background: var(--red); }
.contact-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(60px, 11vw, 170px); align-items: start; }
.contact-copy > p:not(.eyebrow) { max-width: 500px; margin-top: 2rem; color: #9e9ea2; }
.contact-card { display: grid; margin-top: 42px; padding: 22px; border-left: 3px solid var(--red); background: rgba(255,255,255,.035); }
.contact-card strong { font-size: 1.08rem; }
.contact-card span { color: #858589; font-size: .82rem; }
.contact-card a { margin: 12px 0 2px; color: #fff; font-size: 1.1rem; font-weight: 750; }
.quote-form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 18px; padding: clamp(28px, 4vw, 54px); border: 1px solid var(--line); background: #101012; }
.quote-form label { display: grid; gap: 9px; }
.quote-form label:nth-of-type(3), .quote-form label:nth-of-type(4), .form-submit, .form-note { grid-column: 1 / -1; }
.quote-form label > span { color: #b8b8bb; font-size: .75rem; font-weight: 720; letter-spacing: .06em; text-transform: uppercase; }
.quote-form input, .quote-form select, .quote-form textarea { width: 100%; border: 1px solid rgba(255,255,255,.17); border-radius: 0; outline: none; background: #09090a; color: #fff; padding: 14px 15px; transition: border-color .2s, box-shadow .2s; }
.quote-form textarea { resize: vertical; min-height: 120px; }
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(242,13,29,.14); }
.quote-form select { color-scheme: dark; }
.form-submit { width: 100%; border: 0; margin-top: 4px; }
.form-note { margin: -9px 0 0; color: #747478; text-align: center; font-size: .72rem; }

.site-footer { border-top: 1px solid var(--line); background: #050505; }
.footer-top { min-height: 156px; display: grid; grid-template-columns: 280px 1fr auto; gap: 30px; align-items: center; }
.footer-top p { margin: 0; color: #76767a; font: 750 .72rem/1 ui-monospace, monospace; letter-spacing: .12em; text-align: center; }
.footer-top > a:last-child { font-size: .82rem; font-weight: 720; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; padding: 24px 0; border-top: 1px solid var(--line); color: #6f6f73; font-size: .72rem; }
.footer-bottom a { color: #a8a8ab; }
.whatsapp-float { position: fixed; z-index: 90; right: 22px; bottom: 22px; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--green); box-shadow: 0 10px 30px rgba(0,0,0,.34); transition: transform .2s; }
.whatsapp-float:hover, .whatsapp-float:focus-visible { transform: translateY(-3px) scale(1.03); }
.whatsapp-float svg { width: 29px; height: 29px; fill: #fff; }

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

@media (max-width: 1100px) {
  :root { --shell: min(100% - 40px, 920px); }
  .site-header { grid-template-columns: 220px 1fr auto; padding-inline: 20px; }
  .brand { width: 200px; }
  .main-nav { gap: 16px; }
  .main-nav a { font-size: .75rem; }
  .hero { min-height: 0; }
  .hero-content { grid-template-columns: 1fr; }
  .hero-copy { max-width: 820px; }
  .hero-system { width: min(760px, 100%); }
  .division { min-height: 0; }
  .division-media { min-height: 620px; }
  .division-content { padding: 64px 48px; }
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .europe-map { opacity: .36; right: -260px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 250px 1fr; }
  .footer-top > a:last-child { grid-column: 2; text-align: right; margin-top: -50px; }
}

@media (max-width: 820px) {
  .site-header { height: 76px; grid-template-columns: 1fr auto; }
  .site-header .brand { width: 194px; }
  .header-cta { display: none; }
  .menu-toggle { display: block; }
  .menu-toggle[aria-expanded="true"] > span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .main-nav { position: fixed; inset: 76px 0 auto; display: grid; gap: 0; padding: 16px 20px 24px; background: rgba(7,7,7,.98); border-bottom: 1px solid var(--line); transform: translateY(-120%); opacity: 0; pointer-events: none; transition: .25s; }
  .main-nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .main-nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: .9rem; }
  .hero { padding-top: 150px; }
  .hero h1 { font-size: clamp(3.7rem, 15vw, 6.8rem); }
  .intro-grid, .contact-inner { grid-template-columns: 1fr; }
  .catalog-heading { grid-template-columns: 1fr; gap: 24px; }
  .intro-grid { gap: 28px; }
  .division { display: flex; flex-direction: column; }
  .division-drone .division-content { order: 2; }
  .division-drone .division-media { order: 1; }
  .division-media { min-height: 520px; }
  .europe { min-height: 0; }
  .europe-map { width: 560px; height: 560px; right: -340px; top: 190px; }
  .contact-inner { gap: 60px; }
  .footer-top { grid-template-columns: 1fr; padding: 44px 0; }
  .footer-top p, .footer-top > a:last-child { grid-column: auto; text-align: left; margin: 0; }
}

@media (max-width: 560px) {
  :root { --shell: calc(100% - 30px); }
  .site-header { padding-inline: 15px; }
  .site-header .brand { width: 178px; }
  .hero { padding: 130px 0 90px; }
  .hero h1 { font-size: clamp(3.1rem, 16.3vw, 5.2rem); }
  .hero-lead { font-size: .98rem; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .system-row { grid-template-columns: 32px 1fr 22px; min-height: 84px; }
  .system-detail { display: none; }
  .intro { padding: 88px 0 78px; }
  .section-kicker { margin-bottom: 32px; }
  .intro h2, .europe h2, .contact h2 { font-size: clamp(2.45rem, 12.7vw, 4rem); }
  .division-media { min-height: 400px; }
  .division-content { padding: 54px 20px 66px; }
  .division-content h2 { font-size: clamp(3rem, 15vw, 4.7rem); }
  .catalog-section { padding: 78px 0 84px; }
  .catalog-heading { margin-bottom: 34px; }
  .catalog-heading h2 { font-size: clamp(2.6rem, 12.8vw, 4.2rem); }
  .catalog-grid { grid-template-columns: 1fr; gap: 12px; }
  .product-card-media { aspect-ratio: 1.45 / 1; }
  .service-grid { grid-template-columns: 1fr; }
  .service-grid article { min-height: 160px; }
  .service-grid h3 { margin-top: 26px; }
  .quote-form { grid-template-columns: 1fr; padding: 24px 18px; }
  .quote-form label { grid-column: 1 / -1; }
  .contact { padding: 92px 0; }
  .footer-bottom { flex-direction: column; gap: 10px; }
  .whatsapp-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
}

@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; }
}

.product-card[tabindex] { cursor: pointer; }
.product-card[tabindex]:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; }

.spec-dialog {
  width: min(920px, calc(100% - 32px));
  max-height: min(90dvh, 880px);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 0;
  color: var(--white);
  background: #101012;
  box-shadow: 0 34px 110px rgba(0,0,0,.66);
  font: inherit;
}

.spec-dialog::backdrop { background: rgba(0,0,0,.82); backdrop-filter: blur(8px); }
.spec-dialog-media { min-height: 100%; background: #f5f5f5; }
.spec-dialog-media img { width: 100%; height: 100%; min-height: 520px; object-fit: cover; display: block; }
.spec-dialog-contain .spec-dialog-media img { object-fit: contain; padding: 18px; }
.spec-dialog-inner { display: grid; grid-template-columns: minmax(280px, .9fr) minmax(360px, 1.1fr); min-height: 600px; }
.spec-dialog-content { padding: 46px 46px 38px; }
.spec-dialog-content .eyebrow { margin-bottom: 20px; }
.spec-dialog-content h2 { margin: 6px 0 14px; font-size: clamp(2rem, 4vw, 3.35rem); line-height: .95; letter-spacing: -.055em; text-transform: uppercase; }
.spec-code { margin: 0; color: var(--red); font: 760 .68rem/1 ui-monospace, monospace; letter-spacing: .12em; text-transform: uppercase; }
.spec-summary { margin: 0 0 26px; color: #b7b7bc; font-size: .92rem; line-height: 1.65; }
.spec-list { display: grid; grid-template-columns: minmax(90px, .38fr) 1fr; margin: 0; border-top: 1px solid rgba(255,255,255,.14); }
.spec-list dt, .spec-list dd { margin: 0; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.14); font-size: .76rem; line-height: 1.45; }
.spec-list dt { color: #77777e; font-weight: 780; letter-spacing: .06em; text-transform: uppercase; }
.spec-list dd { color: #e4e4e7; }
.spec-note { margin: 20px 0 0; color: #77777e; font-size: .68rem; line-height: 1.5; }
.spec-actions { display: flex; gap: 10px; margin-top: 26px; }
.spec-actions .button { min-height: 48px; padding: 13px 16px; }
.spec-actions button { border: 1px solid rgba(255,255,255,.24); background: transparent; color: var(--white); cursor: pointer; }
.spec-close { position: fixed; z-index: 4; top: max(18px, calc((100dvh - min(90dvh, 880px)) / 2 + 12px)); right: max(24px, calc((100vw - min(920px, calc(100vw - 32px))) / 2 + 12px)); width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.32); background: rgba(7,7,7,.82); color: #fff; font-size: 1.35rem; cursor: pointer; backdrop-filter: blur(10px); }
.spec-close:hover, .spec-close:focus-visible { border-color: var(--red); color: var(--red); }

@media (max-width: 760px) {
  .spec-dialog { max-height: 92dvh; }
  .spec-dialog-inner { grid-template-columns: 1fr; }
  .spec-dialog-media { min-height: 260px; }
  .spec-dialog-media img { min-height: 260px; max-height: 330px; }
  .spec-dialog-content { padding: 34px 22px 26px; }
  .spec-actions { display: grid; }
  .spec-close { position: fixed; top: calc(4dvh + 10px); right: 24px; }
}
