/* ITOS Cloud: paleta, tipografía y medidas tomadas del diseño original. */
:root {
	--surface: #faf8ff;
	--surface-lowest: #ffffff;
	--surface-low: #f2f3ff;
	--surface-container: #eaedff;
	--surface-high: #e2e7ff;
	--surface-highest: #dae2fd;
	--on-surface: #131b2e;
	--on-surface-variant: #45464f;
	--outline: #767680;
	--primary: #000e3f;
	--primary-container: #162456;
	--on-primary-fixed-variant: #374477;
	--surface-tint: #4f5c90;
	--secondary: #006591;
	--secondary-container: #39b8fd;
	--on-secondary-container: #004666;
	--orange: #ea6803;
	--tertiary-fixed: #ffdbca;
	--tertiary-fixed-dim: #ffb690;
	--error: #ba1a1a;
	--error-container: #ffdad6;

	--font-head: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

	--space-2xs: .25rem;
	--space-xs: .5rem;
	--space-sm: .75rem;
	--space-md: 1rem;
	--space-lg: 1.5rem;
	--space-xl: 2.5rem;
	--space-2xl: 4rem;
	--space-3xl: 6rem;

	--r-lg: .5rem;
	--r-xl: .75rem;
	--r-2xl: 1rem;
	--r-3xl: 1.5rem;

	--shadow-sm: 0 1px 2px rgba(0, 0, 0, .05);
	--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -2px rgba(0, 0, 0, .1);
	--shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, .1), 0 8px 10px -6px rgba(0, 0, 0, .1);
	--header-h: 5rem;
	--bar-h: 0px;
}

.admin-bar { --bar-h: 32px; }
@media (max-width: 782px) { .admin-bar { --bar-h: 46px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + var(--bar-h)); }
body { margin: 0; background: var(--surface); color: var(--on-surface); font: 400 15px/22px var(--font-body); -webkit-font-smoothing: antialiased; overscroll-behavior: none; overflow-wrap: break-word; }
/* Palabras muy largas (correos, URLs) se cortan en lugar de salirse de la pantalla. */
h1, h2, h3 { overflow-wrap: break-word; hyphens: manual; }
h1, h2, h3, h4, p { margin: 0; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--secondary); outline-offset: 2px; }

.sr-only, .hp-field { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -100px; left: var(--space-md); z-index: 100; padding: var(--space-xs) var(--space-md); background: var(--primary); color: #fff; border-radius: var(--r-lg); }
.skip-link:focus { top: calc(var(--bar-h) + var(--space-xs)); }

.container { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: 1rem; }
@media (min-width: 768px) { .container { padding-inline: 2rem; } }
@media (min-width: 1024px) { .container { padding-inline: 4rem; } }

.section-pad { padding-block: var(--space-2xl); }
.section-pad-bottom { padding-bottom: var(--space-2xl); }

/* ---------- Tipografía ---------- */
.display { font: 700 36px/42px var(--font-head); letter-spacing: -.02em; color: var(--primary); }
.headline-xl { font: 700 28px/34px var(--font-head); letter-spacing: -.01em; }
.headline-lg { font: 600 28px/36px var(--font-head); letter-spacing: -.015em; }
.headline-md { font: 600 22px/28px var(--font-head); letter-spacing: -.01em; }
.headline-sm { font: 700 18px/24px var(--font-head); }
.body-lg { font-size: 18px; line-height: 28px; }
.body-md { font-size: 15px; line-height: 22px; }
.body-sm { font-size: 13px; line-height: 18px; }
.label-lg { font-size: 14px; line-height: 20px; font-weight: 600; letter-spacing: .01em; }
.label-md { font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: .02em; }
.label-badge, .eyebrow { font-size: 11px; line-height: 14px; font-weight: 700; letter-spacing: .04em; }
.eyebrow { display: block; text-transform: uppercase; letter-spacing: .05em; color: var(--secondary); }
@media (min-width: 768px) { .headline-xl { font-size: 40px; line-height: 48px; letter-spacing: -.02em; } }
@media (min-width: 1024px) { .display { font-size: 56px; line-height: 64px; letter-spacing: -.03em; } }

.muted { color: var(--on-surface-variant); }
.c-primary { color: var(--primary); }
.c-secondary { color: var(--secondary); }
.c-cyan { color: var(--secondary-container); }
.c-orange { color: var(--orange); }
.c-outline { color: var(--outline); }
.c-star { color: var(--tertiary-fixed-dim); }

/* ---------- Íconos ---------- */
.material-symbols-outlined { font-family: "Material Symbols Outlined"; font-weight: 400; font-style: normal; line-height: 1; letter-spacing: normal; text-transform: none; white-space: nowrap; display: inline-block; flex-shrink: 0; overflow: hidden; font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24; -webkit-font-feature-settings: "liga"; font-feature-settings: "liga"; -webkit-font-smoothing: antialiased; }
.icon-16 { font-size: 16px; width: 16px; height: 16px; }
.icon-18 { font-size: 18px; width: 18px; height: 18px; }
.icon-20 { font-size: 20px; width: 20px; height: 20px; }
.icon-24 { font-size: 24px; width: 24px; height: 24px; }
.icon-28 { font-size: 28px; width: 28px; height: 28px; }
.icon-30 { font-size: 30px; width: 30px; height: 30px; }
.icon-32 { font-size: 32px; width: 32px; height: 32px; }
.icon-48 { font-size: 48px; width: 48px; height: 48px; }
.icon-fill { font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs); font-size: 14px; line-height: 20px; font-weight: 600; letter-spacing: .01em; border-radius: var(--r-xl); transition: background-color .2s, box-shadow .2s, opacity .2s; }
.btn--sm { padding: var(--space-xs) var(--space-md); border-radius: var(--r-lg); }
.btn--md { padding: .625rem var(--space-md); }
.btn--lg { padding: var(--space-sm) var(--space-lg); }
.btn--wide { padding-inline: var(--space-xl); }
.btn--block { width: 100%; }
.btn--primary { background: var(--secondary); color: #fff; box-shadow: 0 2px 8px -2px rgba(0, 101, 145, .3); }
.btn--primary:hover { background: var(--on-secondary-container); }
.btn--primary:disabled { opacity: .6; cursor: progress; }
.btn--white { background: var(--surface-lowest); color: var(--primary); box-shadow: var(--shadow-sm); }
.btn--white:hover { background: var(--surface-low); }
.btn--orange { background: var(--orange); color: #fff; box-shadow: var(--shadow-md); }
.btn--orange:hover { opacity: .92; }
.btn--glass { background: rgba(255, 255, 255, .15); color: #fff; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.btn--glass:hover { background: rgba(255, 255, 255, .25); }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm); }

/* ---------- Encabezado ---------- */
.site-header { position: fixed; top: var(--bar-h); left: 0; width: 100%; z-index: 50; background: rgba(250, 248, 255, .85); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); box-shadow: 0 1px 8px rgba(0, 0, 0, .04); }
.site-header__inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); }
.site-header__left, .site-header__right { display: flex; align-items: center; flex-shrink: 0; }
.site-header__left { gap: var(--space-lg); }
.site-header__right { gap: var(--space-sm); }
.site-main { position: relative; padding-top: calc(var(--header-h) + var(--bar-h)); overflow-x: clip; background: var(--surface); }

.brand { display: flex; align-items: center; gap: var(--space-xs); }
.brand__logo { height: 44px; width: auto; object-fit: contain; }
.brand__name { display: none; font: 600 18px/24px var(--font-head); letter-spacing: -.025em; color: var(--primary); }
.brand__name--always { display: inline; }
@media (min-width: 1600px) { .site-header__inner { max-width: 1680px; } .brand__name { display: inline-block; } }
.site-footer .brand__name { display: inline; }
@media (min-width: 1200px) and (max-width: 1279px) { .site-header__inner { padding-inline: 2rem; } }
@media (min-width: 1200px) and (max-width: 1439px) {
	.site-header__left { gap: var(--space-md); }
	.main-nav__list { gap: 0; }
	.main-nav__list a { padding-inline: var(--space-xs); font-size: 13px; }
	.region-select .material-symbols-outlined { display: none; }
}

.main-nav { display: none; }
.main-nav__list { display: flex; align-items: center; gap: var(--space-xs); }
.main-nav__list a { display: block; padding: var(--space-xs) var(--space-sm); border-radius: var(--r-lg); font-size: 14px; line-height: 20px; font-weight: 600; letter-spacing: .01em; color: var(--on-surface-variant); white-space: nowrap; transition: background-color .2s, color .2s; }
.main-nav__list a:hover { background: var(--surface-low); color: var(--on-surface); }
.main-nav__list .current-menu-item > a { background: var(--surface-high); color: var(--on-surface); }
@media (min-width: 1200px) { .main-nav { display: block; } }

.header-search { display: none; position: relative; flex: 1; max-width: 28rem; min-width: 0; align-items: center; background: var(--surface-low); border-radius: var(--r-xl); padding: var(--space-2xs) var(--space-sm); transition: background-color .2s, box-shadow .2s; }
.header-search:focus-within { background: var(--surface-lowest); box-shadow: 0 4px 14px rgba(0, 101, 145, .12); }
.header-search__icon { color: var(--outline); margin-right: var(--space-xs); }
.header-search input { width: 100%; min-width: 0; padding: 2px 0; background: transparent; border: 0; outline: 0; font-size: 13px; line-height: 18px; text-overflow: ellipsis; }
.header-search input::placeholder { color: var(--outline); }
.header-search input::-webkit-search-cancel-button { display: none; }
.header-search kbd { display: none; padding: 2px 6px; border-radius: .25rem; background: var(--surface-highest); color: var(--on-surface-variant); font: 700 11px/14px var(--font-body); }
@media (min-width: 768px) { .header-search { display: flex; } }
@media (min-width: 1600px) { .header-search kbd { display: inline-flex; } }
.header-search--mobile { display: flex; max-width: none; margin-bottom: var(--space-sm); padding-block: var(--space-xs); }
.header-search--mobile input { font-size: 16px; }

