/*
 * Gesbon 2026 — capa visual de la landing publica
 * Se carga DESPUES del tema landing2 y de colors/default.css.
 * Toma la identidad del propio ERP: azul marino #0B0C5C + amarillo #F5C800.
 */

@import url('https://fonts.googleapis.com/css2?family=Gabarito:wght@500;600;700;800;900&family=Nunito+Sans:opsz,wght@6..12,400;6..12,500;6..12,600;6..12,700&display=swap');

:root {
	--gb-navy: #0B0C5C;
	--gb-navy-700: #16188F;
	--gb-navy-400: #2E31C4;
	--gb-navy-950: #05062B;
	--gb-gold: #F5C800;
	--gb-gold-300: #FFE45C;
	--gb-gold-700: #C9A400;
	--gb-sky: #5BB8F5;
	--gb-mint: #10B981;
	--gb-mist: #F4F7FF;
	--gb-mist-2: #EAF0FF;
	--gb-line: #E2E8F8;
	--gb-line-soft: #EEF2FC;
	--gb-body: #4B5279;
	--gb-muted: #7A82A8;
	--gb-white: #ffffff;

	--gb-display: 'Gabarito', 'Nunito', system-ui, sans-serif;
	--gb-text: 'Nunito Sans', 'Nunito', system-ui, sans-serif;
	--gb-mono: 'JetBrains Mono', 'SFMono-Regular', Menlo, Consolas, monospace;

	--gb-r-sm: 10px;
	--gb-r: 16px;
	--gb-r-lg: 22px;
	--gb-r-xl: 28px;

	--gb-shadow-sm: 0 1px 2px rgba(11, 12, 92, .06), 0 2px 8px rgba(11, 12, 92, .04);
	--gb-shadow: 0 4px 12px rgba(11, 12, 92, .06), 0 18px 40px -22px rgba(11, 12, 92, .28);
	--gb-shadow-lg: 0 8px 24px rgba(11, 12, 92, .1), 0 48px 90px -40px rgba(11, 12, 92, .45);
	--gb-glow-gold: 0 10px 30px -8px rgba(245, 200, 0, .55);

	--gb-ease: cubic-bezier(.22, .8, .28, 1);
	--gb-nav-h: 74px;
}

/* ─────────────────────────────  BASE  ───────────────────────────── */

body.landing-page,
body {
	font-family: var(--gb-text);
	color: var(--gb-body);
	background: var(--gb-white);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	letter-spacing: -0.005em;
}

body h1, body h2, body h3, body h4, body h5, body h6,
.gb-display {
	font-family: var(--gb-display);
	color: var(--gb-navy);
	font-weight: 700;
	letter-spacing: -0.025em;
	line-height: 1.14;
}

body ::selection {
	background: var(--gb-gold);
	color: var(--gb-navy);
}

body a { text-decoration: none; }

.gb-wrap { max-width: 1180px; margin-inline: auto; padding-inline: 22px; }
.gb-wrap-tight { max-width: 900px; margin-inline: auto; padding-inline: 22px; }

/* Reveal on scroll — solo si el JS ha marcado el documento */
html.gb-js .gb-reveal {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity .7s var(--gb-ease), transform .7s var(--gb-ease);
	transition-delay: var(--gb-delay, 0ms);
	will-change: opacity, transform;
}
html.gb-js .gb-reveal.is-in { opacity: 1; transform: none; }

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

/* ─────────────────────────────  NAVBAR  ───────────────────────────── */

#topnav {
	background: rgba(255, 255, 255, .86);
	-webkit-backdrop-filter: saturate(180%) blur(14px);
	backdrop-filter: saturate(180%) blur(14px);
	border-bottom: 1px solid var(--gb-line);
	transition: background .35s var(--gb-ease), border-color .35s var(--gb-ease), box-shadow .35s var(--gb-ease);
}

/* Sobre el hero oscuro de la portada la barra desaparece hasta que se hace scroll.
   El JS del tema no marca .nav-sticky en la landing, por eso se usa .gb-scrolled. */
body.landing-page #topnav:not(.nav-sticky):not(.gb-scrolled) {
	background: transparent;
	border-bottom-color: transparent;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
}

#topnav.nav-sticky,
#topnav.gb-scrolled {
	background: rgba(255, 255, 255, .95);
	border-bottom-color: var(--gb-line);
	box-shadow: 0 8px 30px -18px rgba(11, 12, 92, .45);
}

#topnav .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: var(--gb-nav-h);
	gap: 18px;
}

#topnav .logo {
	display: inline-flex !important;
	align-items: center;
	font-family: var(--gb-display);
	font-weight: 800;
	font-size: 24px;
	letter-spacing: -0.03em;
	color: var(--gb-navy) !important;
	line-height: 1 !important;
	padding: 0 !important;
	height: auto !important;
}

#topnav .logo img { height: 30px; border-radius: 8px; }
#topnav .logo .text-primary { color: var(--gb-gold) !important; }

body.landing-page #topnav:not(.nav-sticky):not(.gb-scrolled) .logo { color: #fff !important; }

#topnav #navigation { flex: 1 1 auto; }

#topnav .navigation-menu {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

#topnav .navigation-menu > li { margin: 0 !important; }

