/* ==========================================================================
   Lake Mirrow S.A.S. — Landing page
   ========================================================================== */

:root {
  /* Colores del logotipo: azul oscuro #3a5276 y azul medio #5c84b6 */
  --navy: #0c1829;
  --navy-2: #14263f;
  --steel: #3a5276;
  --steel-2: #4a70a3;
  --brand: #5c84b6;
  --sky: #8fb4e0;
  --sky-soft: #e9f0f8;
  --silver: #c5ced8;
  --mist: #f3f6f9;
  --white: #ffffff;
  --ink: #0f2233;
  --muted: #586979;
  --line: #dde5ec;
  --whatsapp: #1fa855;

  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(12, 24, 41, .06), 0 4px 14px rgba(12, 24, 41, .05);
  --shadow-md: 0 10px 30px rgba(12, 24, 41, .10), 0 2px 6px rgba(12, 24, 41, .05);
  --shadow-lg: 0 30px 60px rgba(12, 24, 41, .18);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, dl, dd { margin: 0; }

h1, h2, h3 { line-height: 1.12; letter-spacing: -.02em; font-weight: 700; text-wrap: balance; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.2rem; letter-spacing: -.01em; }

:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 4px; }

.container {
  width: 100%;
  max-width: 1220px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 40px);
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  padding: 10px 16px; border-radius: 8px;
  background: var(--white); color: var(--navy); font-weight: 600;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ---------- Preloader ---------- */
@property --pl-hole { syntax: '<length>'; inherits: false; initial-value: -2px; }

