/* ============================================================
   Ingalca. Home
   Dirección visual: cian de marca (#00afef) sobre ink navy,
   fondo claro, momento oscuro en header / banda IA / cierre.
   Firma: la chispa de 4 puntas del logo + el arco/ola de la "n".
   Sin em dashes en el copy, a propósito.
   ============================================================ */

:root {
	--brand: #00afef;
	--brand-600: #0091c9;
	--brand-700: #0a6fa0;
	--ink: #0a1a2b;          /* navy profundo, de la parte baja del logo */
	--ink-2: #0f2438;
	--ink-3: #16324b;
	--paper: #ffffff;
	--mist: #f2f8fc;         /* gris cian muy claro */
	--line: #e0ebf3;
	--text: #14293b;
	--muted: #5c7488;
	--muted-light: #9db6c9;

	--grad-brand: linear-gradient(135deg, #00afef 0%, #0a6fa0 100%);
	--grad-ink: linear-gradient(160deg, #0f2438 0%, #0a1a2b 60%, #071320 100%);

	--radius: 16px;
	--radius-sm: 10px;
	--shadow: 0 18px 40px -20px rgba(10, 26, 43, .25);
	--shadow-brand: 0 14px 30px -12px rgba(0, 175, 239, .45);

	--container: 1140px;
	--font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--font-display: 'Sora', var(--font-body);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	font-family: var(--font-body);
	color: var(--text);
	background: var(--paper);
	line-height: 1.6;
	font-size: 17px;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
section[id] { scroll-margin-top: 88px; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; font-weight: 700; letter-spacing: -.02em; color: var(--ink); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }

/* Accesibilidad: foco visible y skip link */
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
.skip-link {
	position: absolute; left: 12px; top: -60px; z-index: 200;
	background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
	transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ---------- Chispa (firma) ---------- */
.spark { width: 18px; height: 18px; fill: var(--brand); flex: none; }
.spark-lg { width: 34px; height: 34px; margin-inline: auto 0; margin-bottom: 8px; }

/* ---------- Botones ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	font-family: var(--font-display); font-weight: 600; font-size: 16px;
	padding: 14px 26px; border-radius: 999px; border: 0; cursor: pointer;
	transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
	white-space: nowrap;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-brand); }
.btn-primary:hover { background: var(--brand-600); transform: translateY(-2px); }
.btn-lg { padding: 17px 34px; font-size: 17px; }
.btn-sm { padding: 10px 20px; font-size: 15px; }

/* ---------- CTA block ---------- */
.cta-block { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.cta-support { color: var(--muted); font-size: 15px; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(10, 26, 43, .82);
	backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
	border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand img { height: 38px; width: auto; }
.nav { display: flex; gap: 28px; margin-left: 12px; margin-right: auto; transform: translateY(3px); }
.nav a { color: rgba(255, 255, 255, .82); font-size: 15px; font-weight: 500; position: relative; padding: 6px 0; }
.nav a::after {
	content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 2px;
	background: var(--brand); transition: width .22s ease;
}
.nav a:hover { color: #fff; }
.nav a:hover::after { width: 100%; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav { display: none; flex-direction: column; gap: 4px; padding: 12px 24px 22px; background: var(--ink); border-bottom: 1px solid rgba(255,255,255,.08); }
.mobile-nav a { color: rgba(255,255,255,.9); padding: 12px 4px; font-weight: 500; border-bottom: 1px solid rgba(255,255,255,.06); }
.mobile-nav .btn { margin-top: 12px; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; background: var(--grad-ink); color: #fff; overflow: hidden; }
.hero-inner { position: relative; z-index: 2; padding: 96px 24px 108px; max-width: 900px; }
.hero-glow {
	position: absolute; inset: 0; z-index: 1;
	background:
		radial-gradient(560px 380px at 78% 12%, rgba(0, 175, 239, .38), transparent 62%),
		radial-gradient(420px 320px at 8% 88%, rgba(10, 111, 160, .30), transparent 60%);
}
.kicker {
	display: inline-flex; align-items: center; gap: 10px;
	font-family: var(--font-display); font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
	font-size: 13px; color: var(--brand);
	background: none; border: 0; padding: 0; margin-bottom: 22px;
}
.kicker .spark { width: 16px; height: 16px; }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 5.4vw, 4rem); font-weight: 800; margin-bottom: 22px; }
.hero-sub { color: rgba(255, 255, 255, .78); font-size: clamp(1.05rem, 2vw, 1.3rem); max-width: 640px; margin-bottom: 36px; }
.hero .cta-support { color: rgba(255, 255, 255, .6); }

/* ============================================================
   CONFÍAN EN NOSOTROS (marquee)
   ============================================================ */
.trust { padding: 60px 0 66px; background: #070d16; }
.trust-title {
	text-align: center; color: rgba(255, 255, 255, .55); font-family: var(--font-display);
	font-size: 14px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 40px;
}
.marquee { position: relative; overflow: hidden; padding: 10px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 64px; width: max-content; align-items: center; animation: marquee 46s linear infinite; }
.client-logo {
	flex: none; display: grid; place-items: center; width: 150px; height: 60px;
}
.client-logo img {
	max-height: 44px; max-width: 140px; width: auto; object-fit: contain;
	filter: brightness(0) invert(1); opacity: .62;
	transition: opacity .25s ease;
}
/* Ferrex depende del contraste tonal: se muestra a color, sin el filtro monocromo. */
.client-logo img[alt="Ferrex"] { filter: none; opacity: .9; }
.client-logo:hover img { opacity: 1; }
@keyframes marquee { to { transform: translateX(calc(-50% - 32px)); } }

/* ============================================================
   SECCIONES genéricas
   ============================================================ */
.section { padding: 96px 0; }
.section-mist { background: var(--mist); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head-sub { margin-top: 72px; margin-bottom: 34px; }
.eyebrow {
	display: inline-flex; align-items: center; font-family: var(--font-display);
	font-weight: 600; font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
	color: var(--brand-700); margin-bottom: 14px;
}
.eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--brand); margin-right: 10px; }
.eyebrow-light { color: var(--brand); }
.section-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
.section-lead { color: var(--muted); font-size: 1.15rem; margin-top: 18px; }
.cases-title { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }

/* ---------- Pilares ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar {
	background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
	padding: 34px 30px; transition: transform .22s ease, box-shadow .22s ease, border-color .22s;
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.pillar-icon {
	width: 62px; height: 62px; border-radius: 16px; display: grid; place-items: center;
	background: linear-gradient(150deg, rgba(0, 175, 239, .16), rgba(0, 175, 239, .04));
	border: 1px solid rgba(0, 175, 239, .16); margin-bottom: 22px;
	transition: transform .3s ease, box-shadow .3s ease, background .3s ease, border-color .3s ease;
}
.pillar:hover .pillar-icon {
	transform: translateY(-3px) scale(1.05);
	background: linear-gradient(150deg, rgba(0, 175, 239, .26), rgba(0, 175, 239, .07));
	border-color: rgba(0, 175, 239, .35);
	box-shadow: 0 14px 26px -14px rgba(0, 175, 239, .6);
}
.pillar-icon svg { width: 40px; height: 40px; overflow: visible; }

/* ---- Micro-animaciones de los iconos (one-shot; respetan prefers-reduced-motion) ---- */
.ico-spark, .ico-code-l, .ico-code-r, .ico-dot {
	transform-box: fill-box; transform-origin: center;
	transition: transform .5s cubic-bezier(.34, 1.56, .64, 1), filter .35s ease;
}
.ico-bars { transition: filter .35s ease; }

/* Dibujo al entrar en pantalla */
.ico-draw { stroke-dasharray: 1; stroke-dashoffset: 1; }
.pillar.is-visible .ico-draw { animation: ico-draw .9s .2s ease forwards; }
@keyframes ico-draw { to { stroke-dashoffset: 0; } }
.ico-spark { opacity: 0; }
.pillar.is-visible .ico-spark { opacity: 1; transition: opacity .5s .4s ease, transform .5s cubic-bezier(.34, 1.56, .64, 1); }

/* Hover: gestos propios de cada pilar */
.pillar:hover .ico-code-l { transform: translateX(-2.5px); }
.pillar:hover .ico-code-r { transform: translateX(2.5px); }
.pillar:hover .ico-spark { transform: scale(1.16) rotate(90deg); filter: drop-shadow(0 0 3px rgba(0, 175, 239, .75)); }
.pillar:hover .ico-bars { filter: drop-shadow(0 0 2.5px rgba(0, 175, 239, .7)); }
.pillar:hover .ico-dot { transform: translateX(3.5px); }
.pillar h3 { font-size: 1.4rem; margin-bottom: 10px; }
.pillar-promise { color: var(--text); font-weight: 500; margin-bottom: 18px; }
.pillar-note {
	color: var(--brand-700); background: rgba(0, 175, 239, .07); border-left: 3px solid var(--brand);
	padding: 12px 14px; border-radius: 8px; font-size: .95rem; margin-bottom: 18px;
}
.feature-list li { position: relative; padding-left: 24px; margin-bottom: 12px; color: var(--muted); font-size: .97rem; }
.feature-list li strong { color: var(--text); font-weight: 600; }
.feature-list li::before {
	content: ''; position: absolute; left: 0; top: 9px; width: 8px; height: 8px;
	background: var(--brand); border-radius: 2px; transform: rotate(45deg);
}

/* ============================================================
   BANDA IA (momento oscuro)
   ============================================================ */
.ia-band { position: relative; background: var(--grad-ink); color: #fff; overflow: hidden; padding: 92px 0; }
.ia-glow {
	position: absolute; inset: 0;
	background: radial-gradient(620px 420px at 85% 20%, rgba(0, 175, 239, .34), transparent 60%);
}
.ia-inner { position: relative; z-index: 2; max-width: 760px; }
.ia-inner h2 { color: #fff; font-size: clamp(1.9rem, 3.8vw, 2.8rem); margin-bottom: 22px; }
.ia-inner p { color: rgba(255, 255, 255, .8); font-size: 1.12rem; margin-bottom: 16px; }
.ia-extra { color: rgba(255, 255, 255, .6) !important; font-size: 1rem !important; font-style: italic; }
.ia-inner .btn { margin-top: 22px; }

/* ============================================================
   LA PRUEBA (productos + casos)
   ============================================================ */
.products { display: grid; gap: 28px; }
.product {
	display: grid; grid-template-columns: 1.02fr .98fr; gap: 40px; align-items: center;
	border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
	background: linear-gradient(180deg, #fff, var(--mist));
}
.product-rev .product-media { order: 2; }
.product-media {
	border-radius: 14px; overflow: hidden; border: 1px solid var(--line);
	background: #fff; box-shadow: 0 20px 44px -24px rgba(10, 26, 43, .45);
	transition: transform .45s cubic-bezier(.2, .7, .3, 1), box-shadow .45s ease;
}
.product-media:hover {
	transform: translateY(-8px);
	box-shadow:
		0 32px 60px -28px rgba(10, 26, 43, .55),
		0 0 0 1px rgba(0, 175, 239, .3),
		0 16px 46px -6px rgba(0, 175, 239, .38);
}
.browser-bar {
	display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 15px;
	background: #0f2438; border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.browser-bar > span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .22); flex: none; }
.browser-bar > span:nth-child(1) { background: #ff5f57; }
.browser-bar > span:nth-child(2) { background: #febc2e; }
.browser-bar > span:nth-child(3) { background: #28c840; }
.browser-bar em {
	margin-left: 10px; font-style: normal; font-size: 12px; color: rgba(255, 255, 255, .5);
	background: rgba(255, 255, 255, .08); padding: 4px 14px; border-radius: 7px;
	max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.product-shot { position: relative; aspect-ratio: 16 / 10; background: var(--grad-ink); display: grid; place-items: center; }
.product-shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; cursor: zoom-in; }
/* Pista de "ampliar" (solo cuando hay imagen real) */
.product-shot:has(img)::after {
	content: ''; position: absolute; bottom: 10px; right: 10px; z-index: 3; width: 34px; height: 34px;
	border-radius: 9px; opacity: 0; transform: scale(.85); transition: opacity .25s ease, transform .25s ease; pointer-events: none;
	background: rgba(10, 26, 43, .55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 3H3v6M15 3h6v6M3 15v6h6M21 15v6h-6'/%3E%3C/svg%3E") center / 18px no-repeat;
}
.product-media:hover .product-shot:has(img)::after { opacity: 1; transform: scale(1); }
.product-ph {
	color: rgba(255, 255, 255, .55); font-family: var(--font-display); font-weight: 600;
	text-align: center; font-size: .95rem; letter-spacing: .02em; padding: 12px;
}
.product-ph small { display: block; opacity: .55; font-weight: 500; margin-top: 6px; letter-spacing: .06em; }
.product-body h3 { font-size: 1.7rem; margin-bottom: 6px; }
.product-desc { color: var(--muted); margin-bottom: 22px; }
.metrics { display: flex; gap: 40px; flex-wrap: wrap; }
.metric { display: flex; flex-direction: column; }
.metric-num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem, 5vw, 3rem); color: var(--brand-700); line-height: 1; }
.metric-label { color: var(--muted); font-size: .92rem; margin-top: 6px; max-width: 180px; }

.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case {
	display: flex; flex-direction: column; align-items: flex-start; min-height: 158px;
	border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; background: var(--paper);
	transition: transform .32s cubic-bezier(.2, .7, .3, 1), box-shadow .32s ease, border-color .32s ease;
}
.case:hover {
	transform: translateY(-6px); border-color: transparent;
	box-shadow: 0 26px 50px -28px rgba(10, 26, 43, .4), 0 0 0 1px rgba(0, 175, 239, .28), 0 12px 34px -10px rgba(0, 175, 239, .3);
}
.case-icon {
	width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
	background: linear-gradient(150deg, rgba(0, 175, 239, .16), rgba(0, 175, 239, .04));
	border: 1px solid rgba(0, 175, 239, .16); color: var(--brand-700); margin-bottom: 16px;
	transition: transform .3s ease;
}
.case-icon svg { width: 26px; height: 26px; }
.case:hover .case-icon { transform: translateY(-2px) scale(1.06); }
.case h4 { font-size: 1.06rem; margin-bottom: 14px; color: var(--ink); line-height: 1.3; }
.case-tag {
	margin-top: auto; align-self: stretch; font-size: .85rem; font-weight: 500; color: var(--brand-700);
	background: rgba(0, 175, 239, .08); border-left: 3px solid var(--brand);
	padding: 8px 12px; border-radius: 8px;
}
.case-metric {
	font-family: var(--font-display); font-weight: 800; line-height: 1; margin-top: 18px;
	font-size: clamp(2.2rem, 5vw, 3.2rem);
	background: linear-gradient(90deg, #7fdcff, #00afef); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Tarjeta destacada (bento 2x2, oscura) */
.case--featured {
	grid-column: span 2; grid-row: span 2; padding: 34px;
	background: var(--grad-ink); border-color: transparent; color: #fff; overflow: hidden;
}
.case--featured h4 { color: #fff; font-size: clamp(1.3rem, 2.3vw, 1.85rem); max-width: 16ch; margin-bottom: 8px; }
.case--featured .case-icon { color: #cfefff; background: rgba(0, 175, 239, .18); border-color: rgba(0, 175, 239, .32); }
.case--featured .case-tag {
	margin-top: 0; align-self: flex-start; color: #bfe6fb; background: rgba(0, 175, 239, .14); border-left-color: var(--brand);
}
.case--featured .case-metric { margin-top: auto; padding-top: 20px; }

/* Descripción en cards genéricas */
.case-desc { color: var(--muted); font-size: .95rem; margin-top: 6px; }

/* Spotlight carousel (dentro de la card destacada) */
.spotlight { justify-content: flex-start; min-height: 280px; padding: 30px; }
.spotlight:hover { transform: none; box-shadow: none; }
.spotlight-eyebrow {
	display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
	font-family: var(--font-display); font-weight: 600; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--brand);
}
.spotlight-eyebrow svg { width: 14px; height: 14px; fill: var(--brand); }
.spotlight-viewport { align-self: stretch; width: 100%; flex: 1; overflow: hidden; margin: 20px 0; display: flex; }
.spotlight-track { display: flex; width: 100%; transition: transform .5s cubic-bezier(.4, 0, .2, 1); }
.spotlight-slide { flex: 0 0 100%; width: 100%; display: flex; flex-direction: column; justify-content: center; gap: 12px; padding-right: 6px; }
.spotlight-slide .case-tag { align-self: flex-start; margin: 0; }
.spotlight-slide h4 { max-width: 20ch; }
.spotlight-slide .case-metric { margin: 0; padding: 0; }
.spotlight-slide .case-desc { color: rgba(255, 255, 255, .72); font-size: 1rem; margin: 0; max-width: 32ch; }
.spotlight-nav { align-self: stretch; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sp-dots { display: flex; gap: 7px; }
.sp-dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .25); cursor: pointer; transition: background .25s ease, width .25s ease; }
.sp-dot.is-active { background: var(--brand); width: 22px; border-radius: 4px; }
.sp-arrows { display: flex; gap: 8px; }
.sp-btn {
	width: 38px; height: 38px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .16);
	background: rgba(255, 255, 255, .06); color: #fff; font-size: 22px; line-height: 1; cursor: pointer;
	display: grid; place-items: center; transition: background .2s ease, border-color .2s ease, transform .12s ease;
}
.sp-btn:hover { background: var(--brand); border-color: var(--brand); }
.sp-btn:active { transform: scale(.92); }

/* ============================================================
   CÓMO TRABAJAMOS (pasos)
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; }
.steps::before {
	content: ''; position: absolute; top: 32px; left: 12.5%; right: 12.5%; height: 2px; z-index: 0;
	background: linear-gradient(90deg, var(--line), rgba(0, 175, 239, .55) 50%, var(--line));
}
.step { position: relative; z-index: 1; text-align: center; }
.step-marker {
	position: relative; width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%;
	background: #e9f5fc; border: 1px solid rgba(0, 175, 239, .3); display: grid; place-items: center;
}
.step-icon { width: 27px; height: 27px; fill: none; stroke: var(--brand-700); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.step-num {
	position: absolute; top: -6px; right: -6px; width: 26px; height: 26px; border-radius: 50%;
	background: var(--brand); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 12px;
	display: grid; place-items: center; box-shadow: 0 4px 10px -3px rgba(0, 175, 239, .6);
}
.step h3 { font-size: 1.12rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .97rem; }

/* ============================================================
   CIERRE / CTA final
   ============================================================ */
.closing { position: relative; background: var(--grad-brand); color: #fff; overflow: hidden; text-align: center; padding: 96px 0; }
.closing-glow { position: absolute; inset: 0; background: radial-gradient(500px 360px at 50% 0%, rgba(255,255,255,.22), transparent 60%); }
.closing-inner { position: relative; z-index: 2; max-width: 700px; }
.closing .spark-lg { fill: #fff; }
.closing h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 16px; }
.closing p { color: rgba(255, 255, 255, .92); font-size: 1.15rem; margin-bottom: 30px; }
.closing .cta-block { align-items: center; }
.closing .btn-primary { background: #fff; color: var(--brand-700); box-shadow: 0 14px 30px -12px rgba(0,0,0,.35); }
.closing .btn-primary:hover { background: #eef9ff; }
.closing .cta-support { color: rgba(255, 255, 255, .82); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .7); padding: 66px 0 30px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1.3fr 1fr; gap: 40px; }
.footer-brand img { height: 40px; width: auto; margin-bottom: 16px; }
.footer-tagline { max-width: 300px; font-size: .95rem; color: rgba(255,255,255,.55); }
.footer-col h4 { color: #fff; font-size: .95rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col li { margin-bottom: 10px; font-size: .95rem; }
.footer-col a { color: rgba(255, 255, 255, .7); transition: color .18s; }
.footer-col a:hover { color: var(--brand); }
.footer-addr { color: rgba(255, 255, 255, .5); font-size: .9rem; }
.social { display: flex; gap: 12px; }
.social-link {
	display: grid; place-items: center; width: 42px; height: 42px; border-radius: 11px;
	color: rgba(255, 255, 255, .8); background: rgba(255, 255, 255, .06);
	border: 1px solid rgba(255, 255, 255, .1); transition: color .2s, background-color .2s, transform .2s, border-color .2s;
}
.social-link svg { width: 20px; height: 20px; stroke: currentColor; }
.social-link:hover { color: #fff; background: var(--brand); border-color: var(--brand); transform: translateY(-2px); }
.footer-bottom {
	margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1);
	font-size: .88rem; color: rgba(255,255,255,.45);
	display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.footer-bottom p { margin: 0; }
.footer-group { display: inline-flex; align-items: center; gap: 11px; opacity: .75; transition: opacity .2s ease; }
.footer-group:hover { opacity: 1; }
.footer-group img { height: 30px; width: auto; }

/* ============================================================
   REVEAL al scroll
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
	.pillars, .cases { grid-template-columns: 1fr 1fr; }
	.case--featured { grid-column: span 2; grid-row: auto; }
	.steps { grid-template-columns: 1fr 1fr; gap: 40px 32px; }
	.steps::before { display: none; }
	.footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
	.footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
	.nav, .header-cta { display: none; }
	.nav-toggle { display: flex; margin-left: auto; }
	.mobile-nav { display: none; }
	.mobile-nav.open { display: flex; }
	.header-inner { gap: 12px; }
	.hero-inner { padding: 72px 24px 84px; }
	.pillars, .products, .cases { grid-template-columns: 1fr; }
	.case--featured { grid-column: auto; }
	.product { grid-template-columns: 1fr; gap: 22px; }
	.product-rev .product-media { order: 0; }
	.section { padding: 68px 0; }
	.section-head { margin-bottom: 40px; }
	.cta-block { align-items: stretch; }
	.btn-lg { width: 100%; }
	.metrics { gap: 28px; }
}
@media (max-width: 420px) {
	.steps { grid-template-columns: 1fr; }
}

/* ============================================================
   Reduced motion
   ============================================================ */
/* ============================================================
   TEXTURAS Y PROFUNDIDAD
   Grano sutil en secciones oscuras + red de nodos en el hero +
   malla de puntos en secciones claras. Todo estatico (no animado)
   para no leerse como "generado por IA".
   ============================================================ */

/* Grano fino reutilizable (SVG feTurbulence en data URI) */
.hero::after,
.ia-band::after,
.closing::after,
.site-footer::after {
	content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	background-size: 160px 160px;
	opacity: .05; mix-blend-mode: overlay;
}
.site-footer { position: relative; overflow: hidden; }
.site-footer .container { position: relative; z-index: 2; }

/* Fondo plexus (foto) en el hero */
.hero::before {
	content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
	background: url("../img/bg-1.png") no-repeat center center;
	background-image: image-set(url("../img/bg-1.webp") type("image/webp"), url("../img/bg-1.png") type("image/png"));
	background-size: cover;
	opacity: 1;
}

/* Velo de degradado: oscurece a la izquierda para la legibilidad del texto
   y tine el azul de la foto hacia el navy de marca. */
.hero-glow {
	background:
		linear-gradient(90deg, rgba(9, 22, 37, .94) 0%, rgba(9, 22, 37, .80) 34%, rgba(9, 22, 37, .38) 64%, rgba(9, 22, 37, .55) 100%),
		linear-gradient(180deg, rgba(9, 22, 37, .55) 0%, rgba(9, 22, 37, 0) 30%, rgba(9, 22, 37, .35) 100%),
		radial-gradient(560px 380px at 82% 10%, rgba(0, 175, 239, .20), transparent 64%);
}

/* Malla de puntos sutil en las secciones claras (saca lo "pelado") */
.section-mist {
	background-color: var(--mist);
	background-image: radial-gradient(rgba(0, 175, 239, .10) 1px, transparent 1px);
	background-size: 24px 24px;
}
.section {
	position: relative;
}
.section::before {
	content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
	background:
		radial-gradient(600px 400px at 92% -5%, rgba(0, 175, 239, .06), transparent 60%),
		radial-gradient(520px 360px at -8% 108%, rgba(0, 175, 239, .05), transparent 60%);
}
.section > .container { position: relative; z-index: 1; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.marquee-track { animation: none; }
	.reveal { opacity: 1; transform: none; transition: none; }
	.btn, .pillar, .case, .product-media { transition: none; }
	.product-media:hover { transform: none; }
	* { animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}

/* ============================================================
   LIGHTBOX (ampliar mockups)
   ============================================================ */
.lightbox {
	position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 24px;
	background: rgba(7, 13, 22, .92); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.lightbox.open { display: flex; animation: lb-fade .25s ease; }
@keyframes lb-fade { from { opacity: 0; } to { opacity: 1; } }
.lightbox-img {
	max-width: min(1200px, 94vw); max-height: 90vh; width: auto; height: auto;
	border-radius: 12px; border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .7);
}
.lightbox-close {
	position: absolute; top: 18px; right: 22px; width: 44px; height: 44px; border-radius: 50%;
	background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); color: #fff;
	font-size: 26px; line-height: 1; cursor: pointer; display: grid; place-items: center;
	transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.lightbox-close:hover { background: var(--brand); border-color: var(--brand); transform: rotate(90deg); }
