/* ==========================================================================
   Novacore Soluciones Industriales — hoja de estilos principal
   ========================================================================== */

:root {
  /* Marca (extraída del logo) */
  --brand-800: #1B3A68;
  --brand-700: #22477E;
  --brand-600: #285296;
  --brand-500: #2A549B;
  --brand-400: #3D6FC2;
  --brand-300: #7FA6EA;
  --brand-100: #E8EFFA;
  --steel: #476B94;

  /* Neutros */
  --ink: #0B1220;
  --ink-2: #1D2433;
  --muted: #5F6778;
  --muted-2: #8A91A0;
  --line: rgba(11, 18, 32, 0.08);
  --line-2: rgba(11, 18, 32, 0.14);
  --bg: #FFFFFF;
  --bg-soft: #F5F7FA;
  --bg-soft-2: #EEF2F7;

  /* Oscuros */
  --night: #050B16;
  --night-2: #0A1628;
  --night-line: rgba(255, 255, 255, 0.09);
  --night-text: rgba(255, 255, 255, 0.64);

  --ok: #34C38F;
  --warn: #F5B544;

  /* Tipografía */
  --font-display: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Espaciado y forma */
  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(88px, 12vw, 160px);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;

  --shadow-sm: 0 1px 2px rgba(11, 18, 32, 0.06), 0 1px 1px rgba(11, 18, 32, 0.04);
  --shadow: 0 10px 30px -12px rgba(11, 18, 32, 0.18), 0 2px 6px rgba(11, 18, 32, 0.05);
  --shadow-lg: 0 40px 80px -30px rgba(11, 18, 32, 0.35);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 68px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; letter-spacing: -0.025em; line-height: 1.08; font-weight: 600; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--brand-500); color: #fff; }
:focus-visible { outline: 2px solid var(--brand-400); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; position: relative; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--night); color: #fff; }