.preloader {
  --p: 0;
  --pl-hole: -2px;
  position: fixed; inset: 0; z-index: 1000;
  display: none; place-items: center;
  color: var(--white);
  background: radial-gradient(900px 620px at 50% 42%, #1c3454 0%, var(--navy) 58%, #070e19 100%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, transparent var(--pl-hole), #000 calc(var(--pl-hole) + 2px));
  mask-image: radial-gradient(circle at 50% 50%, transparent var(--pl-hole), #000 calc(var(--pl-hole) + 2px));
  transition: --pl-hole 1.15s cubic-bezier(.7, 0, .2, 1), opacity .35s linear .85s;
  overflow: hidden;
}
.js .preloader { display: grid; }
html.is-loading { overflow: hidden; }
.preloader.is-done { --pl-hole: 150vmax; opacity: 0; pointer-events: none; }

.pl-grid {
  position: absolute; inset: -2px;
  background-image:
    linear-gradient(rgba(143, 180, 224, .09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143, 180, 224, .09) 1px, transparent 1px);
  background-size: 56px 56px; background-position: center;
  -webkit-mask-image: radial-gradient(ellipse 70% 62% at 50% 45%, #000 0%, transparent 78%);
  mask-image: radial-gradient(ellipse 70% 62% at 50% 45%, #000 0%, transparent 78%);
  animation: plGrid 5s linear infinite;
}
.pl-scan {
  position: absolute; left: 0; right: 0; top: 0; height: 34vh;
  background: linear-gradient(180deg, transparent, rgba(143, 180, 224, .07) 82%, rgba(143, 180, 224, .32) 100%);
  transform: translateY(-100%);
  animation: plScan 2.8s cubic-bezier(.5, 0, .5, 1) infinite;
}

.pl-frame { position: absolute; inset: clamp(16px, 3.2vw, 34px); }
.pl-frame::before, .pl-frame::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  --c: rgba(143, 180, 224, .55); --s: 22px; --w: 1.5px;
  background:
    linear-gradient(var(--c), var(--c)) top left / var(--s) var(--w) no-repeat,
    linear-gradient(var(--c), var(--c)) top left / var(--w) var(--s) no-repeat,
    linear-gradient(var(--c), var(--c)) bottom right / var(--s) var(--w) no-repeat,
    linear-gradient(var(--c), var(--c)) bottom right / var(--w) var(--s) no-repeat;
}
.pl-frame::after { transform: scaleX(-1); }
.pl-tag {
  position: absolute; font-size: .64rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase;
  color: rgba(255, 255, 255, .46); white-space: nowrap;
  animation: plFade .9s var(--ease-out) both;
}
.pl-tag-tl { top: 16px; left: 20px; color: var(--sky); }
.pl-tag-tr { top: 16px; right: 20px; animation-delay: .1s; }
.pl-tag-bl { bottom: 16px; left: 20px; animation-delay: .2s; }
.pl-tag-br { bottom: 16px; right: 20px; color: var(--sky); animation-delay: .3s; }
.pl-tag-br::before { content: ''; display: inline-block; width: 6px; height: 6px; margin-right: 10px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 10px var(--sky); animation: plBlink 1s steps(2, jump-none) infinite; }

.pl-stage { position: relative; display: flex; flex-direction: column; align-items: center; transition: transform .7s cubic-bezier(.7, 0, .2, 1), opacity .45s var(--ease), filter .6s var(--ease); }
.preloader.is-done .pl-stage { transform: scale(1.35); opacity: 0; filter: blur(8px); }

.pl-core { position: relative; width: clamp(196px, 56vw, 264px); aspect-ratio: 1; display: grid; place-items: center; animation: plIn 1s var(--ease-out) both; }
.pl-rings { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.pl-rings circle { fill: none; transform-origin: 130px 130px; }
.pl-ticks { stroke: rgba(143, 180, 224, .42); stroke-width: 5; stroke-dasharray: 1 7.800; animation: plSpin 40s linear infinite; }
.pl-track { stroke: rgba(255, 255, 255, .09); stroke-width: 1.5; }
.pl-progress {
  stroke: url(#plGrad); stroke-width: 3.500; stroke-linecap: round;
  stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--p) * 100);
  transform: rotate(-90deg);
  filter: drop-shadow(0 0 7px rgba(143, 180, 224, .85));
}
.pl-orbit { stroke: var(--brand); stroke-width: 1.5; stroke-linecap: round; stroke-dasharray: 16 84; opacity: .9; animation: plSpin 2.4s cubic-bezier(.6, .1, .4, .9) infinite; }
.pl-orbit-2 { stroke: rgba(255, 255, 255, .5); stroke-width: 1; stroke-dasharray: 6 19; animation: plSpin 9s linear infinite reverse; }

.pl-logo { position: relative; width: 50%; aspect-ratio: 460 / 188; }
.pl-logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.pl-logo-base { opacity: .16; }
.pl-logo-fill { clip-path: inset(calc((1 - var(--p)) * 100%) 0 0 0); filter: drop-shadow(0 0 12px rgba(143, 180, 224, .55)); }

.pl-readout {
  margin-top: clamp(22px, 4vh, 36px); display: flex; align-items: baseline; gap: 6px;
  font-family: ui-monospace, 'SF Mono', 'Cascadia Mono', 'Roboto Mono', Consolas, monospace;
  font-variant-numeric: tabular-nums; line-height: 1;
  animation: plFade 1s var(--ease-out) .15s both;
}
.pl-num { font-size: clamp(2.8rem, 10vw, 4.200rem); font-weight: 300; letter-spacing: .04em; text-shadow: 0 0 26px rgba(143, 180, 224, .5); }
.pl-pct { font-size: 1.1rem; color: var(--sky); }
.pl-bar { position: relative; width: clamp(180px, 46vw, 250px); height: 2px; margin-top: 18px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.pl-bar span { position: absolute; inset: 0; background: linear-gradient(90deg, var(--brand), var(--sky), #fff); transform: scaleX(var(--p)); transform-origin: left; box-shadow: 0 0 12px var(--sky); }

@keyframes plSpin { to { transform: rotate(360deg); } }
@keyframes plScan { to { transform: translateY(330%); } }
@keyframes plGrid { to { background-position: calc(50% + 56px) calc(50% + 56px); } }
@keyframes plBlink { 50% { opacity: .25; } }
@keyframes plFade { from { opacity: 0; } }
@keyframes plIn { from { opacity: 0; transform: scale(.86); } }

@media (max-width: 560px) {
  .pl-tag { font-size: .54rem; letter-spacing: .16em; }
  .pl-tag-tr { display: none; }
  .pl-tag-bl { bottom: 34px; }
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px;
  border: 1.5px solid transparent; border-radius: 999px;
  font-weight: 600; font-size: .96rem; letter-spacing: .005em; white-space: nowrap;
  cursor: pointer;
  transition: transform .35s var(--ease-out), background-color .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease), box-shadow .35s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.btn-primary { background: var(--steel); color: var(--white); box-shadow: 0 8px 22px rgba(58, 82, 118, .25); }
.btn-primary:hover { background: #456290; box-shadow: 0 12px 28px rgba(58, 82, 118, .32); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: var(--sky-soft); box-shadow: 0 12px 30px rgba(0, 0, 0, .25); }
.btn-outline-light { background: transparent; border-color: rgba(255, 255, 255, .55); color: var(--white); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .12); border-color: var(--white); }
.btn-ghost-light { background: transparent; border-color: rgba(255, 255, 255, .28); color: var(--white); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .6); }
.btn-whatsapp { background: var(--whatsapp); color: var(--white); box-shadow: 0 8px 22px rgba(31, 168, 85, .28); }
.btn-whatsapp:hover { background: #1b964c; }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: .88rem; }

/* ---------- Encabezado ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  color: var(--white);
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease), color .3s var(--ease), height .4s var(--ease);
}
.site-header.is-scrolled {
  --header-h: 66px;
  background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  backdrop-filter: saturate(1.4) blur(16px);
  color: var(--navy);
  box-shadow: 0 1px 0 var(--line), 0 8px 30px rgba(12, 24, 41, .06);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; }
.brand-logo { position: relative; flex: none; height: 34px; aspect-ratio: 460 / 188; transition: transform .6s var(--ease-out), height .4s var(--ease); }
.brand-logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .4s var(--ease); }
.brand-logo-color { opacity: 0; }
.site-header.is-scrolled .brand-logo { height: 30px; }
.site-header.is-scrolled .brand-logo-color { opacity: 1; }
.site-header.is-scrolled .brand-logo-light { opacity: 0; }
.site-header.is-scrolled .brand-text { color: var(--brand); }
.brand:hover .brand-logo { transform: translateY(-2px) scale(1.04); }
.brand-text { transition: color .3s var(--ease); font-size: 1.06rem; letter-spacing: .12em; text-transform: uppercase; line-height: 1; display: flex; align-items: baseline; gap: 7px; }
.brand-text small { font-size: .62rem; font-weight: 600; letter-spacing: .16em; opacity: .7; }

.nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 30px); }
.nav a:not(.btn) { position: relative; font-size: .93rem; font-weight: 500; padding: 6px 0; opacity: .9; transition: opacity .25s; }
.nav a:not(.btn)::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease-out);
}
.nav a:not(.btn):hover, .nav a.is-current { opacity: 1; }
.nav a:not(.btn):hover::after, .nav a.is-current::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { min-height: 42px; padding: 0 20px; font-size: .88rem; }
.site-header:not(.is-scrolled) .nav-cta { background: var(--white); color: var(--navy); box-shadow: none; }

.nav-toggle {
  display: none; width: 46px; height: 46px; padding: 0; margin-right: -8px;
  border: 0; background: none; cursor: pointer; position: relative; z-index: 120;
}
.nav-toggle span {
  position: absolute; left: 11px; right: 11px; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform .45s var(--ease-out), opacity .25s, top .45s var(--ease-out);
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 29px; }
.nav-open .nav-toggle span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* ---------- Portada ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: min(100svh, 900px);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: calc(var(--header-h) + 40px);
  color: var(--white); background: var(--navy);
  overflow: hidden;
}
.hero-media { position: absolute; inset: -6% 0 -6% 0; z-index: -2; will-change: transform; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%;
}
.js .hero-media img { transform: scale(1.12); }
.js.is-ready .hero-media img { animation: heroZoom 2.6s var(--ease-out) both; }
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(8, 17, 30, .92) 0%, rgba(8, 17, 30, .6) 14%, rgba(8, 17, 30, 0) 34%),
    linear-gradient(90deg, rgba(12, 24, 41, .97) 0%, rgba(12, 24, 41, .88) 34%, rgba(12, 24, 41, .58) 62%, rgba(12, 24, 41, .46) 100%),
    linear-gradient(0deg, rgba(12, 24, 41, .94) 0%, rgba(12, 24, 41, 0) 44%);
}
.hero-content { padding-block: clamp(30px, 6vh, 70px) clamp(40px, 8vh, 90px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--steel-2); margin-bottom: 18px;
}
.eyebrow::before { content: ''; width: 28px; height: 1.5px; background: currentColor; }
.eyebrow-light { color: var(--sky); }

.hero-title { font-size: clamp(2.5rem, 6.6vw, 5.4rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.02; max-width: 12ch; }
.hero-title span { display: block; }
.hero-title .accent {
  background: linear-gradient(100deg, #ffffff 0%, var(--sky) 50%, var(--brand) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: .08em;
}
.hero-lead { max-width: 54ch; margin-top: 26px; font-size: clamp(1rem, 1.35vw, 1.16rem); color: rgba(255, 255, 255, .82); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.hero-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, .16);
}
.hero-strip li { padding: 22px 24px 26px 0; display: flex; flex-direction: column; gap: 2px; }
.hero-strip li + li { padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, .12); }
.hero-strip strong { font-size: .98rem; font-weight: 700; }
.hero-strip span { font-size: .85rem; color: rgba(255, 255, 255, .62); }

.js .hero-in { opacity: 0; transform: translateY(26px); }
.js.is-ready .hero-in {
  animation: riseIn 1.1s var(--ease-out) forwards;
  animation-delay: calc(var(--d, 0) * 110ms + 350ms);
}
@keyframes riseIn { to { opacity: 1; transform: none; } }
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }

/* ---------- Secciones ---------- */
.section { padding-block: clamp(72px, 10vw, 132px); position: relative; }
.section-mist { background: var(--mist); }
.section-dark {
  color: var(--white);
  background: radial-gradient(1100px 520px at 88% -8%, rgba(92, 132, 182, .38), transparent 62%), var(--navy);
}
.section-head { max-width: 680px; margin-bottom: clamp(34px, 5vw, 56px); }
.section-lead { margin-top: 16px; font-size: 1.06rem; color: var(--muted); max-width: 58ch; }
.section-lead a { color: var(--steel-2); font-weight: 600; border-bottom: 1px solid currentColor; }
.section-dark .section-lead { color: rgba(255, 255, 255, .7); }

/* Aparición al hacer scroll */
.js .reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 110ms);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Catálogo ---------- */
.catalog-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 30px; flex-wrap: wrap; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  min-height: 42px; padding: 0 18px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--white);
  font-size: .9rem; font-weight: 600; color: var(--muted); white-space: nowrap; cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease-out);
}
.chip:hover { border-color: var(--steel-2); color: var(--steel); transform: translateY(-1px); }
.chip.is-active { background: var(--navy); border-color: var(--navy); color: var(--white); }

.search { position: relative; flex: 0 1 300px; min-width: 220px; }
.search svg {
  position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%);
  fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; pointer-events: none;
}
.search input {
  width: 100%; height: 46px; padding: 0 18px 0 44px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--mist);
  transition: border-color .25s, background-color .25s, box-shadow .25s;
}
.search input::placeholder { color: #8795a3; }
.search input:focus { outline: none; background: var(--white); border-color: var(--steel-2); box-shadow: 0 0 0 4px rgba(92, 132, 182, .14); }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(275px, 1fr)); gap: 24px; }

