/* ==========================================================================
   Latam Logic - Design System
   Pixel-perfect match con diseño Figma
   ========================================================================== */

/* ---------- Design Tokens ---------- */
:root {
	/* Primary */
	--navy-deep: #06182C;
	--navy: #0A2340;
	--navy-accent: #123A63;
	--blue: #1C6FB8;
	--cyan: #35BEEF;

	/* Text */
	--text-heading: #0A2340;
	--text-body: #4C627C;
	--text-muted: #6B819A;
	--text-subtle: #8AA0B8;
	--text-on-dark: #ffffff;
	--text-on-dark-muted: rgba(255, 255, 255, 0.72);
	--text-on-dark-subtle: rgba(255, 255, 255, 0.6);
	--text-on-cyan: #06182C;
	--text-on-cyan-muted: #083350;

	/* Backgrounds */
	--bg-white: #ffffff;
	--bg-light: #F3F7FB;
	--bg-body: #E7EEF5;
	--bg-warm: #F0EEE6;

	/* Borders */
	--border: #E5EDF5;
	--border-hover: #8CCBEF;
	--border-divider: #EEF3F8;

	/* Glass */
	--glass-bg: rgba(255, 255, 255, 0.12);
	--glass-border: rgba(255, 255, 255, 0.22);
	--glass-bg-badge: rgba(255, 255, 255, 0.14);
	--glass-border-badge: rgba(255, 255, 255, 0.26);

	/* Typography */
	--font-heading: 'Archivo', 'Archivo-fallback', system-ui, sans-serif;
	--font-body: 'Manrope', 'Manrope-fallback', system-ui, sans-serif;

	/* Layout */
	--container-max: 1440px;
	--edge: max(0px, (100vw - var(--container-max)) / 2);
	--container-padding: 56px;
	--section-padding: 88px;
	--card-radius: 26px;
	--section-radius: 34px;
	--pill-radius: 999px;

	/* Transitions */
	--ease: cubic-bezier(0.4, 0, 0.2, 1);
	--duration: 0.3s;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body {
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.7;
	color: var(--text-body);
	background-color: var(--bg-body);
	text-wrap: pretty;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: inherit;
	text-decoration: none;
	transition: color var(--duration) var(--ease);
}

ul, ol {
	list-style: none;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-heading);
	color: var(--text-heading);
	line-height: 1.15;
	letter-spacing: -0.024em;
}

h1 {
	font-weight: 800;
	font-size: 66px;
	line-height: 1.02;
	letter-spacing: -0.03em;
}

h2 {
	font-weight: 700;
	font-size: 44px;
	line-height: 1.18;
}

h3 {
	font-weight: 700;
	font-size: 20px;
	line-height: 1.25;
}

h4 {
	font-weight: 700;
	font-size: 19px;
	line-height: 1.3;
}

p {
	margin-bottom: 1rem;
	font-size: 15.5px;
	line-height: 1.75;
}

/* ---------- Page Wrapper ---------- */
#page {
	background: var(--bg-white);
	overflow: hidden;
}

body {
	background-color: var(--bg-white);
}

/* ---------- Container ---------- */
.container {
	max-width: var(--container-max);
	margin: 0 auto;
	padding: 0 var(--container-padding);
}

/* ==========================================================================
   HEADER
   ========================================================================== */

.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	padding: 22px 26px;
	transition: background-color var(--duration) var(--ease);
}

.site-header.header-scrolled {
	background-color: rgba(6, 24, 44, 0.95);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
}

.header-inner {
	max-width: var(--container-max);
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

/* Logo */
.site-branding {
	flex-shrink: 0;
}

.site-logo-text {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--text-on-dark);
}

.logo-img {
	height: 70px;
	width: auto;
	object-fit: contain;
}

.logo-icon {
	color: var(--text-on-dark);
}

.logo-text {
	display: flex;
	align-items: baseline;
	gap: 2px;
}

.logo-latam {
	font-family: var(--font-body);
	font-weight: 800;
	font-size: 18px;
	letter-spacing: 0.02em;
}

.logo-logic {
	font-family: var(--font-body);
	font-weight: 400;
	font-size: 18px;
	letter-spacing: 0.02em;
}

.logo-sas {
	font-family: var(--font-body);
	font-weight: 500;
	font-size: 10px;
	opacity: 0.6;
	margin-left: 4px;
}

/* Navigation Pill */
.nav-pill-container {
	background: var(--glass-bg);
	border: 1px solid var(--glass-border);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border-radius: var(--pill-radius);
	padding: 6px;
}

.nav-pill-menu {
	display: flex;
	align-items: center;
	gap: 0;
}

.nav-pill-item {
	list-style: none;
}

.nav-pill-link {
	display: block;
	padding: 11px 22px;
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 13.5px;
	color: rgba(255, 255, 255, 0.86);
	border-radius: var(--pill-radius);
	transition: all var(--duration) var(--ease);
	white-space: nowrap;
}

.nav-pill-link:hover {
	background: rgba(255, 255, 255, 0.16);
	color: var(--text-on-dark);
}

.current-menu-item .nav-pill-link,
.current_page_item .nav-pill-link {
	background: var(--bg-white);
	color: var(--navy-deep);
	font-weight: 700;
}

/* Header CTA */
.header-cta {
	flex-shrink: 0;
}

.btn-cta-primary {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 14px 14px 24px;
	background: var(--cyan);
	color: var(--navy-deep);
	font-family: var(--font-body);
	font-weight: 700;
	font-size: 13.5px;
	border-radius: var(--pill-radius);
	border: none;
	cursor: pointer;
	transition: background var(--duration) var(--ease);
	white-space: nowrap;
}

.btn-cta-primary:hover {
	background: var(--bg-white);
	color: var(--navy-deep);
}

.btn-arrow {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	background: var(--navy-deep);
	color: var(--cyan);
	border-radius: var(--pill-radius);
}

.btn-cta-primary:hover .btn-arrow {
	background: var(--navy);
}

/* Mobile Toggle */
.menu-toggle {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px;
	flex-direction: column;
	gap: 5px;
}

.hamburger-line {
	display: block;
	width: 24px;
	height: 2px;
	background-color: var(--text-on-dark);
	transition: all var(--duration) var(--ease);
}

/* ==========================================================================
   BUTTONS (Design System)
   ========================================================================== */

/* Primary: Cyan bg, dark text */
.btn-primary {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 17px 17px 17px 28px;
	background: var(--cyan);
	color: var(--navy-deep);
	font-family: var(--font-body);
	font-weight: 700;
	font-size: 15px;
	border-radius: var(--pill-radius);
	border: none;
	cursor: pointer;
	transition: background var(--duration) var(--ease);
}

.btn-primary:hover {
	background: var(--bg-white);
	color: var(--navy-deep);
}

.btn-primary .btn-arrow {
	width: 30px;
	height: 30px;
}

/* Secondary: Outline white */
.btn-secondary {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 17px 28px;
	background: transparent;
	color: var(--text-on-dark);
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 15px;
	border: 1px solid rgba(255, 255, 255, 0.45);
	border-radius: var(--pill-radius);
	cursor: pointer;
	transition: background var(--duration) var(--ease);
}

.btn-secondary:hover {
	background: rgba(255, 255, 255, 0.14);
	color: var(--text-on-dark);
}

/* Dark: Navy bg, white text */
.btn-dark {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 17px 17px 17px 28px;
	background: var(--navy);
	color: var(--text-on-dark);
	font-family: var(--font-body);
	font-weight: 700;
	font-size: 15px;
	border-radius: var(--pill-radius);
	border: none;
	cursor: pointer;
	transition: background var(--duration) var(--ease);
}

.btn-dark:hover {
	background: var(--blue);
	color: var(--text-on-dark);
}

.btn-dark .btn-arrow {
	background: var(--cyan);
	color: var(--navy-deep);
}

/* ==========================================================================
   BADGES / PILLS
   ========================================================================== */

.badge {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 9px 18px;
	border-radius: var(--pill-radius);
	font-family: var(--font-body);
	font-weight: 700;
	font-size: 11.5px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.badge-light {
	background: var(--bg-light);
	color: var(--blue);
}

.badge-glass {
	background: var(--glass-bg-badge);
	border: 1px solid var(--glass-border-badge);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	color: var(--text-on-dark);
	font-size: 12px;
	letter-spacing: 0.12em;
	padding: 8px 20px 8px 10px;
	gap: 12px;
}

.badge-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: var(--pill-radius);
	font-size: 12px;
}

.badge-glass .badge-icon {
	background: var(--cyan);
	color: var(--navy-deep);
	font-size: 11px;
}

.badge-white {
	background: var(--bg-white);
	color: var(--blue);
}

.badge-dark {
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: #BEE6F8;
}

.badge-light .badge-icon,
.badge-white .badge-icon,
.badge-dark .badge-icon {
	width: auto;
	height: auto;
	background: none;
	color: var(--cyan);
	font-size: 11px;
}

/* ==========================================================================
   CARDS (3 Variants)
   ========================================================================== */

/* Base card */
.card {
	display: flex;
	flex-direction: column;
	gap: 14px;
	border-radius: var(--card-radius);
	padding: 28px 26px;
	transition: border-color var(--duration) var(--ease);
}

.card p {
	margin: 0;
}

.card:hover {
	border-color: var(--border-hover);
}

/* Card: Dark Navy */
.card-dark {
	background: var(--navy);
	border: 1px solid transparent;
}

.card-dark .card-number {
	color: var(--cyan);
}

.card-dark h3,
.card-dark h4 {
	color: var(--text-on-dark);
}

.card-dark p {
	color: var(--text-on-dark-muted);
	font-size: 13.5px;
	line-height: 1.65;
}

/* Card: Light / White */
.card-light {
	background: var(--bg-white);
	border: 1px solid var(--border);
}

.card-light .card-number {
	color: var(--blue);
}

.card-light h3,
.card-light h4 {
	color: var(--navy-deep);
}

.card-light p {
	color: var(--text-muted);
	font-size: 13.5px;
	line-height: 1.65;
}

/* Card: Cyan Accent */
.card-accent {
	background: var(--cyan);
	border: 1px solid transparent;
}

.card-accent .card-number {
	color: var(--navy-deep);
}

.card-accent h3,
.card-accent h4 {
	color: var(--navy-deep);
}

.card-accent p {
	color: var(--text-on-cyan-muted);
	font-size: 13.5px;
	line-height: 1.65;
}

/* Card shared elements */
.card-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.card-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: var(--pill-radius);
}

.card-dark .card-icon {
	background: rgba(53, 190, 239, 0.18);
	color: var(--cyan);
}

.card-light .card-icon {
	background: var(--bg-light);
	color: var(--blue);
}

.card-accent .card-icon {
	background: rgba(6, 24, 44, 0.14);
	color: var(--navy-deep);
}

.card-number {
	font-family: var(--font-body);
	font-weight: 800;
	font-size: 12px;
	letter-spacing: 0.06em;
}

.card h3 {
	margin: 6px 0 0;
	letter-spacing: -0.01em;
}

/* Card: Image overlay */
.card-image {
	position: relative;
	border-radius: var(--card-radius);
	overflow: hidden;
	min-height: 250px;
}

.card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	position: absolute;
	inset: 0;
}

.card-image-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 40%, rgba(6, 24, 44, 0.86) 100%);
}

.card-image-badge {
	position: absolute;
	bottom: 20px;
	left: 20px;
}

/* ==========================================================================
   STAT CARDS
   ========================================================================== */

.stat-card {
	border-radius: 24px;
	padding: 26px;
}

.stat-card-light {
	background: var(--bg-white);
	border: 1px solid var(--border);
}

.stat-card-dark {
	background: rgba(255, 255, 255, 0.07);
	border: 1px solid rgba(255, 255, 255, 0.16);
}

.stat-card-accent {
	background: var(--cyan);
}

.stat-number {
	font-family: var(--font-heading);
	font-weight: 800;
	font-size: 40px;
	line-height: 1;
	color: var(--text-heading);
}