.region-select { display: flex; align-items: center; gap: var(--space-2xs); background: var(--surface-low); border-radius: var(--r-lg); padding: var(--space-2xs) var(--space-xs); color: var(--on-surface-variant); }
.region-select select { border: 0; background: transparent; font-size: 12px; line-height: 16px; font-weight: 500; color: var(--on-surface); outline: 0; cursor: pointer; }
.header-demo { display: none; white-space: nowrap; }
@media (min-width: 640px) { .header-demo { display: inline-flex; } }
.user-icon { display: flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--primary); color: #fff; }

.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; border-radius: var(--r-lg); color: var(--primary); }
.nav-toggle:hover { background: var(--surface-low); }
@media (min-width: 1200px) { .nav-toggle { display: none; } .mobile-nav { display: none !important; } }
.mobile-nav { padding: var(--space-sm) 1rem var(--space-md); border-top: 1px solid var(--surface-high); background: var(--surface); max-height: calc(100vh - var(--header-h) - var(--bar-h)); overflow-y: auto; }
.mobile-nav__list a { display: block; padding: var(--space-sm); border-radius: var(--r-lg); font-size: 16px; font-weight: 600; color: var(--on-surface-variant); }
.mobile-nav__list a:hover, .mobile-nav__list .current-menu-item > a { background: var(--surface-high); color: var(--on-surface); }

@media (max-width: 400px) { .region-select .material-symbols-outlined { display: none; } }

/* ---------- Fondo ambiental ---------- */
.ambient { position: absolute; inset: 0 0 auto 0; height: 900px; overflow: clip; pointer-events: none; }
.ambient span { position: absolute; border-radius: 50%; }
.ambient__a { top: -10rem; right: 25%; width: 600px; height: 600px; background: rgba(57, 184, 253, .15); filter: blur(128px); }
.ambient__b { top: 15rem; left: 2.5rem; width: 500px; height: 500px; background: rgba(234, 104, 3, .1); filter: blur(140px); }

/* ---------- Hero ---------- */
.hero { position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: var(--space-xl); padding-top: var(--space-xl); padding-bottom: var(--space-2xl); }
.hero__copy { width: 100%; display: flex; flex-direction: column; gap: var(--space-md); }
.hero__feature { width: 100%; }
.hero__text { max-width: 42rem; }
.hero__badge { align-self: flex-start; display: inline-flex; align-items: center; gap: var(--space-xs); padding: var(--space-2xs) var(--space-sm); border-radius: 999px; background: var(--surface-high); color: var(--primary); font-size: 11px; line-height: 14px; font-weight: 700; letter-spacing: .04em; box-shadow: var(--shadow-sm); }
.hero__badge--partner, .footer-badge--partner { max-width: 100%; }
.hero__badge.hero__badge--partner, .footer-badge.footer-badge--partner { gap: .75rem; padding: .55rem .75rem; }
.hero__badge.hero__badge--partner { background: var(--surface-lowest); border: 1px solid var(--surface-high); }
.netsuite-partner-logo { display: block; flex: 0 0 auto; width: clamp(4.5rem, 8vw, 6rem); height: auto; }
.hero__badge--partner .netsuite-partner-logo { width: clamp(5.85rem, 11vw, 8.25rem); }
.pulse-dot { width: .5rem; height: .5rem; flex-shrink: 0; border-radius: 50%; background: var(--secondary-container); animation: itos-pulse 2s cubic-bezier(.4, 0, .6, 1) infinite; }
@keyframes itos-pulse { 50% { opacity: .5; } }
.hero .btn-row { padding-top: var(--space-xs); }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-sm); max-width: 32rem; padding-top: var(--space-md); }
.kpi { background: var(--surface-lowest); padding: var(--space-sm); border-radius: var(--r-xl); box-shadow: var(--shadow-sm); }
.kpi { hyphens: auto; -webkit-hyphens: auto; } /* Palabras largas («implementación») se parten con guion en celulares angostos. */
@media (max-width: 399px) { .kpis { gap: var(--space-xs); } .kpi { padding: var(--space-xs); } }
.kpi__value { display: block; font: 700 22px/28px var(--font-head); letter-spacing: -.01em; color: var(--primary); }
@media (min-width: 1024px) {
	.hero { flex-direction: row; }
	.hero__copy { width: calc(58.333% - var(--space-xl) / 2); }
	.hero__feature { width: calc(41.667% - var(--space-xl) / 2); }
}

.feature-card { position: relative; overflow: hidden; padding: var(--space-xl); border-radius: var(--r-2xl); color: #fff; background: linear-gradient(to bottom right, var(--primary), var(--primary-container), var(--secondary)); box-shadow: var(--shadow-xl); }
.feature-card > * { position: relative; }
.feature-card__glow { position: absolute; right: -2.5rem; bottom: -2.5rem; width: 12rem; height: 12rem; border-radius: 50%; background: rgba(57, 184, 253, .2); filter: blur(40px); }
.feature-card__top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--space-xs); padding-bottom: var(--space-md); }
.feature-card__label { padding: var(--space-2xs) .625rem; border-radius: 999px; background: var(--orange); font-size: 11px; line-height: 14px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.feature-card__rating { display: inline-flex; align-items: center; gap: var(--space-2xs); color: var(--tertiary-fixed); font-size: 12px; line-height: 16px; font-weight: 500; }
.feature-card__identity { display: flex; align-items: center; gap: var(--space-md); padding-top: var(--space-xs); }
.feature-card__icon { flex-shrink: 0; padding: var(--space-xs); border-radius: var(--r-2xl); background: var(--surface-lowest); box-shadow: inset 0 2px 4px rgba(0, 0, 0, .05); }
.feature-card__icon .app-icon { width: 3rem; height: 3rem; border-radius: var(--r-xl); box-shadow: none; }
.feature-card__tagline { color: var(--surface-highest); }
.feature-card__text { padding-top: var(--space-md); padding-bottom: var(--space-lg); line-height: 1.625; color: var(--surface-high); }
.feature-card__checks { display: flex; flex-direction: column; gap: var(--space-xs); padding-bottom: var(--space-lg); color: var(--surface-lowest); }
.feature-card__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-sm); padding-top: var(--space-xs); }
.check-row { display: flex; align-items: center; gap: var(--space-xs); }