/* ---------- Tipografía utilitaria ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brand-500);
}
.eyebrow::before {
  content: ""; width: 18px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--brand-400), var(--brand-300));
}
.section--dark .eyebrow, .hero .eyebrow { color: var(--brand-300); }

.display-xl { font-size: clamp(44px, 7.4vw, 96px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.0; }
.display-l  { font-size: clamp(36px, 5.2vw, 68px); letter-spacing: -0.035em; line-height: 1.04; }
.display-m  { font-size: clamp(28px, 3.6vw, 46px); letter-spacing: -0.03em; }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--muted); max-width: 640px; }
.section--dark .lead, .hero .lead { color: var(--night-text); }
.muted { color: var(--muted); }

.text-gradient {
  background: linear-gradient(100deg, #FFFFFF 10%, var(--brand-300) 55%, #BFD3F7 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.text-gradient-brand {
  background: linear-gradient(100deg, var(--brand-700), var(--brand-400) 60%, var(--brand-300));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.section-head { display: grid; gap: 20px; margin-bottom: clamp(48px, 6vw, 80px); max-width: 780px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; justify-items: center; }
.section-head--split {
  max-width: none; grid-template-columns: 1fr 1fr; align-items: end; gap: 40px;
}
@media (max-width: 860px) { .section-head--split { grid-template-columns: 1fr; } }

/* ---------- Botones ---------- */
.btn {
  --btn-bg: var(--ink); --btn-fg: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--btn-bg); color: var(--btn-fg);
  font-size: 16px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s, color .3s;
}
.btn svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(0.98); }
.btn--primary {
  --btn-bg: linear-gradient(180deg, var(--brand-400), var(--brand-600));
  box-shadow: 0 10px 30px -10px rgba(42, 84, 155, 0.8), inset 0 1px 0 rgba(255,255,255,.22);
}
.btn--primary:hover { box-shadow: 0 16px 40px -12px rgba(42, 84, 155, 0.9), inset 0 1px 0 rgba(255,255,255,.3); transform: translateY(-1px); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--ghost:hover { --btn-bg: var(--bg-soft); }
.btn--ghost-light { --btn-bg: rgba(255,255,255,0.06); --btn-fg: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.18); backdrop-filter: blur(10px); }
.btn--ghost-light:hover { --btn-bg: rgba(255,255,255,0.12); }
.btn--white { --btn-bg: #fff; --btn-fg: var(--ink); }
.btn--sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--brand-500);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.section--dark .link-arrow { color: var(--brand-300); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  transition: background .4s var(--ease), box-shadow .4s var(--ease), backdrop-filter .4s;
}
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header__logo { position: relative; display: block; height: 34px; width: 132px; flex-shrink: 0; }
.header__logo img { position: absolute; inset: 0; height: 100%; width: auto; transition: opacity .3s; }
.header__logo .logo-white { opacity: 0; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav__link {
  position: relative; padding: 8px 14px; border-radius: 999px;
  font-size: 15px; font-weight: 500; color: var(--ink-2); transition: color .25s, background .25s;
}
.nav__link:hover { background: rgba(11,18,32,0.05); }
.nav__link[aria-current="page"] { color: var(--brand-500); }
.nav__link[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; width: 4px; height: 4px; margin-left: -2px;
  border-radius: 50%; background: currentColor;
}
.header__actions { display: flex; align-items: center; gap: 12px; }
.header__phone { font-size: 14px; font-weight: 500; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.header__phone svg { width: 16px; height: 16px; }

.header.is-scrolled, .header.is-open {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 1px 0 var(--line);
}

/* Header sobre hero oscuro */
.header--dark:not(.is-scrolled):not(.is-open) .logo-color { opacity: 0; }
.header--dark:not(.is-scrolled):not(.is-open) .logo-white { opacity: 1; }
.header--dark:not(.is-scrolled):not(.is-open) .nav__link { color: rgba(255,255,255,0.78); }
.header--dark:not(.is-scrolled):not(.is-open) .nav__link:hover { color: #fff; background: rgba(255,255,255,0.08); }
.header--dark:not(.is-scrolled):not(.is-open) .nav__link[aria-current="page"] { color: #fff; }
.header--dark:not(.is-scrolled):not(.is-open) .header__phone { color: rgba(255,255,255,0.7); }
.header--dark:not(.is-scrolled):not(.is-open) .menu-toggle span { background: #fff; }

.menu-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
  position: relative; border-radius: 12px;
}
.menu-toggle span {
  position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--ink); border-radius: 2px;
  transition: transform .4s var(--ease), top .4s var(--ease), background .3s;
}
.menu-toggle span:nth-child(1) { top: 17px; }
.menu-toggle span:nth-child(2) { top: 26px; }
.header.is-open .menu-toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.header.is-open .menu-toggle span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
  background: rgba(255,255,255,0.96); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  padding: 32px var(--gutter) 40px; display: flex; flex-direction: column; gap: 8px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; }
.mobile-menu a:not(.btn) {
  font-family: var(--font-display); font-size: 32px; font-weight: 600; letter-spacing: -0.03em;
  padding: 10px 0; border-bottom: 1px solid var(--line);
}
.mobile-menu .btn { margin-top: 24px; }
.mobile-menu__contact { margin-top: auto; display: grid; gap: 6px; color: var(--muted); font-size: 15px; }

@media (max-width: 960px) {
  .nav, .header__phone { display: none; }
  .menu-toggle { display: block; }
  .header__actions .btn { display: none; }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff; background: var(--night);
  padding: calc(var(--header-h) + clamp(56px, 9vw, 120px)) 0 clamp(72px, 9vw, 120px);
  isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__bg::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 55% at 78% 30%, rgba(61,111,194,0.55), transparent 70%),
    radial-gradient(40% 40% at 12% 80%, rgba(34,71,126,0.55), transparent 70%),
    radial-gradient(30% 30% at 50% 0%, rgba(127,166,234,0.18), transparent 70%);
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000 20%, transparent 75%);
          mask-image: radial-gradient(70% 60% at 50% 30%, #000 20%, transparent 75%);
}
.hero__orb {
  position: absolute; width: 520px; height: 520px; right: -120px; top: 40px; border-radius: 50%;
  background: conic-gradient(from 180deg, rgba(61,111,194,0.0), rgba(127,166,234,0.35), rgba(61,111,194,0.0));
  filter: blur(60px); animation: orb 18s linear infinite; opacity: .7;
}
@keyframes orb { to { transform: rotate(360deg); } }

.hero__grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.hero__content { display: grid; gap: 28px; }
.hero__pill {
  justify-self: start; display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 6px; border-radius: 999px;
  background: rgba(255,255,255,0.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12);
  font-size: 14px; color: rgba(255,255,255,0.82); backdrop-filter: blur(10px);
}
.hero__pill b {
  font-weight: 600; font-size: 12px; letter-spacing: 0.04em; padding: 4px 10px; border-radius: 999px;
  background: linear-gradient(180deg, var(--brand-400), var(--brand-600)); color: #fff;
}
.hero h1 { font-size: clamp(44px, 5.4vw, 80px); letter-spacing: -0.045em; line-height: 0.98; font-weight: 600; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 12px; font-size: 14px; color: rgba(255,255,255,0.6); }
.hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta svg { width: 16px; height: 16px; color: var(--brand-300); }

@media (max-width: 1020px) {
  .hero__grid { grid-template-columns: 1fr; }
}

/* ---------- Panel de monitorización (hero) ---------- */
.monitor {
  position: relative; border-radius: var(--radius-lg); padding: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.09), rgba(255,255,255,0.03));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1), 0 50px 100px -40px rgba(0,0,0,0.8);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  transform: perspective(1400px) rotateY(-6deg) rotateX(3deg);
  transition: transform .8s var(--ease);
}
.monitor:hover { transform: perspective(1400px) rotateY(0) rotateX(0); }
@media (max-width: 1020px) { .monitor, .monitor:hover { transform: none; } }
.monitor__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.monitor__title { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; }
.monitor__title img { width: 22px; height: 22px; }
.monitor__live { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: rgba(255,255,255,0.6); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(52,195,143,0.6); animation: pulse 2s infinite; }
.dot--warn { background: var(--warn); box-shadow: 0 0 0 0 rgba(245,181,68,0.6); animation-name: pulse-warn; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(52,195,143,0); } 100% { box-shadow: 0 0 0 0 rgba(52,195,143,0); } }
@keyframes pulse-warn { 70% { box-shadow: 0 0 0 8px rgba(245,181,68,0); } 100% { box-shadow: 0 0 0 0 rgba(245,181,68,0); } }