#topnav .navigation-menu > li > a,
#topnav .navigation-menu > li > a.nav-link {
	display: inline-flex !important;
	align-items: center;
	height: auto !important;
	padding: 10px 15px !important;
	font-family: var(--gb-text) !important;
	font-size: 14.5px !important;
	font-weight: 600 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	color: var(--gb-body) !important;
	background: transparent;
	border-radius: 999px;
	line-height: 1.2 !important;
	transition: color .2s var(--gb-ease), background .2s var(--gb-ease);
}

#topnav .navigation-menu > li > a:hover,
#topnav .navigation-menu > li:hover > a,
#topnav .navigation-menu > li.active > a {
	color: var(--gb-navy) !important;
	background: var(--gb-mist);
}

body.landing-page #topnav:not(.nav-sticky):not(.gb-scrolled) .navigation-menu > li:not(.gb-nav-cta) > a { color: #C9CEF0 !important; }
body.landing-page #topnav:not(.nav-sticky):not(.gb-scrolled) .navigation-menu > li:not(.gb-nav-cta) > a:hover,
body.landing-page #topnav:not(.nav-sticky):not(.gb-scrolled) .navigation-menu > li:not(.gb-nav-cta):hover > a {
	color: #fff !important;
	background: rgba(255, 255, 255, .1);
}

/* CTA de la barra */
#topnav .navigation-menu > li.gb-nav-cta > a,
#topnav .navigation-menu > li.gb-nav-cta > a.nav-link,
#topnav .navigation-menu > li.gb-nav-cta:hover > a,
body.landing-page #topnav .navigation-menu > li.gb-nav-cta > a,
body.landing-page #topnav .navigation-menu > li.gb-nav-cta > a.nav-link {
	background: var(--gb-gold) !important;
	color: var(--gb-navy) !important;
	font-weight: 700 !important;
	padding: 11px 22px !important;
	line-height: 1.2 !important;
	height: auto !important;
	margin-left: 10px !important;
	box-shadow: 0 10px 24px -12px rgba(245, 200, 0, .9);
}

#topnav .navigation-menu > li.gb-nav-cta > a:hover { background: var(--gb-gold-300) !important; }

#topnav .navbar-toggle .lines span { background-color: var(--gb-navy); }
body.landing-page #topnav:not(.nav-sticky):not(.gb-scrolled) .navbar-toggle .lines span { background-color: #fff; }

@media (max-width: 991px) {
	#topnav .container { flex-wrap: wrap; }
	#topnav #navigation {
		flex: 1 0 100%;
		background: #fff;
		border-top: 1px solid var(--gb-line);
		margin-top: 6px;
		max-height: calc(100vh - var(--gb-nav-h));
		overflow-y: auto;
	}
	#topnav .navigation-menu { display: block; padding: 8px 10px 16px; }
	#topnav .navigation-menu > li > a,
	#topnav .navigation-menu > li > a.nav-link {
		display: block !important;
		padding: 13px 8px !important;
		border-radius: 8px;
		font-size: 16px !important;
		color: var(--gb-body) !important;
	}
	body.landing-page #topnav:not(.nav-sticky):not(.gb-scrolled) .navigation-menu > li:not(.gb-nav-cta) > a { color: var(--gb-body) !important; }
	#topnav .navigation-menu > li.gb-nav-cta > a,
	#topnav .navigation-menu > li.gb-nav-cta > a.nav-link {
		margin: 10px 0 0 !important;
		text-align: center;
		border-radius: 999px;
		color: var(--gb-navy) !important;
	}
}

/* ─────────────────────────────  BOTONES  ───────────────────────────── */

.gb-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	font-family: var(--gb-text);
	font-weight: 700;
	font-size: 15px;
	line-height: 1;
	padding: 15px 26px;
	border-radius: 999px;
	border: 1.5px solid transparent;
	cursor: pointer;
	transition: transform .25s var(--gb-ease), box-shadow .25s var(--gb-ease), background .25s var(--gb-ease), color .25s var(--gb-ease), border-color .25s var(--gb-ease);
}

.gb-btn i { font-size: 1.05em; }
.gb-btn:hover { transform: translateY(-2px); }

.gb-btn-gold {
	background: var(--gb-gold);
	color: var(--gb-navy) !important;
	box-shadow: var(--gb-glow-gold);
}
.gb-btn-gold:hover { background: var(--gb-gold-300); box-shadow: 0 16px 36px -10px rgba(245, 200, 0, .7); }

.gb-btn-navy {
	background: var(--gb-navy);
	color: #fff !important;
	box-shadow: 0 12px 28px -14px rgba(11, 12, 92, .9);
}
.gb-btn-navy:hover { background: var(--gb-navy-700); }

.gb-btn-ghost {
	background: transparent;
	color: var(--gb-navy) !important;
	border-color: var(--gb-line);
}
.gb-btn-ghost:hover { border-color: var(--gb-navy); background: var(--gb-mist); }

.gb-btn-ghost-light {
	background: rgba(255, 255, 255, .06);
	color: #fff !important;
	border-color: rgba(255, 255, 255, .28);
}
.gb-btn-ghost-light:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .55); }

.gb-btn-lg { padding: 17px 32px; font-size: 16px; }
.gb-btn-block { width: 100%; }

/* ─────────────────────────────  PIEZAS COMUNES  ───────────────────────────── */

.gb-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--gb-text);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--gb-navy-400);
	margin-bottom: 16px;
}