.stat-number .stat-unit {
	color: var(--cyan);
	font-size: 16px;
}

.stat-card-accent .stat-number {
	color: var(--navy-deep);
}

.stat-card-accent .stat-unit {
	color: var(--navy-deep);
}

.stat-label {
	font-family: var(--font-body);
	font-weight: 500;
	font-size: 13px;
	line-height: 1.55;
	color: var(--text-body);
	margin-top: 12px;
}

.stat-card .stat-number {
	letter-spacing: -0.03em;
}

.stat-accent {
	color: var(--cyan);
}

.stat-card-accent .stat-accent {
	color: var(--navy);
}

.stat-card-dark .stat-number {
	color: var(--text-on-dark);
}

.stat-card-dark .stat-label {
	color: rgba(255, 255, 255, 0.7);
}

.stat-card-accent .stat-label {
	color: var(--text-on-cyan-muted);
	font-weight: 600;
}

/* ==========================================================================
   SECTION HELPERS
   ========================================================================== */

.section-white {
	background: var(--bg-white);
	padding: var(--section-padding) 0;
}

.section-light {
	margin: 0 calc(var(--edge) + 18px);
	background: var(--bg-light);
	border-radius: var(--section-radius);
	padding: 82px var(--container-padding);
}

.section-dark {
	margin: 0 calc(var(--edge) + 18px);
	background: var(--navy);
	border-radius: var(--section-radius);
	padding: 82px var(--container-padding);
}

.section-header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 40px;
	margin-bottom: 34px;
}

.section-light > .container,
.section-dark > .container {
	padding: 0;
}

.section-header-centered {
	text-align: center;
	margin-bottom: 44px;
}

.section-header-centered h2 {
	max-width: 24ch;
	margin: 0 auto 16px;
}

.section-header-centered p {
	max-width: 54ch;
	margin: 0 auto;
}

/* ==========================================================================
   HERO (Interior pages)
   ========================================================================== */

.hero-interior {
	position: relative;
	min-height: 480px;
	background: var(--navy-deep);
	overflow: hidden;
}

.hero-interior-bg {
	position: absolute;
	inset: 0;
	object-fit: cover;
	width: 100%;
	height: 100%;
}

.hero-interior-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(6, 24, 44, 0.78) 0%, rgba(6, 24, 44, 0.5) 40%, rgba(6, 24, 44, 0.88) 100%);
}

.hero-interior-content {
	position: relative;
	z-index: 1;
	margin-left: var(--edge);
	padding: 158px var(--container-padding) 128px;
	max-width: 900px;
}

.hero-interior-content .badge {
	margin-bottom: 24px;
}

.hero-interior-content h1 {
	color: var(--text-on-dark);
	max-width: 20ch;
	font-size: 54px;
	line-height: 1.06;
	letter-spacing: -0.028em;
}

.hero-interior-content .hero-subtitle {
	margin: 22px 0 0;
	font-size: 16.5px;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.8);
	max-width: 52ch;
}

.hero-breadcrumb {
	margin-top: 26px;
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 12.5px;
	color: rgba(255, 255, 255, 0.6);
}

.hero-breadcrumb a {
	color: rgba(255, 255, 255, 0.6);
}

.hero-breadcrumb a:hover {
	color: var(--text-on-dark);
}

/* Hero curve transition */
.hero-curve {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 794px;
	height: 52px;
	pointer-events: none;
	z-index: 2;
}

.hero-interior .hero-curve,
.hero-landing .hero-curve {
	display: flex;
	align-items: flex-end;
	width: auto;
	height: auto;
}

.hero-interior .hero-curve::before,
.hero-landing .hero-curve::before {
	content: '';
	width: calc(var(--edge) + min(760px, 58vw));
	height: 52px;
	background: var(--bg-white);
	border-radius: 0 26px 0 0;
}

.hero-interior .hero-curve::after,
.hero-landing .hero-curve::after {
	content: '';
	width: 27px;
	height: 26px;
	margin-left: -1px;
	background: radial-gradient(circle 26px at 100% 0, transparent 25.5px, var(--bg-white) 26px);
}

/* ==========================================================================
   CTA SECTION (Shared across pages)
   ========================================================================== */

.cta-section {
	padding: 88px calc(var(--edge) + 18px) 0;
}

.cta-banner {
	position: relative;
	border-radius: var(--section-radius);
	overflow: hidden;
	min-height: 400px;
	display: flex;
	align-items: center;
	background: linear-gradient(135deg, #06182C 0%, #0A2340 40%, #1C6FB8 100%);
}

.cta-banner-bg {
	position: absolute;
	inset: 0;
	object-fit: cover;
	width: 100%;
	height: 100%;
}

.cta-banner-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(100deg, rgba(6, 24, 44, 0.94) 0%, rgba(10, 35, 64, 0.8) 48%, rgba(28, 111, 184, 0.35) 100%);
}

.cta-banner-content {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 56px;
	padding: 60px var(--container-padding);
	width: 100%;
}

.cta-banner-text h2 {
	font-size: 42px;
	line-height: 1.1;
	letter-spacing: -0.026em;
	color: var(--text-on-dark);
	max-width: 22ch;
	margin-bottom: 16px;
}

.cta-banner-text p {
	font-size: 16px;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.8);
	max-width: 46ch;
}

.cta-banner-actions {
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-width: 300px;
}

.cta-banner-actions .btn-primary {
	justify-content: space-between;
}

.cta-banner-actions .btn-secondary {
	justify-content: center;
}

/* ==========================================================================
   CHECKLIST (pill items with checkmarks)
   ========================================================================== */

.checklist {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.checklist-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 22px;
	background: var(--bg-light);
	border-radius: var(--pill-radius);
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 14px;
	color: var(--text-heading);
}

.checklist-icon {
	color: var(--cyan);
	flex-shrink: 0;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
	background: var(--bg-white);
	padding: 74px var(--container-padding) 40px;
}

.footer-main,
.footer-bottom {
	max-width: calc(var(--container-max) - 2 * var(--container-padding));
	margin-left: auto;
	margin-right: auto;
}

.footer-main {
	border-bottom: 1px solid var(--border);
	padding-bottom: 48px;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1.1fr;
	gap: 48px;
	max-width: var(--container-max);
	margin: 0 auto;
}

/* Footer: Brand column */
.footer-brand .footer-logo {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 18px;
	color: var(--text-heading);
}

.footer-brand .logo-icon {
	color: var(--text-heading);
}

.footer-logo-text {
	color: var(--text-heading);
}

.footer-logo-text .logo-latam,
.footer-logo-text .logo-logic {
	font-size: 20px;
}

.footer-tagline {
	font-size: 14px;
	line-height: 1.7;
	color: var(--text-body);
	max-width: 36ch;
	margin: 4px 0 24px;
}

.footer-social {
	display: flex;
	gap: 8px;
}

.social-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: var(--pill-radius);
	background: var(--bg-light);
	color: var(--blue);
	font-family: var(--font-body);
	font-weight: 700;
	font-size: 12px;
	transition: all var(--duration) var(--ease);
}

.social-icon:hover {
	background: var(--blue);
	color: var(--bg-white);
}

/* Footer: Headings */
.footer-heading {
	font-family: var(--font-body);
	font-weight: 700;
	font-size: 11.5px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--text-subtle);
	margin-bottom: 20px;
}

/* Footer: Links */
.footer-links {
	display: flex;
	flex-direction: column;
	gap: 12px;
	list-style: none;
	line-height: 1.35;
}

.footer-links li a,
.footer-links a {
	font-family: var(--font-body);
	font-weight: 500;
	font-size: 14px;
	color: var(--text-body);
	transition: color var(--duration) var(--ease);
}

.footer-links li a:hover,
.footer-links a:hover {
	color: var(--blue);
}

/* Footer: Contact */
.footer-contact {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-bottom: 20px;
}

.footer-contact p {
	font-size: 14px;
	line-height: 1.5;
	color: var(--text-body);
	margin-bottom: 0;
}

.footer-contact a {
	color: var(--text-body);
}

.footer-contact a:hover {
	color: var(--blue);
}

/* Footer: Newsletter */
.footer-newsletter {
	display: flex;
	align-items: center;
	background: var(--bg-light);
	border-radius: var(--pill-radius);
	padding: 6px 6px 6px 20px;
}

.footer-newsletter input {
	flex: 1;
	border: none;
	background: none;
	font-family: var(--font-body);
	font-weight: 500;
	font-size: 13px;
	color: var(--text-heading);
	outline: none;
	min-width: 0;
}

.footer-newsletter input::placeholder {
	color: var(--text-subtle);
}

.newsletter-submit {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: var(--pill-radius);
	background: var(--navy);
	color: var(--cyan);
	border: none;
	cursor: pointer;
	flex-shrink: 0;
	transition: background var(--duration) var(--ease);
}

.newsletter-submit:hover {
	background: var(--blue);
}

/* Footer: Bottom */
.footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 24px;
	max-width: var(--container-max);
	margin: 0 auto;
}

.footer-bottom p {
	font-family: var(--font-body);
	font-weight: 500;
	font-size: 12.5px;
	color: var(--text-subtle);
	margin-bottom: 0;
}

.footer-legal {
	display: flex;
	gap: 5px;
}

.footer-legal a + a::before {
	content: '· ';
	color: var(--text-subtle);
}

.footer-legal a {
	font-family: var(--font-body);
	font-weight: 500;
	font-size: 12.5px;
	color: var(--text-subtle);
}

.footer-legal a:hover {
	color: var(--blue);
}

/* ==========================================================================
   GRIDS
   ========================================================================== */

.grid-2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.grid-3 {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
}

.grid-4 {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
}

.grid-2col-content {
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	gap: 52px;
	align-items: start;
}

.grid-2col-detail {
	display: grid;
	grid-template-columns: 1.15fr 380px;
	gap: 44px;
	align-items: start;
}

/* ==========================================================================
   FORMS (Contacto)
   ========================================================================== */

.form-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.form-group {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.form-group.full-width {
	grid-column: 1 / -1;
}

.form-label {
	font-family: var(--font-body);
	font-weight: 700;
	font-size: 10.5px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--text-subtle);
}

.form-input,
.form-select,
.form-textarea {
	padding: 14px 18px;
	background: var(--bg-white);
	border: 1px solid var(--border);
	border-radius: 16px;
	font-family: var(--font-body);
	font-weight: 500;
	font-size: 14px;
	color: var(--text-heading);
	outline: none;
	transition: border-color var(--duration) var(--ease);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
	border-color: var(--cyan);
}

.form-textarea {
	min-height: 120px;
	resize: vertical;
}

/* ==========================================================================
   HERO LANDING (Homepage)
   ========================================================================== */

.hero-landing {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: max(722px, 100vh);
	min-height: max(722px, 100svh);
	background: var(--navy-deep);
	overflow: hidden;
}

.hero-landing-bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero-landing-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(6, 24, 44, 0.72) 0%, rgba(6, 24, 44, 0.34) 34%, rgba(6, 24, 44, 0.86) 100%);
}

.hero-landing-content {
	position: relative;
	z-index: 1;
	margin-left: var(--edge);
	padding: 110px var(--container-padding) 0;
	max-width: 900px;
}

.text-cyan {
	color: var(--cyan);
}

.hero-landing-content .badge {
	margin-bottom: 30px;
}

.hero-landing-content h1 {
	color: var(--text-on-dark);
	max-width: 17ch;
	margin-bottom: 0;
}

.hero-landing-content .hero-subtitle {
	font-size: 17px;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.8);
	max-width: 50ch;
	margin-top: 26px;
	margin-bottom: 0;
}

.hero-actions {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
	margin-top: 38px;
	margin-bottom: 0;
}

.hero-actions .btn-hero-primary {
	display: flex;
	align-items: center;
	gap: 12px;
	background: var(--bg-white);
	color: var(--navy-deep);
	font-family: var(--font-body);
	font-weight: 700;
	font-size: 15px;
	padding: 16px 16px 16px 28px;
	border-radius: var(--pill-radius);
	transition: background var(--duration) var(--ease);
}