/* ---------- Tarjetas ---------- */
.card { background: var(--surface-lowest); border-radius: var(--r-2xl); box-shadow: var(--shadow-sm); transition: box-shadow .2s; }
.card:hover { box-shadow: var(--shadow-md); }
.pillars-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-md); }
@media (min-width: 768px) { .pillars-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .pillars-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pillar { padding: var(--space-md); display: flex; flex-direction: column; justify-content: space-between; }
.pillar__body { display: flex; flex-direction: column; gap: var(--space-xs); }
.pillar__logo { display: block; width: auto; max-width: 8rem; height: 2.5rem; object-fit: contain; object-position: left center; }
.pillar .headline-sm { font-weight: 600; padding-top: var(--space-2xs); }
.arrow-link { display: inline-flex; align-items: center; gap: var(--space-2xs); padding-top: var(--space-md); color: var(--secondary); font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: .02em; }
.arrow-link:hover span:first-child { text-decoration: underline; }

.tone-box { width: 2.5rem; height: 2.5rem; flex-shrink: 0; display: flex; align-items: center; justify-content: center; border-radius: var(--r-xl); }
.tone-box--sm { width: 2rem; height: 2rem; border-radius: var(--r-lg); margin-top: var(--space-2xs); }
.tone-box--lg { width: 3rem; height: 3rem; }
.tone-box--secondary { background: rgba(0, 101, 145, .12); color: var(--secondary); }
.tone-box--primary { background: rgba(0, 14, 63, .1); color: var(--primary); }
.tone-box--cyan { background: rgba(57, 184, 253, .2); color: var(--on-secondary-container); }
.tone-box--orange { background: rgba(255, 182, 144, .3); color: var(--orange); }

/* ---------- Catálogo ---------- */
.catalog { position: relative; background: var(--surface-low); padding-block: var(--space-2xl); }
.catalog__head { display: flex; flex-direction: column; justify-content: space-between; gap: var(--space-md); padding-bottom: var(--space-lg); }
.catalog__head .headline-xl, .catalog__head .body-md { padding-top: var(--space-2xs); }
.catalog__tools { display: flex; align-items: center; flex-wrap: wrap; gap: var(--space-sm); }
.soft-select { display: flex; align-items: center; gap: var(--space-xs); background: var(--surface-lowest); padding: var(--space-xs) var(--space-sm); border-radius: var(--r-xl); box-shadow: var(--shadow-sm); }
.soft-select select { border: 0; background: transparent; outline: 0; max-width: 100%; font-size: 12px; line-height: 16px; font-weight: 500; cursor: pointer; }
.count-badge { padding: .375rem var(--space-sm); border-radius: 999px; background: var(--surface-high); color: var(--primary); font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: .02em; }
@media (min-width: 768px) { .catalog__head { flex-direction: row; align-items: flex-end; } .catalog__tools { flex-shrink: 0; } }

.filter-pills { display: flex; align-items: center; gap: var(--space-xs); overflow-x: auto; padding-bottom: var(--space-sm); scrollbar-width: none; }
.filter-pills::-webkit-scrollbar { display: none; }
.filter-pill { padding: var(--space-xs) var(--space-md); border-radius: 999px; background: var(--surface-lowest); color: var(--on-surface); font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: .02em; white-space: nowrap; transition: background-color .2s, color .2s; }
.filter-pill:hover { background: var(--surface-high); }
.filter-pill.is-active { background: var(--primary); color: #fff; box-shadow: var(--shadow-sm); }

.catalog__search { position: relative; max-width: 28rem; margin-top: var(--space-sm); margin-bottom: var(--space-lg); }
.catalog__search .material-symbols-outlined { position: absolute; left: var(--space-sm); top: .625rem; }
.catalog__search input { width: 100%; padding: var(--space-xs) var(--space-md) var(--space-xs) 2.5rem; background: var(--surface-lowest); border: 0; border-radius: var(--r-xl); box-shadow: var(--shadow-sm); font-size: 13px; line-height: 24px; outline: 0; }
.catalog__search input:focus { box-shadow: 0 0 0 2px rgba(0, 101, 145, .4); }
.catalog__search input::placeholder { color: var(--outline); }

.apps-grid, .results-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); }
@media (min-width: 768px) { .apps-grid, .results-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .apps-grid, .results-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .apps-grid, .results-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.app-card { display: flex; flex-direction: column; justify-content: space-between; padding: var(--space-lg); background: var(--surface-lowest); border-radius: var(--r-2xl); box-shadow: var(--shadow-sm); transition: box-shadow .3s, transform .3s; }
.app-card:hover { box-shadow: var(--shadow-xl); transform: translateY(-.25rem); }
.app-card__body { display: flex; flex-direction: column; gap: var(--space-md); }
.app-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-xs); }
.app-card__title { padding-top: var(--space-2xs); }
.app-card__highlights { display: flex; flex-direction: column; gap: var(--space-2xs); padding-top: var(--space-xs); }
.highlight { display: flex; align-items: center; gap: .375rem; }
.app-card__actions { display: flex; align-items: center; gap: var(--space-xs); padding-top: var(--space-lg); }
.app-card__actions--video { flex-wrap: wrap; }
.app-card__actions--video .btn-soft { white-space: nowrap; }
.app-card__actions .app-card__video-button { display: inline-flex; align-items: center; justify-content: center; gap: .25rem; flex: 0 0 auto; }
/* Tipo de módulo: propio de ITOS o de Oracle NetSuite */
.apps-group + .apps-group { margin-top: var(--space-2xl); padding-top: var(--space-xl); border-top: 1px solid var(--surface-highest); }
.apps-group__head { max-width: 48rem; padding-bottom: var(--space-lg); }
.apps-group__head p { padding-top: var(--space-2xs); }
.app-card__badges { display: flex; flex-direction: column; align-items: flex-end; gap: var(--space-2xs); }
.app-card--itos { border-top: 3px solid var(--secondary); }
.app-card--netsuite { border-top: 3px solid var(--orange); }
.origin-badge { display: inline-block; padding: 2px var(--space-xs); border-radius: 999px; font-size: 11px; line-height: 14px; font-weight: 700; letter-spacing: .04em; white-space: nowrap; }
.origin-badge--itos { background: rgba(0, 101, 145, .1); color: var(--secondary); }
.origin-badge--netsuite { background: rgba(234, 104, 3, .15); color: #9a4300; }
.origin-switch { display: inline-flex; flex-wrap: wrap; gap: var(--space-2xs); max-width: 100%; padding: var(--space-2xs); margin-bottom: var(--space-md); border-radius: var(--r-xl); background: var(--surface-high); }
.origin-switch__btn { padding: var(--space-xs) var(--space-md); border-radius: var(--r-lg); font-size: 13px; line-height: 18px; font-weight: 600; color: var(--primary); transition: background-color .2s; }
.origin-switch__btn.is-active { background: var(--surface-lowest); box-shadow: var(--shadow-sm); }
.academy-link { display: flex; align-items: center; justify-content: center; gap: var(--space-2xs); margin-top: var(--space-xs); padding: var(--space-xs) var(--space-sm); border: 1px solid var(--secondary); border-radius: var(--r-lg); color: var(--secondary); font-size: 12px; line-height: 16px; font-weight: 600; transition: background-color .2s, color .2s; }
.academy-link:hover { background: var(--secondary); color: #fff; }
.clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.rating { display: flex; align-items: center; gap: var(--space-2xs); font-size: 13px; line-height: 18px; }
.rating strong { color: var(--on-surface); }
.btn-soft, .btn-demo, .btn-close { padding: var(--space-xs) var(--space-sm); border-radius: var(--r-lg); font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: .02em; text-align: center; transition: background-color .2s; }
.btn-soft { flex: 1; background: var(--surface-high); color: var(--primary); }
.btn-soft:hover, .btn-close:hover { background: var(--surface-highest); }
.btn-demo { background: var(--secondary); color: #fff; }
.btn-demo:hover { background: var(--on-secondary-container); }
.btn-close { padding-inline: var(--space-md); background: var(--surface-highest); color: var(--primary); }

.app-icon { width: 3.5rem; height: 3.5rem; flex-shrink: 0; display: flex; align-items: center; justify-content: center; border-radius: var(--r-2xl); color: #fff; box-shadow: var(--shadow-sm); }
.app-icon--lg { width: 4rem; height: 4rem; box-shadow: var(--shadow-md); }
.app-icon--logo { padding: .375rem; background: var(--surface-lowest); box-shadow: inset 0 0 0 1px var(--surface-high); }
.app-icon__logo { display: block; width: 100%; height: 100%; object-fit: contain; }
.feature-card__icon .app-icon--logo { padding: 0; box-shadow: none; }
.app-icon.app-icon--wide, .feature-card__icon .app-icon.app-icon--wide { width: clamp(4.5rem, 14vw, 6rem); }
.grad-g1 { background: linear-gradient(to top right, var(--primary), var(--secondary)); }
.grad-g2 { background: linear-gradient(to top right, var(--secondary), var(--secondary-container)); }
.grad-g3 { background: linear-gradient(to top right, var(--primary-container), var(--primary)); }
.grad-g4 { background: linear-gradient(to top right, var(--orange), var(--tertiary-fixed)); }
.grad-g5 { background: linear-gradient(to top right, var(--primary), var(--on-primary-fixed-variant)); }
.grad-g6 { background: linear-gradient(to top right, var(--secondary), var(--primary-container)); }
.grad-g7 { background: linear-gradient(to top right, var(--primary), var(--surface-tint)); }
.grad-g8 { background: linear-gradient(to top right, var(--secondary), var(--orange)); }

.pill-badge { padding: 2px var(--space-xs); border-radius: 999px; font-size: 11px; line-height: 14px; font-weight: 700; letter-spacing: .04em; text-align: right; }
.pill-badge--blue { background: rgba(0, 101, 145, .1); color: var(--secondary); }
.pill-badge--orange { background: rgba(234, 104, 3, .15); color: #b24e00; }
.pill-badge--neutral { background: var(--surface-high); color: var(--primary); }
.pill-badge--navy { background: rgba(0, 14, 63, .1); color: var(--primary); }
.pill-badge--cyan { background: rgba(57, 184, 253, .2); color: var(--on-secondary-container); }

.empty-state { display: flex; flex-direction: column; align-items: center; gap: var(--space-xs); text-align: center; padding: var(--space-2xl) var(--space-md); background: var(--surface-lowest); border-radius: var(--r-2xl); box-shadow: var(--shadow-sm); }
.empty-state .body-sm { max-width: 28rem; }
.empty-state .btn { margin-top: var(--space-xs); }

/* ---------- Trayectoria ---------- */
.trajectory { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); align-items: center; padding-block: var(--space-3xl) 0; }
.trajectory__copy { display: flex; flex-direction: column; gap: var(--space-md); }
.trajectory__points { display: flex; flex-direction: column; gap: var(--space-sm); padding-top: var(--space-xs); }
.point { display: flex; align-items: flex-start; gap: var(--space-sm); }
.point .headline-sm { font-weight: 600; }
.metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md); }
.metric { padding: var(--space-lg); background: var(--surface-low); border-radius: var(--r-2xl); box-shadow: var(--shadow-sm); transition: box-shadow .2s; }
.metric:hover { box-shadow: var(--shadow-md); }
.metric__value { display: block; font: 700 40px/48px var(--font-head); letter-spacing: -.025em; }
.metric .headline-sm { font-weight: 600; padding-top: var(--space-2xs); }
.metric .body-sm { padding-top: var(--space-2xs); }
@media (min-width: 768px) { .metric__value { font-size: 56px; line-height: 64px; } }
@media (min-width: 1024px) { .trajectory { grid-template-columns: 5fr 7fr; } }
@media (max-width: 480px) { .metric { padding: var(--space-md); } }

/* ---------- Clientes ---------- */
.clients { position: relative; padding-top: var(--space-2xl); padding-bottom: var(--space-3xl); }
.clients__title { text-align: center; padding-bottom: var(--space-lg); color: var(--outline); font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
/* Flex centrado: si la última fila queda incompleta, sus tarjetas se centran. */
.clients__grid { --client-cols: 2; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-md); }
.clients__grid > .client { flex: 0 0 calc((100% - (var(--client-cols) - 1) * var(--space-md)) / var(--client-cols)); min-width: 0; }
/* Tarjeta de cliente: frente (logo) y reverso (descripción). Las dos caras ocupan la misma celda,
   así la tarjeta toma la altura de la más alta y el texto nunca se corta. */
.client { position: relative; perspective: 1200px; border-radius: var(--r-xl); outline-offset: 3px; }
.client__inner { position: relative; display: grid; height: 100%; transform-style: preserve-3d; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.client__face { grid-area: 1 / 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-xs); min-height: 3.5rem; padding: var(--space-md) var(--space-lg); text-align: center; background: var(--surface-lowest); border-radius: var(--r-xl); box-shadow: var(--shadow-sm); -webkit-backface-visibility: hidden; backface-visibility: hidden; transition: box-shadow .2s; }
.client:hover .client__face { box-shadow: var(--shadow-md); }
.client__hint { position: absolute; top: var(--space-xs); right: var(--space-xs); display: inline-flex; color: var(--outline); opacity: .55; transition: opacity .2s, transform .4s; }
.client--flip { cursor: pointer; }
.client--flip:hover .client__hint { opacity: 1; transform: rotate(180deg); }
.client__back { transform: rotateY(180deg); align-items: flex-start; justify-content: flex-start; gap: 4px; text-align: left; color: #fff; background: linear-gradient(145deg, var(--primary) 0%, var(--primary-container) 55%, var(--secondary) 100%); }
.client__back-name { font: 700 15px/20px var(--font-head); }
.client__sector { font-size: 11px; line-height: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--secondary-fixed-dim, #8ccdff); }
.client__summary { margin: 4px 0 0; font-size: 13px; line-height: 19px; color: rgba(255, 255, 255, .9); }
.client--flip.is-flipped .client__inner { transform: rotateY(180deg); }
@media (hover: hover) { .client--flip:hover .client__inner { transform: rotateY(180deg); } }
@media (max-width: 599px) { .client__face { padding: var(--space-sm) var(--space-md); } .client__back-name { font-size: 14px; line-height: 18px; } }
/* Celular: una columna, para que el reverso se lea en líneas largas y la tarjeta no quede alta y vacía. */
@media (max-width: 479px) { .clients__grid { --client-cols: 1; } .clients__grid > .client { max-width: 26rem; } .client__face { min-height: 8.5rem; } }
.client__logo { display: block; width: auto; max-width: 100%; height: 72px; object-fit: contain; }
.client__logo--wide { height: 52px; max-width: 85%; }
@media (max-width: 599px) { .client__logo--wide { height: 44px; max-width: 100%; } } /* Logos horizontales: más bajos para equilibrar su peso visual con los cuadrados. */
.client__caption { font-size: 12px; line-height: 16px; font-weight: 600; color: var(--on-surface-variant); }
.client__name { letter-spacing: -.025em; }
@media (min-width: 768px) { .clients__grid { --client-cols: 3; } }
@media (min-width: 1024px) { .clients__grid { --client-cols: 4; } }

/* ---------- Equipo ---------- */
.team { position: relative; background: var(--surface-lowest); padding-block: var(--space-2xl); }
.team__head { display: flex; flex-direction: column; justify-content: space-between; gap: var(--space-md); padding-bottom: var(--space-xl); }
.team__intro { max-width: 42rem; }
.team__intro .headline-xl, .team__intro .body-md { padding-top: var(--space-2xs); }
.soft-chip { align-self: flex-start; display: inline-flex; align-items: center; gap: .375rem; padding: var(--space-2xs) var(--space-sm); border-radius: 999px; background: var(--surface-high); color: var(--primary); font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: .02em; }
.team__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-md); }
.leader { display: flex; flex-direction: column; justify-content: space-between; padding: var(--space-md); background: var(--surface-low); border-radius: var(--r-2xl); transition: box-shadow .2s; }
.leader:hover { box-shadow: var(--shadow-md); }
.leader__body { display: flex; flex-direction: column; gap: var(--space-sm); }
.leader__photo { display: flex; align-items: center; justify-content: center; aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--r-xl); background: var(--surface-lowest); box-shadow: inset 0 0 0 1px var(--surface-high); }
.leader__photo img { width: 100%; height: 100%; object-fit: contain; object-position: center; } /* Fotos completas, sin recortes (pedido del cliente). */
.leader__badge { padding-top: var(--space-md); gap: var(--space-xs); }
.leader__head { position: relative; }
.leader__head:has(.leader__linkedin) h3 { padding-right: 2rem; }
.leader__linkedin { position: absolute; top: 2px; right: 0; display: inline-flex; width: 24px; height: 24px; padding: 4px; border-radius: .375rem; background: #0a66c2; color: #fff; transition: transform .2s, box-shadow .2s; }
.leader__linkedin:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.leader__linkedin svg { width: 100%; height: 100%; }

/* ---------- Testimonios ---------- */
.testimonials { padding-top: var(--space-xl); padding-bottom: var(--space-3xl); background: linear-gradient(180deg, var(--surface) 0%, var(--surface-low) 100%); }
.testimonials__head { max-width: 44rem; margin: 0 auto var(--space-xl); text-align: center; display: flex; flex-direction: column; gap: var(--space-xs); }
.testimonials__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); align-items: start; }
.testimonial { position: relative; margin: 0; display: flex; flex-direction: column; gap: var(--space-sm); padding: var(--space-lg); background: var(--surface-lowest); border-radius: var(--r-2xl); box-shadow: var(--shadow-sm); border-top: 3px solid var(--secondary); }
.testimonial__mark { display: flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; margin-bottom: var(--space-xs); border-radius: 50%; background: linear-gradient(135deg, var(--secondary), var(--primary)); color: #fff; font-family: Georgia, 'Times New Roman', serif; font-size: 3rem; font-weight: 700; line-height: 1; padding-top: .9rem; box-shadow: 0 8px 18px -8px rgba(0, 14, 63, .45); user-select: none; }
.testimonial__quote { margin: 0; color: var(--on-surface); font-size: 16px; line-height: 26px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 8; overflow: hidden; }
.testimonial__quote p { margin: 0 0 var(--space-sm); }
.testimonial__quote p:last-child { margin-bottom: 0; }
.testimonial__quote p:first-child::before { content: "“"; }
.testimonial__quote p:last-child::after { content: "”"; }
.testimonial.is-open .testimonial__quote { -webkit-line-clamp: unset; display: block; overflow: visible; }
.testimonial__more { align-self: flex-start; padding: 0; border: 0; background: none; color: var(--secondary); font-weight: 600; font-size: 14px; cursor: pointer; }
.testimonial__more:hover { text-decoration: underline; }
.testimonial__by { display: flex; align-items: center; gap: var(--space-md); margin-top: auto; padding-top: var(--space-md); border-top: 1px solid var(--surface-high); }
.testimonial__logo { flex: 0 0 auto; display: flex; align-items: center; justify-content: flex-start; max-width: 140px; height: 48px; }
.testimonial__logo img { object-position: left center; }
.testimonial__logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.testimonial__who { display: flex; flex-direction: column; font-size: 14px; line-height: 20px; }
@media (min-width: 900px) { .testimonials__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Redes sociales (pie) ---------- */
.footer-social { display: flex; flex-direction: column; gap: var(--space-xs); padding-top: var(--space-xs); }
.social-links { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin: 0; padding: 0; list-style: none; }
.social-links a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 999px; background: var(--surface-lowest); color: var(--primary); box-shadow: var(--shadow-sm); transition: background-color .2s, color .2s, transform .2s; }
.social-links a:hover { background: var(--secondary); color: #fff; transform: translateY(-2px); }
.social-icon { width: 18px; height: 18px; }

/* ---------- WhatsApp flotante ---------- */
.whatsapp-float { position: fixed; right: max(1.25rem, env(safe-area-inset-right)); bottom: calc(1.25rem + var(--cookie-space, 0px)); z-index: 890; display: flex; align-items: center; justify-content: center; width: 3.5rem; height: 3.5rem; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 6px 20px rgba(0, 14, 63, .28); transition: transform .2s, background-color .2s, bottom .3s; }
.whatsapp-float:hover { transform: scale(1.08); background: #1ebe5b; color: #fff; }
.whatsapp-float:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }
.whatsapp-float__icon { width: 1.9rem; height: 1.9rem; }
.site-footer__bottom { padding-right: 5rem; }
@media print { .whatsapp-float { display: none; } }

/* ---------- Aviso de cookies ---------- */
.cookie-notice { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 900; display: flex; justify-content: center; pointer-events: none; transition: opacity .3s, transform .3s; }
.cookie-notice.is-hidden { opacity: 0; transform: translateY(12px); }
.cookie-notice__inner { pointer-events: auto; display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm) var(--space-md); max-width: 56rem; padding: var(--space-md) var(--space-lg); background: var(--surface-lowest); border-radius: var(--r-2xl); box-shadow: 0 12px 40px rgba(0, 14, 63, .18); border: 1px solid var(--surface-high); }
.cookie-notice__icon { color: var(--secondary); flex: 0 0 auto; }
.cookie-notice__text { flex: 1 1 22rem; margin: 0; font-size: 14px; line-height: 21px; color: var(--on-surface-variant); }
.cookie-notice__text a { color: var(--secondary); font-weight: 600; text-decoration: underline; white-space: nowrap; }
.cookie-notice__accept { flex: 0 0 auto; }
@media (max-width: 599px) { .cookie-notice { left: .5rem; right: .5rem; bottom: .5rem; } .cookie-notice__icon { display: none; } .cookie-notice__accept { width: 100%; } }

/* ---------- Pantalla de bienvenida (solo inicio) ---------- */
.has-splash, .has-splash body { overflow: hidden; }
.splash { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center; justify-content: center; background: var(--surface-lowest); transition: opacity .45s ease, visibility .45s; }
.splash.is-hidden { opacity: 0; visibility: hidden; }
.splash__ring { position: relative; display: flex; align-items: center; justify-content: center; width: 168px; height: 168px; border-radius: 50%; border: 1px solid var(--surface-highest); animation: splash-in .5s ease both; }
.splash__ring::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 3px solid transparent; border-top-color: var(--secondary); animation: splash-spin 1s linear infinite; }
.splash__logo { width: 96px; height: auto; }
.splash-sound {
	position: fixed;
	left: max(1rem, env(safe-area-inset-left));
	bottom: calc(1.25rem + var(--cookie-space, 0px) + env(safe-area-inset-bottom, 0px));
	z-index: 890;
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	border: 1px solid var(--surface-highest);
	border-radius: 50%;
	background: var(--surface-lowest);
	color: var(--primary);
	font-size: 1.5rem;
	box-shadow: var(--shadow-md);
}
.splash-sound:hover { background: var(--surface-high); }
.splash-sound.is-muted::after {
	position: absolute;
	width: 1.55rem;
	border-top: 2px solid currentColor;
	transform: rotate(-45deg);
	content: "";
}
@media print { .splash-sound { display: none; } }
@keyframes splash-spin { to { transform: rotate(360deg); } }
@keyframes splash-in { from { opacity: 0; transform: scale(.92); } }
@media (min-width: 640px) { .team__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 768px) { .team__head { flex-direction: row; align-items: flex-end; } .soft-chip { align-self: auto; flex-shrink: 0; } }
@media (min-width: 1024px) { .team__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* ---------- Banner de cierre ---------- */
.cta-wrap { position: relative; }
.cta { position: relative; overflow: hidden; padding: var(--space-xl); border-radius: var(--r-3xl); color: #fff; background: linear-gradient(to right, var(--primary), var(--primary-container), var(--secondary)); box-shadow: var(--shadow-xl); }
.cta__glow { position: absolute; right: -5rem; bottom: -5rem; width: 20rem; height: 20rem; border-radius: 50%; background: rgba(234, 104, 3, .2); filter: blur(64px); pointer-events: none; }
.cta__content { position: relative; max-width: 48rem; display: flex; flex-direction: column; gap: var(--space-md); }
.cta__badge { align-self: flex-start; display: inline-flex; align-items: center; gap: var(--space-xs); padding: var(--space-2xs) var(--space-sm); border-radius: 999px; background: rgba(226, 231, 255, .2); color: var(--surface-highest); font-size: 11px; line-height: 14px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.cta .headline-xl { line-height: 1.25; }
.cta__text { max-width: 42rem; line-height: 1.625; color: var(--surface-high); }
.cta .btn-row { padding-top: var(--space-xs); }
@media (min-width: 768px) { .cta { padding: var(--space-3xl); } }
.cta__media { position: relative; height: 13rem; margin: calc(var(--space-xl) * -1) calc(var(--space-xl) * -1) var(--space-xl); }
.cta__image { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 768px) { .cta__media { height: 18rem; margin: calc(var(--space-3xl) * -1) calc(var(--space-3xl) * -1) var(--space-xl); } }
@media (min-width: 1024px) {
	.cta__media { position: absolute; inset: 0 0 0 auto; width: 46%; height: auto; margin: 0; }
	.cta__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, var(--primary-container) 0%, rgba(0, 14, 63, .35) 45%, rgba(0, 14, 63, .05) 100%); }
	.cta--media { background: linear-gradient(to right, var(--primary), var(--primary-container) 56%); }
	.cta--media .cta__content { max-width: 52%; }
	.cta--media .cta__glow { display: none; }
}
@media (max-width: 640px) { .btn--wide { padding-inline: var(--space-lg); } }

/* ---------- Pie ---------- */
.site-footer { position: relative; background: var(--surface-low); padding-top: var(--space-2xl); padding-bottom: var(--space-xl); }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); padding-bottom: var(--space-2xl); }
.site-footer__about { display: flex; flex-direction: column; gap: var(--space-md); }
.site-footer__about .body-md { max-width: 24rem; }
.footer-badges { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm); padding-top: var(--space-xs); }
.footer-badge { display: flex; align-items: center; gap: var(--space-xs); padding: var(--space-2xs) var(--space-sm); background: var(--surface-lowest); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.footer-col { display: flex; flex-direction: column; gap: var(--space-sm); }
.footer-col__title { color: var(--primary); font-size: 14px; line-height: 20px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.footer-col__list { display: flex; flex-direction: column; gap: var(--space-xs); font-size: 13px; line-height: 18px; color: var(--on-surface-variant); }
.footer-col__list a, .footer-contact a { transition: color .2s; }
.footer-col__list a:hover, .footer-contact a:hover { color: var(--secondary); }
.footer-contact { display: flex; align-items: flex-start; gap: var(--space-xs); }
.footer-contact .icon-16 { margin-top: 1px; }
.footer-contact > a, .footer-contact > span { min-width: 0; overflow-wrap: anywhere; }
.site-footer__bottom { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: var(--space-md); padding-top: var(--space-lg); color: var(--on-surface-variant); font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: .02em; }
.legal-list { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-md); }
.legal-list a:hover { color: var(--on-surface); }
@media (min-width: 640px) { .site-footer__bottom { flex-direction: row; } .legal-list { flex-shrink: 0; flex-wrap: nowrap; white-space: nowrap; } }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } .site-footer__about { grid-column: span 2; } }