.product {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease), border-color .3s;
  animation: cardIn .7s var(--ease-out) both;
  animation-delay: calc(var(--i, 0) * 60ms);
}
.product:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
@keyframes cardIn { from { opacity: 0; transform: translateY(18px) scale(.985); } }

.product-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: linear-gradient(150deg, #eaf0f5, #d5dee7); }
.product-media img, .product-media svg { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.product:hover .product-media img, .product:hover .product-media svg { transform: scale(1.06); }

.media-tag {
  position: absolute; left: 12px; bottom: 12px;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(12, 24, 41, .62); color: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font-size: .68rem; font-weight: 600; letter-spacing: .04em;
}

.product-body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 22px; }
.product-cat { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--steel-2); }
.product h3 { margin-top: 8px; font-size: 1.14rem; }
.product-desc { margin-top: 8px; font-size: .93rem; color: var(--muted); line-height: 1.55; }
.product-meta { margin-top: auto; padding-top: 18px; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.product-price { font-size: 1.08rem; font-weight: 800; color: var(--navy); letter-spacing: -.01em; }
.product-measure { font-size: .8rem; color: var(--muted); }
.product-actions { margin-top: 16px; display: flex; gap: 8px; }
.product-actions .btn { flex: 1; }
.btn-line { border-color: var(--line); color: var(--steel); background: var(--white); }
.btn-line:hover { border-color: var(--steel-2); background: var(--sky-soft); }
.btn-line svg { width: 15px; height: 15px; stroke-width: 2; }

.empty { margin-top: 10px; padding: 46px 24px; text-align: center; color: var(--muted); border: 1px dashed var(--silver); border-radius: var(--radius); }
.empty a { color: var(--steel-2); font-weight: 600; border-bottom: 1px solid currentColor; }

.catalog-note { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; color: var(--muted); font-size: .96rem; }
.catalog-note a { display: inline-flex; align-items: center; gap: 6px; color: var(--steel); font-weight: 700; border-bottom: 1.5px solid var(--sky); padding-bottom: 1px; transition: border-color .25s, color .25s; }
.catalog-note a:hover { color: var(--steel-2); border-color: var(--steel-2); }
.catalog-note svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease-out); }
.catalog-note a:hover svg { transform: translate(2px, -2px); }