.hero-actions .btn-hero-primary:hover {
	background: #EAF4FB;
	color: var(--navy-deep);
}

.hero-actions .btn-hero-primary .btn-arrow {
	width: 30px;
	height: 30px;
	background: var(--navy);
	color: var(--cyan);
}

.hero-actions .btn-hero-secondary {
	display: flex;
	align-items: center;
	gap: 12px;
	border: 1px solid rgba(255, 255, 255, 0.4);
	color: var(--text-on-dark);
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 15px;
	padding: 16px 28px;
	border-radius: var(--pill-radius);
	transition: background var(--duration) var(--ease);
}

.hero-actions .btn-hero-secondary:hover {
	background: rgba(255, 255, 255, 0.14);
}

.hero-stats {
	width: 100%;
	max-width: var(--container-max);
	margin: 0 auto;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	padding: 70px var(--container-padding) 88px;
	position: relative;
	z-index: 1;
}

.hero-stat {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.hero-stat-card {
	background: rgba(255, 255, 255, 0.12);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border: 1px solid rgba(255, 255, 255, 0.24);
	border-radius: 24px;
	padding: 20px 26px;
	min-width: 196px;
}

.hero-stat-circles {
	background: rgba(255, 255, 255, 0.12);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border: 1px solid rgba(255, 255, 255, 0.24);
	border-radius: var(--pill-radius);
	padding: 9px 26px 9px 12px;
	flex-direction: row;
	align-items: center;
	gap: 14px;
	flex: 0 0 auto;
}

.stat-circles {
	display: flex;
	align-items: center;
	gap: 0;
}

.stat-circle {
	display: block;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 2px solid rgba(255, 255, 255, 0.6);
	margin-left: -11px;
}

.stat-circle:first-child {
	margin-left: 0;
}

.stat-circle:nth-child(1) { background: var(--blue); }
.stat-circle:nth-child(2) { background: var(--cyan); }
.stat-circle:nth-child(3) { background: var(--navy); }

.stat-circle-value {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: #EAF4FB;
	color: var(--navy);
	font-family: var(--font-body);
	font-weight: 800;
	font-size: 10.5px;
	border: 2px solid rgba(255, 255, 255, 0.6);
	margin-left: -11px;
	position: relative;
	z-index: 1;
}

.hero-stat-value {
	font-family: var(--font-heading);
	font-weight: 800;
	font-size: 30px;
	line-height: 1;
	color: var(--text-on-dark);
	letter-spacing: -0.02em;
}

.hero-stat-card:last-child .hero-stat-value {
	color: var(--cyan);
}

.hero-stat-label {
	font-family: var(--font-body);
	font-weight: 500;
	font-size: 12.5px;
	color: var(--text-on-dark-muted);
	margin-top: 8px;
}

.hero-stat-circles .hero-stat-label {
	color: var(--text-on-dark);
	font-weight: 600;
	font-size: 13px;
	margin-top: 0;
}

.hero-stats-right {
	display: flex;
	gap: 14px;
}

@media (max-width: 768px) {
	.hero-landing-content {
		padding: 100px 20px 24px;
	}

	.hero-landing-content h1 {
		font-size: 32px;
	}

	.hero-actions {
		flex-direction: column;
	}

	.hero-stats {
		flex-direction: column;
		gap: 12px;
		padding: 40px 20px 72px;
	}

	.hero-stat-card {
		padding: 16px 20px;
		min-width: auto;
	}

	.hero-stats-right {
		flex-direction: column;
		width: 100%;
	}
}

/* ==========================================================================
   PAGE CONTENT
   ========================================================================== */

.page-content-wrapper {
	padding: var(--section-padding) 0;
}

.single-content-wrapper {
	display: grid;
	grid-template-columns: 1fr 300px;
	gap: 48px;
	padding: var(--section-padding) 0;
}

.entry-content {
	font-size: 15.5px;
	line-height: 1.75;
}

/* ==========================================================================
   404
   ========================================================================== */

.error-404-wrapper {
	min-height: 60vh;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding-top: 120px;
}

.error-404-wrapper h1 {
	font-size: 120px;
	color: var(--bg-light);
	line-height: 1;
}

.error-404-wrapper h2 {
	font-size: 28px;
	margin-bottom: 16px;
}

.error-404-wrapper p {
	color: var(--text-body);
	margin-bottom: 32px;
}

/* ==========================================================================
   WORDPRESS CORE
   ========================================================================== */

.alignleft { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { display: block; margin: 1.5rem auto; }

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1200px) {
	:root {
		--container-padding: 40px;
	}

	h1 { font-size: 48px; }
	h2 { font-size: 36px; }

	.footer-grid {
		grid-template-columns: 1.2fr 1fr 1fr;
	}

	.footer-grid .footer-col:last-child {
		grid-column: 1 / -1;
	}
}

@media (max-width: 992px) {
	:root {
		--container-padding: 32px;
		--section-padding: 64px;
	}

	h1 { font-size: 38px; }
	h2 { font-size: 30px; }
	h3 { font-size: 18px; }

	.grid-3 { grid-template-columns: repeat(2, 1fr); }
	.grid-4 { grid-template-columns: repeat(2, 1fr); }
	.grid-2col-content { grid-template-columns: 1fr; }
	.grid-2col-detail { grid-template-columns: 1fr; }

	.footer-grid {
		grid-template-columns: 1fr 1fr;
	}

	.single-content-wrapper {
		grid-template-columns: 1fr;
	}

	.cta-banner-content {
		flex-direction: column;
		text-align: center;
	}

	.cta-banner-actions {
		min-width: auto;
		width: 100%;
		max-width: 340px;
	}
}

@media (max-width: 768px) {
	:root {
		--container-padding: 20px;
		--section-padding: 48px;
	}

	h1 { font-size: 32px; }
	h2 { font-size: 26px; }

	.site-header {
		padding: 12px 16px;
	}

	.main-navigation {
		display: none;
	}

	.header-cta {
		display: none;
	}

	.menu-toggle {
		display: flex;
	}

	/* Mobile nav overlay */
	.main-navigation.toggled {
		display: block;
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		background: var(--navy-deep);
		z-index: 999;
		padding: 80px 24px 40px;
	}

	.main-navigation.toggled .nav-pill-container {
		background: none;
		border: none;
		backdrop-filter: none;
		padding: 0;
	}

	.main-navigation.toggled .nav-pill-menu {
		flex-direction: column;
		gap: 4px;
	}

	.main-navigation.toggled .nav-pill-link {
		font-size: 18px;
		padding: 16px 20px;
	}

	.grid-2 { grid-template-columns: 1fr; }
	.grid-3 { grid-template-columns: 1fr; }
	.grid-4 { grid-template-columns: 1fr; }
	.form-grid { grid-template-columns: 1fr; }

	.footer-grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.footer-bottom {
		flex-direction: column;
		gap: 16px;
		text-align: center;
	}

	.footer-legal {
		flex-wrap: wrap;
		justify-content: center;
		gap: 16px;
	}

	.section-light,
	.section-dark {
		margin: 0;
		border-radius: 0;
	}

	.cta-section {
		padding-left: 0;
		padding-right: 0;
	}

	.cta-banner {
		border-radius: 0;
	}

	.hero-interior-content {
		padding: 120px 20px 80px;
	}

	.hero-curve {
		display: none;
	}
}

/* ==========================================================================
   LANDING PAGE SECTIONS (Phase 2)
   ========================================================================== */

/* ---------- Section Nav Arrows ---------- */
.section-nav-arrows {
	display: flex;
	gap: 8px;
	flex-shrink: 0;
}

.nav-arrow-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: var(--pill-radius);
	border: 1px solid var(--border);
	background: var(--bg-white);
	color: var(--text-muted);
	cursor: pointer;
	transition: all var(--duration) var(--ease);
}

.nav-arrow-btn:hover,
.nav-arrow-btn.nav-arrow-active {
	background: var(--navy);
	border-color: var(--navy);
	color: var(--text-on-dark);
}

.nav-arrow-dark {
	border-color: rgba(255, 255, 255, 0.2);
	background: rgba(255, 255, 255, 0.08);
	color: rgba(255, 255, 255, 0.5);
}

.nav-arrow-dark:hover,
.nav-arrow-dark.nav-arrow-active {
	background: var(--cyan);
	border-color: var(--cyan);
	color: var(--navy-deep);
}

/* ---------- 2. Más que un operador (Statement) ---------- */
.landing-about {
	margin: 18px calc(var(--edge) + 18px);
	border-radius: var(--section-radius);
	background: var(--bg-light);
	padding: 82px var(--container-padding) 74px;
	text-align: center;
}

.landing-about .container {
	padding: 0;
}

.landing-about .grid-2col-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0;
}

.landing-about-text {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0;
	order: -1;
}

.landing-about-text h2 {
	max-width: 24ch;
	margin: 0 auto;
	font: 700 44px/1.18 var(--font-heading);
	letter-spacing: -0.024em;
	color: var(--text-heading);
}

.landing-about-text .btn-dark {
	margin-top: 34px;
	background: var(--blue);
	color: var(--text-on-dark);
}

.landing-about-text .btn-dark:hover {
	background: var(--navy);
}

.landing-about-text .btn-dark .btn-arrow {
	background: var(--bg-white);
	color: var(--blue);
}

.landing-about-image {
	position: relative;
	width: 640px;
	height: 340px;
	border-radius: var(--pill-radius);
	overflow: hidden;
	margin-top: 54px;
	flex: none;
}

.landing-about-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	position: absolute;
	inset: 0;
}

.progress-overlay {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	bottom: 26px;
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 10px 20px;
	background: var(--bg-white);
	border-radius: var(--pill-radius);
	box-shadow: 0 12px 30px rgba(6, 24, 44, 0.22);
	white-space: nowrap;
}

.progress-label {
	font-family: var(--font-body);
	font-weight: 700;
	font-size: 12px;
	color: var(--text-heading);
}

.progress-bar {
	width: 150px;
	height: 6px;
	background: #E2EBF4;
	border-radius: var(--pill-radius);
	overflow: hidden;
	position: relative;
}

.progress-bar-fill {
	height: 100%;
	background: var(--cyan);
	border-radius: var(--pill-radius);
	transition: width 1.2s var(--ease);
}

.progress-value {
	font-family: var(--font-body);
	font-weight: 700;
	font-size: 12px;
	color: var(--blue);
}

/* ---------- 3. Services Preview (Soluciones Carousel) ---------- */
.landing-services-preview {
	padding: 88px 0 20px;
}

.landing-services-preview .section-header h2 {
	font: 700 42px/1.12 var(--font-heading);
	letter-spacing: -0.024em;
	max-width: 22ch;
	margin: 0;
}

.landing-services-preview .section-nav-arrows {
	gap: 10px;
}

.landing-services-preview .nav-arrow-btn {
	width: 46px;
	height: 46px;
}

.landing-services-preview .nav-arrow-btn.nav-arrow-active {
	background: var(--blue);
	border-color: var(--blue);
}

.services-preview-grid {
	display: flex;
	gap: 20px;
	overflow: hidden;
}

.services-preview-grid .card-image {
	flex: none;
	width: 390px;
	height: 430px;
	border-radius: 28px;
	min-height: auto;
}

.services-preview-grid .card-image-overlay {
	background: linear-gradient(180deg, rgba(6, 24, 44, 0) 0%, rgba(6, 24, 44, 0.9) 100%);
}

.services-preview-grid .card-image-badge {
	padding: 70px 26px 26px;
	bottom: 0;
	left: 0;
	right: 0;
	position: absolute;
}

.services-preview-grid .card-image-badge h3 {
	color: #fff;
	margin: 0 0 8px;
	font: 700 24px var(--font-heading);
}

.services-preview-grid .card-image-badge p {
	color: rgba(255, 255, 255, 0.78);
	font: 400 13.5px/1.6 var(--font-body);
	margin: 0;
}

/* ---------- 4. Tu importación blindada en 4 pasos ---------- */
.landing-steps {
	padding: 92px var(--container-padding) 88px;
}