.monitor__kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.kpi { padding: 14px 16px; border-radius: 16px; background: rgba(255,255,255,0.04); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.07); }
.kpi__label { font-size: 12px; color: rgba(255,255,255,0.55); }
.kpi__value { font-family: var(--font-display); font-size: 28px; font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.kpi__value small { font-size: 14px; color: rgba(255,255,255,0.55); font-weight: 500; margin-left: 3px; }
.kpi__trend { font-size: 12px; color: var(--ok); }

.monitor__chart { margin-top: 10px; padding: 14px 16px 8px; border-radius: 16px; background: rgba(255,255,255,0.04); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.07); }
.monitor__chart-head { display: flex; justify-content: space-between; font-size: 12px; color: rgba(255,255,255,0.55); }
.monitor__chart svg { width: 100%; height: 86px; margin-top: 6px; overflow: visible; }

.monitor__rows { margin-top: 10px; display: grid; gap: 2px; }
.monitor__row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 6px; font-size: 13px; border-top: 1px solid rgba(255,255,255,0.06);
}
.monitor__row:first-child { border-top: 0; }
.monitor__row span:first-child { display: inline-flex; align-items: center; gap: 10px; color: rgba(255,255,255,0.85); }
.monitor__row span:last-child { color: rgba(255,255,255,0.5); font-variant-numeric: tabular-nums; }
.monitor__note { margin-top: 12px; font-size: 11px; color: rgba(255,255,255,0.35); text-align: right; }

.monitor__float {
  position: absolute; left: -36px; bottom: -26px; padding: 12px 16px; border-radius: 16px;
  background: rgba(255,255,255,0.95); color: var(--ink); box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 12px; font-size: 13px; animation: float 6s ease-in-out infinite;
}
.monitor__float strong { display: block; font-size: 15px; }
.monitor__float .ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-100); color: var(--brand-600); }
.monitor__float .ico svg { width: 18px; height: 18px; }
@keyframes float { 50% { transform: translateY(-8px); } }
@media (max-width: 1020px) { .monitor__float { display: none; } }