/* ---------- Soluciones para empresas ---------- */
.sectors { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 84px); align-items: center; }
.sector-list { margin-bottom: 36px; border-top: 1px solid rgba(255, 255, 255, .14); }
.sector {
  width: 100%; display: flex; align-items: flex-start; gap: 20px; text-align: left;
  padding: 18px 0; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .14);
  background: none; color: rgba(255, 255, 255, .55); cursor: pointer; position: relative;
  transition: color .4s var(--ease), padding-left .5s var(--ease-out);
}
.sector::after {
  content: ''; position: absolute; left: 0; bottom: -1px; height: 1.5px; width: 100%;
  background: var(--sky); transform: scaleX(0); transform-origin: left;
  transition: transform .7s var(--ease-out);
}
.sector:hover { color: rgba(255, 255, 255, .85); }
.sector.is-active { color: var(--white); padding-left: 10px; }
.sector.is-active::after { transform: scaleX(1); }
.sector-num { font-size: .78rem; font-weight: 700; letter-spacing: .1em; color: var(--sky); padding-top: 5px; }
.sector-body { display: flex; flex-direction: column; gap: 2px; }
.sector-body strong { font-size: 1.16rem; font-weight: 700; letter-spacing: -.01em; }
.sector-body span {
  font-size: .93rem; color: rgba(255, 255, 255, .62);
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height .5s var(--ease-out), opacity .4s var(--ease);
}
.sector.is-active .sector-body span { max-height: 3.4em; opacity: 1; }