.steps-grid {
	gap: 18px;
}

.step-card {
	background: #EAF4FB;
	border: none;
	border-radius: var(--card-radius);
	padding: 28px 26px 26px;
	display: flex;
	flex-direction: column;
}

.step-card:nth-child(2) { background: #DCEBF9; }
.step-card:nth-child(3) { background: #CFE6F7; }
.step-card:nth-child(4) {
	background: var(--navy);
}
.step-card:nth-child(4) h3 { color: var(--text-on-dark); }
.step-card:nth-child(4) > p { color: var(--text-on-dark-muted); }

.step-number {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: var(--pill-radius);
	background: var(--bg-white);
	color: var(--blue);
	font-family: var(--font-body);
	font-weight: 800;
	font-size: 13px;
	margin-bottom: 0;
}

.step-card:nth-child(4) .step-number {
	background: var(--cyan);
	color: var(--navy-deep);
}

.step-card h3 {
	margin: 22px 0 8px;
	font: 700 21px/1.25 var(--font-heading);
	letter-spacing: -0.01em;
}

.step-card > p {
	color: #43617F;
	font-size: 13.5px;
	line-height: 1.6;
	margin-bottom: 20px;
}

.step-demo {
	margin-top: auto;
	border-radius: 16px;
	overflow: hidden;
}

/* Step 1: Form demo */
.step-demo-form {
	background: var(--bg-light);
	padding: 16px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.step-form-row {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.step-form-label {
	font-family: var(--font-body);
	font-weight: 700;
	font-size: 9px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--text-subtle);
}

.step-form-value {
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 13px;
	color: var(--text-heading);
	padding: 8px 12px;
	background: var(--bg-white);
	border-radius: 10px;
	border: 1px solid var(--border);
}

/* Step 2: Checklist demo */
.step-demo-checklist {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.step-check-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 14px;
	border-radius: 12px;
	font-family: var(--font-body);
	font-weight: 500;
	font-size: 13px;
}

.step-check-done {
	background: var(--bg-light);
	color: var(--text-heading);
}

.step-check-done .step-check-icon {
	color: var(--cyan);
	font-weight: 700;
}

.step-check-pending {
	background: var(--bg-light);
	color: var(--text-muted);
}

.step-check-pending .step-check-icon {
	color: var(--text-subtle);
	font-size: 10px;
	letter-spacing: 2px;
}

/* Step 3: Stat demo */
.step-demo-stat {
	background: var(--bg-light);
	padding: 20px 16px;
	display: flex;
	align-items: baseline;
	justify-content: space-between;
}

.step-stat-label {
	font-family: var(--font-body);
	font-weight: 700;
	font-size: 10px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--text-subtle);
}

.step-stat-value {
	font-family: var(--font-heading);
	font-weight: 800;
	font-size: 24px;
	color: var(--cyan);
}

/* Step 4: Success demo */
.step-demo-success {
	background: var(--navy);
	padding: 16px;
	display: flex;
	align-items: center;
	gap: 12px;
	color: var(--text-on-dark);
}

.step-success-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: var(--pill-radius);
	background: var(--cyan);
	color: var(--navy-deep);
	font-weight: 700;
	flex-shrink: 0;
}

.step-demo-success strong {
	display: block;
	font-size: 14px;
	margin-bottom: 2px;
}

.step-demo-success span {
	font-size: 12px;
	color: var(--text-on-dark-muted);
}

/* ---------- 5. Una solución 360° (8 services full) ---------- */
.landing-services-full {
	padding: 92px 0 88px;
}

.services-full-header {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: 56px;
	align-items: end;
	margin-bottom: 40px;
}

.services-full-title {
	flex: 1;
}

.services-full-title .badge {
	margin-bottom: 22px;
}

.services-full-title h2 {
	max-width: 24ch;
	font: 700 42px/1.12 var(--font-heading);
	letter-spacing: -0.024em;
}

.services-full-subtitle {
	font-size: 15.5px;
	line-height: 1.7;
	color: var(--text-body);
	max-width: 46ch;
	margin: 0;
}

.services-full-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
	margin-bottom: 32px;
}

/* CTA Bar inside services */
.services-cta-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	padding: 28px 30px;
	background: var(--bg-light);
	border-radius: var(--card-radius);
}

.services-cta-bar-text h3 {
	margin-bottom: 10px;
}

.services-cta-bar-text p {
	color: var(--text-body);
	font-size: 14px;
	line-height: 1.65;
	margin-bottom: 0;
	max-width: 70ch;
}

/* ---------- 6. Pain Points (Blindaje) ---------- */
.landing-pain-points {
	padding: 92px 0 88px;
}

.landing-pain-points .grid-2col-content {
	align-items: center;
}

.pain-points-visual {
	position: relative;
	border-radius: 32px;
	overflow: hidden;
	height: 560px;
	background: var(--navy-deep);
}

.pain-points-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	position: absolute;
	inset: 0;
	display: block;
}

.monitor-overlay {
	position: absolute;
	bottom: 24px;
	left: 24px;
	right: 24px;
	padding: 22px 26px;
	background: rgba(6, 24, 44, 0.72);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.monitor-badge {
	font-family: var(--font-body);
	font-weight: 700;
	font-size: 12px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--cyan);
}

.monitor-stat {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.monitor-label {
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 15px;
	color: var(--text-on-dark);
}

.monitor-value {
	font-family: var(--font-heading);
	font-weight: 800;
	font-size: 34px;
	line-height: 1;
	color: var(--text-on-dark);
}

.monitor-value span {
	color: var(--cyan);
}

.pain-points-content {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.pain-points-content .badge {
	align-self: flex-start;
	margin-bottom: 22px;
}

.pain-points-content h2 {
	max-width: 20ch;
	font: 700 40px/1.14 var(--font-heading);
	letter-spacing: -0.024em;
}

.pain-points-content > p {
	color: var(--text-body);
	font-size: 15.5px;
	line-height: 1.7;
	max-width: 48ch;
	margin: 20px 0 30px;
}

.pain-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 0;
}

.pain-item {
	display: flex;
	gap: 20px;
	align-items: flex-start;
	background: var(--bg-light);
	border-radius: 22px;
	padding: 24px 26px;
}

.pain-item:last-child {
	background: var(--navy);
}

.pain-item:last-child h4 { color: var(--text-on-dark); }
.pain-item:last-child p { color: var(--text-on-dark-muted); }

.pain-icon {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: var(--pill-radius);
	font-size: 15px;
	flex: none;
}

.pain-icon-warning {
	background: var(--bg-white);
	color: var(--blue);
}

.pain-icon-time {
	background: var(--bg-white);
	color: var(--blue);
}

.pain-icon-gear {
	background: rgba(53, 190, 239, 0.2);
	color: var(--cyan);
}

.pain-item h4 {
	margin: 0 0 6px;
	font: 700 17px var(--font-heading);
	color: var(--text-heading);
}

.pain-item p {
	font-size: 13.5px;
	line-height: 1.6;
	color: var(--text-body);
	margin-bottom: 0;
}

/* ---------- 7. 25 Años de excelencia (Trayectoria) ---------- */
.landing-excellence {
	padding: 92px 0 88px;
	background: var(--bg-white);
	margin: 0;
	border-radius: 0;
}

.excellence-grid {
	grid-template-columns: 1.05fr 1fr;
	gap: 52px;
	align-items: start;
}

.excellence-left {
	display: flex;
	flex-direction: column;
}

.excellence-left .badge {
	margin-bottom: 22px;
}

.excellence-left h2 {
	max-width: 20ch;
	margin-bottom: 0;
	font: 700 42px/1.12 var(--font-heading);
	letter-spacing: -0.024em;
}

.excellence-subtitle {
	max-width: 48ch;
	font-size: 15.5px;
	line-height: 1.7;
	color: var(--text-body);
	margin: 20px 0 26px;
}

.excellence-left .excellence-cards {
	gap: 16px;
}

.excellence-left .card-dark {
	padding: 28px 26px;
}

.excellence-left .card-dark h4,
.excellence-left .card-excellence-light h4 {
	margin: 22px 0 10px;
	font: 700 18px/1.3 var(--font-heading);
}

.card-excellence-light {
	background: var(--bg-light);
	border-radius: var(--card-radius);
	padding: 28px 26px;
}

.card-excellence-light .card-icon {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: var(--pill-radius);
	background: var(--bg-white);
	color: var(--blue);
}

.card-excellence-light h4 {
	color: var(--text-heading);
}

.card-excellence-light p {
	color: var(--text-body);
}

.excellence-left .btn-primary {
	margin-top: 10px;
	align-self: flex-start;
	background: var(--navy);
	color: var(--text-on-dark);
	padding: 15px 15px 15px 28px;
}

.excellence-left .btn-primary:hover {
	background: var(--blue);
}

.excellence-right {
	background: var(--bg-light);
	border-radius: 30px;
	padding: 22px;
	display: flex;
	flex-direction: column;
	gap: 0;
}

.excellence-img {
	border-radius: 22px;
	width: 100%;
	height: 300px;
	object-fit: cover;
}

.excellence-quote {
	font-family: var(--font-heading);
	font-weight: 500;
	font-size: 16px;
	line-height: 1.6;
	color: var(--text-heading);
	font-style: normal;
	background: var(--bg-white);
	border-radius: 22px;
	padding: 24px 26px;
	margin: 20px 0 0;
}

.excellence-stats {
	gap: 14px;
	margin-top: 14px;
}

.excellence-stats .stat-card {
	border-radius: 20px;
	padding: 22px 24px;
	border: none;
}

.excellence-stats .stat-card-light {
	background: var(--bg-white);
}

.excellence-stats .stat-number {
	font-size: 34px;
	letter-spacing: -0.03em;
}

.excellence-stats .stat-label {
	font-size: 12.5px;
	line-height: 1.5;
	margin-top: 10px;
}

.excellence-stats .stat-card-accent .stat-number {
	color: var(--navy-deep);
}

.excellence-stats .stat-card-accent .stat-unit {
	color: var(--navy);
}

.excellence-stats .stat-card-accent .stat-label {
	font-weight: 600;
	color: var(--text-on-cyan-muted);
}

/* ---------- 8. Industries Tabs ---------- */
.landing-industries {
	padding: 92px 0 88px;
}

.landing-industries .section-header-centered {
	margin-bottom: 44px;
}

.landing-industries .section-header-centered h2 {
	max-width: 26ch;
	font: 700 42px/1.14 var(--font-heading);
	letter-spacing: -0.024em;
}

.industries-layout {
	display: grid;
	grid-template-columns: 1fr 1.05fr;
	gap: 56px;
	align-items: center;
}

.industries-tabs {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.industry-tab {
	display: block;
	width: 100%;
	text-align: left;
	padding: 12px 22px;
	background: none;
	border: none;
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: 22px;
	color: #BBC9D8;
	cursor: pointer;
	transition: all var(--duration) var(--ease);
	border-radius: var(--pill-radius);
}

.industry-tab:first-child {
	border-top: none;
}

.industry-tab:hover {
	color: var(--text-heading);
}

.industry-tab-active {
	font-weight: 700;
	color: var(--text-heading);
	background: #EAF4FB;
	border-left: none;
	padding-left: 22px;
}

.industries-image {
	position: relative;
	border-radius: 32px;
	overflow: hidden;
	height: 470px;
	background: var(--bg-light);
}

.industries-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	position: absolute;
	inset: 0;
	display: block;
}

.industry-image-badge {
	position: absolute;
	bottom: 24px;
	left: 24px;
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 10px 22px 10px 12px;
	background: var(--bg-white);
	border-radius: var(--pill-radius);
	box-shadow: 0 14px 34px rgba(6, 24, 44, 0.24);
}

.industry-image-badge .badge-icon {
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	border-radius: var(--pill-radius);
	background: #EAF4FB;
	color: var(--blue);
	font-size: 12px;
}

.industry-image-badge span:last-child {
	font-family: var(--font-body);
	font-weight: 700;
	font-size: 13px;
	color: var(--text-heading);
}

/* ---------- 9. Testimonials ---------- */
.landing-testimonials {
	margin: 0 calc(var(--edge) + 18px);
	border-radius: var(--section-radius);
	background: var(--bg-light);
	padding: 82px var(--container-padding) 74px;
	text-align: center;
}

.landing-testimonials .section-header-centered {
	margin-bottom: 46px;
}

.landing-testimonials .section-header-centered h2 {
	max-width: 22ch;
	font: 700 42px/1.14 var(--font-heading);
	letter-spacing: -0.024em;
	color: var(--text-heading);
}

.landing-testimonials .section-header-centered p {
	color: var(--text-body);
	font-size: 15.5px;
	line-height: 1.7;
}

.testimonials-photos {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	gap: 18px;
	text-align: left;
}

.testimonial-photo-side {
	flex: none;
	width: 212px;
}

.testimonial-photo-featured {
	flex: none;
	width: 520px;
}

.testimonial-photo-img {
	border-radius: 24px;
	overflow: hidden;
	background: var(--bg-white);
}

.testimonial-photo-side .testimonial-photo-img {
	height: 290px;
}

.testimonial-photo-side .testimonial-photo-img img,
.testimonial-photo-featured .testimonial-photo-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.testimonial-photo-img-featured {
	position: relative;
	height: 390px;
	border-radius: 26px;
}

.testimonial-glass-overlay {
	position: absolute;
	left: 20px;
	right: 20px;
	bottom: 20px;
	background: rgba(6, 24, 44, 0.72);
	backdrop-filter: blur(10px);
	border-radius: 20px;
	padding: 22px 24px;
}

.testimonial-glass-quote {
	margin: 0;
	font: 500 15px/1.6 var(--font-body);
	color: #fff;
}

.testimonial-glass-stars {
	margin-top: 12px;
	font: 600 12px var(--font-body);
	color: var(--cyan);
}

.testimonial-photo-name {
	margin-top: 14px;
	font: 700 13.5px var(--font-body);
	color: var(--text-heading);
}

.testimonial-photo-role {
	margin-top: 4px;
	font: 500 12px var(--font-body);
	color: #8AA0B8;
}

/* ---------- Landing Responsive ---------- */
@media (max-width: 1200px) {
	.services-full-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.services-full-header {
		flex-direction: column;
		gap: 16px;
	}

	.services-full-subtitle {
		flex: none;
		padding-top: 0;
	}

	.industries-layout {
		gap: 32px;
	}
}

@media (max-width: 992px) {
	.services-full-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.services-preview-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.steps-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.industries-layout {
		grid-template-columns: 1fr;
	}

	.industries-image {
		min-height: 340px;
	}

	.testimonials-photos {
		gap: 12px;
	}

	.testimonial-photo-side {
		width: 160px;
	}

	.testimonial-photo-featured {
		width: 400px;
	}

	.testimonial-photo-side .testimonial-photo-img {
		height: 240px;
	}

	.testimonial-photo-img-featured {
		height: 320px;
	}

	.services-cta-bar {
		flex-direction: column;
		text-align: center;
	}

	.excellence-grid {
		grid-template-columns: 1fr;
	}

	.pain-points-visual {
		min-height: 360px;
	}
}

@media (max-width: 768px) {
	.services-preview-grid {
		grid-template-columns: 1fr;
	}

	.steps-grid {
		grid-template-columns: 1fr;
	}

	.services-full-grid {
		grid-template-columns: 1fr;
	}

	.landing-about-image {
		min-height: 300px;
	}

	.testimonial-photo-side {
		display: none;
	}

	.testimonials-photos {
		justify-content: center;
	}

	.testimonial-photo-featured {
		width: 100%;
		max-width: 520px;
	}

	.industries-tabs {
		flex-direction: row;
		flex-wrap: wrap;
		gap: 4px;
	}

	.industry-tab {
		width: auto;
		border: 1px solid var(--border);
		border-radius: var(--pill-radius);
		padding: 10px 16px;
		font-size: 13px;
	}

	.industry-tab:first-child {
		border-top: 1px solid var(--border);
	}

	.industry-tab-active {
		border-left: 1px solid var(--navy);
		border-color: var(--navy);
		background: var(--navy);
		color: var(--text-on-dark);
		padding-left: 16px;
	}

	.industries-image {
		min-height: 280px;
	}

	.section-nav-arrows {
		display: none;
	}
}

/* ==========================================================================
   INTERIOR PAGES (Nosotros · Servicios · Servicio · Industrias · Contacto)
   ========================================================================== */

.interior-main .section-white {
	padding: 88px 0 80px;
}

.interior-main h2 {
	font-size: 40px;
	line-height: 1.12;
}

.interior-main .section-title {
	max-width: 22ch;
	margin: 0;
}

.interior-main .badge + h2 {
	margin-top: 22px;
}

.section-lead {
	max-width: 50ch;
	margin: 0 0 16px;
	font-size: 15.5px;
	line-height: 1.75;
	color: var(--text-body);
}

.section-title + .section-lead {
	margin-top: 20px;
}

.section-header-aside {
	max-width: 42ch;
	margin: 0;
	font-size: 15.5px;
	line-height: 1.7;
	color: var(--text-body);
}

.interior-main .section-header-centered h2 {
	margin: 0 auto 14px;
	line-height: 1.14;
}

.interior-main .section-header-centered p {
	font-size: 15.5px;
	line-height: 1.7;
	color: var(--text-body);
}

.interior-main .btn-dark .btn-arrow,
.interior-main .btn-primary .btn-arrow {
	width: 30px;
	height: 30px;
}

.btn-dark.btn-sm,
.btn-primary.btn-sm {
	padding: 14px 14px 14px 24px;
	font-size: 14px;
}

.btn-sm .btn-arrow {
	width: 28px !important;
	height: 28px !important;
}

.btn-block {
	width: 100%;
	justify-content: space-between;
}

button.btn-dark,
button.btn-primary {
	font-family: var(--font-body);
	white-space: nowrap;
}

a.card {
	color: inherit;
}

.eyebrow {
	margin-bottom: 18px;
	font-family: var(--font-body);
	font-weight: 700;
	font-size: 11.5px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--text-subtle);
}