/* ---------- Ventanas ---------- */
dialog { color: inherit; border: 0; padding: 0; }
.drawer::backdrop { background: rgba(0, 14, 63, .4); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.modal::backdrop { background: rgba(0, 14, 63, .5); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }

.drawer { position: fixed; inset: 0 0 0 auto; width: 100%; max-width: 36rem; height: 100%; max-height: none; margin: 0; overflow-y: auto; background: var(--surface-lowest); box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .25); transform: translateX(100%); transition: transform .3s; }
.drawer[open] { display: flex; flex-direction: column; justify-content: space-between; }
.drawer.is-open { transform: none; }
.drawer__body { display: flex; flex-direction: column; gap: var(--space-lg); padding: var(--space-lg); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; }
.drawer__identity { display: flex; align-items: center; gap: var(--space-md); padding-top: var(--space-xs); }
.drawer__foot { display: flex; align-items: center; justify-content: space-between; padding: var(--space-lg); background: var(--surface-low); }
@media (min-width: 768px) { .drawer__body { padding: var(--space-xl); } }

.round-btn { width: 2.25rem; height: 2.25rem; flex-shrink: 0; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--surface-high); color: var(--on-surface); transition: background-color .2s; }
.round-btn:hover { background: var(--surface-highest); }
.round-btn--corner { position: absolute; top: 1rem; right: 1rem; width: 2rem; height: 2rem; }