/* ---------- Franja de sectores ---------- */
.sectors-strip { background: var(--night); color: rgba(255,255,255,0.55); border-top: 1px solid var(--night-line); padding: 28px 0; overflow: hidden; }
.sectors-strip__inner { display: flex; align-items: center; gap: 40px; }
.sectors-strip__label { flex-shrink: 0; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
.marquee { position: relative; flex: 1; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; gap: 56px; width: max-content; animation: marquee 40s linear infinite; }
.marquee__item { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-display); font-size: 20px; font-weight: 500; color: rgba(255,255,255,0.75); white-space: nowrap; letter-spacing: -0.01em; }
.marquee__item svg { width: 22px; height: 22px; color: var(--brand-300); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (max-width: 720px) { .sectors-strip__label { display: none; } }

/* ---------- Statement con revelado por scroll ---------- */
.statement { font-family: var(--font-display); font-size: clamp(30px, 4.4vw, 58px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.12; max-width: 1060px; }
.statement .w { transition: color .2s linear; color: #C9CFDA; }
.statement .w.is-on { color: var(--ink); }
.statement .w.accent.is-on { color: var(--brand-500); }

/* ---------- Bento de servicios ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(26px, 3vw, 36px);
  background: var(--bg-soft); display: flex; flex-direction: column; gap: 14px; min-height: 280px;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
  isolation: isolate;
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.section--soft .tile:not(.tile--feature):not(.tile--wide) { background: #fff; box-shadow: 0 0 0 1px var(--line); }
.section--soft .tile:not(.tile--feature):not(.tile--wide):hover { box-shadow: 0 0 0 1px var(--line), var(--shadow); }
.section--soft .tile__icon { background: var(--brand-100); box-shadow: none; }
.tile h3 { font-size: clamp(22px, 2.2vw, 28px); }
.tile p { color: var(--muted); font-size: 16px; max-width: 420px; }
.tile .link-arrow { margin-top: auto; font-size: 15px; }
.tile__icon {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
  background: #fff; color: var(--brand-500); box-shadow: var(--shadow-sm);
}
.tile__icon svg { width: 26px; height: 26px; }
.tile--span-4 { grid-column: span 4; }
.tile--span-3 { grid-column: span 3; }
.tile--span-2 { grid-column: span 2; }
.tile--span-6 { grid-column: span 6; }
.tile--feature {
  background: radial-gradient(90% 90% at 100% 0%, rgba(61,111,194,0.7), transparent 60%), linear-gradient(160deg, #0B1B33, var(--night));
  color: #fff; min-height: 420px;
}
.tile--feature p { color: rgba(255,255,255,0.68); }
.tile--feature .tile__icon { background: rgba(255,255,255,0.1); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.14); }
.tile--feature .link-arrow { color: var(--brand-300); }
.tile--feature .tile__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tile__art { position: absolute; right: -40px; bottom: -40px; width: 60%; max-width: 420px; opacity: .9; z-index: -1; pointer-events: none; }
.tile--wide { flex-direction: row; align-items: center; justify-content: space-between; gap: 32px; min-height: 0; background: linear-gradient(120deg, var(--brand-100), #F4F7FC 60%); }
.tile--wide > div { display: grid; gap: 12px; }
@media (max-width: 1020px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile--span-4, .tile--span-3, .tile--span-6 { grid-column: span 2; }
  .tile--span-2 { grid-column: span 1; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
  .tile--span-2, .tile--span-3, .tile--span-4, .tile--span-6 { grid-column: span 1; }
  .tile--wide { flex-direction: column; align-items: flex-start; }
  .tile { min-height: 0; }
  .tile--feature { min-height: 380px; }
}

.chip {
  display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px;
  font-size: 13px; font-weight: 500; background: var(--bg-soft); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line);
}
.chip--dark { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.85); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12); }
.chip--brand { background: var(--brand-100); color: var(--brand-600); box-shadow: none; }

/* ---------- Pilares ---------- */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.pillar { background: #fff; padding: 36px 30px 40px; display: grid; gap: 14px; align-content: start; }
.pillar__num { font-family: var(--font-display); font-size: 14px; font-weight: 600; color: var(--brand-500); }
.pillar h3 { font-size: 22px; }
.pillar p { color: var(--muted); font-size: 16px; }
@media (max-width: 1020px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pillars { grid-template-columns: 1fr; } }

/* ---------- Caso destacado ---------- */
.case {
  position: relative; overflow: hidden; border-radius: var(--radius-xl);
  background: radial-gradient(70% 90% at 90% 10%, rgba(61,111,194,0.55), transparent 60%), linear-gradient(150deg, #0B1B33 0%, var(--night) 70%);
  color: #fff; padding: clamp(36px, 6vw, 80px);
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 5vw, 72px); align-items: center;
  isolation: isolate;
}
.case::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(rgba(255,255,255,0.12) 1px, transparent 1px); background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(90deg, transparent 40%, #000); mask-image: linear-gradient(90deg, transparent 40%, #000);
}
.case__content { display: grid; gap: 22px; }
.case__badge {
  justify-self: start; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  background: linear-gradient(90deg, rgba(127,166,234,0.2), rgba(127,166,234,0.05)); box-shadow: inset 0 0 0 1px rgba(127,166,234,0.35);
  font-size: 13px; font-weight: 600; color: #DCE7FB;
}
.case__badge svg { width: 16px; height: 16px; color: var(--brand-300); }
.case p { color: rgba(255,255,255,0.68); font-size: 18px; }
.case__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.case__visual { display: grid; gap: 12px; }
.case__stat { padding: 22px 24px; border-radius: 20px; background: rgba(255,255,255,0.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.09); backdrop-filter: blur(10px); }
.case__stat strong { display: block; font-family: var(--font-display); font-size: clamp(28px, 3vw, 38px); letter-spacing: -0.03em; font-weight: 600; }
.case__stat span { color: rgba(255,255,255,0.6); font-size: 15px; }
@media (max-width: 900px) { .case { grid-template-columns: 1fr; } }

/* ---------- Sectores (tarjetas con foto) ---------- */
.sectors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sector {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); min-height: 320px; isolation: isolate;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 28px; color: #fff; background: var(--night);
}
.sector--wide { grid-column: span 2; }
.sector img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.sector::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5,11,22,0) 30%, rgba(5,11,22,0.55) 62%, rgba(5,11,22,0.92) 100%); }
.sector:hover img { transform: scale(1.05); }
.sector h3 { font-size: clamp(22px, 2.2vw, 28px); }
.sector p { color: rgba(255,255,255,0.78); font-size: 15.5px; max-width: 440px; }
@media (max-width: 900px) { .sectors { grid-template-columns: 1fr 1fr; } .sector--wide { grid-column: span 2; } }
@media (max-width: 560px) { .sectors { grid-template-columns: 1fr; } .sector--wide { grid-column: span 1; } .sector { min-height: 260px; } }