.stat-accent-sm {
	font-size: 16px;
	letter-spacing: 0;
}

/* ---------- Photo tile ---------- */
.photo-tile {
	position: relative;
	min-height: 250px;
	border-radius: var(--card-radius);
	overflow: hidden;
	background: var(--navy);
}

.photo-tile img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.photo-tile-caption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 64px 22px 22px;
	background: linear-gradient(rgba(6, 24, 44, 0), rgba(6, 24, 44, 0.86));
}

.photo-pill {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 8px 16px 8px 10px;
	background: rgba(255, 255, 255, 0.16);
	border: 1px solid rgba(255, 255, 255, 0.28);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border-radius: var(--pill-radius);
	font-family: var(--font-body);
	font-weight: 700;
	font-size: 12px;
	line-height: 1.2;
	color: var(--text-on-dark);
}

.photo-pill-icon {
	display: grid;
	place-items: center;
	width: 22px;
	height: 22px;
	border-radius: var(--pill-radius);
	background: var(--cyan);
	color: var(--navy-deep);
	font-size: 10px;
}

.photo-tile-text {
	font-family: var(--font-body);
	font-weight: 700;
	font-size: 14px;
	line-height: 1.4;
	color: var(--text-on-dark);
}

.photo-tile-side {
	min-height: 0;
	height: 240px;
	border-radius: 30px;
}

.photo-tile-short {
	height: 220px;
}

.photo-tile-side .photo-tile-caption {
	padding: 60px 22px 22px;
	background: linear-gradient(rgba(6, 24, 44, 0), rgba(6, 24, 44, 0.9));
}

/* ---------- Info card (results, sedes) ---------- */
.info-card {
	border: 1px solid var(--border);
	border-radius: 30px;
	padding: 28px;
}

.info-list {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.info-list > * + * {
	border-top: 1px solid var(--border-divider);
	padding-top: 16px;
}

.result-value {
	font-family: var(--font-heading);
	font-weight: 800;
	font-size: 30px;
	line-height: 1;
	color: var(--navy);
}

.result-label,
.sede-desc {
	margin-top: 6px;
	font-family: var(--font-body);
	font-weight: 500;
	font-size: 12.5px;
	line-height: 1.55;
	color: var(--text-muted);
}

.sede-city {
	line-height: 1.3;
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 15px;
	color: var(--navy);
}

/* ---------- Nosotros ---------- */
.nosotros-pillars {
	margin-top: 26px;
}

.nosotros-about-side {
	background: var(--bg-light);
	border-radius: 30px;
	padding: 22px;
}

.nosotros-side-img {
	height: 320px;
	border-radius: 22px;
	overflow: hidden;
}

.nosotros-side-img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.nosotros-quote {
	margin: 20px 0 14px;
	padding: 24px 26px;
	background: var(--bg-white);
	border-radius: 22px;
	font-family: var(--font-heading);
	font-weight: 500;
	font-size: 16px;
	line-height: 1.6;
	color: var(--navy);
}

.nosotros-quick-stats {
	gap: 14px;
}

.timeline-item {
	background: var(--bg-white);
	border-radius: var(--card-radius);
	padding: 28px 26px;
}

.timeline-year {
	display: block;
	font-family: var(--font-body);
	font-weight: 800;
	font-size: 13px;
	letter-spacing: 0.1em;
	color: var(--cyan);
}

.timeline-item h3 {
	margin: 18px 0 10px;
	font-size: 19px;
	line-height: 1.3;
	color: var(--navy);
}

.timeline-item p {
	margin: 0;
	font-size: 13.5px;
	line-height: 1.65;
	color: var(--text-muted);
}

.timeline-item-dark {
	background: var(--navy);
}

.timeline-item-dark h3 {
	color: var(--text-on-dark);
}

.timeline-item-dark p {
	color: var(--text-on-dark-muted);
}

.nosotros-stats-row,
.principles-gallery {
	margin-top: 18px;
}

/* ---------- Servicios ---------- */
.servicios-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
}

.servicios-grid .photo-tile {
	grid-row: span 2;
}

.help-bar {
	grid-column: 1 / -1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	background: var(--bg-light);
	border-radius: var(--card-radius);
	padding: 28px 30px;
}

.help-bar h3 {
	margin: 0 0 10px;
	font-size: 20px;
	line-height: 1.25;
	color: var(--navy);
}

.help-bar p {
	max-width: 70ch;
	margin: 0;
	font-size: 14px;
	line-height: 1.65;
	color: var(--text-body);
}

.process-step {
	background: var(--bg-white);
	border-radius: var(--card-radius);
	padding: 28px 26px;
}

.process-step-number {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: var(--pill-radius);
	background: #EAF4FB;
	color: var(--blue);
	font-family: var(--font-body);
	font-weight: 800;
	font-size: 13px;
}

.process-step h3 {
	margin: 20px 0 10px;
	font-size: 19px;
	line-height: 1.3;
	color: var(--navy);
}

.process-step p {
	margin: 0;
	font-size: 13.5px;
	line-height: 1.65;
	color: var(--text-muted);
}

.process-step-dark {
	background: var(--navy);
}

.process-step-dark .process-step-number {
	background: var(--cyan);
	color: var(--navy-deep);
}

.process-step-dark h3 {
	color: var(--text-on-dark);
}

.process-step-dark p {
	color: var(--text-on-dark-muted);
}

.featured-layout {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 52px;
	align-items: center;
}

.featured-image {
	height: 460px;
	border-radius: 32px;
	overflow: hidden;
}

.featured-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.interior-main .featured-content h2 {
	max-width: 20ch;
	font-size: 38px;
	line-height: 1.14;
}

.featured-content > p {
	max-width: 48ch;
	margin: 20px 0 26px;
	font-size: 15.5px;
	line-height: 1.7;
	color: var(--text-body);
}

.featured-content .checklist {
	margin-bottom: 28px;
}

.checklist-item {
	gap: 14px;
}