.spec-box { display: flex; flex-direction: column; gap: var(--space-sm); padding: var(--space-md); background: var(--surface-low); border-radius: var(--r-xl); }
.spec-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-sm); padding-top: var(--space-xs); font-size: 13px; line-height: 18px; }
.spec-grid .label-md { display: block; }
.spec-value { color: var(--on-surface); font-weight: 500; }
.caps { display: flex; flex-direction: column; gap: var(--space-xs); }
#drawerCaps { display: flex; flex-direction: column; gap: var(--space-xs); }
.trial-box { display: flex; flex-direction: column; gap: var(--space-xs); padding: var(--space-md); background: var(--surface-high); border-radius: var(--r-xl); }

.modal { position: fixed; inset: 0; width: calc(100% - 2rem); max-width: 32rem; max-height: calc(100vh - 2rem); margin: auto; padding: var(--space-xl); overflow-y: auto; background: var(--surface-lowest); border-radius: var(--r-2xl); box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .25); }
.modal[open] { display: flex; flex-direction: column; gap: var(--space-md); animation: itos-fade .2s ease-out; }
.modal .body-sm { padding-top: var(--space-2xs); }
@keyframes itos-fade { from { opacity: 0; transform: translateY(8px); } }
@media (max-width: 480px) { .modal { padding: var(--space-lg); } }

