/*
 * ELNIQ agency — base: self-hosted font, tokens (UI Kit v2), reset,
 * buttons and shared primitives. Section styles live in front-page.css,
 * header/footer in layout.css, blog/pages in content.css.
 */

@font-face { font-family: 'Inter Tight'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/inter-tight-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter Tight'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/inter-tight-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter Tight'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/inter-tight-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter Tight'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/inter-tight-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter Tight'; font-style: normal; font-weight: 800; font-display: swap; src: url('../fonts/inter-tight-latin-800-normal.woff2') format('woff2'); }

:root {
	--ea-blue: #155DFC;
	--ea-blue-dark: #0B3FA8;
	--ea-blue-end: #0073BD;
	--ea-grad-btn: linear-gradient(90deg, #155DFC, #0073BD);
	--ea-grad-navy: linear-gradient(160deg, #1c3aa3 0%, #10235F 45%, #060f2e 100%);
	--ea-navy: #10235F;
	--ea-navy-deep: #060f2e;
	--ea-ink: #0B1330;
	--ea-text: #1F2937;
	--ea-text-2: #4A5565;
	--ea-muted: #64748B;
	--ea-bg: #F5F8FB;
	--ea-cloud: #ECF1F6;
	--ea-border: #DBEAFE;
	--ea-border-light: #E8EDF5;
	--ea-on-navy: #C9D6F2;
	--ea-on-navy-2: #AFC2EA;
	--ea-on-navy-3: #D6E4FF;
	--ea-light-blue: #8CB8FF;
	--ea-wa: #0E7A3E;
	--ea-r-btn: 6px;
	--ea-r-input: 10px;
	--ea-r-card: 16px;
	--ea-r-lg: 24px;
	--ea-r-pill: 100px;
	--ea-container: 1240px;
	--ea-font: 'Inter Tight', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
	margin: 0;
	font-family: var(--ea-font);
	color: var(--ea-text);
	background: var(--ea-bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { margin: 0; }
p { margin: 0; }
a { color: var(--ea-blue); }
a:hover { color: var(--ea-blue-dark); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--ea-blue); outline-offset: 2px; }
.ea-navy :focus-visible { outline-color: #8CB8FF; }
section[id], [id="contacto"] { scroll-margin-top: 16px; }

.ea-container { max-width: var(--ea-container); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.ea-navy { background: var(--ea-grad-navy); color: #FFFFFF; }

.ea-skip-link { position: absolute; left: -9999px; top: 0; z-index: 1000; background: var(--ea-blue); color: #fff; padding: 12px 20px; font-weight: 700; border-radius: 0 0 6px 0; }
.ea-skip-link:focus { left: 0; color: #fff; }

/* Buttons */
.ea-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 46px; padding: 0 20px; border-radius: var(--ea-r-btn);
	border: 0; font-weight: 700; font-size: 15px; line-height: 1.2;
	text-decoration: none; white-space: nowrap; cursor: pointer;
	transition: filter .15s, box-shadow .15s, background-color .15s;
}
.ea-btn--primary { background: var(--ea-grad-btn); color: #FFFFFF; }
.ea-btn--primary:hover { color: #FFFFFF; filter: brightness(1.07); }
.ea-btn--glow { box-shadow: 0 10px 30px rgba(21, 93, 252, .35); }
.ea-btn--soft { background: var(--ea-cloud); color: var(--ea-navy); }
.ea-btn--soft:hover { color: var(--ea-navy); background: #E1E9F2; }
.ea-btn--outline { background: transparent; border: 1px solid var(--ea-border); color: var(--ea-blue); }
.ea-btn--outline:hover { border-color: var(--ea-blue); color: var(--ea-blue); }
.ea-btn--ghost { background: transparent; border: 1px solid rgba(255, 255, 255, .4); color: #FFFFFF; }
.ea-btn--ghost:hover { color: #FFFFFF; background: rgba(255, 255, 255, .08); }
.ea-btn--wa { background: var(--ea-wa); color: #FFFFFF; }
.ea-btn--wa:hover { color: #FFFFFF; filter: brightness(1.1); }
.ea-btn--sm { min-height: 44px; padding: 0 14px; font-size: 14px; }
.ea-btn--lg { min-height: 54px; padding: 0 24px; font-size: 16px; }
.ea-btn--xl { min-height: 54px; padding: 0 26px; font-size: 17px; }

/* Shared type */
.ea-eyebrow { display: inline-block; font-size: 14px; font-weight: 700; color: var(--ea-blue); letter-spacing: 1px; text-transform: uppercase; }
.ea-h2 { font-weight: 800; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; letter-spacing: -1px; color: var(--ea-navy); }
.ea-h2--lg { font-size: clamp(32px, 4vw, 48px); line-height: 1.08; }
.ea-h2--sm { font-size: clamp(28px, 3.2vw, 40px); }
.ea-eyebrow + .ea-h2 { margin-top: 8px; }
.ea-lede { font-size: 17px; line-height: 1.6; color: var(--ea-text-2); }
.ea-lede--sm { font-size: 16px; line-height: 1.55; }
.ea-small-note { margin-top: 20px; font-size: 14px; color: var(--ea-muted); }
.ea-textlink { font-weight: 700; font-size: 16px; min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; }
.ea-textlink:hover { text-decoration: underline; }

/* Pills & chips */
.ea-pills { display: inline-flex; padding: 4px; border-radius: var(--ea-r-pill); background: var(--ea-cloud); }
.ea-pill { min-height: 40px; padding: 0 16px; border-radius: var(--ea-r-pill); border: 0; background: transparent; color: var(--ea-text-2); font-weight: 600; font-size: 14px; }
.ea-pill.is-on { background: var(--ea-navy); color: #FFFFFF; font-weight: 700; }
.ea-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ea-chip { min-height: 44px; padding: 0 16px; border-radius: var(--ea-r-pill); background: #FFFFFF; color: var(--ea-text); border: 1px solid var(--ea-border); font-weight: 600; font-size: 15px; transition: background-color .15s, color .15s, border-color .15s; }
.ea-chip:hover { border-color: var(--ea-navy); }
.ea-chip.is-on { background: var(--ea-navy); color: #FFFFFF; border-color: var(--ea-navy); }

.ea-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.ea-tag { padding: 4px 10px; border-radius: var(--ea-r-pill); background: var(--ea-cloud); color: var(--ea-navy); font-size: 12px; font-weight: 600; }
.ea-tag--md { padding: 5px 12px; font-size: 13px; }

/* Checklist bullet */
.ea-checklist { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.ea-checklist li { display: flex; gap: 10px; align-items: flex-start; }
.ea-tick { flex: none; width: 20px; height: 20px; border-radius: 50%; background: rgba(21, 93, 252, .12); display: flex; align-items: center; justify-content: center; margin-top: 1px; }

.ea-round { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex: none; }
.ea-round--light { border: 1px solid var(--ea-border); background: #FFFFFF; color: var(--ea-navy); }
.ea-round--blue { border: 0; background: linear-gradient(135deg, #155DFC, #0073BD); color: #FFFFFF; }
.ea-round--soft { width: 44px; height: 44px; border: 0; background: var(--ea-cloud); color: var(--ea-navy); }

/* Breadcrumbs */
.ea-crumbs { display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: 14px; color: var(--ea-muted); margin-bottom: 14px; }
.ea-crumbs a { color: var(--ea-muted); text-decoration: none; }
.ea-crumbs a:hover { color: var(--ea-blue); text-decoration: underline; }
.ea-crumbs [aria-current] { color: var(--ea-text-2); }
.ea-crumbs--dark { color: var(--ea-on-navy-2); }
.ea-crumbs--dark a { color: var(--ea-on-navy-2); }
.ea-crumbs--dark a:hover { color: #FFFFFF; }
.ea-crumbs--dark [aria-current] { color: #FFFFFF; }