.gb-eyebrow::before {
	content: "";
	width: 26px;
	height: 2px;
	border-radius: 2px;
	background: var(--gb-gold);
}

.gb-eyebrow-light { color: var(--gb-gold); }

.gb-h2 {
	font-size: clamp(1.9rem, 1.15rem + 2.1vw, 3rem);
	margin-bottom: 14px;
}

.gb-lead {
	font-size: clamp(1rem, .95rem + .25vw, 1.13rem);
	line-height: 1.65;
	color: var(--gb-body);
	max-width: 62ch;
}

.gb-section { padding: clamp(64px, 8vw, 118px) 0; }
.gb-section-mist { background: var(--gb-mist); }

.gb-section-head { max-width: 720px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.gb-section-head .gb-eyebrow { justify-content: center; }
.gb-section-head .gb-lead { margin-inline: auto; }

.gb-accent { color: var(--gb-navy); position: relative; white-space: nowrap; }
.gb-accent::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: .08em;
	height: .34em;
	background: var(--gb-gold);
	opacity: .45;
	border-radius: 3px;
	z-index: -1;
}

/* Fondo de textura para las bandas oscuras */
.gb-dark {
	position: relative;
	background: var(--gb-navy);
	color: #C9CEF0;
	overflow: hidden;
	isolation: isolate;
}

.gb-dark h1, .gb-dark h2, .gb-dark h3, .gb-dark h4, .gb-dark h5, .gb-dark h6 { color: #fff; }

.gb-dark::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		radial-gradient(rgba(255, 255, 255, .10) 1px, transparent 1px);
	background-size: 26px 26px;
	opacity: .5;
	-webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 0%, transparent 78%);
	mask-image: radial-gradient(120% 90% at 50% 0%, #000 0%, transparent 78%);
	z-index: -2;
	pointer-events: none;
}

.gb-dark::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(58% 62% at 16% 0%, rgba(91, 184, 245, .26) 0%, transparent 65%),
		radial-gradient(52% 55% at 88% 8%, rgba(245, 200, 0, .17) 0%, transparent 65%),
		radial-gradient(75% 70% at 50% 108%, rgba(46, 49, 196, .34) 0%, transparent 70%);
	z-index: -3;
	pointer-events: none;
}

/* ─────────────────────────────  HERO  ───────────────────────────── */

.gb-hero {
	position: relative;
	padding: calc(var(--gb-nav-h) + clamp(46px, 6vw, 84px)) 0 clamp(70px, 8vw, 110px);
	background: linear-gradient(168deg, #090A48 0%, var(--gb-navy) 46%, #12148A 100%);
	color: #C9CEF0;
	overflow: hidden;
	isolation: isolate;
}

.gb-hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
	gap: clamp(38px, 5vw, 70px);
	align-items: center;
}

@media (max-width: 991px) {
	.gb-hero-grid { grid-template-columns: minmax(0, 1fr); text-align: center; }
	.gb-hero-copy .gb-eyebrow { justify-content: center; }
	.gb-hero-lead, .gb-hero-actions, .gb-hero-tags { margin-inline: auto; }
	.gb-hero-actions { justify-content: center; }
	.gb-hero-tags { justify-content: center; }
}

/* Chip del test diagnostico */
.gb-hero-chip {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 7px 8px 7px 16px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .07);
	border: 1px solid rgba(255, 255, 255, .16);
	color: #E6E9FA !important;
	font-size: 13.5px;
	font-weight: 600;
	margin-bottom: 26px;
	transition: border-color .25s var(--gb-ease), background .25s var(--gb-ease), transform .25s var(--gb-ease);
}

.gb-hero-chip:hover {
	border-color: rgba(245, 200, 0, .6);
	background: rgba(245, 200, 0, .1);
	transform: translateY(-2px);
}

.gb-hero-chip b {
	color: var(--gb-gold);
	font-weight: 800;
	letter-spacing: .05em;
	text-transform: uppercase;
	font-size: 11px;
}

.gb-hero-chip .gb-chip-sep { width: 1px; height: 16px; background: rgba(255, 255, 255, .2); }

.gb-hero-chip .gb-chip-go {
	width: 26px; height: 26px;
	border-radius: 50%;
	background: var(--gb-gold);
	color: var(--gb-navy);
	display: grid;
	place-items: center;
	font-size: 13px;
	flex-shrink: 0;
}

.gb-hero-title {
	font-size: clamp(2.3rem, 1.2rem + 3.5vw, 3.85rem);
	color: #fff;
	margin: 0 0 20px;
	letter-spacing: -0.035em;
}

.gb-hero-title .gb-hl {
	position: relative;
	color: var(--gb-gold);
	white-space: nowrap;
}

.gb-hero-lead {
	font-size: clamp(1.02rem, .96rem + .3vw, 1.18rem);
	line-height: 1.65;
	color: #B6BDE6;
	max-width: 33rem;
	margin-bottom: 30px;
}

.gb-hero-lead strong { color: #fff; font-weight: 700; }

.gb-hero-lead .gb-x10 {
	color: var(--gb-gold);
	font-weight: 800;
	font-family: var(--gb-display);
}

.gb-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 26px;
}

.gb-hero-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 22px;
}

.gb-tag {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 7px 14px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .06);
	border: 1px solid rgba(255, 255, 255, .14);
	font-size: 13px;
	font-weight: 600;
	color: #D5DAF3;
}