/* ---------- Formularios ---------- */
.stack-form { display: flex; flex-direction: column; gap: var(--space-xs); padding-top: var(--space-2xs); }
.form-label { display: block; color: var(--on-surface-variant); font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: .02em; }
.form-label .field { margin-top: var(--space-2xs); }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-xs); }
.field { display: block; width: 100%; padding: var(--space-xs) var(--space-sm); background: var(--surface-low); border: 0; border-radius: var(--r-lg); color: var(--on-surface); font-size: 13px; font-weight: 400; line-height: 20px; letter-spacing: normal; outline: 0; transition: background-color .2s, box-shadow .2s; }
.field:focus { background: var(--surface-lowest); box-shadow: 0 0 0 1px var(--secondary); }
.field::placeholder { color: var(--outline); }
.field--white { background: var(--surface-lowest); }
.field--module, .field--module:focus { background: var(--surface-low); box-shadow: none; color: var(--primary); font-weight: 600; }
.form-note { color: var(--on-surface-variant); font-size: 12px; line-height: 16px; }
.form-status { padding: var(--space-xs) var(--space-sm); border-radius: var(--r-lg); font-size: 13px; line-height: 18px; }
.form-status--ok { background: var(--surface-highest); color: var(--primary); }
.form-status--error { background: var(--error-container); color: #93000a; }
.stack-form .btn { margin-top: var(--space-xs); }
@media (max-width: 480px) { .form-row { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Páginas internas ---------- */
.page-header { position: relative; display: flex; flex-direction: column; gap: var(--space-md); padding-top: var(--space-2xl); padding-bottom: var(--space-xl); }
.page-header .body-lg { max-width: 48rem; }
.prose { position: relative; padding-bottom: var(--space-xl); max-width: 1440px; }
.prose > * { max-width: 48rem; }
.prose > * + * { margin-top: var(--space-md); }
.prose h2 { font: 600 28px/36px var(--font-head); letter-spacing: -.015em; color: var(--primary); }
.prose h3 { font: 600 22px/28px var(--font-head); letter-spacing: -.01em; color: var(--primary); }
.prose h4 { font: 600 18px/24px var(--font-head); color: var(--primary); }
.prose p, .prose li { color: var(--on-surface-variant); }
.prose a { color: var(--secondary); text-decoration: underline; }
.prose ul { list-style: disc; padding-left: 1.25rem; }
.prose ol { padding-left: 1.25rem; }
.prose li + li { margin-top: var(--space-2xs); }
.prose img { border-radius: var(--r-2xl); }
.prose--flush { padding-bottom: 0; }
.single-image { display: block; width: auto; max-width: min(100%, 56rem); height: auto; max-height: 28rem; object-fit: cover; border-radius: var(--r-2xl); margin-bottom: var(--space-xl); } /* Nunca más grande que su resolución real. */
.result-card { display: flex; flex-direction: column; gap: var(--space-xs); padding: var(--space-lg); }
.result-card--media { overflow: hidden; padding-top: 0; }
.result-card__media { display: block; margin: 0 calc(var(--space-lg) * -1) var(--space-xs); aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface-high); }
.result-card__img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.result-card:hover .result-card__img { transform: scale(1.04); }

.contact { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); align-items: start; }
.contact__info { display: flex; flex-direction: column; gap: var(--space-md); }
.contact__list { display: flex; flex-direction: column; gap: var(--space-sm); padding-top: var(--space-xs); }
.contact__form { padding: var(--space-lg); }
@media (min-width: 1024px) { .contact { grid-template-columns: 5fr 7fr; } .contact__form { padding: var(--space-xl); } }

.app-single { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); align-items: start; padding-top: var(--space-xl); padding-bottom: var(--space-xl); }
.app-single__main { display: flex; flex-direction: column; gap: var(--space-lg); }
.back-link { display: inline-flex; align-items: center; gap: var(--space-2xs); color: var(--secondary); font-size: 12px; line-height: 16px; font-weight: 500; }
.back-link:hover span:last-child { text-decoration: underline; }
@media (min-width: 1024px) { .app-single { grid-template-columns: 7fr 5fr; } .app-single__aside { position: sticky; top: calc(var(--header-h) + var(--bar-h) + var(--space-md)); } }