.sectors-media { position: relative; aspect-ratio: 5 / 5.4; border-radius: 20px; overflow: hidden; background: var(--navy-2); box-shadow: var(--shadow-lg); }
.sectors-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.07);
  transition: opacity .9s var(--ease), transform 1.6s var(--ease-out);
}
.sectors-media img.is-visible { opacity: 1; transform: scale(1); }
.sectors-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12, 24, 41, 0) 55%, rgba(12, 24, 41, .5)); pointer-events: none; }
.sectors-media .media-tag { z-index: 2; left: 16px; bottom: 16px; }

/* ---------- Bloques divididos (automotriz / nosotros) ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(36px, 7vw, 96px); align-items: center; }
.split-reverse { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
.split .section-head { margin-bottom: 30px; }

.split-media { position: relative; padding: 0 9% 12% 0; }
.split-media-single { padding: 0; }
.split-main { width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow-md); }
.split-float {
  position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1; object-fit: cover;
  border-radius: 16px; border: 6px solid var(--white); box-shadow: var(--shadow-lg);
}

.feature-rows { border-top: 1px solid var(--line); }
.feature-rows li { display: flex; align-items: center; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); transition: padding-left .45s var(--ease-out); }
.feature-rows li:hover { padding-left: 8px; }
.feature-rows svg {
  flex: none; width: 46px; height: 46px; padding: 11px; border-radius: 12px;
  background: var(--sky-soft); stroke: var(--steel); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.feature-rows strong { display: block; font-size: 1.04rem; }
.feature-rows span { font-size: .93rem; color: var(--muted); }
.split-actions { margin-top: 32px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.hint { font-size: .9rem; color: var(--muted); }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.facts div { padding: 22px 16px 0 0; }
.facts div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.facts dt { font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em; color: var(--steel); }
.facts dd { font-size: .88rem; color: var(--muted); margin-top: 2px; }

/* ---------- Servicios ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service {
  position: relative; padding: 38px 32px 36px; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease), opacity .9s var(--ease-out);
}
.service::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--steel), var(--brand));
  transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease-out);
}
.service:hover { box-shadow: var(--shadow-md); }
.js .service.is-in:hover { transform: translateY(-6px); }
.service:hover::before { transform: scaleX(1); }
.service-num { font-size: .8rem; font-weight: 700; letter-spacing: .14em; color: var(--steel-2); }
.service h3 { margin-top: 44px; font-size: 1.36rem; }
.service p { margin-top: 12px; color: var(--muted); font-size: .98rem; }

/* ---------- Preguntas frecuentes ---------- */
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 84px); align-items: start; }
.faq-wrap .section-head { position: sticky; top: calc(var(--header-h) + 30px); margin-bottom: 0; }
.faq { border-top: 1px solid var(--silver); }
.faq-item { border-bottom: 1px solid var(--silver); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 0; border: 0; background: none; cursor: pointer; text-align: left;
  font-size: 1.1rem; font-weight: 700; letter-spacing: -.01em; color: var(--ink);
  transition: color .25s;
}
.faq-q:hover { color: var(--steel-2); }
.faq-icon { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--silver); transition: background-color .35s var(--ease), border-color .35s, transform .5s var(--ease-out); }
.faq-icon::before, .faq-icon::after {
  content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px;
  background: currentColor; transition: transform .5s var(--ease-out);
}
.faq-icon::after { transform: rotate(90deg); }
.faq-q[aria-expanded="true"] .faq-icon { background: var(--navy); border-color: var(--navy); color: var(--white); transform: rotate(180deg); }
.faq-q[aria-expanded="true"] .faq-icon::after { transform: rotate(0); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease-out); }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 54px 26px 0; color: var(--muted); opacity: 0; transform: translateY(-6px); transition: opacity .4s var(--ease), transform .5s var(--ease-out); }
.faq-a p a { color: var(--steel-2); font-weight: 600; border-bottom: 1px solid currentColor; }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-item.is-open .faq-a p { opacity: 1; transform: none; transition-delay: .12s; }