.gb-tag i { color: var(--gb-gold); font-size: 13px; }

.gb-hero-note {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: #9AA2D0;
}

.gb-hero-note i { color: var(--gb-mint); }

/* ── Mockup del panel real ── */

.gb-panel {
	position: relative;
	border-radius: var(--gb-r-lg);
	background: #fff;
	box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255, 255, 255, .08);
	overflow: hidden;
	transform: perspective(1600px) rotateY(-7deg) rotateX(3deg);
	transform-origin: center left;
	transition: transform .8s var(--gb-ease);
}

.gb-panel:hover { transform: perspective(1600px) rotateY(-2deg) rotateX(1deg); }

@media (max-width: 991px) {
	.gb-panel { transform: none; max-width: 520px; margin-inline: auto; }
	.gb-panel:hover { transform: none; }
}

.gb-panel-bar {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 16px;
	background: linear-gradient(96deg, var(--gb-navy) 0%, #2A2FA8 100%);
	color: #fff;
}

.gb-panel-bar .gb-panel-logo {
	font-family: var(--gb-display);
	font-weight: 800;
	font-size: 15px;
	letter-spacing: -0.02em;
}

.gb-panel-bar .gb-panel-logo span { color: var(--gb-sky); }

.gb-panel-pill {
	padding: 3px 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .16);
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: .02em;
	white-space: nowrap;
}

.gb-panel-pill.is-gold { background: var(--gb-gold); color: var(--gb-navy); margin-left: auto; }

.gb-panel-body { display: grid; grid-template-columns: 150px minmax(0, 1fr); }

.gb-panel-side {
	border-right: 1px solid var(--gb-line-soft);
	padding: 12px 8px;
	background: #FCFDFF;
}

.gb-panel-side li {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 7px 9px;
	border-radius: 8px;
	font-size: 11.5px;
	font-weight: 600;
	color: var(--gb-body);
	list-style: none;
	white-space: nowrap;
}

.gb-panel-side li i { font-size: 12px; color: var(--gb-muted); }
.gb-panel-side li b { margin-left: auto; font-size: 10px; color: var(--gb-muted); font-weight: 700; font-variant-numeric: tabular-nums; }

.gb-panel-side li.is-active {
	background: var(--gb-gold);
	color: var(--gb-navy);
}
.gb-panel-side li.is-active i,
.gb-panel-side li.is-active b { color: var(--gb-navy); }

.gb-panel-main { padding: 14px; background: #FBFCFF; }

.gb-panel-kpis {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 9px;
	margin-bottom: 12px;
}

.gb-kpi {
	border: 1px solid var(--gb-line-soft);
	border-radius: 12px;
	background: #fff;
	padding: 10px 11px;
	box-shadow: var(--gb-shadow-sm);
}

.gb-kpi i {
	display: grid;
	place-items: center;
	width: 24px; height: 24px;
	border-radius: 7px;
	background: var(--gb-mist-2);
	color: var(--gb-navy-400);
	font-size: 12px;
	margin-bottom: 7px;
}

.gb-kpi .gb-kpi-n {
	font-family: var(--gb-display);
	font-size: 19px;
	font-weight: 800;
	color: var(--gb-navy);
	line-height: 1;
	letter-spacing: -0.02em;
}

.gb-kpi .gb-kpi-l { font-size: 10px; color: var(--gb-muted); font-weight: 600; margin-top: 3px; }

.gb-panel-card {
	border: 1px solid var(--gb-line-soft);
	border-radius: 12px;
	background: #fff;
	padding: 12px;
	box-shadow: var(--gb-shadow-sm);
}

.gb-panel-card-head {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 12px;
}

.gb-panel-card-head span {
	font-family: var(--gb-display);
	font-size: 12px;
	font-weight: 700;
	color: var(--gb-navy);
}

.gb-panel-card-head em {
	font-style: normal;
	margin-left: auto;
	font-size: 9.5px;
	font-weight: 700;
	color: var(--gb-mint);
	background: rgba(16, 185, 129, .12);
	padding: 2px 7px;
	border-radius: 999px;
}

.gb-chart {
	display: flex;
	align-items: flex-end;
	gap: 7px;
	height: 74px;
}

.gb-chart i {
	flex: 1;
	border-radius: 4px 4px 2px 2px;
	background: linear-gradient(180deg, var(--gb-navy-400), var(--gb-navy));
	height: var(--h, 40%);
	transform-origin: bottom;
	animation: gb-bar-rise .9s var(--gb-ease) backwards;
	animation-delay: var(--gb-delay, 0s);
}

.gb-chart i.is-gold { background: linear-gradient(180deg, var(--gb-gold-300), var(--gb-gold)); }

@keyframes gb-bar-rise { from { transform: scaleY(.05); opacity: .2; } to { transform: scaleY(1); opacity: 1; } }

/* Etiquetas flotantes alrededor del panel */
.gb-float {
	position: absolute;
	display: flex;
	align-items: center;
	gap: 9px;
	padding: 10px 15px;
	border-radius: 13px;
	background: rgba(255, 255, 255, .96);
	box-shadow: 0 16px 34px -14px rgba(0, 0, 0, .6);
	font-size: 12.5px;
	font-weight: 700;
	color: var(--gb-navy);
	white-space: nowrap;
	animation: gb-bob 5.5s ease-in-out infinite;
}

.gb-float i {
	display: grid; place-items: center;
	width: 26px; height: 26px;
	border-radius: 8px;
	font-size: 13px;
}

.gb-float small { display: block; font-size: 10.5px; font-weight: 600; color: var(--gb-muted); }

.gb-float-a { top: -58px; left: 0; animation-delay: -.6s; }
.gb-float-a i { background: rgba(16, 185, 129, .14); color: var(--gb-mint); }

.gb-float-b { bottom: -58px; right: 0; animation-delay: -2.8s; }
.gb-float-b i { background: rgba(245, 200, 0, .18); color: var(--gb-gold-700); }

@keyframes gb-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }



@media (max-width: 575px) {
	.gb-float { display: none; }
	.gb-panel-body { grid-template-columns: minmax(0, 1fr); }
	.gb-panel-side { display: none; }
}

.gb-panel-shell { position: relative; margin: 64px 0; }

/* Entrada escalonada del hero */
.gb-in { animation: gb-fade-up .85s var(--gb-ease) backwards; animation-delay: var(--gb-delay, 0ms); }
@keyframes gb-fade-up { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* ─────────────────────────────  BANDA DE CIFRAS  ───────────────────────────── */

.gb-stats {
	border-block: 1px solid var(--gb-line);
	background: var(--gb-white);
	padding: clamp(38px, 4.5vw, 58px) 0;
}

.gb-stats-note {
	text-align: center;
	font-size: 13px;
	color: var(--gb-muted);
	margin-bottom: 26px;
}

.gb-stats-note b { color: var(--gb-navy); font-weight: 700; }

.gb-stats-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	gap: 1px;
	background: var(--gb-line);
	border-radius: var(--gb-r);
	overflow: hidden;
	border: 1px solid var(--gb-line);
}

@media (max-width: 767px) { .gb-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.gb-stat {
	background: #fff;
	padding: 26px 18px;
	text-align: center;
}

.gb-stat-n {
	font-family: var(--gb-display);
	font-size: clamp(1.8rem, 1.2rem + 1.6vw, 2.6rem);
	font-weight: 800;
	color: var(--gb-navy);
	line-height: 1;
	letter-spacing: -0.035em;
}

.gb-stat-n sup { color: var(--gb-gold); font-size: .5em; top: -.7em; }
.gb-stat-l { font-size: 13px; font-weight: 600; color: var(--gb-muted); margin-top: 9px; }

/* ─────────────────────────────  TARJETAS DE CAPACIDAD  ───────────────────────────── */

.gb-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

@media (max-width: 991px) { .gb-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .gb-cards { grid-template-columns: minmax(0, 1fr); } }

.gb-card {
	position: relative;
	background: #fff;
	border: 1px solid var(--gb-line);
	border-radius: var(--gb-r-lg);
	padding: 30px 28px 32px;
	overflow: hidden;
	transition: transform .35s var(--gb-ease), box-shadow .35s var(--gb-ease), border-color .35s var(--gb-ease);
}

.gb-card::after {
	content: "";
	position: absolute;
	left: 0; right: 100%; top: 0;
	height: 3px;
	background: var(--gb-gold);
	transition: right .45s var(--gb-ease);
}

.gb-card:hover { transform: translateY(-6px); box-shadow: var(--gb-shadow); border-color: transparent; }
.gb-card:hover::after { right: 0; }

.gb-card-ico {
	display: grid;
	place-items: center;
	width: 52px; height: 52px;
	border-radius: 15px;
	background: var(--gb-mist-2);
	color: var(--gb-navy);
	font-size: 21px;
	margin-bottom: 20px;
	transition: background .35s var(--gb-ease), color .35s var(--gb-ease);
}

.gb-card:hover .gb-card-ico { background: var(--gb-navy); color: var(--gb-gold); }

.gb-card h3 { font-size: 1.22rem; margin-bottom: 9px; }
.gb-card p { font-size: 14.5px; line-height: 1.62; margin: 0; color: var(--gb-body); }

.gb-card-idx {
	position: absolute;
	top: 24px; right: 26px;
	font-family: var(--gb-display);
	font-size: 13px;
	font-weight: 800;
	color: var(--gb-line);
	letter-spacing: .02em;
}

/* ─────────────────────────────  NORMATIVA / BOE  ───────────────────────────── */

.gb-legal {
	position: relative;
	background: #fff;
	border: 1px solid var(--gb-line);
	border-radius: var(--gb-r-xl);
	padding: clamp(30px, 4vw, 52px);
	box-shadow: var(--gb-shadow-sm);
}

.gb-legal-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 15px;
	border-radius: 999px;
	background: var(--gb-navy);
	color: var(--gb-gold);
	font-size: 11.5px;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
	margin-bottom: 20px;
}

.gb-legal h2 { font-size: clamp(1.5rem, 1.1rem + 1.3vw, 2.15rem); margin-bottom: 22px; }

.gb-legal p { font-size: 15px; line-height: 1.72; color: var(--gb-body); }

.gb-quote {
	position: relative;
	margin: 26px 0 20px;
	padding: 26px 28px 26px 34px;
	background: var(--gb-mist);
	border-left: 4px solid var(--gb-gold);
	border-radius: 4px var(--gb-r) var(--gb-r) 4px;
	font-size: 15px;
	line-height: 1.75;
	color: var(--gb-navy);
	font-style: italic;
}