/* ---------- Servicio individual ---------- */
.servicio-layout {
	display: grid;
	grid-template-columns: 1.15fr 380px;
	gap: 44px;
	align-items: start;
}

.interior-main .servicio-main h2 {
	max-width: 24ch;
	font-size: 36px;
	line-height: 1.16;
}

.servicio-main .section-lead {
	max-width: 62ch;
}

.servicio-main .grid-2 {
	margin-top: 14px;
}

.servicio-content {
	margin-top: 20px;
}

.servicio-content p {
	max-width: 62ch;
	margin: 0 0 16px;
	font-size: 15.5px;
	line-height: 1.75;
	color: var(--text-body);
}

.servicio-includes {
	margin-top: 34px;
	background: var(--bg-light);
	border-radius: 30px;
	padding: 34px 32px;
}

.servicio-includes h3 {
	margin: 0 0 22px;
	font-size: 24px;
	line-height: 1.2;
	color: var(--navy);
}

.servicio-includes .checklist {
	display: grid;
	grid-template-columns: 1fr 1fr;
}

.servicio-includes .checklist-item {
	background: var(--bg-white);
	font-size: 13.5px;
}

.servicio-aside,
.contacto-sidebar {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.quote-card {
	background: var(--navy);
	border-radius: 30px;
	padding: 30px 28px;
}

.quote-card h3,
.canales-card h3 {
	margin: 0 0 8px;
	font-size: 22px;
	line-height: 1.25;
	color: var(--text-on-dark);
}

.quote-card-sub {
	margin: 0 0 22px;
	font-size: 13.5px;
	line-height: 1.65;
	color: var(--text-on-dark-muted);
}

.quote-form {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.dark-field {
	display: block;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 16px;
	padding: 14px 18px;
	cursor: pointer;
}

.dark-field:focus-within {
	border-color: rgba(53, 190, 239, 0.6);
}

.dark-field-label,
.field-label {
	display: block;
	line-height: 1.3;
	font-family: var(--font-body);
	font-weight: 700;
	font-size: 10.5px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #8FB6D6;
}

.dark-field select {
	display: block;
	width: 100%;
	margin-top: 6px;
	line-height: 1.3;
	padding: 0 20px 0 0;
	border: 0;
	background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right center;
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 14px;
	color: var(--text-on-dark);
	appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
	outline: none;
}

.dark-field select option {
	color: var(--navy);
	background: var(--bg-white);
}

.related-link {
	font-family: var(--font-body);
	font-weight: 700;
	font-size: 14px;
	color: var(--blue);
	white-space: nowrap;
}

.related-link:hover {
	color: var(--cyan);
}

.interior-main .servicio-related h2,
.interior-main .industrias-compliance h2 {
	max-width: 20ch;
	font-size: 38px;
	line-height: 1.14;
}

/* ---------- Industrias ---------- */
.sector-card {
	border: 1px solid var(--border);
	border-radius: var(--card-radius);
	overflow: hidden;
	background: var(--bg-white);
	transition: border-color var(--duration) var(--ease);
}

.sector-card:hover {
	border-color: var(--border-hover);
}

.sector-card-image {
	position: relative;
	height: 190px;
}

.sector-card-image img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sector-card-image .photo-tile-caption {
	padding: 50px 20px 18px;
}

.sector-card-image .photo-tile-text {
	font-size: 12px;
}

.sector-card-body {
	padding: 24px 24px 26px;
}

.sector-card-body h3 {
	margin: 0 0 10px;
	font-size: 19px;
	line-height: 1.3;
	color: var(--navy);
}

.sector-card-body p {
	margin: 0;
	font-size: 13.5px;
	line-height: 1.65;
	color: var(--text-muted);
}

.industrias-case {
	position: relative;
	overflow: hidden;
}

.industrias-case::before {
	content: '';
	position: absolute;
	right: -140px;
	top: -140px;
	width: 460px;
	height: 460px;
	border-radius: var(--pill-radius);
	background: radial-gradient(circle at 35% 35%, rgba(53, 190, 239, 0.4), rgba(53, 190, 239, 0) 68%);
	pointer-events: none;
}

.case-layout {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 52px;
	align-items: center;
}

.interior-main .case-layout h2 {
	max-width: 20ch;
	font-size: 38px;
	line-height: 1.14;
	color: var(--text-on-dark);
}

.case-text {
	max-width: 46ch;
	margin: 20px 0 26px;
	font-size: 15.5px;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.74);
}

.case-stats {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}

.case-stat {
	background: rgba(255, 255, 255, 0.07);
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 22px;
	padding: 24px;
}

.case-stat-value {
	font-family: var(--font-heading);
	font-weight: 800;
	font-size: 34px;
	line-height: 1;
	color: var(--text-on-dark);
}

.case-stat-label {
	margin-top: 10px;
	font-family: var(--font-body);
	font-weight: 500;
	font-size: 12.5px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.7);
}

.case-stat-accent {
	background: var(--cyan);
	border-color: transparent;
}

.case-stat-accent .case-stat-value,
.case-stat-accent .stat-accent {
	color: var(--navy-deep);
}

.case-stat-accent .case-stat-label {
	font-weight: 600;
	color: var(--text-on-cyan-muted);
}

.case-image {
	height: 420px;
	border-radius: 30px;
	overflow: hidden;
}

.case-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* ---------- Contacto ---------- */
.contacto-layout {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: 44px;
	align-items: start;
}

.contacto-form-card {
	border: 1px solid var(--border);
	border-radius: 32px;
	padding: 38px 36px;
}

.interior-main .contacto-form-card h2 {
	margin: 0 0 8px;
	font-size: 30px;
	line-height: 1.2;
	letter-spacing: -0.02em;
}

.contacto-form-intro {
	max-width: 52ch;
	margin: 0 0 28px;
	font-size: 14.5px;
	line-height: 1.7;
	color: var(--text-body);
}

.contacto-fields {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}

.field {
	display: block;
	background: var(--bg-light);
	border: 1px solid transparent;
	border-radius: 20px;
	padding: 16px 20px;
	cursor: text;
	transition: border-color var(--duration) var(--ease);
}

.field:focus-within {
	border-color: var(--border-hover);
}

.field-full {
	grid-column: 1 / -1;
	min-height: 120px;
}

.field .field-label {
	color: var(--text-subtle);
}

.field input,
.field select,
.field textarea {
	display: block;
	width: 100%;
	margin-top: 8px;
	padding: 0;
	border: 0;
	background: transparent;
	font-family: var(--font-body);
	font-weight: 500;
	font-size: 14.5px;
	line-height: 1.3;
	color: var(--navy);
	outline: none;
}

.field select {
	padding-right: 20px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%239BB0C6' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right center;
	appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
}

.field input::placeholder,
.field textarea::placeholder {
	color: #9BB0C6;
}

.field textarea {
	min-height: 66px;
	line-height: 1.6;
	resize: vertical;
}

.contacto-form-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-top: 26px;
}

.form-consent {
	display: flex;
	align-items: center;
	gap: 12px;
	max-width: 40ch;
	font-family: var(--font-body);
	font-weight: 500;
	font-size: 12.5px;
	line-height: 1.5;
	color: var(--text-subtle);
	cursor: pointer;
}

.form-consent input {
	display: grid;
	place-items: center;
	flex-shrink: 0;
	width: 22px;
	height: 22px;
	margin: 0;
	border: 1px solid #D5E1EC;
	border-radius: 6px;
	appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
}

.form-consent input:checked::before {
	content: '\2713';
	font-size: 12px;
	color: var(--blue);
}

.contacto-form-footer .btn-dark {
	padding: 16px 16px 16px 30px;
}

.canales-card {
	background: var(--navy);
	border-radius: 30px;
	padding: 32px 30px;
}

.canales-card h3 {
	margin-bottom: 20px;
}

.canal-list {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.canal-item {
	display: flex;
	align-items: center;
	gap: 14px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 20px;
	padding: 16px 20px;
	color: var(--text-on-dark);
	transition: border-color var(--duration) var(--ease);
}

a.canal-item:hover {
	border-color: rgba(53, 190, 239, 0.6);
	color: var(--text-on-dark);
}

.canal-icon {
	display: grid;
	place-items: center;
	flex-shrink: 0;
	width: 38px;
	height: 38px;
	border-radius: var(--pill-radius);
	background: rgba(53, 190, 239, 0.18);
	color: var(--cyan);
}

.canal-value,
.canal-sub {
	line-height: 1.3;
}

.canal-value {
	display: block;
	font-family: var(--font-body);
	font-weight: 700;
	font-size: 14px;
	color: var(--text-on-dark);
}

.canal-sub {
	display: block;
	margin-top: 4px;
	font-family: var(--font-body);
	font-weight: 500;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.6);
}

.faq-layout {
	display: grid;
	grid-template-columns: 1fr 1.15fr;
	gap: 52px;
	align-items: start;
}

.interior-main .faq-header h2 {
	max-width: 18ch;
	font-size: 38px;
	line-height: 1.14;
}

.faq-header p {
	max-width: 40ch;
	margin: 20px 0 0;
	font-size: 15.5px;
	line-height: 1.7;
	color: var(--text-body);
}

.faq-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.faq-item {
	background: var(--bg-white);
	border-radius: 22px;
	padding: 26px 28px;
}

.faq-item h3 {
	margin: 0 0 10px;
	font-size: 18px;
	line-height: 1.3;
	letter-spacing: 0;
	color: var(--navy);
}

.faq-item p {
	margin: 0;
	font-size: 14px;
	line-height: 1.7;
	color: var(--text-muted);
}

/* ---------- Interior responsive ---------- */
@media (max-width: 1200px) {
	.servicio-layout {
		grid-template-columns: 1fr 340px;
	}
}

@media (max-width: 992px) {
	.hero-interior-content h1 {
		font-size: 42px;
	}

	.interior-main h2,
	.interior-main .featured-content h2,
	.interior-main .servicio-main h2,
	.interior-main .case-layout h2,
	.interior-main .faq-header h2,
	.interior-main .servicio-related h2,
	.interior-main .industrias-compliance h2 {
		font-size: 32px;
	}

	.interior-main .section-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
	}

	.servicios-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.servicios-grid .photo-tile {
		grid-row: span 1;
		min-height: 280px;
	}

	.servicio-layout,
	.contacto-layout,
	.featured-layout,
	.case-layout,
	.faq-layout {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.featured-image,
	.case-image {
		height: 340px;
	}
}

@media (max-width: 768px) {
	.hero-interior-content {
		padding: 130px var(--container-padding) 96px;
	}

	.hero-interior-content h1 {
		font-size: 34px;
	}

	.interior-main .section-white {
		padding: 64px 0 56px;
	}

	.interior-main h2,
	.interior-main .featured-content h2,
	.interior-main .servicio-main h2,
	.interior-main .case-layout h2,
	.interior-main .faq-header h2,
	.interior-main .servicio-related h2,
	.interior-main .industrias-compliance h2,
	.interior-main .contacto-form-card h2 {
		font-size: 28px;
	}

	.servicios-grid,
	.contacto-fields,
	.servicio-includes .checklist,
	.case-stats {
		grid-template-columns: 1fr;
	}

	.help-bar,
	.contacto-form-footer {
		flex-direction: column;
		align-items: flex-start;
	}

	.contacto-form-card,
	.servicio-includes {
		padding: 28px 22px;
	}

	.nosotros-side-img {
		height: 240px;
	}

	.featured-image,
	.case-image {
		height: 260px;
	}
}


/* ==========================================================================
   GLOBAL 375px MOBILE REFINEMENTS (Phase 6)
   ========================================================================== */