/* ---------- Contacto ---------- */
.contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 84px); align-items: start; }
.contact-list { display: grid; gap: 10px; }
.contact-list a, .contact-list div {
  display: flex; align-items: center; gap: 16px; padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius-sm);
  transition: background-color .3s var(--ease), border-color .3s, transform .45s var(--ease-out);
}
.contact-list a:hover { background: rgba(255, 255, 255, .06); border-color: rgba(143, 180, 224, .55); transform: translateX(6px); }
.contact-ico { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 11px; background: rgba(143, 180, 224, .14); }
.contact-ico svg { width: 21px; height: 21px; fill: none; stroke: var(--sky); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.contact-ico svg .fill { fill: var(--sky); stroke: none; }
.contact-list small { display: block; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.contact-list strong { font-size: 1.04rem; font-weight: 700; overflow-wrap: anywhere; }

.quote-form {
  padding: clamp(24px, 3.6vw, 42px);
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); border-radius: 20px;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.quote-form h3 { font-size: 1.3rem; margin-bottom: 24px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: block; margin-bottom: 16px; }
.field > span { display: block; font-size: .82rem; font-weight: 600; color: rgba(255, 255, 255, .72); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 15px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--radius-sm);
  color: var(--white);
  transition: border-color .25s, background-color .25s, box-shadow .25s;
}
.field textarea { resize: vertical; min-height: 112px; line-height: 1.5; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 42px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238fb4e0' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
.field select option { color: var(--ink); background: var(--white); }
.field ::placeholder { color: rgba(255, 255, 255, .38); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--sky); background-color: rgba(255, 255, 255, .1); box-shadow: 0 0 0 4px rgba(143, 180, 224, .16);
}
.field.is-invalid input, .field.is-invalid select { border-color: #ff9d8a; box-shadow: 0 0 0 4px rgba(255, 157, 138, .14); }
.field-error { display: block; margin-top: 6px; font-size: .8rem; color: #ffb3a4; }

.form-status { min-height: 1.5em; font-size: .9rem; color: var(--sky); margin-bottom: 8px; }
.form-status.is-error { color: #ffb3a4; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.form-actions .btn { flex: 1 1 200px; }
.form-note { margin-top: 16px; font-size: .82rem; color: rgba(255, 255, 255, .5); }

/* ---------- Pie de página ---------- */
.site-footer { background: #08111e; color: rgba(255, 255, 255, .7); font-size: .93rem; }
.footer-inner { display: grid; grid-template-columns: 1.3fr .7fr 1fr; gap: 40px; padding-block: 64px 44px; }
.footer-brand .brand { display: block; }
.footer-logo { width: 190px; height: auto; }
.footer-brand p { margin-top: 18px; max-width: 38ch; }
.footer-nav, .footer-contact { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-nav a, .footer-contact a { transition: color .25s, transform .35s var(--ease-out); }
.footer-nav a:hover, .footer-contact a:hover { color: var(--white); transform: translateX(4px); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .8rem; color: rgba(255, 255, 255, .45); }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%;
  background: var(--whatsapp); color: var(--white);
  box-shadow: 0 10px 26px rgba(12, 24, 41, .28);
  opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none;
  transition: opacity .45s var(--ease), transform .55s var(--ease-out), box-shadow .3s;
}
.wa-float.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.wa-float:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 14px 32px rgba(12, 24, 41, .36); }
.wa-float svg { width: 28px; height: 28px; fill: currentColor; }
html:not(.js) .wa-float { opacity: 1; transform: none; pointer-events: auto; }

/* ==========================================================================
   Adaptación a tabletas y celulares
   ========================================================================== */
@media (max-width: 1020px) {
  .nav {
    position: fixed; inset: 0; z-index: 110;
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px;
    padding: 90px clamp(24px, 8vw, 60px) 40px;
    background: var(--navy); color: var(--white);
    opacity: 0; visibility: hidden; transform: translateY(-14px);
    transition: opacity .45s var(--ease), transform .55s var(--ease-out), visibility 0s .5s;
  }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav a:not(.btn) { font-size: clamp(1.5rem, 6vw, 2rem); font-weight: 700; letter-spacing: -.02em; padding: 8px 0; opacity: 1; }
  .nav a:not(.btn)::after { display: none; }
  .nav .nav-cta, .site-header:not(.is-scrolled) .nav-cta { margin-top: 24px; min-height: 52px; padding: 0 28px; font-size: 1rem; background: var(--white); color: var(--navy); }
  .nav-toggle { display: block; }
  .nav-open .site-header { color: var(--white); background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav-open .site-header .brand-logo-light { opacity: 1; }
  .nav-open .site-header .brand-logo-color { opacity: 0; }
  .nav-open .site-header .brand-text { color: var(--white); }
  .nav-open .brand { position: relative; z-index: 120; }
  body.nav-open { overflow: hidden; }

  .sectors, .split, .split-reverse, .faq-wrap, .contact { grid-template-columns: 1fr; }
  .sectors-media { aspect-ratio: 16 / 11; order: -1; }
  .split-reverse .split-media { order: -1; }
  .faq-wrap .section-head { position: static; margin-bottom: 8px; }
  .service-grid { grid-template-columns: 1fr; gap: 16px; }
  .service h3 { margin-top: 22px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  :root { --header-h: 66px; }
  .hero { min-height: 100svh; }
  .hero-media img { object-position: 50% 40%; }
  .hero-shade {
    background: linear-gradient(0deg, rgba(12, 24, 41, .97) 0%, rgba(12, 24, 41, .88) 48%, rgba(12, 24, 41, .62) 76%, rgba(8, 17, 30, .9) 100%);
  }
  .hero .eyebrow { font-size: .7rem; letter-spacing: .12em; gap: 10px; }
  .hero .eyebrow::before { width: 20px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-strip { grid-template-columns: 1fr 1fr; }
  .hero-strip li, .hero-strip li + li { padding: 16px 12px 16px 0; border-left: 0; }
  .hero-strip li:nth-child(even) { padding-left: 16px; border-left: 1px solid rgba(255, 255, 255, .12); }
  .hero-strip li:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .12); }
  .hero-strip strong { font-size: .9rem; }
  .hero-strip span { font-size: .78rem; }

  .catalog-bar { flex-direction: column-reverse; flex-wrap: nowrap; align-items: stretch; gap: 14px; }
  .search { flex: none; width: 100%; }
  .chips { flex-wrap: nowrap; min-width: 0; overflow-x: auto; margin-inline: calc(clamp(20px, 5vw, 40px) * -1); padding-inline: clamp(20px, 5vw, 40px); padding-bottom: 4px; scrollbar-width: none; scroll-snap-type: x proximity; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { scroll-snap-align: start; flex: none; }
  .product-grid { grid-template-columns: 1fr; gap: 18px; }

  .field-row { grid-template-columns: 1fr; gap: 0; }
  .facts { grid-template-columns: 1fr; }
  .facts div, .facts div + div { padding: 16px 0; border-left: 0; border-bottom: 1px solid var(--line); display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
  .faq-q { font-size: 1.02rem; padding: 20px 0; }
  .faq-a p { padding-right: 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; padding-block: 48px 32px; }
  .footer-bottom { padding-bottom: 84px; }
  .wa-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-delay: 0s !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal, .js .hero-in { opacity: 1; transform: none; }
  .js .hero-media img { transform: none; }
  .pl-scan { display: none; }
  .hero-media { transform: none !important; }
}