.gb-quote::before {
	content: "\201C";
	position: absolute;
	top: -6px; right: 20px;
	font-family: var(--gb-display);
	font-size: 76px;
	line-height: 1;
	color: var(--gb-gold);
	opacity: .28;
}

.gb-legal-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 22px;
	padding-top: 20px;
	border-top: 1px solid var(--gb-line-soft);
	font-size: 12.5px;
	font-weight: 600;
	color: var(--gb-muted);
}

.gb-legal-meta span { display: inline-flex; align-items: center; gap: 7px; }
.gb-legal-meta i { color: var(--gb-navy-400); }

/* ─────────────────────────────  FIRMA DIGITAL  ───────────────────────────── */

.gb-shots {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
	margin-top: 42px;
}

@media (max-width: 640px) { .gb-shots { grid-template-columns: minmax(0, 1fr); } }

.gb-shot {
	border-radius: var(--gb-r);
	overflow: hidden;
	border: 1px solid var(--gb-line);
	background: #fff;
	box-shadow: var(--gb-shadow-sm);
	transition: transform .4s var(--gb-ease), box-shadow .4s var(--gb-ease);
}

.gb-shot:hover { transform: translateY(-8px); box-shadow: var(--gb-shadow); }
.gb-shot img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ─────────────────────────────  TARIFAS  ───────────────────────────── */

.gb-plans {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
	align-items: stretch;
}

@media (max-width: 991px) { .gb-plans { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-inline: auto; } }

.gb-plan {
	position: relative;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--gb-line);
	border-radius: var(--gb-r-xl);
	padding: 34px 30px 32px;
	transition: transform .35s var(--gb-ease), box-shadow .35s var(--gb-ease);
}

.gb-plan:hover { transform: translateY(-6px); box-shadow: var(--gb-shadow); }

.gb-plan-size {
	display: inline-flex;
	align-self: flex-start;
	padding: 6px 13px;
	border-radius: 999px;
	background: var(--gb-mist-2);
	color: var(--gb-navy);
	font-size: 12px;
	font-weight: 700;
	margin-bottom: 20px;
}

.gb-plan-price {
	display: flex;
	align-items: baseline;
	gap: 7px;
	margin-bottom: 4px;
}

.gb-plan-price b {
	font-family: var(--gb-display);
	font-size: 3.1rem;
	font-weight: 800;
	color: var(--gb-navy);
	line-height: 1;
	letter-spacing: -0.04em;
}

.gb-plan-price span { font-size: 14px; font-weight: 600; color: var(--gb-muted); }

.gb-plan-sub { font-size: 13px; color: var(--gb-muted); margin-bottom: 24px; min-height: 2.9em; }

.gb-plan-list {
	list-style: none;
	margin: 0 0 28px;
	padding: 24px 0 0;
	border-top: 1px solid var(--gb-line-soft);
	display: grid;
	gap: 13px;
	flex: 1 1 auto;
}

.gb-plan-list li {
	display: flex;
	gap: 11px;
	font-size: 14px;
	line-height: 1.55;
	color: var(--gb-body);
}

.gb-plan-list i { color: var(--gb-mint); font-size: 15px; margin-top: 2px; flex-shrink: 0; }
.gb-plan-list strong { color: var(--gb-navy); font-weight: 700; }

.gb-plan-list li.is-signature i { color: var(--gb-gold-700); }