@media (max-width: 480px) {
	:root {
		--container-padding: 16px;
		--section-padding: 40px;
	}

	h1 { font-size: 28px; }
	h2 { font-size: 22px; }
	h3 { font-size: 16px; }

	.btn-primary,
	.btn-outline {
		padding: 12px 20px;
		font-size: .85rem;
	}

	.badge {
		font-size: .65rem;
		padding: 6px 12px;
	}

	.hero-interior-content {
		padding: 100px 16px 64px;
	}

	.hero-interior-content h1 {
		font-size: 26px;
	}

	.card {
		padding: 24px 20px;
	}

	.checklist-item {
		font-size: .85rem;
	}

	.quote-card {
		padding: 28px 20px;
	}

	.canales-card,
	.info-card,
	.faq-item {
		padding: 24px 20px;
	}

	.cta-banner {
		padding: 48px 20px;
	}

	.cta-banner h2 {
		font-size: 22px;
	}

	.footer {
		padding: 48px 16px 24px;
	}

	.footer-brand-text {
		font-size: .8rem;
	}

	.stat-card {
		padding: 20px 16px;
	}

	.stat-number {
		font-size: 32px;
	}

	.sector-card-image {
		height: 160px;
	}

	.sector-card-body {
		padding: 20px 16px;
	}

	.case-stat-value {
		font-size: 1.6rem;
	}

	.interior-main h2,
	.interior-main .featured-content h2,
	.interior-main .servicio-main h2,
	.interior-main .case-layout h2,
	.interior-main .faq-header h2,
	.interior-main .servicio-related h2,
	.interior-main .industrias-compliance h2,
	.interior-main .contacto-form-card h2 {
		font-size: 24px;
	}
}


/* ==========================================================================
   ACCESSIBILITY (WCAG 2.1 AA)
   ========================================================================== */

:focus-visible {
	outline: 2px solid var(--cyan);
	outline-offset: 2px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
	outline: 2px solid var(--cyan);
	outline-offset: 2px;
}

@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;
	}
}

.skip-to-content {
	position: absolute;
	top: -100%;
	left: 16px;
	background: var(--cyan);
	color: var(--navy-deep);
	padding: 12px 24px;
	border-radius: var(--pill-radius);
	font-weight: 700;
	font-family: var(--font-heading);
	z-index: 10000;
	transition: top .2s;
}

.skip-to-content:focus {
	top: 16px;
}

/* ---------- Core Web Vitals ---------- */

/* CLS: reserve space for images */
img {
	max-width: 100%;
	height: auto;
}

/* CLS: reserve hero aspect ratio */
.hero-landing-bg,
.hero-interior-bg {
	aspect-ratio: 1440 / 680;
}

/* CLS: font fallback metrics (reduce FOUT shift) */
@font-face {
	font-family: 'Archivo-fallback';
	src: local('Arial');
	ascent-override: 93%;
	descent-override: 22%;
	line-gap-override: 0%;
	size-adjust: 100%;
}

@font-face {
	font-family: 'Manrope-fallback';
	src: local('Arial');
	ascent-override: 100%;
	descent-override: 22%;
	line-gap-override: 0%;
	size-adjust: 96%;
}

/* LCP+INP: skip rendering below-the-fold sections */
.landing-about,
.landing-services-preview,
.landing-pain-points,
.landing-excellence,
.landing-steps,
.landing-testimonials,
.landing-industries,
.landing-cta {
	content-visibility: auto;
	contain-intrinsic-size: auto 600px;
}

/* Reduce paint complexity for glassmorphism */
.site-header {
	will-change: backdrop-filter;
}

/* CLS: stable nav height */
.site-header .header-inner {
	min-height: 72px;
}

/* INP: GPU-promote interactive elements */
.btn-primary,
.btn-secondary,
.btn-dark,
.btn-cta-primary,
.nav-pill-link,
.menu-toggle {
	will-change: transform;
}


/* ==========================================================================
   PARTNERS / ALIADOS
   ========================================================================== */
.landing-partners { padding: 56px 0 40px; }
.landing-partners-heading { text-align: center; font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-muted, #6B7A90); margin: 0 0 28px; }
.landing-partners-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px 32px; align-items: center; }
.landing-partners-item { display: flex; align-items: center; justify-content: center; min-height: 100px; }
.landing-partners-logo { max-height: 96px; width: auto; max-width: 210px; height: auto; object-fit: contain; filter: grayscale(1); opacity: 0.75; transition: filter 0.3s ease, opacity 0.3s ease; }
.landing-partners-item:hover .landing-partners-logo { filter: none; opacity: 1; }
.landing-partners-name { font-weight: 700; color: var(--text-heading); text-transform: uppercase; font-size: 0.85rem; letter-spacing: 0.08em; }
@media (max-width: 900px) { .landing-partners-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .landing-partners-grid { grid-template-columns: repeat(2, 1fr); gap: 16px 20px; } .landing-partners-logo { max-height: 48px; } }


/* ==========================================================================
   BLOG / NOTICIAS
   ========================================================================== */
.blog-section { padding-top: 56px; padding-bottom: 72px; }

.blog-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; width: fit-content; max-width: 100%; margin: 0 auto 44px; padding: 6px; background: var(--bg-white); border: 1px solid var(--border); border-radius: 999px; box-shadow: 0 6px 24px rgba(10, 35, 64, 0.06); }
.blog-filter { padding: 10px 20px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--text-body); text-decoration: none; transition: background var(--duration) var(--ease), color var(--duration) var(--ease); }
.blog-filter:hover { background: var(--bg-light); color: var(--navy); }
.blog-filter.is-active { background: var(--blue); color: #fff; }

.blog-lead { display: grid; grid-template-columns: 1.65fr 1fr; gap: 24px; margin-bottom: 48px; }
.blog-hero-card { position: relative; display: flex; align-items: flex-end; min-height: 460px; overflow: hidden; border-radius: 32px; background: var(--navy-deep); isolation: isolate; }
.blog-hero-card-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.blog-hero-card:hover .blog-hero-card-bg { transform: scale(1.04); }
.blog-hero-card-overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6, 24, 44, 0) 25%, rgba(6, 24, 44, 0.55) 60%, rgba(6, 24, 44, 0.92) 100%); }
.blog-hero-card-body { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; width: 100%; padding: 36px; }
.blog-pill { display: inline-flex; padding: 7px 14px; border-radius: 999px; background: var(--cyan); color: var(--text-on-cyan); font-size: 12px; font-weight: 700; letter-spacing: 0.04em; }
.blog-hero-card-title { margin: 0; max-width: 560px; font-family: var(--font-heading); font-size: clamp(26px, 2.8vw, 40px); line-height: 1.12; color: #fff; }
.blog-hero-card-title a { color: inherit; text-decoration: none; }
.blog-hero-card-title a::after { content: ''; position: absolute; inset: 0; }
.blog-hero-card-excerpt { margin: 0; max-width: 520px; line-height: 1.65; color: var(--text-on-dark-muted); }
.blog-hero-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; }
.blog-hero-card .post-meta { color: var(--text-on-dark-subtle); }

.blog-round-btn, .post-card-arrow { position: relative; z-index: 2; display: inline-flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--cyan); color: var(--text-on-cyan); transition: transform var(--duration) var(--ease); }
.blog-hero-card:hover .blog-round-btn, .post-card:hover .post-card-arrow { transform: translateX(4px); }

.blog-lead-side { display: flex; flex-direction: column; gap: 24px; }
.blog-mini { position: relative; display: flex; flex: 1; align-items: center; gap: 18px; padding: 14px; background: var(--bg-white); border-radius: 28px; box-shadow: 0 8px 28px rgba(10, 35, 64, 0.07); transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease); }
.blog-mini:hover { transform: translateY(-3px); box-shadow: 0 14px 36px rgba(10, 35, 64, 0.12); }
.blog-mini-media { flex: none; width: 132px; height: 132px; overflow: hidden; border-radius: 20px; }
.blog-mini-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.blog-mini-body { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding-right: 10px; }
.blog-mini-title { margin: 0; font-family: var(--font-heading); font-size: 18px; line-height: 1.25; }
.blog-mini-title a { color: var(--navy-deep); text-decoration: none; }
.blog-mini-title a::after { content: ''; position: absolute; inset: 0; }
.blog-cat { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--blue); }

.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card { position: relative; display: flex; flex-direction: column; padding: 12px; background: var(--bg-white); border-radius: 28px; box-shadow: 0 8px 28px rgba(10, 35, 64, 0.07); transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease); }
.post-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(10, 35, 64, 0.12); }
.post-card-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 20px; background: var(--bg-light); }
.post-card-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.post-card:hover .post-card-media img { transform: scale(1.05); }
.post-card-cat { position: absolute; top: 14px; left: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.92); color: var(--navy); font-size: 11.5px; font-weight: 700; }
.post-card-content { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 20px 12px 10px; }
.post-card .entry-title { margin: 0; font-family: var(--font-heading); font-size: 20px; line-height: 1.25; }
.post-card .entry-title a { color: var(--navy-deep); text-decoration: none; }
.post-card .entry-title a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.post-card .entry-summary { margin: 0; font-size: 14px; line-height: 1.65; color: var(--text-muted); }
.post-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 12px; }
.post-card-arrow { width: 40px; height: 40px; background: var(--blue); color: #fff; }
.post-meta { font-size: 13px; color: var(--text-subtle); }
.blog-empty { padding: 48px 0; text-align: center; color: var(--text-muted); }

.navigation.pagination { margin-top: 52px; }
.navigation.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.navigation.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 18px; border-radius: 999px; background: var(--bg-white); color: var(--text-body); font-size: 14px; font-weight: 600; text-decoration: none; box-shadow: 0 4px 14px rgba(10, 35, 64, 0.06); }
.navigation.pagination a.page-numbers:hover { color: var(--blue); }
.navigation.pagination .page-numbers.current { background: var(--blue); color: #fff; }

.blog-article-section { padding: 64px 0 var(--section-padding); }
.blog-article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; align-items: start; max-width: 1120px; margin: 0 auto; }
.blog-article-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.blog-pill-soft { display: inline-flex; padding: 7px 14px; border-radius: 999px; background: var(--bg-light); color: var(--blue); font-size: 13px; font-weight: 700; }
.blog-article .entry-content { font-size: 17px; line-height: 1.85; color: var(--text-body); }
.blog-article .entry-content p { font-size: inherit; line-height: inherit; }
.blog-article .entry-content > * + * { margin-top: 1.25em; }
.blog-article .entry-content > p:first-of-type { font-size: 20px; font-weight: 500; line-height: 1.7; color: var(--navy); }
.blog-article .entry-content h2 { position: relative; margin-top: 2em; padding-left: 18px; font-family: var(--font-heading); font-size: 26px; line-height: 1.2; color: var(--navy-deep); }
.blog-article .entry-content h2::before { content: ''; position: absolute; left: 0; top: 0.15em; bottom: 0.15em; width: 5px; border-radius: 3px; background: linear-gradient(180deg, var(--cyan), var(--blue)); }
.blog-article .entry-content h3 { margin-top: 1.8em; font-family: var(--font-heading); font-size: 21px; line-height: 1.25; color: var(--navy-deep); }
.blog-article .entry-content a { color: var(--blue); }
.blog-article .entry-content ul { padding-left: 0; list-style: none; }
.blog-article .entry-content ul li { position: relative; padding-left: 28px; }
.blog-article .entry-content ul li::before { content: ''; position: absolute; left: 4px; top: 0.7em; width: 10px; height: 10px; border-radius: 50%; background: var(--cyan); }
.blog-article .entry-content ol { padding-left: 1.4em; }
.blog-article .entry-content li + li { margin-top: 0.5em; }
.blog-article .entry-content blockquote { margin: 1.6em 0; padding: 24px 28px; border: 0; border-radius: 24px; background: var(--bg-light); font-style: normal; font-weight: 600; color: var(--navy); }
.blog-article .entry-content img { max-width: 100%; height: auto; border-radius: 24px; }
.blog-article-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border-divider); font-size: 14px; }
.blog-tags a { display: inline-block; margin: 0 4px 4px 0; padding: 6px 14px; border-radius: 999px; background: var(--bg-light); font-size: 12.5px; font-weight: 700; color: var(--blue); text-decoration: none; }
.blog-tags-label { margin-right: 4px; font-weight: 700; color: var(--navy); }
.blog-back { padding: 10px 20px; border: 1px solid var(--border); border-radius: 999px; font-size: 13.5px; font-weight: 700; color: var(--navy); text-decoration: none; transition: border-color var(--duration) var(--ease); }
.blog-back:hover { border-color: var(--border-hover); }
.blog-article .post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.blog-article .post-navigation a { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 20px 22px; border-radius: 22px; background: var(--bg-light); text-decoration: none; }
.blog-article .post-navigation .nav-next { grid-column: 2; text-align: right; }
.blog-article .post-navigation .nav-subtitle { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--blue); }
.blog-article .post-navigation .nav-title { font-family: var(--font-heading); font-size: 16px; line-height: 1.3; color: var(--navy-deep); }