.navigation.pagination { padding-top: var(--space-xl); }
.nav-links { display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.page-numbers { padding: var(--space-xs) var(--space-sm); border-radius: var(--r-lg); background: var(--surface-low); }
.page-numbers.current { background: var(--primary); color: #fff; }

/* ---------- Selector de idioma ---------- */
.lang-switch { position: relative; }
.lang-switch summary { display: flex; align-items: center; gap: 2px; padding: var(--space-2xs) var(--space-xs); border-radius: var(--r-lg); background: var(--surface-low); color: var(--on-surface); font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: .04em; cursor: pointer; list-style: none; user-select: none; }
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary:hover, .lang-switch[open] summary { background: var(--surface-high); }
.lang-switch summary .material-symbols-outlined:first-child { color: var(--secondary); margin-right: 2px; }
.lang-switch__menu { position: absolute; top: calc(100% + 6px); right: 0; z-index: 60; min-width: 10rem; padding: var(--space-2xs); background: var(--surface-lowest); border-radius: var(--r-xl); box-shadow: var(--shadow-xl); }
.lang-switch__menu a { display: flex; align-items: center; gap: var(--space-xs); padding: var(--space-xs) var(--space-sm); border-radius: var(--r-lg); font-size: 14px; color: var(--on-surface-variant); }
.lang-switch__menu a:hover, .lang-switch__menu a[aria-current] { background: var(--surface-high); color: var(--primary); }
.lang-switch__code { min-width: 1.75rem; font-size: 11px; font-weight: 700; letter-spacing: .06em; color: var(--secondary); }
.lang-list { display: flex; flex-wrap: wrap; gap: var(--space-xs); padding-top: var(--space-sm); margin-top: var(--space-sm); border-top: 1px solid var(--surface-high); }
.lang-list a { padding: var(--space-xs) var(--space-md); border-radius: 999px; background: var(--surface-low); font-size: 14px; font-weight: 600; color: var(--on-surface-variant); }
.lang-list a.is-current { background: var(--primary); color: #fff; }
@media (max-width: 1199px) { .site-header__right .lang-switch { display: none; } } /* En celular y tableta el idioma está en el menú. */

/* ---------- Ficha de producto (PDF y video de cada aplicación) ---------- */
.sheet { display: flex; flex-direction: column; gap: var(--space-md); scroll-margin-top: calc(var(--header-h) + var(--space-md)); }
.sheet__pdf { display: flex; flex-direction: column; gap: var(--space-md); padding: var(--space-md); }
.sheet__viewer { display: block; width: 100%; height: 34rem; border: 0; border-radius: var(--r-xl); background: var(--surface-low); }
@media (max-width: 767px) { .sheet__viewer { display: none; } } /* En celular el PDF se abre con los botones. */
.sheet__video-wrap { display: flex; flex-direction: column; gap: var(--space-sm); scroll-margin-top: calc(var(--header-h) + var(--space-md)); }
.sheet__video { position: relative; border-radius: var(--r-2xl); overflow: hidden; background: #000; }
.sheet__video iframe { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; }
.sheet__video .wp-video, .sheet__video video { width: 100% !important; height: auto; }
.drive-video-launch { margin: .75rem; }
.sheet-links { display: flex; flex-direction: column; gap: var(--space-sm); padding: var(--space-md); background: var(--surface-low); border-radius: var(--r-xl); scroll-margin-top: var(--space-md); }
.sheet-links__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-md); }
.sheet-links__item { display: flex; flex-direction: column; gap: var(--space-xs); min-width: 0; }
.sheet-links__player, .sheet-links__pdf { overflow: hidden; border-radius: var(--r-lg); background: #000; }
.sheet-links__player iframe, .sheet-links__player video, .sheet-links__player img { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; object-fit: cover; }
.sheet-links__pdf { background: var(--surface-lowest); box-shadow: var(--shadow-sm); }
.sheet-links__pdf iframe { display: block; width: 100%; height: 22rem; border: 0; }
.sheet-links__pdf img { display: block; width: 100%; height: auto; max-height: 22rem; object-fit: contain; }
.sheet-links__item .btn { align-self: flex-start; }

/* Vistas previas en la tarjeta del catálogo */
.media-previews { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: var(--space-xs); padding-top: var(--space-sm); }
.media-thumb { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 10; border-radius: var(--r-lg); background: var(--primary-container); color: #fff; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.media-thumb:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.media-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.media-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 14, 63, .75), rgba(0, 14, 63, 0) 60%); pointer-events: none; }
.media-thumb__label { position: absolute; left: var(--space-xs); right: var(--space-xs); bottom: var(--space-xs); z-index: 1; font-size: 12px; line-height: 15px; font-weight: 700; letter-spacing: .02em; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.media-thumb--pdf { background: var(--surface-high); color: var(--primary); }
.media-thumb__doc { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding-bottom: 1rem; font-size: 11px; font-weight: 700; letter-spacing: .08em; color: var(--error); }

/* ---------- Secciones de contenido por página ---------- */
.cblock { position: relative; padding-bottom: var(--space-xl); }
.cblock__inner { display: flex; flex-direction: column; gap: var(--space-lg); }
.cblock__copy { display: flex; flex-direction: column; gap: var(--space-sm); max-width: 48rem; }
.cblock__title { color: var(--primary); }
.cblock__text { display: flex; flex-direction: column; gap: var(--space-sm); color: var(--on-surface-variant); }
.cblock__text a { color: var(--secondary); text-decoration: underline; }
.cblock__text strong { color: var(--on-surface); }
.cblock--bg-soft .cblock__inner, .cblock--bg-dark .cblock__inner { padding: var(--space-lg); border-radius: var(--r-3xl); }
.cblock--bg-soft .cblock__inner { background: var(--surface-low); }
.cblock--bg-dark .cblock__inner { background: linear-gradient(135deg, var(--primary), var(--primary-container)); color: #fff; }
.cblock--bg-dark .cblock__title, .cblock--bg-dark .cblock__text, .cblock--bg-dark .cblock__text strong, .cblock--bg-dark .cblock__list li { color: #fff; }
.cblock--bg-dark .eyebrow { color: var(--secondary-container); }
@media (min-width: 768px) { .cblock--bg-soft .cblock__inner, .cblock--bg-dark .cblock__inner { padding: var(--space-2xl); } }

.cblock__list { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-sm) var(--space-xl); }
.cblock__list li { display: flex; gap: var(--space-sm); align-items: flex-start; color: var(--on-surface-variant); }
.cblock__list li .material-symbols-outlined { margin-top: 2px; }
.cblock__list strong { color: var(--on-surface); }
.cblock__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-md); }
.cblock__card { display: flex; flex-direction: column; gap: var(--space-xs); padding: var(--space-lg); }
.cblock__card .arrow-link { margin-top: auto; }
.cblock__card--media { overflow: hidden; padding-top: 0; }
.cblock__card-media { margin: 0 calc(var(--space-lg) * -1) var(--space-xs); aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface-high); }
.cblock__card-img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.cblock__card--media:hover .cblock__card-img { transform: scale(1.04); }
.cblock__card--media .tone-box { margin-top: calc(-1 * var(--space-lg) - 1.5rem); position: relative; z-index: 1; box-shadow: var(--shadow-md); background-color: var(--surface-lowest); }
.cblock__card--circle { align-items: center; text-align: center; padding: var(--space-xl) var(--space-lg); }
.cblock__card--circle .cblock__card-media { width: 11rem; max-width: 100%; aspect-ratio: 1; margin: 0 0 var(--space-sm); border-radius: 50%; border: 5px solid var(--surface-lowest); box-shadow: 0 0 0 2px var(--secondary-container), var(--shadow-md); }
.cblock-cols-2 > .cblock__card--circle .cblock__card-media { width: 14rem; }
.cblock__card--circle:hover .cblock__card-img { transform: scale(1.06); }
.cblock__card--circle .arrow-link { padding-top: var(--space-xs); }
.cblock__card-media[data-slides] { position: relative; isolation: isolate; }
.cblock__card-media.is-sliding .cblock__card-img { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease, transform .4s; }
.cblock__card-media.is-sliding .cblock__card-img.is-on { opacity: 1; }
.slides-toggle { display: inline-flex; align-items: center; gap: var(--space-2xs); align-self: flex-end; padding: var(--space-2xs) var(--space-sm); border-radius: 999px; background: var(--surface-high); color: var(--primary); font-size: 12px; line-height: 16px; font-weight: 500; }
.cblock__num { font: 700 32px/36px var(--font-head); color: var(--orange); letter-spacing: -.02em; }
.cblock .metrics { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) {
	.cblock-cols-2, .cblock-cols-3, .cblock-cols-4, .cblock .metrics.cblock-cols-2, .cblock .metrics.cblock-cols-3, .cblock .metrics.cblock-cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cblock--has-image .cblock__inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
}
@media (min-width: 1024px) {
	.cblock-cols-3, .cblock .metrics.cblock-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.cblock-cols-4, .cblock .metrics.cblock-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.cblock__image { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r-2xl); }
.cblock__quote { display: flex; flex-direction: column; gap: var(--space-sm); padding-left: var(--space-lg); border-left: 4px solid var(--orange); }
.cblock__quote .headline-lg { color: var(--primary); }
.cblock--bg-dark .cblock__quote .headline-lg, .cblock--bg-dark .cblock__quote .muted { color: #fff; }
.cblock__video { position: relative; max-width: 56rem; aspect-ratio: 16 / 9; border-radius: var(--r-2xl); overflow: hidden; background: #000; }
.cblock__video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.cblock__actions { display: flex; }

/* ---------- Soluciones de la portada ---------- */
.cblock--home-solutions .cblock__inner {
	padding: clamp(1rem, 3.5vw, 3rem);
	gap: clamp(1rem, 2.5vw, 2rem);
	border: 1px solid #dce6f5;
	border-radius: clamp(1.25rem, 3vw, 2rem);
	background: radial-gradient(ellipse at 12% 0%, #e7f0ff, transparent 55%), linear-gradient(135deg, #f8fbff, #edf4ff);
}
.cblock--home-solutions .cblock__copy { max-width: 47rem; }
.cblock--home-solutions .eyebrow {
	align-self: flex-start;
	padding: .45rem .8rem;
	border: 1px solid #c6d9f4;
	border-radius: 999px;
	background: #f5f9ff;
	color: #174781;
	font-size: .875rem;
	line-height: 1.35;
}
.cblock--home-solutions .cblock__title {
	color: #102852;
	font: 750 clamp(1.85rem, 4.4vw, 3.35rem)/1.1 var(--font-head);
	letter-spacing: -.045em;
	text-wrap: balance;
}
@supports (background-clip: text) {
	.cblock--home-solutions .cblock__title {
		background: linear-gradient(105deg, #102852 30%, #2354a4 73%, #4854ad);
		background-clip: text;
		color: transparent;
	}
}
@media (forced-colors: active) {
	.cblock--home-solutions .cblock__title { color: CanvasText; }
}
.cblock--home-solutions .cblock__text { color: #425571; font-size: 1.0625rem; line-height: 1.6; }
.cblock--home-solutions .cblock__grid {
	display: flex;
	gap: clamp(.75rem, 2vw, 1.5rem);
	padding: .25rem .25rem .85rem;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: .25rem;
	scrollbar-color: #95afd5 transparent;
}
.cblock--home-solutions .cblock__card {
	flex: 0 0 90%;
	min-width: 0;
	padding: clamp(.75rem, 2vw, 1.5rem);
	gap: .75rem;
	border: 1px solid #dee7f3;
	border-radius: 1.25rem;
	box-shadow: 0 8px 18px #17376c0e;
	scroll-snap-align: start;
}
@media (min-width: 768px) {
	.cblock--home-solutions .cblock__card { flex-basis: calc((100% - clamp(.75rem, 2vw, 1.5rem)) / 2); }
}
.cblock--home-solutions .cblock__card:hover { box-shadow: 0 10px 20px #17376c1a; }
.home-solutions__visual {
	position: relative;
	display: grid;
	place-items: center;
	min-height: clamp(10.5rem, 24vw, 14.75rem);
	padding: 2.35rem .8rem .85rem;
	border-radius: 1rem;
	background: radial-gradient(ellipse at center, #f7fbff, #dcecff);
	color: #2354a4;
}
.cblock--home-solutions .cblock__card:nth-child(even) .home-solutions__visual { background: radial-gradient(ellipse at center, #f9fbff, #e1e6fc); }
.home-solutions__category {
	position: absolute;
	inset: .65rem auto auto .65rem;
	z-index: 1;
	max-width: calc(100% - 1.3rem);
	padding: .28rem .65rem;
	border-radius: 999px;
	background: #fff;
	color: #173863;
	font-size: .875rem;
	font-weight: 650;
	line-height: 1.35;
}
.home-solutions__visual .cblock__card-media {
	width: clamp(6rem, 15vw, 10rem);
	aspect-ratio: 1;
	margin: 0;
	border: 4px solid #467acb;
	border-radius: 50%;
	box-shadow: 0 0 0 4px #ffffffb3, 0 10px 25px #1c46723b;
}
.cblock--home-solutions .cblock__card h3 { font-size: clamp(1.125rem, 2.1vw, 1.5rem); line-height: 1.25; }
.cblock--home-solutions .cblock__card p { flex: 1; color: #425571; font-size: 1rem; line-height: 1.55; }
.cblock--home-solutions .cblock__card .arrow-link {
	align-self: stretch;
	padding-block: .8rem .35rem;
	border-top: 1px solid #e3ebf5;
	color: #174b94;
	font-size: 1rem;
}
.cblock--home-solutions .arrow-link:hover { text-decoration: underline; }
.home-solutions__nav { display: flex; align-items: center; gap: .55rem; align-self: flex-end; }
.home-solutions__nav button {
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	border: 1px solid #cadbef;
	border-radius: 50%;
	background: #fff;
	color: #174781;
}
.home-solutions__nav button:hover:not(:disabled) { background: #174781; color: #fff; }
.home-solutions__nav button:disabled { opacity: .45; cursor: default; }
.home-solutions__count { color: #365578; font-size: .875rem; font-variant-numeric: tabular-nums; }
.cblock--home-solutions .slides-toggle { font-size: .875rem; }

/* ---------- Introducción de Servicios NetSuite ---------- */
.services-intro {
	--services-blue: #174b94;
	display: grid;
	gap: clamp(1rem, 2.5vw, 2rem);
	padding: clamp(1rem, 3.5vw, 3rem);
	border: 1px solid #dce6f5;
	border-radius: clamp(1.25rem, 3vw, 2rem);
	background: radial-gradient(ellipse at 10% 0%, #e7f0ff, transparent 60%), #f7faff;
}
.services-intro__header { display: grid; justify-items: start; gap: .7rem; max-width: 52rem; }
.services-intro__header .eyebrow {
	padding: .45rem .8rem;
	border: 1px solid #c6d9f4;
	border-radius: 999px;
	background: #fff;
	color: var(--services-blue);
	font-size: .875rem;
	line-height: 1.35;
}
.services-intro__title {
	color: #102852;
	font: 750 clamp(1.85rem, 4.4vw, 3.35rem)/1.1 var(--font-head);
	letter-spacing: -.04em;
	text-wrap: balance;
}
.services-intro p { color: #425571; font-size: 1rem; line-height: 1.6; }
.services-intro__layout { display: grid; gap: clamp(.85rem, 2.5vw, 1.75rem); }
.services-intro__image { position: relative; min-height: 11rem; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 1rem; }
.services-intro__image .cblock__image { position: absolute; inset: 0; display: block; height: 100%; object-fit: cover; }
.services-intro__options { display: grid; align-content: start; gap: .65rem; min-width: 0; }
.services-intro details { background: #fff; border: 1px solid #dbe5f3; border-radius: 1rem; }
.services-intro details[open] { border-color: #9ebae2; }
.services-intro summary {
	display: flex;
	align-items: center;
	gap: .75rem;
	min-height: 3.2rem;
	padding: .7rem 1rem;
	border-radius: inherit;
	color: #102852;
	font-size: 1rem;
	font-weight: 700;
	list-style: none;
	cursor: pointer;
}
.services-intro summary::-webkit-details-marker { display: none; }
.services-intro summary:hover { background: #edf4ff; }
.services-intro__icon {
	display: grid;
	place-items: center;
	flex: 0 0 2.5rem;
	height: 2.5rem;
	border-radius: .7rem;
	background: #e6f0ff;
	color: var(--services-blue);
}
.services-intro__chevron { margin-inline-start: auto; color: var(--services-blue); }
.services-intro details[open] > summary .services-intro__chevron { transform: rotate(180deg); }
.services-intro__details, .services-intro__about .cblock__text { padding: 0 1rem 1rem; }
.services-intro__details a { display: inline-block; margin-top: .55rem; color: var(--services-blue); font-weight: 700; text-decoration: underline; text-underline-offset: .15em; }
.services-intro > .btn { justify-self: start; }
@media (min-width: 768px) {
	.services-intro__layout--with-image { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }
	.services-intro__image { aspect-ratio: auto; }
	.services-intro__details { padding-inline-start: 4.25rem; }
}

/* ---------- Soporte a clientes ---------- */
.support-page {
	display: grid;
	gap: clamp(1rem, 3vw, 2rem);
	padding-block: clamp(1.25rem, 5vw, 3.75rem) clamp(2rem, 6vw, 5rem);
}
.support-hero {
	display: grid;
	gap: clamp(1.25rem, 3.5vw, 3rem);
	padding: clamp(1.15rem, 4vw, 3.25rem);
	border: 1px solid #dce6f5;
	border-radius: clamp(1.25rem, 3vw, 2rem);
	background: radial-gradient(ellipse at 0% 0%, #e4edff, transparent 65%), #f7faff;
}
.support-hero__copy { display: grid; align-content: center; justify-items: start; gap: .9rem; min-width: 0; }
.support-hero__icon {
	display: grid;
	place-items: center;
	width: 3.5rem;
	height: 3.5rem;
	border: 1px solid #cedcf2;
	border-radius: 1rem;
	background: #fff;
	color: #174b94;
}
.support-page__text { display: grid; gap: .65rem; max-width: 46rem; color: #425571; font-size: 1rem; line-height: 1.65; }
.support-hero__email { min-height: 3rem; max-width: 100%; margin-top: .3rem; padding: .7rem 1rem; gap: .6rem; line-height: 1.3; }
.support-hero__email .material-symbols-outlined { flex-shrink: 0; }
.support-hero__email span:last-child { overflow-wrap: anywhere; }
.support-hero__media { position: relative; min-height: 11rem; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 1.15rem; background: #dce6f5; }
.support-hero__photo { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.support-levels {
	display: grid;
	gap: 1.15rem;
	padding: clamp(1.15rem, 3vw, 2rem);
	border: 1px solid #dce6f5;
	border-radius: clamp(1.25rem, 3vw, 2rem);
	background: var(--surface-lowest);
}
.support-levels__copy { display: grid; gap: .45rem; }
.support-levels__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr)); gap: .75rem; }
.support-levels__list li { display: flex; align-items: center; gap: .6rem; padding: .85rem 1rem; border-radius: .8rem; background: #edf4ff; color: #102852; font-weight: 650; }
.support-levels__list .material-symbols-outlined { color: #174b94; }
@media (min-width: 900px) {
	.support-hero--with-photo { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.support-hero__media { min-height: 17rem; aspect-ratio: auto; }
}

/* Dentro de la página de una SuiteApp: sin márgenes de contenedor. */
.cblock--inline { padding-bottom: 0; }
.cblock--inline + .cblock--inline { padding-top: var(--space-md); }
.cblock--inline.cblock--cta { padding-top: var(--space-md); }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------- Clientes en movimiento (cinta de logos) ---------- */
.logo-marquee { position: relative; padding-top: var(--space-3xl); padding-bottom: var(--space-3xl); overflow: hidden; background: radial-gradient(60rem 22rem at 15% 0%, rgba(0, 101, 145, .10), transparent 70%), radial-gradient(50rem 20rem at 90% 100%, rgba(0, 14, 63, .08), transparent 70%), var(--surface-low); }
.logo-marquee .clients__title { max-width: 60rem; margin: 0 auto; padding-bottom: var(--space-xl); color: var(--primary); font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem); line-height: 1.2; font-weight: 700; letter-spacing: -.01em; text-transform: none; text-wrap: balance; }
.logo-marquee .clients__title::after { content: ""; display: block; width: 4rem; height: 4px; margin: var(--space-md) auto 0; border-radius: 4px; background: linear-gradient(90deg, var(--secondary), var(--primary)); }
.marquee { display: flex; flex-direction: column; gap: var(--space-lg); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__row { overflow: hidden; }
.marquee__track { display: flex; width: max-content; gap: var(--space-lg); margin: 0; padding: var(--space-sm) 0; list-style: none; animation: marquee-left 55s linear infinite; }
.marquee__row--reverse .marquee__track { animation-name: marquee-right; animation-duration: 62s; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { position: relative; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; width: 17rem; height: 8.5rem; padding: var(--space-lg) var(--space-xl); background: #fff; border: 1px solid rgba(0, 14, 63, .08); border-radius: 1.25rem; box-shadow: 0 10px 30px -12px rgba(0, 14, 63, .18); transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s; }
.marquee__item::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 2px; background: linear-gradient(135deg, var(--secondary), var(--primary)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); opacity: 0; transition: opacity .35s; pointer-events: none; }
.marquee__logo { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; transition: transform .35s; }
.marquee__item:hover { transform: translateY(-6px); box-shadow: 0 22px 40px -16px rgba(0, 14, 63, .30); }
.marquee__item:hover::before { opacity: 1; }
.marquee__item:hover .marquee__logo { transform: scale(1.06); }
@keyframes marquee-left { to { transform: translateX(calc(-100% / 3)); } }
@keyframes marquee-right { from { transform: translateX(calc(-100% / 3)); } to { transform: translateX(0); } }
@media (max-width: 599px) { .marquee__item { width: 12.5rem; height: 6.5rem; padding: var(--space-md) var(--space-lg); } .marquee, .marquee__track { gap: var(--space-md); } }
@media (prefers-reduced-motion: reduce) {
	.marquee { -webkit-mask-image: none; mask-image: none; }
	.marquee__row--reverse { display: none; }
	.marquee__track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; padding-inline: 1rem; }
	.marquee__item[aria-hidden="true"] { display: none; }
}

/* ---------- Cifras animadas ---------- */
.counters { position: relative; overflow: hidden; margin: var(--space-2xl) 0; padding: var(--space-3xl) 0; color: #fff; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-container) 55%, #0b3a63 100%); }
.counters__glow span { position: absolute; width: 34rem; height: 34rem; border-radius: 50%; filter: blur(70px); opacity: .45; animation: counters-float 18s ease-in-out infinite alternate; }
.counters__glow span:first-child { top: -14rem; left: -8rem; background: radial-gradient(circle, var(--secondary) 0%, transparent 70%); }
.counters__glow span:last-child { bottom: -16rem; right: -10rem; background: radial-gradient(circle, var(--orange) 0%, transparent 70%); opacity: .28; animation-duration: 22s; animation-direction: alternate-reverse; }
@keyframes counters-float { to { transform: translate(6rem, 3rem) scale(1.15); } }
.counters__inner { position: relative; }
.counters__head { max-width: 46rem; margin-bottom: var(--space-xl); }
.counters__eyebrow { color: #8ccdff; }
.counters__head .headline-xl { color: #fff; margin-top: var(--space-xs); }
.counters__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-xl) var(--space-lg); }
.counter { transition: opacity .6s ease calc(var(--i) * .12s), transform .6s ease calc(var(--i) * .12s); }
/* Estado inicial solo con JavaScript activo (main.js agrega counters--animate): sin JS se ven los valores. */
.counters--animate .counter { opacity: 0; transform: translateY(18px); }
.counters--animate.is-visible .counter { opacity: 1; transform: none; }
.counter__value { display: block; font: 700 clamp(44px, 7vw, 72px) / 1 var(--font-head); letter-spacing: -.03em; background: linear-gradient(180deg, #fff 30%, #9fd8ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.counter__bar { display: block; height: 3px; margin: var(--space-sm) 0 var(--space-sm); border-radius: 3px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.counter__bar span { display: block; height: 100%; width: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--secondary-container), var(--orange)); transform-origin: left; transition: transform 1.6s cubic-bezier(.2, .7, .2, 1) calc(var(--i) * .12s + .2s); }
.counters--animate .counter__bar span { transform: scaleX(0); }
.counters--animate.is-visible .counter__bar span { transform: scaleX(1); }
.counter__title { font: 700 17px/23px var(--font-head); color: #fff; }
.counter__text { margin-top: 6px; font-size: 13px; line-height: 19px; color: rgba(255, 255, 255, .72); }
@media (min-width: 1024px) { .counters__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 479px) { .counters__grid { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .counters--animate .counter { opacity: 1; transform: none; } .counters--animate .counter__bar span { transform: none; } .counters__glow span { animation: none; } }