/* Fotos dentro de bloques visuales */
.aero__visual img, .service__visual img, .project__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.service__visual img, .project__media img { transition: transform 1.2s var(--ease); }
.service:hover .service__visual img, .project:hover .project__media img { transform: scale(1.04); }
.aero__badge {
  position: absolute; left: 20px; bottom: 20px; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 16px;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: var(--shadow); font-size: 13px; color: var(--muted);
}
.aero__badge strong { display: block; font-size: 15px; color: var(--ink); }
.aero__badge .ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-100); color: var(--brand-600); }
.aero__badge .ico svg { width: 18px; height: 18px; }
.photo-note { margin-top: 28px; font-size: 13px; color: var(--muted-2); }

/* ---------- Proceso ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; position: relative; }
.step { position: relative; padding: 32px 28px; border-radius: var(--radius); background: #fff; box-shadow: 0 0 0 1px var(--line); display: grid; gap: 12px; align-content: start; }
.step__num {
  width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 600; color: #fff;
  background: linear-gradient(180deg, var(--brand-400), var(--brand-700));
  box-shadow: 0 8px 20px -8px rgba(42,84,155,0.8);
}
.step h3 { font-size: 20px; margin-top: 6px; }
.step p { color: var(--muted); font-size: 15.5px; }
@media (max-width: 1020px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Equipo ---------- */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.member { border-radius: var(--radius); padding: 28px; background: var(--bg-soft); display: grid; gap: 14px; align-content: start; transition: background .4s; }
.member:hover { background: var(--bg-soft-2); }
.member__avatar {
  width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(145deg, var(--brand-400), var(--brand-800));
}
.member__avatar svg { width: 26px; height: 26px; }
.member h3 { font-size: 19px; }
.member p { color: var(--muted); font-size: 15px; }
@media (max-width: 760px) { .team { grid-template-columns: 1fr; } }