.blog-aside { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 24px; }
.blog-aside-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 32px 28px; border-radius: 28px; background: linear-gradient(160deg, var(--blue), var(--navy-accent) 92%); }
.blog-aside-cta h2 { margin: 0; font-family: var(--font-heading); font-size: 22px; line-height: 1.2; color: #fff; }
.blog-aside-cta p { margin: 0; font-size: 14.5px; line-height: 1.65; color: var(--text-on-dark-muted); }
.blog-aside-cats { padding: 26px 24px; border-radius: 28px; background: var(--bg-light); }
.blog-aside-cats h3 { margin: 0 0 12px 8px; font-family: var(--font-heading); font-size: 16px; color: var(--navy-deep); }
.blog-aside-cats ul { display: flex; flex-direction: column; gap: 4px; margin: 0; padding: 0; list-style: none; }
.blog-aside-cats a { display: block; padding: 10px 14px; border-radius: 14px; font-size: 14px; font-weight: 600; color: var(--text-body); text-decoration: none; transition: background var(--duration) var(--ease), color var(--duration) var(--ease); }
.blog-aside-cats a:hover { background: var(--bg-white); color: var(--blue); }

.blog-related { padding-top: 64px; padding-bottom: 72px; }
.blog-related h2 { margin: 0 0 32px; font-family: var(--font-heading); font-size: clamp(26px, 3vw, 36px); color: var(--navy-deep); }

@media (max-width: 1000px) {
	.blog-lead { grid-template-columns: 1fr; }
	.blog-article-layout { grid-template-columns: minmax(0, 1fr); gap: 48px; }
	.blog-aside { position: static; }
}
@media (max-width: 900px) {
	.posts-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
	.blog-section { padding-top: 36px; padding-bottom: 48px; }
	.blog-filters { border-radius: 28px; }
	.blog-hero-card { min-height: 400px; border-radius: 26px; }
	.blog-hero-card-body { padding: 24px; }
	.blog-mini-media { width: 92px; height: 92px; }
	.posts-grid { grid-template-columns: 1fr; }
	.blog-article-section { padding-top: 36px; }
	.blog-article .entry-content { font-size: 16px; }
	.blog-article .entry-content > p:first-of-type { font-size: 18px; }
	.blog-article .post-navigation .nav-links { grid-template-columns: 1fr; }
	.blog-article .post-navigation .nav-next { grid-column: 1; text-align: left; }
}

/* ==========================================================================
   BRAND LOGO SIZE — new LATAMLOGIC logo (wide, with tagline)
   ========================================================================== */
.site-branding .logo-img { height: 82px; width: auto; max-width: none; }
.footer-logo-img { height: 60px; width: auto; }
@media (max-width: 900px) {
	.site-branding .logo-img { height: 56px; }
	.footer-logo-img { height: 48px; }
}

/* ==========================================================================
   QA FIXES — services carousel, industry tabs, testimonials carousel, forms
   ========================================================================== */
.services-preview-grid { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.services-preview-grid::-webkit-scrollbar { display: none; }
.services-preview-grid .card-image { scroll-snap-align: start; }
.nav-arrow-btn { cursor: pointer; transition: opacity 0.2s ease, background 0.2s ease; }
.nav-arrow-btn:disabled { opacity: 0.35; cursor: default; }

.progress-overlay { gap: 12px; padding: 12px 22px; }
.progress-value { order: 0; font-size: 20px; font-weight: 800; line-height: 1; }
.progress-label { order: 1; font-size: 12.5px; }
.progress-bar { order: 2; width: 110px; }

.industry-tab { cursor: pointer; }
.industries-image { position: relative; }
#industry-img { transition: opacity 0.25s ease; }
#industry-img.is-swapping { opacity: 0.25; }
.industry-image-badge { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 6px 10px; max-width: calc(100% - 32px); padding: 16px 20px; border-radius: 20px; }
.industry-image-label { font-weight: 700; }
.industry-image-desc { grid-column: 1 / -1; margin: 0; font-size: 13px; line-height: 1.55; font-weight: 500; opacity: 0.9; }

.testimonial-photo-card { cursor: pointer; transition: opacity 0.3s ease; }
.testimonial-photo-card.is-prev { order: 0; }
.testimonial-photo-card.is-active { order: 1; cursor: default; }
.testimonial-photo-card.is-next { order: 2; }
.testimonial-photo-card.is-hidden { display: none; }
.testimonial-photo-side .testimonial-glass-overlay { display: none; }
.testimonial-photo-side:hover { opacity: 0.85; }
.t-nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 34px; }
.t-nav-btn { width: 46px; height: 46px; border: 1px solid var(--border); border-radius: 50%; background: var(--bg-white); color: var(--navy); font-size: 18px; line-height: 1; cursor: pointer; transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease; }
.t-nav-btn:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.t-dots { display: flex; align-items: center; gap: 8px; }
.t-dot { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 999px; background: #C9D8E8; cursor: pointer; transition: width 0.25s ease, background 0.25s ease; }
.t-dot.is-active { width: 26px; background: var(--blue); }

.footer-newsletter { position: relative; flex-wrap: wrap; }
.contacto-form { position: relative; }
.form-msg { flex-basis: 100%; width: 100%; margin: 12px 0 0; padding: 12px 16px; border-radius: 12px; font-size: 14px; line-height: 1.5; }
.form-msg[hidden] { display: none; }
.form-msg-ok { background: #E8F7EE; color: #14663A; }
.form-msg-err { background: #FDECEC; color: #9B1C1C; }
.is-sending { opacity: 0.6; pointer-events: none; }

@media (max-width: 900px) {
	.testimonials-photos .testimonial-photo-side { display: none; }
	.testimonial-photo-featured { width: 100%; max-width: 520px; }
	.testimonial-photo-img-featured { height: 340px; }
}
@media (max-width: 560px) {
	.progress-bar { width: 64px; }
	.progress-overlay { padding: 10px 14px; gap: 8px; }
	.industry-image-badge { padding: 14px 16px; }
}

/* Contact form required marker + branch details */
.field-label .req { color: #d64545; font-weight: 700; }
.sede-meta { margin-top: 2px; font-size: 13px; line-height: 1.5; color: var(--text-muted); }
.sede-meta a { color: var(--blue); text-decoration: none; }
.sede-meta a:hover { text-decoration: underline; }

/* ==========================================================================
   QA ROUND 3 — mobile menu, services arrows, industry tabs, form errors
   ========================================================================== */
/* Header keeps will-change/backdrop-filter, which turns it into the containing block of the
   fixed mobile panel (panel collapsed to header height, links overlapped the hero). */
.site-header { will-change: auto; }
.site-header.header-scrolled { will-change: backdrop-filter; }
@media (max-width: 768px) {
	.site-header:has(.main-navigation.toggled),
	.site-header.header-scrolled:has(.main-navigation.toggled) { backdrop-filter: none; -webkit-backdrop-filter: none; will-change: auto; background-color: var(--navy-deep); }
	.main-navigation.toggled { height: 100vh; height: 100dvh; overflow-y: auto; background: var(--navy-deep); }
	.main-navigation.toggled .nav-pill-menu { flex-direction: column; align-items: stretch; gap: 6px; }
	.main-navigation.toggled .nav-pill-link { color: #fff; font-size: 18px; padding: 14px 18px; }
	.menu-toggle { position: relative; z-index: 1001; }
	.main-navigation.toggled .current-menu-item > .nav-pill-link, .main-navigation.toggled .current-menu-ancestor > .nav-pill-link { color: var(--navy-deep); }

	/* Services carousel: show the arrows on mobile and let the next card peek */
	.landing-services-preview .section-header { flex-direction: row; align-items: flex-end; gap: 16px; }
	.landing-services-preview .section-header h2 { font-size: 30px; }
	.landing-services-preview .section-nav-arrows { display: flex; gap: 8px; }
	.landing-services-preview .nav-arrow-btn { width: 40px; height: 40px; }
	.services-preview-grid .card-image { width: min(300px, 80vw); height: 380px; }

	/* Industry tabs: a tap leaves :hover stuck, which painted dark text on the dark pill */
	.industry-tab { color: #4C627C; -webkit-tap-highlight-color: transparent; }
	.industry-tab-active,
	.industry-tab-active:hover,
	.industry-tab-active:focus,
	.industry-tab-active:active { background: var(--navy); border-color: var(--navy); color: #fff; }
	.industry-image-badge { left: 16px; right: 16px; bottom: 16px; max-width: none; }
}

/* Inline field errors */
.field-error { display: block; margin-top: 6px; font-size: 12.5px; line-height: 1.4; color: #B42318; font-weight: 500; }
.field-error[hidden] { display: none; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #D64545; box-shadow: 0 0 0 3px rgba(214, 69, 69, 0.12); }
.form-consent.has-error { color: #B42318; }
.footer-newsletter .field-error { flex-basis: 100%; width: 100%; color: #FF8A8A; }

/* GROUP section (Latam Trade Group) + Servicios banner */
.landing-group { padding: 88px 0; background: var(--bg-light, #F3F7FB); }
.group-eyebrow { margin: 0 0 14px; font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); }
.group-title { margin: 0 0 14px; font: 700 40px/1.12 var(--font-heading); letter-spacing: -0.02em; color: var(--text-heading); }
.group-text { max-width: 640px; margin: 0 0 36px; font-family: var(--font-body); font-size: 17px; line-height: 1.6; color: #4C627C; }
.group-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.group-card { display: flex; flex-direction: column; gap: 12px; padding: 32px; border: 1px solid var(--border, #E2EBF4); border-radius: 24px; background: #FFFFFF; color: var(--text-heading); }
.group-card--current { border-color: transparent; background: var(--navy-deep, #06182C); color: #FFFFFF; }
.group-card__tag { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.6; }
.group-card h3 { margin: 0; font: 700 26px/1.2 var(--font-heading); }
.group-card p { margin: 0; font-size: 16px; line-height: 1.6; opacity: 0.8; }
.group-card__btn { align-self: flex-start; margin-top: 8px; padding: 13px 22px; border-radius: 999px; background: var(--cyan); color: #06182C; font-weight: 700; text-decoration: none; }
.group-card__btn:hover { filter: brightness(1.08); }

.svc-group { padding: 0 0 72px; }
.svc-group__box { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 36px 40px; border-radius: 28px; background: var(--navy-deep, #06182C); color: #FFFFFF; }
.svc-group__box h2 { margin: 0 0 8px; font: 700 28px/1.2 var(--font-heading); color: #FFFFFF; }
.svc-group__box p { margin: 0; max-width: 560px; font-size: 16px; line-height: 1.6; opacity: 0.8; }
.svc-group__btn { flex-shrink: 0; padding: 14px 26px; border-radius: 999px; background: var(--cyan); color: #06182C; font-weight: 700; text-decoration: none; }

@media (max-width: 768px) {
	.landing-group { padding: 64px 0; }
	.group-title { font-size: 30px; }
	.group-cards { grid-template-columns: 1fr; }
	.group-card { padding: 26px; }
	.svc-group__box { flex-direction: column; align-items: flex-start; padding: 28px 24px; }
}
.group-card--current h3, .group-card--current p, .group-card--current .group-card__tag { color: #FFFFFF; }
.group-card:not(.group-card--current) h3 { color: var(--text-heading); }
.svc-group__box h2, .svc-group__box p { color: #FFFFFF; }