.gb-plan.is-featured {
	background: linear-gradient(170deg, #0C0D62 0%, var(--gb-navy) 55%, #191CA0 100%);
	border-color: transparent;
	box-shadow: var(--gb-shadow-lg);
	transform: translateY(-10px);
}

@media (max-width: 991px) { .gb-plan.is-featured { transform: none; } }

.gb-plan.is-featured:hover { transform: translateY(-16px); }
@media (max-width: 991px) { .gb-plan.is-featured:hover { transform: translateY(-6px); } }

.gb-plan.is-featured .gb-plan-price b,
.gb-plan.is-featured .gb-plan-list strong { color: #fff; }
.gb-plan.is-featured .gb-plan-price span,
.gb-plan.is-featured .gb-plan-sub { color: #A7AEDD; }
.gb-plan.is-featured .gb-plan-list { border-top-color: rgba(255, 255, 255, .14); }
.gb-plan.is-featured .gb-plan-list li { color: #C9CEF0; }
.gb-plan.is-featured .gb-plan-list i { color: var(--gb-gold); }
.gb-plan.is-featured .gb-plan-size { background: rgba(255, 255, 255, .12); color: #fff; }

.gb-plan-flag {
	position: absolute;
	top: 20px; right: 22px;
	padding: 5px 13px;
	border-radius: 999px;
	background: var(--gb-gold);
	color: var(--gb-navy);
	font-size: 10.5px;
	font-weight: 800;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.gb-enterprise {
	margin-top: 30px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 26px;
	flex-wrap: wrap;
	padding: 30px 34px;
	border-radius: var(--gb-r-xl);
	background: var(--gb-mist);
	border: 1px dashed #C7D0EE;
}

.gb-enterprise h3 { font-size: 1.28rem; margin-bottom: 6px; }
.gb-enterprise p { margin: 0; font-size: 14px; color: var(--gb-body); }

/* ─────────────────────────────  API  ───────────────────────────── */

.gb-api-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	gap: clamp(34px, 4.5vw, 62px);
	align-items: center;
}

@media (max-width: 991px) { .gb-api-grid { grid-template-columns: minmax(0, 1fr); } }

.gb-api-chips { display: flex; flex-wrap: wrap; gap: 9px; margin: 26px 0 30px; }

.gb-code {
	border-radius: var(--gb-r);
	background: rgba(3, 4, 30, .74);
	border: 1px solid rgba(255, 255, 255, .1);
	box-shadow: 0 30px 70px -34px #000;
	overflow: hidden;
	backdrop-filter: blur(6px);
}

.gb-code-bar {
	display: flex;
	align-items: center;
	gap: 7px;
	padding: 11px 15px;
	border-bottom: 1px solid rgba(255, 255, 255, .08);
	background: rgba(255, 255, 255, .04);
}

.gb-code-bar i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.gb-code-bar em {
	font-style: normal;
	margin-left: 8px;
	font-size: 11.5px;
	font-family: var(--gb-mono);
	color: #7B84B8;
}

.gb-code pre {
	margin: 0;
	padding: 20px 22px 24px;
	font-family: var(--gb-mono);
	font-size: 12.8px;
	line-height: 1.95;
	color: #D6DBF5;
	overflow-x: auto;
	white-space: pre;
	background: none;
	border: 0;
}

.gb-code .c { color: #6B75AE; }
.gb-code .k { color: var(--gb-gold); font-weight: 700; }
.gb-code .p { color: #86EFAC; }
.gb-code .a { color: #93C5FD; }
.gb-code .s { color: #86EFAC; }
.gb-code .n { color: #FBBF24; }

/* ─────────────────────────────  VENTAJAS / SPLITS  ───────────────────────────── */

.gb-split {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(34px, 5vw, 68px);
	align-items: center;
}

@media (max-width: 991px) { .gb-split { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 991px) { .gb-split .gb-split-media { order: -1; } }

.gb-split + .gb-split { margin-top: clamp(50px, 6vw, 90px); }

.gb-split-media img { width: 100%; height: auto; display: block; }

.gb-checklist { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 14px; }

.gb-checklist li {
	display: flex;
	gap: 13px;
	align-items: flex-start;
	font-size: 15px;
	line-height: 1.6;
	color: var(--gb-body);
}

.gb-checklist i {
	display: grid;
	place-items: center;
	flex-shrink: 0;
	width: 24px; height: 24px;
	border-radius: 8px;
	background: rgba(16, 185, 129, .13);
	color: var(--gb-mint);
	font-size: 12px;
	margin-top: 1px;
}

/* ─────────────────────────────  TESTIMONIOS  ───────────────────────────── */

.gb-quotes {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	align-items: start;
}

@media (max-width: 991px) { .gb-quotes { grid-template-columns: minmax(0, 1fr); max-width: 620px; margin-inline: auto; } }

.gb-quote-card {
	position: relative;
	background: #fff;
	border: 1px solid var(--gb-line);
	border-radius: var(--gb-r-lg);
	padding: 30px 28px;
	transition: transform .35s var(--gb-ease), box-shadow .35s var(--gb-ease);
}

.gb-quote-card:hover { transform: translateY(-6px); box-shadow: var(--gb-shadow); }

.gb-stars { display: flex; gap: 3px; color: var(--gb-gold); font-size: 14px; margin-bottom: 16px; }

.gb-quote-card blockquote {
	margin: 0 0 24px;
	font-size: 14.6px;
	line-height: 1.72;
	color: var(--gb-body);
}

.gb-quote-card blockquote::before { content: "\201C"; }
.gb-quote-card blockquote::after { content: "\201D"; }

.gb-author { display: flex; align-items: center; gap: 13px; padding-top: 20px; border-top: 1px solid var(--gb-line-soft); }

.gb-author img {
	width: 46px; height: 46px;
	border-radius: 12px;
	object-fit: cover;
	background: var(--gb-mist);
	flex-shrink: 0;
}

.gb-author b { display: block; font-family: var(--gb-display); font-size: 15px; color: var(--gb-navy); }
.gb-author span { font-size: 12.5px; color: var(--gb-muted); }

/* Marquee de logos */
.gb-logos { margin-top: clamp(48px, 5vw, 72px); }

.gb-logos-title {
	text-align: center;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--gb-muted);
	margin-bottom: 28px;
}

.gb-marquee {
	position: relative;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.gb-marquee-track {
	display: flex;
	align-items: center;
	gap: 56px;
	width: max-content;
	animation: gb-marquee 42s linear infinite;
}

.gb-marquee:hover .gb-marquee-track { animation-play-state: paused; }

@keyframes gb-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.gb-marquee img {
	height: 40px;
	width: auto;
	max-width: 140px;
	object-fit: contain;
	filter: grayscale(1);
	opacity: .55;
	transition: filter .3s var(--gb-ease), opacity .3s var(--gb-ease);
}

.gb-marquee img:hover { filter: none; opacity: 1; }

@media (prefers-reduced-motion: reduce) {
	.gb-marquee-track { animation: none; flex-wrap: wrap; justify-content: center; width: 100%; gap: 34px; }
}

/* ─────────────────────────────  CTA FINAL  ───────────────────────────── */

.gb-cta { text-align: center; }

.gb-cta h2 { font-size: clamp(2rem, 1.3rem + 2.2vw, 3.1rem); margin-bottom: 16px; }

.gb-cta .gb-lead { color: #B6BDE6; margin: 0 auto 34px; }

.gb-cta-actions { display: flex; flex-wrap: wrap; gap: 13px; justify-content: center; margin-bottom: 44px; }

.gb-cta-feats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	max-width: 720px;
	margin: 0 auto;
}

@media (max-width: 640px) { .gb-cta-feats { grid-template-columns: minmax(0, 1fr); } }

.gb-cta-feat {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 16px 14px;
	border-radius: var(--gb-r);
	background: rgba(255, 255, 255, .06);
	border: 1px solid rgba(255, 255, 255, .13);
	font-size: 13.5px;
	font-weight: 600;
	color: #D5DAF3;
}

.gb-cta-feat i { color: var(--gb-gold); font-size: 16px; }

/* ─────────────────────────────  FOOTER  ───────────────────────────── */

.footer {
	background: var(--gb-navy-950) !important;
	color: #98A0CC;
	padding: clamp(52px, 6vw, 78px) 0 clamp(38px, 4vw, 56px);
	border-top: 0;
}

.footer .logo-footer {
	font-family: var(--gb-display);
	font-weight: 800;
	font-size: 23px;
	letter-spacing: -0.03em;
	color: #fff !important;
	display: inline-flex;
	align-items: center;
}

.footer .logo-footer img { height: 30px; border-radius: 8px; }
.footer .logo-footer span { color: var(--gb-gold) !important; }

.footer p { color: #98A0CC; font-size: 14.5px; line-height: 1.68; }

.footer .footer-head {
	font-family: var(--gb-display);
	color: #fff !important;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.footer .footer-list li { margin-bottom: 9px; }

.footer .text-foot {
	color: #98A0CC !important;
	font-size: 14.5px;
	transition: color .2s var(--gb-ease), padding-left .2s var(--gb-ease);
}

.footer .text-foot:hover { color: var(--gb-gold) !important; padding-left: 4px; }
.footer .text-foot i { color: var(--gb-navy-400); margin-right: 4px; }
.footer .text-foot:hover i { color: var(--gb-gold); }

.footer .social-icon li a {
	display: inline-grid;
	place-items: center;
	width: 38px; height: 38px;
	border-radius: 11px !important;
	background: rgba(255, 255, 255, .06);
	border: 1px solid rgba(255, 255, 255, .1);
	color: #C3C9E8 !important;
	font-size: 15px;
	transition: all .25s var(--gb-ease);
}

.footer .social-icon li a:hover {
	background: var(--gb-gold);
	border-color: var(--gb-gold);
	color: var(--gb-navy) !important;
	transform: translateY(-3px);
}

.footer.footer-bar {
	margin-top: 0;
	padding: 22px 0;
	border-top: 1px solid rgba(255, 255, 255, .09);
}

.footer.footer-bar p { margin: 0; font-size: 13.5px; color: #7A82AE; }

.back-to-top {
	background: var(--gb-navy) !important;
	color: var(--gb-gold) !important;
	border-radius: 13px !important;
	width: 44px; height: 44px;
	line-height: 44px !important;
	box-shadow: 0 12px 28px -12px rgba(11, 12, 92, .9);
	border: 0;
}

.back-to-top:hover { background: var(--gb-gold) !important; color: var(--gb-navy) !important; }

/* ─────────────────────────────  BANNER DE COOKIES  ───────────────────────────── */

.cookiebanner {
	font-family: var(--gb-text) !important;
	background: rgba(5, 6, 43, .96) !important;
	color: #C7CCEA !important;
	font-size: 12.5px !important;
	line-height: 1.5 !important;
	padding: 12px 54px 12px 20px !important;
	border-top: 1px solid rgba(255, 255, 255, .1);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	text-align: center;
}

.cookiebanner a { color: var(--gb-gold) !important; text-decoration: underline !important; }

.cookiebanner-close {
	background: var(--gb-gold) !important;
	color: var(--gb-navy) !important;
	border-radius: 8px !important;
	padding: 4px 11px !important;
	font-weight: 800 !important;
	text-decoration: none !important;
	right: 14px !important;
}

/* ─────────────────────────────  PAGINAS LEGALES (misma cabecera)  ───────────────────────────── */

.bg-half.bg-light {
	background: linear-gradient(168deg, var(--gb-mist) 0%, var(--gb-mist-2) 100%) !important;
	border-bottom: 1px solid var(--gb-line);
	padding: calc(var(--gb-nav-h) + 62px) 0 62px !important;
}

.bg-half .page-next-level .title { color: var(--gb-navy) !important; font-size: clamp(1.8rem, 1.2rem + 1.8vw, 2.6rem); }
.bg-half .page-next-level .text-muted { color: var(--gb-muted) !important; }
.bg-half .page-next-level .text-dark { color: var(--gb-navy) !important; }

@media (max-width: 575px) {
	.cookiebanner {
		font-size: 11px !important;
		line-height: 1.45 !important;
		padding: 10px 46px 10px 14px !important;
	}
	.cookiebanner-close { right: 10px !important; padding: 3px 9px !important; }
	.gb-hero-actions .gb-btn { width: 100%; }
}