/* ---------- Banda aerotermia ---------- */
.aero { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.aero__list { display: grid; gap: 14px; margin-top: 8px; }
.aero__list li { display: flex; gap: 14px; align-items: flex-start; font-size: 17px; }
.aero__list svg { flex-shrink: 0; width: 22px; height: 22px; margin-top: 2px; color: var(--brand-500); }
.aero__visual {
  position: relative; aspect-ratio: 1 / 1; border-radius: var(--radius-xl); overflow: hidden;
  background: radial-gradient(80% 80% at 30% 20%, #FFFFFF, var(--brand-100) 60%, #D4E1F5);
  display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line);
}
.aero__visual svg { width: 78%; }
@media (max-width: 900px) { .aero { grid-template-columns: 1fr; } .aero__visual { aspect-ratio: 4 / 3; } }

/* ---------- CTA final ---------- */
.cta {
  position: relative; overflow: hidden; border-radius: var(--radius-xl); text-align: center; color: #fff;
  padding: clamp(56px, 8vw, 112px) var(--gutter);
  background: radial-gradient(60% 80% at 50% 0%, rgba(61,111,194,0.75), transparent 70%), var(--night);
  display: grid; justify-items: center; gap: 24px; isolation: isolate;
}
.cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 48px 48px; -webkit-mask-image: radial-gradient(60% 70% at 50% 0%, #000, transparent); mask-image: radial-gradient(60% 70% at 50% 0%, #000, transparent);
}
.cta p { color: rgba(255,255,255,0.68); max-width: 560px; font-size: 19px; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }
.cta__contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; margin-top: 8px; font-size: 15px; color: rgba(255,255,255,0.7); }
.cta__contact a { display: inline-flex; align-items: center; gap: 8px; }
.cta__contact a:hover { color: #fff; }
.cta__contact svg { width: 16px; height: 16px; color: var(--brand-300); }

/* ---------- Page hero (páginas interiores) ---------- */
.page-hero {
  position: relative; overflow: hidden;
  padding: calc(var(--header-h) + clamp(64px, 10vw, 128px)) 0 clamp(56px, 7vw, 96px);
  background: radial-gradient(50% 60% at 85% 0%, rgba(127,166,234,0.28), transparent 70%), radial-gradient(40% 50% at 0% 100%, rgba(232,239,250,1), transparent 70%), #fff;
}
.page-hero__inner { display: grid; gap: 24px; max-width: 900px; }
.page-hero h1 { font-size: clamp(42px, 6.4vw, 84px); letter-spacing: -0.045em; line-height: 1.0; }
.breadcrumbs { display: flex; gap: 8px; font-size: 14px; color: var(--muted-2); }
.breadcrumbs a:hover { color: var(--ink); }

/* ---------- Servicios (detalle) ---------- */
.subnav {
  position: sticky; top: var(--header-h); z-index: 50;
  background: rgba(255,255,255,0.85); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.subnav__inner { display: flex; gap: 6px; overflow-x: auto; padding: 12px 0; scrollbar-width: none; }
.subnav__inner::-webkit-scrollbar { display: none; }
.subnav a {
  flex-shrink: 0; padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--muted);
  transition: background .25s, color .25s;
}
.subnav a:hover { color: var(--ink); background: var(--bg-soft); }
.subnav a.is-active { color: #fff; background: var(--ink); }

.service {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: center;
  padding: clamp(64px, 9vw, 120px) 0; border-top: 1px solid var(--line);
}
.service:first-child { border-top: 0; }
.service:nth-child(even) .service__visual { order: 2; }
.service__visual {
  position: relative; aspect-ratio: 5 / 4; border-radius: var(--radius-xl); overflow: hidden;
  display: grid; place-items: center; isolation: isolate;
  background: radial-gradient(90% 90% at 80% 10%, rgba(61,111,194,0.6), transparent 60%), linear-gradient(160deg, #0B1B33, var(--night));
}
.service__visual::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 40px 40px; -webkit-mask-image: radial-gradient(60% 60% at 50% 50%, #000, transparent); mask-image: radial-gradient(60% 60% at 50% 50%, #000, transparent);
}
.service__visual svg { width: 42%; color: #fff; filter: drop-shadow(0 20px 40px rgba(61,111,194,0.6)); }
.service__visual--light { background: radial-gradient(80% 80% at 30% 20%, #FFFFFF, var(--brand-100) 60%, #D4E1F5); }
.service__visual--light svg { color: var(--brand-600); filter: drop-shadow(0 20px 30px rgba(42,84,155,0.25)); }
.service__visual--light::after { background-image: linear-gradient(rgba(34,71,126,0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(34,71,126,0.07) 1px, transparent 1px); }
.service__content { display: grid; gap: 20px; }
.service__num { font-family: var(--font-display); font-weight: 600; color: var(--brand-500); font-size: 15px; }
.service__content h2 { font-size: clamp(32px, 4vw, 52px); letter-spacing: -0.035em; }
.service__content > p { color: var(--muted); font-size: 18px; }
.service__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 8px; }
.service__cols h3 { font-family: var(--font-body); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-2); font-weight: 600; margin-bottom: 12px; }
.checklist { display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; }
.checklist svg { flex-shrink: 0; width: 18px; height: 18px; margin-top: 3px; color: var(--brand-500); }
@media (max-width: 900px) {
  .service { grid-template-columns: 1fr; }
  .service:nth-child(even) .service__visual { order: 0; }
}
@media (max-width: 520px) { .service__cols { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border-radius: var(--radius); background: #fff; box-shadow: 0 0 0 1px var(--line); transition: box-shadow .3s; }
.faq details[open] { box-shadow: 0 0 0 1px var(--line-2), var(--shadow); }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 28px; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  font-family: var(--font-display); font-size: 19px; font-weight: 600; letter-spacing: -0.02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--bg-soft)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B1220' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .4s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 28px 26px; color: var(--muted); }

/* ---------- Proyectos ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.filter {
  height: 42px; padding: 0 18px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--bg-soft); color: var(--ink-2); font-size: 15px; font-weight: 500;
  transition: background .25s, color .25s;
}
.filter:hover { background: var(--bg-soft-2); }
.filter.is-active { background: var(--ink); color: #fff; }

.projects { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.project {
  border-radius: var(--radius-lg); overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--line);
  display: flex; flex-direction: column; transition: transform .6s var(--ease), box-shadow .6s var(--ease), opacity .4s;
}
.project:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--line), var(--shadow); }
.project.is-hidden { display: none; }
.project--featured { grid-column: span 2; flex-direction: row; }
.project--featured .project__media { flex: 1.1; aspect-ratio: auto; min-height: 380px; }
.project--featured .project__body { flex: 1; justify-content: center; padding: clamp(28px, 4vw, 56px); }
.project__media {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden; display: grid; place-items: center; isolation: isolate;
  background: var(--m-bg, linear-gradient(160deg, #0B1B33, var(--night)));
}
.project__media::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(rgba(255,255,255,0.14) 1px, transparent 1px); background-size: 20px 20px;
  -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent); mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent);
}
.project__media svg { width: 30%; max-width: 150px; color: #fff; filter: drop-shadow(0 16px 30px rgba(0,0,0,0.35)); transition: transform .8s var(--ease); }
.project:hover .project__media svg { transform: scale(1.06); }
.project__label { position: absolute; left: 18px; top: 18px; }
.project__body { padding: 28px 30px 32px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.project__sector { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand-500); }
.project__body h2, .project__body h3 { font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -0.03em; }
.project__body p { color: var(--muted); font-size: 16px; }
.project__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 8px; }
@media (max-width: 860px) {
  .projects { grid-template-columns: 1fr; }
  .project--featured { grid-column: span 1; flex-direction: column; }
  .project--featured .project__media { min-height: 0; aspect-ratio: 16 / 10; }
}

/* ---------- Contacto ---------- */
.contact { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact__aside { display: grid; gap: 28px; position: sticky; top: calc(var(--header-h) + 32px); }
.contact-card {
  display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: var(--radius);
  background: var(--bg-soft); transition: background .3s, transform .4s var(--ease);
}
.contact-card:hover { background: var(--bg-soft-2); transform: translateX(4px); }
.contact-card__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: #fff; color: var(--brand-500); box-shadow: var(--shadow-sm); flex-shrink: 0; }
.contact-card__icon svg { width: 22px; height: 22px; }
.contact-card small { display: block; color: var(--muted); font-size: 13px; }
.contact-card strong { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.next-steps { display: grid; gap: 16px; padding: 28px; border-radius: var(--radius); box-shadow: 0 0 0 1px var(--line); }
.next-steps h2 { font-size: 18px; letter-spacing: -0.015em; }
.next-steps ol { margin: 0; padding: 0; list-style: none; counter-reset: ns; display: grid; gap: 14px; }
.next-steps li { counter-increment: ns; display: flex; gap: 14px; font-size: 15.5px; color: var(--muted); }
.next-steps li::before {
  content: counter(ns); flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  font-size: 13px; font-weight: 600; color: var(--brand-600); background: var(--brand-100);
}
.next-steps li strong { color: var(--ink); font-weight: 600; }

.form-card { border-radius: var(--radius-xl); padding: clamp(28px, 4vw, 48px); background: #fff; box-shadow: 0 0 0 1px var(--line), var(--shadow-lg); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 500; color: var(--ink-2); }
.field label span { color: var(--muted-2); font-weight: 400; }
.input {
  width: 100%; height: 52px; padding: 0 16px; border-radius: 14px; border: 0;
  background: var(--bg-soft); box-shadow: inset 0 0 0 1px transparent;
  font-size: 16px; transition: box-shadow .25s, background .25s;
}
textarea.input { height: 140px; padding: 14px 16px; resize: vertical; line-height: 1.5; }
select.input { appearance: none; -webkit-appearance: none; padding-right: 44px; 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='%235F6778' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 18px; }
.input::placeholder { color: var(--muted-2); }
.input:hover { background-color: var(--bg-soft-2); }
.input:focus { outline: none; background-color: #fff; box-shadow: inset 0 0 0 1.5px var(--brand-400), 0 0 0 4px rgba(61,111,194,0.15); }
.input.is-invalid { box-shadow: inset 0 0 0 1.5px #D9534F; }

.options { display: flex; flex-wrap: wrap; gap: 8px; }
.option input { position: absolute; opacity: 0; pointer-events: none; }
.option span {
  display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 999px; cursor: pointer;
  background: var(--bg-soft); font-size: 14.5px; font-weight: 500; transition: background .25s, color .25s, box-shadow .25s;
}
.option span:hover { background: var(--bg-soft-2); }
.option input:checked + span { background: var(--brand-100); color: var(--brand-700); box-shadow: inset 0 0 0 1.5px var(--brand-400); }
.option input:focus-visible + span { outline: 2px solid var(--brand-400); outline-offset: 2px; }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--brand-500); flex-shrink: 0; }
.consent a { color: var(--brand-500); text-decoration: underline; text-underline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { grid-column: 1 / -1; font-size: 15px; border-radius: 14px; padding: 14px 16px; display: none; }
.form__status.is-ok { display: block; background: rgba(52,195,143,0.12); color: #1B7A57; }
.form__status.is-error { display: block; background: rgba(217,83,79,0.1); color: #A5332F; }
.form__foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.form__foot small { color: var(--muted-2); font-size: 13px; display: inline-flex; align-items: center; gap: 6px; }
.form__foot small svg { width: 14px; height: 14px; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } .contact__aside { position: static; } }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } .form__foot .btn { width: 100%; } }

/* ---------- Legal ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 28px; margin: 48px 0 16px; }
.prose p, .prose li { color: var(--muted); margin-bottom: 12px; }
.prose ul { list-style: disc; padding-left: 20px; }

/* ---------- Footer ---------- */
.footer { background: var(--night); color: rgba(255,255,255,0.6); padding: 88px 0 40px; font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer__brand { display: grid; gap: 20px; align-content: start; max-width: 320px; }
.footer__brand img { height: 40px; width: auto; }
.footer h2 { font-family: var(--font-body); font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.footer ul { display: grid; gap: 10px; }
.footer a:hover { color: #fff; }
.footer__bottom { margin-top: 72px; padding-top: 28px; border-top: 1px solid var(--night-line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; font-size: 13.5px; }
.footer__bottom nav { display: flex; gap: 24px; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Barra móvil de conversión ---------- */
.mobile-cta {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90; display: none; gap: 8px; padding: 8px;
  border-radius: 999px; background: rgba(255,255,255,0.86); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 0 0 1px var(--line), var(--shadow-lg);
  transform: translateY(140%); transition: transform .5s var(--ease);
}
.mobile-cta.is-visible { transform: none; }
.mobile-cta .btn { flex: 1; height: 48px; }
@media (max-width: 720px) { .mobile-cta { display: flex; } .footer { padding-bottom: 110px; } }

/* ---------- Animaciones de entrada ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

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