:root {
  --black: #080808;
  --coal: #101010;
  --coal-2: #161616;
  --line: rgba(255, 255, 255, 0.1);
  --line-2: rgba(255, 255, 255, 0.2);
  --white: #ffffff;
  --grey: #e8e8e8;
  --dim: #9a9a9a;
  --orange: #ff6500;
  --font-d: 'Archivo Black', Impact, sans-serif;
  --font-b: 'Inter', system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--black); color: var(--white);
  font-family: var(--font-b); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3 { margin: 0; font-family: var(--font-d); font-weight: 400; letter-spacing: -0.02em; line-height: 0.92; text-transform: uppercase; }
p { margin: 0; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--orange); padding: 10px 14px; z-index: 200; }

.wrap { width: min(1360px, 100%); margin: 0 auto; padding: 0 clamp(18px, 4vw, 48px); }

/* ------------------------------------------------------------ header */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: 100;
  transition: background 0.4s var(--ease), backdrop-filter 0.4s, border-color 0.4s, padding 0.4s;
  border-bottom: 1px solid transparent; padding: 18px 0;
}
.hdr.is-stuck { background: rgba(8, 8, 8, 0.86); backdrop-filter: blur(16px); border-color: var(--line); padding: 10px 0; }
.hdr-in { display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 42px; width: auto; transition: height 0.3s var(--ease); }
.hdr.is-stuck .brand img { height: 34px; }
.brand-txt { display: flex; flex-direction: column; font-family: var(--font-d); font-size: 22px; letter-spacing: 0.04em; line-height: 1; }
.brand-txt em { font-family: var(--font-b); font-style: normal; font-size: 8.5px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--dim); margin-top: 5px; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: #d8d8d8; position: relative; padding: 4px 0; }
.nav a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--orange); transition: right 0.3s var(--ease); }
.nav a:hover::after { right: 0; }
.hdr-actions { display: flex; align-items: center; gap: 12px; }
.burger { display: none; width: 44px; height: 44px; flex-direction: column; justify-content: center; gap: 5px; align-items: center; }
.burger span { display: block; width: 22px; height: 2px; background: var(--white); transition: transform 0.3s var(--ease), opacity 0.3s; }
.burger[aria-expanded='true'] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded='true'] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ------------------------------------------------------------ botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  border: 1px solid var(--line-2); transition: transform 0.25s var(--ease), background 0.25s, border-color 0.25s, color 0.25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-solid { background: var(--orange); border-color: var(--orange); color: #0a0a0a; }
.btn-solid:hover { background: #ff7d26; border-color: #ff7d26; }
.btn-wa { background: #12a150; border-color: #12a150; color: #fff; }
.btn-wa svg { width: 17px; height: 17px; fill: currentColor; }
.btn-wide { width: 100%; }

/* ------------------------------------------------------------ hero */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: 150px 0 70px; overflow: hidden; }
.hero-bg { position: absolute; inset: -8% 0 -8%; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 38%; opacity: 0.55; will-change: transform; }
.hero-veil { position: absolute; inset: 0; z-index: 1; background:
  radial-gradient(70% 60% at 20% 80%, rgba(8,8,8,0.92), transparent 70%),
  linear-gradient(180deg, rgba(8,8,8,0.85), rgba(8,8,8,0.35) 40%, rgba(8,8,8,0.95)); }
.hero-in { position: relative; z-index: 2; }
.kicker { display: inline-block; font-size: 10.5px; letter-spacing: 0.34em; text-transform: uppercase; color: var(--orange); margin-bottom: 18px; }
.display { font-size: clamp(46px, 9.2vw, 128px); line-height: 0.86; letter-spacing: -0.03em; }
.display span { color: var(--white); }
.display em { font-style: normal; color: var(--orange); }
.lead { max-width: 520px; margin-top: 22px; color: #cfcfcf; font-size: 17px; }
.hero-cta { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 40px; margin-top: 46px; flex-wrap: wrap; }
.hero-meta div { display: flex; flex-direction: column; }
.hero-meta b { font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--orange); }
.hero-meta span { font-size: 13px; color: #d0d0d0; }
.scroll-cue { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--dim); font-size: 9.5px; letter-spacing: 0.3em; text-transform: uppercase; }
.scroll-cue i { width: 1px; height: 46px; background: linear-gradient(var(--orange), transparent); animation: cue 2.2s infinite; }
@keyframes cue { 0%, 100% { opacity: 0.3; transform: scaleY(0.6); } 50% { opacity: 1; transform: scaleY(1); } }

/* ------------------------------------------------------------ marquee */
.marquee { border-block: 1px solid var(--line); background: var(--orange); color: #0a0a0a; overflow: hidden; }
.marquee-track { display: flex; gap: 26px; padding: 12px 0; white-space: nowrap; animation: slide 34s linear infinite; }
.marquee-track span { font-family: var(--font-d); font-size: 15px; letter-spacing: 0.08em; }
.marquee-track i { font-style: normal; opacity: 0.6; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------ secciones */
.section { padding: clamp(70px, 10vw, 130px) 0; }
.section-dark { background: var(--coal); border-block: 1px solid var(--line); }
.h2 { font-size: clamp(30px, 4.6vw, 62px); margin: 8px 0 20px; }
.body { max-width: 560px; color: #c9c9c9; margin-bottom: 14px; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; margin-bottom: 42px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.split-rev .frame { order: 2; }
.frame { position: relative; overflow: hidden; border: 1px solid var(--line); }
.frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.frame:hover img { transform: scale(1.04); }
.frame figcaption { position: absolute; inset: auto 0 0; padding: 14px 16px; font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: #ddd; background: linear-gradient(transparent, rgba(0,0,0,0.85)); }
.link-arrow { display: inline-flex; gap: 10px; margin-top: 18px; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--orange); }
.link-arrow span { transition: transform 0.3s var(--ease); }
.link-arrow:hover span { transform: translateX(6px); }

/* ------------------------------------------------------------ features */
.feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 40px; }
.feat { background: var(--black); padding: 34px 26px; display: flex; flex-direction: column; gap: 10px; transition: background 0.3s; }
.feat:hover { background: var(--coal-2); }
.feat .ico { font-size: 20px; color: var(--orange); }
.feat h3 { font-size: 17px; letter-spacing: 0.02em; }
.feat p { color: var(--dim); font-size: 14px; }

/* ------------------------------------------------------------ catálogo */
.filters { display: flex; gap: 8px; }
.chip { padding: 9px 16px; border: 1px solid var(--line-2); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: #cfcfcf; transition: 0.25s; }
.chip.is-on, .chip:hover { background: var(--orange); border-color: var(--orange); color: #0a0a0a; }
.grid-products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { border: 1px solid var(--line); background: var(--coal); display: flex; flex-direction: column; overflow: hidden; transition: transform 0.35s var(--ease), border-color 0.35s; }
.card:hover { transform: translateY(-6px); border-color: var(--line-2); }
.card-media { position: relative; aspect-ratio: 4/5; overflow: hidden; background: #0c0c0c; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.card:hover .card-media img { transform: scale(1.06); }
.card-tag { position: absolute; top: 12px; left: 12px; background: var(--orange); color: #0a0a0a; font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase; padding: 5px 9px; font-weight: 600; }
.card-body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card h3 { font-size: 21px; letter-spacing: 0.01em; }
.card p { color: #bdbdbd; font-size: 14px; }
.card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.card li { font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: #d6d6d6; border: 1px solid var(--line); padding: 4px 8px; }
.card-actions { display: flex; gap: 8px; margin-top: auto; padding-top: 8px; }
.card-actions .btn { flex: 1; padding: 12px 10px; font-size: 10px; letter-spacing: 0.1em; }
.note { margin-top: 26px; font-size: 12.5px; color: var(--dim); max-width: 640px; }

/* ------------------------------------------------------------ galería */
.masonry { columns: 3; column-gap: 14px; margin-top: 38px; }
.masonry figure { margin: 0 0 14px; break-inside: avoid; position: relative; overflow: hidden; cursor: zoom-in; border: 1px solid var(--line); }
.masonry img { width: 100%; transition: transform 0.7s var(--ease), filter 0.4s; }
.masonry figure:hover img { transform: scale(1.05); filter: brightness(1.05); }
.masonry figcaption { position: absolute; inset: auto 0 0; padding: 12px; font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: #e6e6e6; background: linear-gradient(transparent, rgba(0,0,0,0.8)); opacity: 0; transition: opacity 0.3s; }
.masonry figure:hover figcaption { opacity: 1; }

/* ------------------------------------------------------------ aplicaciones */
.apps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 38px; }
.app { position: relative; overflow: hidden; aspect-ratio: 3/4; border: 1px solid var(--line); }
.app img { width: 100%; height: 100%; object-fit: cover; opacity: 0.7; transition: transform 0.8s var(--ease), opacity 0.4s; }
.app:hover img { transform: scale(1.06); opacity: 0.95; }
.app div { position: absolute; inset: auto 0 0; padding: 18px 16px; background: linear-gradient(transparent, rgba(0,0,0,0.9)); }
.app b { display: block; font-family: var(--font-d); font-size: 16px; letter-spacing: 0.02em; }
.app span { font-size: 11.5px; color: #c9c9c9; }

/* ------------------------------------------------------------ fabricación */
.checks { list-style: none; margin: 22px 0 26px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.checks li { position: relative; padding-left: 22px; font-size: 14px; color: #d8d8d8; }
.checks li::before { content: '—'; position: absolute; left: 0; color: var(--orange); }

/* ------------------------------------------------------------ cobertura */
.cover { background: linear-gradient(180deg, var(--black), #0c0c0c); }
.map { position: relative; display: grid; place-items: center; }
.map svg { width: 100%; max-width: 520px; }
.map-land { fill: none; stroke: var(--line-2); stroke-width: 1.4; }
.map-pins circle { fill: var(--orange); opacity: 0.9; animation: pin 2.6s ease-in-out infinite; }
.map-pins circle:nth-child(2) { animation-delay: 0.3s; }
.map-pins circle:nth-child(3) { animation-delay: 0.6s; }
.map-pins circle:nth-child(4) { animation-delay: 0.9s; }
.map-pins circle:nth-child(5) { animation-delay: 1.2s; }
@keyframes pin { 0%, 100% { opacity: 0.35; } 50% { opacity: 1; } }
.map-label { position: absolute; bottom: 6%; font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--dim); }

/* ------------------------------------------------------------ formulario */
.quote { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.contact-list { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.contact-list li { display: flex; gap: 16px; align-items: baseline; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.contact-list span { font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--orange); width: 92px; flex: none; }
.contact-list a, .contact-list b { font-size: 15px; color: #eee; font-weight: 500; }
.form { display: flex; flex-direction: column; gap: 14px; background: var(--coal-2); border: 1px solid var(--line); padding: clamp(20px, 3vw, 32px); }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--dim); }
.form input, .form select, .form textarea {
  background: #0c0c0c; border: 1px solid var(--line); color: var(--white);
  padding: 12px 14px; font-size: 14.5px; letter-spacing: normal; text-transform: none; outline: none; width: 100%;
  font-family: var(--font-b); transition: border-color 0.2s;
}
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--orange); }
.form .err { color: #ff6b6b; font-size: 11px; text-transform: none; letter-spacing: normal; min-height: 13px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-note { font-size: 11.5px; color: var(--dim); }
.is-invalid input, .is-invalid select { border-color: #ff6b6b; }

/* ------------------------------------------------------------ footer */
.footer { border-top: 1px solid var(--line); background: var(--black); padding-top: 60px; }
.foot-in { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 30px; align-items: start; padding-bottom: 40px; }
.foot-brand img { height: 46px; margin-bottom: 14px; }
.foot-tag { font-size: 18px; color: #dcdcdc; }
.foot-tag em { font-style: normal; color: var(--orange); }
.foot-nav { display: flex; flex-direction: column; gap: 10px; }
.foot-nav a { font-size: 13px; color: #cfcfcf; }
.foot-nav a:hover { color: var(--orange); }
.foot-contact { display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: #cfcfcf; }
.foot-contact a { color: var(--orange); }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); padding-block: 20px; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); flex-wrap: wrap; }

/* ------------------------------------------------------------ whatsapp flotante */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 56px; height: 56px; border-radius: 50%; background: #12a150; display: grid; place-items: center; box-shadow: 0 18px 40px -16px rgba(18, 161, 80, 0.8); transition: transform 0.25s var(--ease); }
.wa-float:hover { transform: translateY(-3px) scale(1.04); }
.wa-float svg { width: 28px; height: 28px; fill: #fff; }

/* ------------------------------------------------------------ lightbox */
.lightbox { position: fixed; inset: 0; z-index: 150; background: rgba(5,5,5,0.96); display: grid; place-items: center; padding: 4vh 4vw; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 88vh; max-width: 92vw; object-fit: contain; border: 1px solid var(--line); }
.lb-close, .lb-prev, .lb-next { position: absolute; color: #fff; font-size: 28px; width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 50%; }
.lb-close { top: 18px; right: 18px; font-size: 18px; }
.lb-prev { left: 2vw; top: 50%; transform: translateY(-50%); }
.lb-next { right: 2vw; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); font-size: 11px; letter-spacing: 0.2em; color: var(--dim); }

/* ------------------------------------------------------------ reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ------------------------------------------------------------ responsive */
@media (max-width: 1100px) {
  .grid-products { grid-template-columns: repeat(2, 1fr); }
  .feats { grid-template-columns: repeat(2, 1fr); }
  .apps { grid-template-columns: repeat(3, 1fr); }
  .masonry { columns: 2; }
}
@media (max-width: 900px) {
  .nav { position: fixed; inset: 0; background: rgba(8,8,8,0.98); flex-direction: column; justify-content: center; align-items: center; gap: 26px; transform: translateY(-100%); transition: transform 0.45s var(--ease); margin: 0; }
  .nav.is-open { transform: none; }
  .nav a { font-size: 18px; letter-spacing: 0.08em; }
  .burger { display: flex; }
  .hdr-actions .btn-solid { display: none; }
  .split { grid-template-columns: 1fr; }
  .split-rev .frame { order: 0; }
  .quote { grid-template-columns: 1fr; }
  .foot-in { grid-template-columns: 1fr; }
  .hero { padding-top: 120px; }
  .checks { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .grid-products { grid-template-columns: 1fr; }
  .apps { grid-template-columns: repeat(2, 1fr); }
  .masonry { columns: 1; }
  .form-row { grid-template-columns: 1fr; }
  .hero-meta { gap: 22px; }
  .hero-cta .btn { flex: 1; }
  .display { font-size: clamp(40px, 13vw, 64px); }
  .wa-float { width: 50px; height: 50px; right: 14px; bottom: 14px; }
}

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

/* ------------------------------------------------------------ ajustes móviles finos */
@media (max-width: 900px) {
  .scroll-cue { display: none; }
  .hero { min-height: auto; padding: 128px 0 64px; }
  .hero-meta { gap: 20px 26px; margin-top: 34px; }
  .hero-cta { margin-top: 24px; }
  .hero-cta .btn { flex: 1 1 100%; text-align: center; padding: 16px 18px; letter-spacing: 0.1em; font-size: 11.5px; }
  .lead { font-size: 16px; }
  .nav { background: rgba(8, 8, 8, 0.99); }
}
@media (max-width: 620px) {
  .hdr { padding: 12px 0; }
  .brand img { height: 36px; }
  .brand-txt { font-size: 18px; }
  .brand-txt em { font-size: 7.5px; letter-spacing: 0.24em; }
  .hero-meta div { min-width: 40%; }
  .filters { width: 100%; }
  .chip { flex: 1; text-align: center; }
}

/* el backdrop-filter del header crea containing block para position:fixed;
   en móvil se desactiva para que el menú cubra la pantalla completa */
@media (max-width: 900px) {
  .hdr, .hdr.is-stuck { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .hdr.is-stuck { background: rgba(8, 8, 8, 0.98); }
  .nav { height: 100dvh; }
}
