/* Edman Peru - sitio publico, tema oscuro "obsidiana". Mobile-first. Tokens en base/tokens-public.css.
   Bloques BEM: utility-bar, site-nav, btn, hero, glass, marquee, feature, card-cat, bento, faq, cta-card, footer. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; background: var(--color-canvas); }
body {
  position: relative; margin: 0;
  font: 400 var(--text-body)/1.6 var(--font-sans);
  letter-spacing: var(--tracking-body);
  color: var(--color-ink); background: var(--color-canvas);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: var(--tracking-display); line-height: 1.08; text-wrap: balance; }
p { margin: 0; }
a { color: var(--color-primary-on-dark); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; }
a, button, summary, input, select, textarea, label { touch-action: manipulation; }
a, button { -webkit-tap-highlight-color: rgb(127 176 242 / 0.18); }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
::selection { background: rgb(var(--color-glow) / 0.6); color: #fff; }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: currentColor; }
.serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; }
.skip-link { position: absolute; left: var(--space-md); top: -60px; z-index: 999; background: #fff; color: #000; padding: var(--space-sm) var(--space-lg); border-radius: var(--radius-pill); transition: top var(--dur-fast); }
.skip-link:focus { top: var(--space-xs); }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--text { max-width: var(--container-text); }
.nav-sentinel { position: absolute; top: 24px; left: 0; width: 1px; height: 1px; pointer-events: none; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs);
  min-height: 44px; padding: 11px 24px; border: 1px solid transparent; border-radius: var(--radius-pill);
  font-size: 0.9375rem; font-weight: 500; line-height: 1.2; text-decoration: none !important; white-space: nowrap;
  transition: background-color var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast), transform var(--dur-fast);
}
.btn:active { transform: scale(0.96); }
.btn--primary { background: var(--color-primary); color: #fff; box-shadow: 0 0 0 1px rgb(127 176 242 / 0.35), 0 8px 28px rgb(var(--color-glow) / 0.35); }
.btn--primary:hover { background: var(--color-primary-hover); }
.btn--white { background: #fff; color: #000; }
.btn--white:hover { background: #e5e7eb; }
.btn--dark { background: var(--color-surface-3); color: #fff; border-color: rgb(255 255 255 / 0.06); }
.btn--dark:hover { background: #1b3d72; }
.btn--ghost { background: transparent; color: #fff; border-color: rgb(255 255 255 / 0.22); }
.btn--ghost:hover { background: rgb(255 255 255 / 0.08); border-color: rgb(255 255 255 / 0.4); }
.btn--white-ghost { background: transparent; color: #fff; border-color: rgb(255 255 255 / 0.3); }
.btn--white-ghost:hover { background: rgb(255 255 255 / 0.1); }
.btn--whatsapp { background: var(--color-whatsapp); color: #fff; }
.btn--whatsapp:hover { background: #0b6634; }
.btn--sm { min-height: 40px; padding: 8px 18px; font-size: var(--text-caption); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; }
.text-link { display: inline-flex; align-items: center; gap: 4px; }
.text-link .icon { transition: transform var(--dur-fast); }
.text-link:hover .icon { transform: translateX(3px); }

/* ---------- Barra superior ---------- */
.utility-bar { position: relative; background: #020816; border-bottom: 1px solid rgb(127 176 242 / 0.12); color: var(--color-on-dark-muted); font-size: var(--text-caption); }
.utility-bar a { color: var(--color-on-dark-muted); }
.utility-bar a:hover { color: #fff; text-decoration: none; }
.utility-bar__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); min-height: 40px; }
.utility-bar__group { display: flex; align-items: center; gap: var(--space-md) var(--space-lg); flex-wrap: wrap; }
.utility-bar__item { display: inline-flex; align-items: center; gap: 6px; padding-block: 8px; min-height: 40px; }
.utility-bar__item .icon { color: var(--color-ink-subtle); }
.utility-bar__phones { display: flex; gap: var(--space-md); }
.utility-bar__phones a { font-variant-numeric: tabular-nums; display: inline-flex; align-items: center; min-height: 40px; }
.utility-bar__btn { background: transparent; border: 0; color: var(--color-on-dark-muted); font-size: var(--text-caption); }
.utility-bar__btn:hover { color: #fff; }
.utility-bar__social { display: flex; gap: 2px; }
.utility-bar__social a { display: inline-grid; place-items: center; width: 40px; height: 40px; }
.sedes { position: relative; }
.sedes > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; }
.sedes > summary::-webkit-details-marker { display: none; }
.sedes[open] > summary .icon-caret { transform: rotate(180deg); }
.sedes__panel { position: absolute; left: 0; top: 100%; z-index: var(--z-menu); width: min(360px, 90vw); background: var(--color-surface-2); border: 1px solid var(--color-hairline); border-radius: 0 0 var(--radius-sm) var(--radius-sm); padding: var(--space-md); display: grid; gap: var(--space-sm); }
.sedes__panel a { display: block; }
.sedes__panel strong { display: block; font-weight: 600; color: #fff; }
.sedes__panel span { color: var(--color-on-dark-muted); }
.utility-bar__desktop { display: none; }
.utility-bar__mobile { justify-content: center; width: 100%; }
@media (min-width: 900px) { .utility-bar__desktop { display: flex; } .utility-bar__mobile { display: none; } }
@media (min-width: 900px) and (max-width: 1099px) { .utility-bar__social.utility-bar__desktop { display: none; } }

/* ---------- Navegacion (sticky: transparente arriba, negro 80% con blur al bajar) ---------- */
header { display: contents; }
.site-nav { position: sticky; top: 0; z-index: var(--z-header); background: transparent; border-bottom: 1px solid transparent; transition: background-color var(--dur-base), backdrop-filter var(--dur-base), border-color var(--dur-base); }
.site-nav.is-scrolled { background: rgb(3 10 24 / 0.8); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom-color: rgb(127 176 242 / 0.14); }
.site-nav__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); min-height: 72px; }
.site-nav__brand { display: block; line-height: 0; border-radius: 10px; overflow: hidden; }
.site-nav__brand img { height: 40px; width: auto; }
.site-nav__menu { display: none; }
.site-nav__links { display: flex; align-items: center; gap: 4px; }
.site-nav__links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; color: #d1d5db; font-size: var(--text-caption); font-weight: 500; border-radius: var(--radius-pill); text-decoration: none; transition: color var(--dur-fast), background-color var(--dur-fast); }
.site-nav__links a:hover { color: #fff; background: rgb(255 255 255 / 0.06); }
.site-nav__links a[aria-current="page"] { color: #fff; background: rgb(255 255 255 / 0.1); }
.site-nav__toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; background: rgb(255 255 255 / 0.06); border: 1px solid rgb(255 255 255 / 0.08); color: #fff; border-radius: 50%; }
.site-nav__toggle .icon { width: 22px; height: 22px; }
.site-nav__cta { display: none; }
@media (min-width: 1000px) {
  .site-nav__inner { display: grid; grid-template-columns: 1fr auto 1fr; }
  .site-nav__menu { display: contents; }
  .site-nav__links { grid-column: 2; }
  .site-nav__cta { display: inline-flex; grid-column: 3; justify-self: end; }
  .site-nav__toggle { display: none; }
}
.drawer { position: fixed; inset: 0; z-index: var(--z-menu); background: var(--color-canvas); color: #fff; padding: var(--space-lg) var(--gutter) var(--space-xxl); overflow-y: auto; overscroll-behavior: contain; transform: translateY(-12px); opacity: 0; visibility: hidden; transition: transform var(--dur-base) var(--ease-out), opacity var(--dur-base), visibility 0s linear var(--dur-base); }
.drawer.is-open { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }
.drawer__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--space-xl); }
.drawer__top img { height: 40px; width: auto; border-radius: 10px; }
.drawer__nav a { display: flex; align-items: center; min-height: 60px; font-size: 1.5rem; font-weight: 500; letter-spacing: var(--tracking-display); color: #fff; border-bottom: 1px solid var(--color-hairline); text-decoration: none; }
.drawer__contact { display: grid; gap: var(--space-sm); margin-top: var(--space-xl); }
.drawer__contact a:not(.btn) { color: #d1d5db; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; }

/* ---------- Secciones ---------- */
.section { padding-block: var(--space-section); }
.section--dark { background: radial-gradient(60% 80% at 85% 0%, rgb(var(--color-glow) / 0.22), transparent 70%), var(--color-surface); }
.section--mist { background: linear-gradient(to bottom, var(--color-canvas-mist), var(--color-canvas)); }
.section__head { display: grid; gap: var(--space-sm); max-width: 60ch; margin-bottom: var(--space-xl); }
.section__head--center { margin-inline: auto; text-align: center; justify-items: center; }
.section__title { font-size: var(--text-display); font-weight: 600; }
.section__lead { font-size: var(--text-lead); line-height: 1.55; color: var(--color-ink-muted); font-weight: 400; letter-spacing: 0; }
.section__actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-xl); }
.section__actions--center { justify-content: center; }
.badge { display: inline-flex; align-items: center; gap: 8px; width: fit-content; padding: 6px 14px; border-radius: var(--radius-pill); background: rgb(31 99 189 / 0.18); border: 1px solid rgb(127 176 242 / 0.3); font-size: var(--text-fine); font-weight: 500; color: #d1d5db; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.badge .icon { width: 14px; height: 14px; }
.badge--blue .icon { color: var(--color-primary-on-dark); }
.badge--amber .icon { color: #fbbf24; }
.badge--green .icon { color: #4ade80; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; min-height: 100dvh; margin-top: -72px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 144px var(--gutter) 168px; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -2; background: var(--color-canvas); }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.8; }
.hero::before { content: ""; position: absolute; left: 50%; bottom: -30%; width: 140%; aspect-ratio: 2 / 1; translate: -50% 0; z-index: -1; background: radial-gradient(closest-side, rgb(var(--color-glow) / 0.75), transparent); pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, rgb(3 10 24 / 0.5), rgb(10 40 90 / 0.15) 35%, rgb(3 10 24 / 0.72) 78%, var(--color-canvas) 100%); pointer-events: none; }
.hero__title { font-size: var(--text-hero); font-weight: 500; letter-spacing: -0.035em; line-height: 1.04; max-width: 17ch; margin-block: var(--space-lg); }
.hero__lead { font-size: 1rem; color: #b6bcc7; max-width: 44ch; line-height: 1.6; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-sm); margin-top: var(--space-xl); }

/* ---------- Tarjeta de cotizacion (vidrio) ---------- */
.glass { background: rgb(9 24 52 / 0.78); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); border: 1px solid rgb(127 176 242 / 0.22); border-radius: var(--radius-lg); }
.quote-bar { position: relative; z-index: 3; margin-top: -120px; padding: var(--space-lg); }
@media (min-width: 900px) { .quote-bar { margin-top: -132px; padding: var(--space-lg) var(--space-xl); } }
.quote-bar__head { margin-bottom: var(--space-md); }
.quote-bar__title { font-size: var(--text-tagline); font-weight: 600; }
.quote-bar__sub { color: var(--color-ink-muted); font-size: var(--text-caption); margin-top: 4px; }

/* ---------- Formularios ---------- */
.form { display: grid; gap: var(--space-md); }
.form--row { grid-template-columns: 1fr; }
@media (min-width: 700px) { .form--row { grid-template-columns: repeat(2, 1fr); } .form--row .field--wide, .form--row .form__actions, .form--row .form__status { grid-column: 1 / -1; } }
@media (min-width: 700px) { .form--bar { grid-template-columns: repeat(2, 1fr); } .form--bar .field--wide, .form--bar .form__actions, .form--bar .form__status { grid-column: 1 / -1; } }
@media (min-width: 1100px) { .form--bar { grid-template-columns: 1fr 1fr 1fr 1.5fr auto; align-items: end; } .form--bar .field--wide, .form--bar .form__actions { grid-column: auto; } .form--bar .form__status { grid-column: 1 / -1; } }
.form--bar textarea.field__control { height: 46px; min-height: 46px; resize: none; }
.field { display: grid; gap: 6px; }
.field__label { font-size: var(--text-caption); font-weight: 500; color: var(--color-ink-80); }
.field__label small { font-weight: 400; color: var(--color-ink-muted); }
.field__control { width: 100%; min-height: 46px; padding: 11px 16px; background: rgb(255 255 255 / 0.05); color: #fff; border: 1px solid var(--color-hairline-strong); border-radius: var(--radius-sm); transition: border-color var(--dur-fast), background-color var(--dur-fast), box-shadow var(--dur-fast); }
textarea.field__control { min-height: 46px; resize: vertical; }
select.field__control { background-color: #141416; color: #fff; }
select.field__control option { background: #141416; color: #fff; }
.field__control:hover { border-color: rgb(255 255 255 / 0.6); }
.field__control:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 0; border-color: var(--color-focus); background: rgb(255 255 255 / 0.08); }
.field__control[aria-invalid="true"] { border-color: var(--color-error); }
.field__control::file-selector-button { margin-right: 12px; padding: 6px 14px; border: 0; border-radius: var(--radius-pill); background: var(--color-surface-3); color: #fff; font: inherit; cursor: pointer; }
.field__error { color: var(--color-error); font-size: var(--text-caption); }
.field__error:empty { display: none; }
.field__file { padding: 8px 10px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { padding: var(--space-md); border-radius: var(--radius-sm); font-size: var(--text-caption); }
.form__status:empty { display: none; }
.form__status--ok { background: rgb(74 222 128 / 0.12); color: #86efac; border: 1px solid rgb(74 222 128 / 0.3); }
.form__status--err { background: rgb(248 113 113 / 0.12); color: #fca5a5; border: 1px solid rgb(248 113 113 / 0.3); }
.form__note { font-size: var(--text-fine); color: var(--color-ink-muted); }

.modal { overscroll-behavior: contain; border: 1px solid var(--color-hairline); padding: 0; border-radius: var(--radius-xl); width: min(560px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow: auto; color: #fff; background: #0e0e10; }
.modal::backdrop { background: rgb(0 0 0 / 0.7); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.modal__inner { padding: var(--space-lg); }
.modal__head { display: flex; align-items: start; justify-content: space-between; gap: var(--space-md); margin-bottom: var(--space-lg); }
.modal__close { flex: none; width: 44px; height: 44px; margin: -8px -8px 0 0; display: grid; place-items: center; background: transparent; border: 0; border-radius: 50%; color: #fff; }
.modal__close:hover { background: rgb(255 255 255 / 0.08); }

/* ---------- Marquee de clientes ---------- */
.marquee-section { padding-block: var(--space-xl) var(--space-section); text-align: center; }
.marquee-section__label { font-size: var(--text-caption); font-weight: 500; color: var(--color-ink-subtle); margin-bottom: var(--space-lg); }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee__item { flex: none; margin-inline: -70px; }
.marquee__item img { height: 96px; width: auto; max-width: none; filter: invert(1) grayscale(1) brightness(1.1); mix-blend-mode: screen; opacity: 0.75; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Categorias ---------- */
.grid-cat { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-sm); }
@media (min-width: 640px) { .grid-cat { grid-template-columns: repeat(3, 1fr); gap: var(--space-md); } }
@media (min-width: 1100px) { .grid-cat { grid-template-columns: repeat(5, 1fr); } }
.grid-cat > li { display: flex; }
.card-cat { flex: 1; display: flex; flex-direction: column; background: var(--color-surface); border: var(--hairline-card); border-radius: var(--radius-lg); padding: var(--space-xs); color: inherit; text-decoration: none !important; transition: border-color var(--dur-base), transform var(--dur-base) var(--ease-out), background-color var(--dur-base); }
.card-cat:hover { border-color: rgb(127 176 242 / 0.5); background: var(--color-surface-2); transform: translateY(-4px); }
.card-cat__media { position: relative; aspect-ratio: 1; border-radius: calc(var(--radius-lg) - 6px); overflow: hidden; background: #eef1f4; }
.card-cat__media img { width: 100%; height: 100%; object-fit: cover; }
.card-cat__media--placeholder { display: grid; place-items: center; background: repeating-linear-gradient(115deg, #f3f5f7 0 3px, #e9edf1 3px 6px); }
.card-cat__media--placeholder img { width: 78%; height: auto; object-fit: contain; mix-blend-mode: multiply; opacity: 0.9; }
.card-cat__title { font-size: 0.9375rem; font-weight: 500; line-height: 1.3; margin: var(--space-sm) var(--space-xs) 0; flex: 1; letter-spacing: -0.01em; }
.card-cat__more { margin: var(--space-xs) var(--space-xs) var(--space-xs); font-size: var(--text-caption); color: var(--color-primary-on-dark); display: inline-flex; align-items: center; gap: 4px; }

/* ---------- Features (texto + medio con tarjeta flotante) ---------- */
.feature { display: grid; gap: var(--space-xxl); align-items: center; }
@media (min-width: 960px) { .feature { grid-template-columns: 1fr 1fr; gap: 80px; } .feature--flip .feature__media { order: -1; } }
.feature__text { display: grid; gap: var(--space-md); justify-items: start; }
.feature__title { font-size: var(--text-display); font-weight: 600; max-width: 16ch; }
.feature__lead { font-size: var(--text-lead); color: var(--color-ink-muted); max-width: 46ch; line-height: 1.6; }
.feature__list { display: grid; gap: var(--space-sm); margin-top: var(--space-xs); }
.feature__list li { display: flex; gap: var(--space-sm); align-items: flex-start; color: var(--color-ink-80); }
.feature__list .icon { color: var(--color-primary-on-dark); margin-top: 4px; }
.feature__media { position: relative; isolation: isolate; border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--color-hairline); padding: var(--space-lg); min-height: 420px; display: grid; align-content: end; }
.feature__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.feature__media::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgb(0 0 0 / 0.55), rgb(0 0 0 / 0.1) 60%); }
.float-card { padding: var(--space-md); display: grid; gap: var(--space-md); }
.float-card__stat { display: flex; align-items: baseline; gap: 10px; }
.float-card__num { font-size: clamp(3.5rem, 2.5rem + 4vw, 5.5rem); font-weight: 500; letter-spacing: -0.05em; line-height: 0.9; font-variant-numeric: tabular-nums; }
.float-card__unit { color: var(--color-ink-80); line-height: 1.2; }
.chip-row { display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.chip-pill { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 6px 14px; border-radius: 12px; background: rgb(255 255 255 / 0.07); border: 1px solid rgb(255 255 255 / 0.06); font-size: var(--text-caption); color: #e5e7eb; text-decoration: none !important; transition: background-color var(--dur-fast); }
a.chip-pill:hover { background: rgb(255 255 255 / 0.14); }
.input-mock { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: rgb(255 255 255 / 0.07); border: 1px solid rgb(255 255 255 / 0.06); color: var(--color-ink-muted); font-size: var(--text-caption); }
.input-mock__send { margin-left: auto; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #fff; color: #000; }

/* ---------- Banda azul (CTA de calidad) ---------- */
.cta-card { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius-xl); border: 1px solid rgb(127 176 242 / 0.25); background: var(--color-primary); padding: clamp(32px, 6vw, 72px); display: grid; gap: var(--space-lg); align-items: center; }
.cta-card::before { content: ""; position: absolute; inset: -40% -10% auto auto; width: 70%; aspect-ratio: 1; z-index: -1; background: radial-gradient(closest-side, rgb(255 255 255 / 0.25), transparent); }
@media (min-width: 900px) { .cta-card { grid-template-columns: 1fr auto; } }
.cta-card__title { font-size: var(--text-display); font-weight: 500; max-width: 18ch; color: #fff; }
.cta-card .btn--white { color: #0b2a55; }

/* ---------- Proyectos ---------- */
.bento { display: grid; gap: var(--space-md); }
@media (min-width: 900px) { .bento { grid-template-columns: 7fr 5fr; grid-template-rows: 1fr 1fr; } .bento > :first-child { grid-row: 1 / 3; } }
.card-proj { position: relative; display: block; overflow: hidden; border-radius: var(--radius-xl); background: var(--color-surface); border: var(--hairline-card); color: #fff; text-decoration: none !important; min-height: 260px; isolation: isolate; }
.card-proj img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 900ms var(--ease-out); }
.card-proj::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgb(0 0 0 / 0.85), rgb(0 0 0 / 0) 62%); }
.card-proj:hover img { transform: scale(1.05); }
.card-proj__body { position: absolute; inset: auto 0 0 0; padding: var(--space-lg); display: grid; gap: 4px; }
.card-proj__title { font-size: var(--text-section); font-weight: 500; letter-spacing: -0.03em; }
.card-proj__sub { font-size: var(--text-caption); color: #d1d5db; }
.bento > :first-child { min-height: 400px; }
.grid-proj { display: grid; gap: var(--space-md); }
@media (min-width: 640px) { .grid-proj { grid-template-columns: repeat(2, 1fr); } }
.grid-proj .card-proj { aspect-ratio: 4 / 3; }

/* ---------- Slider (destacados) ---------- */
.slider { position: relative; overflow: hidden; background: var(--color-surface); border: var(--hairline-card); border-radius: var(--radius-xl); }
.slider__track { display: grid; }
.slider__slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity 600ms var(--ease-out), visibility 0s linear 600ms; }
.slider__slide.is-active { opacity: 1; visibility: visible; transition-delay: 0s; }
.slider__slide img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 0 center; }
.slider__slide a { display: block; }
.slider__controls { position: absolute; inset-inline: 0; bottom: var(--space-md); display: flex; justify-content: center; align-items: center; gap: var(--space-xs); pointer-events: none; }
.slider__controls > * { pointer-events: auto; }
.slider__dots { display: flex; gap: 2px; background: rgb(0 0 0 / 0.55); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-radius: var(--radius-pill); padding: 0 6px; }
.slider__dot { width: 44px; height: 44px; background: transparent; border: 0; display: grid; place-items: center; padding: 0; }
.slider__dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: rgb(255 255 255 / 0.4); transition: background-color var(--dur-fast), transform var(--dur-fast); }
.slider__dot:hover::before { background: rgb(255 255 255 / 0.7); }
.slider__dot[aria-current="true"]::before { background: #fff; transform: scale(1.25); }
.slider__btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgb(0 0 0 / 0.55); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: #fff; transition: transform var(--dur-fast), background-color var(--dur-fast); }
.slider__btn:hover { background: rgb(0 0 0 / 0.75); }
.slider__btn:active { transform: scale(0.92); }
@media (min-width: 900px) { .slider__slide img { aspect-ratio: 16 / 5; object-position: center; max-height: 560px; } }

/* ---------- FAQ ---------- */
.faq { border: 1px solid var(--color-hairline); border-radius: var(--radius-lg); background: transparent; overflow: hidden; }
.faq__item + .faq__item { border-top: 1px solid var(--color-hairline); }
.faq__q { margin: 0; font-size: 1rem; line-height: 1.4; letter-spacing: 0; font-weight: 500; }
.faq__btn { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); width: 100%; min-height: 64px; padding: 20px 24px; background: transparent; border: 0; color: #fff; text-align: left; font-weight: 500; transition: background-color var(--dur-fast); }
.faq__btn:hover { background: rgb(255 255 255 / 0.03); }
.faq__btn:focus-visible { outline-offset: -3px; }
.faq__icon { flex: none; transition: transform var(--dur-base) var(--ease-out); color: var(--color-ink-muted); }
.faq__btn[aria-expanded="true"] .faq__icon { transform: rotate(45deg); color: #fff; }
.faq__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--dur-base) var(--ease-out); }
.faq__panel.is-open { grid-template-rows: 1fr; }
.faq__panel > div { overflow: hidden; }
.faq__a { padding: 0 24px 24px; color: var(--color-ink-muted); font-size: var(--text-caption); line-height: 1.7; max-width: 70ch; }

/* ---------- Clientes / catalogos ---------- */
.catalogs { display: grid; gap: var(--space-md); }
@media (min-width: 1000px) { .catalogs { grid-template-columns: repeat(2, 1fr); } }
.catalog { display: flex; align-items: center; gap: var(--space-lg); background: var(--color-surface); border: var(--hairline-card); border-radius: var(--radius-lg); padding: var(--space-lg); }
.catalog__icon { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: var(--radius-sm); background: rgb(255 255 255 / 0.06); color: var(--color-primary-on-dark); }
.catalog__icon .icon { width: 30px; height: 30px; }
.catalog__body { flex: 1; min-width: 0; }
.catalog__title { font-size: var(--text-tagline); font-weight: 500; }
.catalog__meta { color: var(--color-ink-muted); font-size: var(--text-caption); }
@media (max-width: 520px) { .catalog { flex-wrap: wrap; padding: var(--space-md); } .catalog .btn { width: 100%; } }

/* ---------- Paginas internas ---------- */
.page-head { position: relative; isolation: isolate; padding-block: var(--space-xl) var(--space-xxl); border-bottom: 1px solid var(--color-hairline); background: radial-gradient(60% 120% at 20% -20%, rgb(var(--color-glow) / 0.4), transparent 70%), var(--color-canvas); }
@media (min-width: 900px) { .page-head { padding-block: 72px 64px; } }
.page-head__title { font-size: var(--text-hero); font-weight: 500; max-width: 18ch; letter-spacing: -0.035em; }
.page-head__lead { font-size: var(--text-lead); line-height: 1.55; color: var(--color-ink-muted); margin-top: var(--space-md); max-width: 60ch; letter-spacing: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: var(--text-caption); color: var(--color-ink-muted); margin-bottom: var(--space-md); }
.crumbs a { color: var(--color-ink-muted); display: inline-flex; align-items: center; min-height: 24px; }
.crumbs a:hover { color: #fff; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #5b6168; }
.prose { max-width: 68ch; color: var(--color-ink-80); }
.prose > * + * { margin-top: var(--space-md); }
.prose h2 { font-size: var(--text-section); margin-top: var(--space-xl); color: #fff; }
.prose h3 { font-size: var(--text-tagline); margin-top: var(--space-lg); color: #fff; }
.prose ul { display: grid; gap: var(--space-sm); }
.prose ul li { padding-left: 22px; position: relative; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: 0.7em; width: 6px; height: 6px; border-radius: 50%; background: var(--color-primary-on-dark); }
.prose strong { font-weight: 600; color: #fff; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.layout-aside { display: grid; gap: var(--space-xl); align-items: start; }
@media (min-width: 960px) { .layout-aside { grid-template-columns: minmax(0, 1fr) 400px; gap: var(--space-xxl); } .layout-aside__side { position: sticky; top: 96px; } }
.panel { background: var(--color-surface); border: var(--hairline-card); border-radius: var(--radius-xl); padding: var(--space-lg); }
.panel + .panel { margin-top: var(--space-md); }
.panel--narrow .form--row { grid-template-columns: 1fr; }
.panel__title { font-size: var(--text-tagline); font-weight: 600; margin-bottom: var(--space-md); }
.side-list { display: grid; }
.side-list a { display: flex; justify-content: space-between; gap: var(--space-sm); align-items: center; min-height: 44px; padding-block: 6px; color: var(--color-ink-80); border-bottom: 1px solid var(--color-divider-soft); }
.side-list li:last-child a { border-bottom: 0; }
.side-list a:hover { color: #fff; text-decoration: none; }
.gallery { display: grid; gap: var(--space-sm); }
.gallery__main { border-radius: var(--radius-xl); overflow: hidden; background: var(--color-surface); border: var(--hairline-card); }
.gallery__main img { width: 100%; aspect-ratio: 1; object-fit: cover; }
@media (min-width: 700px) { .gallery__main img { aspect-ratio: 4 / 3; } }
.gallery__thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: var(--space-xs); }
.gallery__thumb { padding: 0; border: 2px solid transparent; border-radius: var(--radius-sm); overflow: hidden; background: none; line-height: 0; }
.gallery__thumb[aria-current="true"] { border-color: #fff; }
.gallery__thumb img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.share { display: flex; flex-wrap: wrap; gap: var(--space-xs); align-items: center; margin-top: var(--space-lg); }
.share__label { font-size: var(--text-caption); color: var(--color-ink-muted); margin-right: 4px; }
.grid-2 { display: grid; gap: var(--space-md); }
@media (min-width: 800px) { .grid-2 { grid-template-columns: repeat(2, 1fr); gap: var(--space-lg); } }
.tile { background: var(--color-surface); border: var(--hairline-card); border-radius: var(--radius-xl); padding: var(--space-xl); }
.tile__title { font-size: var(--text-section); font-weight: 500; margin-bottom: var(--space-md); }
.tile p { color: var(--color-ink-80); }
.chips { display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--color-hairline); border-radius: var(--radius-pill); background: transparent; color: var(--color-ink-80); font-size: var(--text-caption); transition: border-color var(--dur-fast), background-color var(--dur-fast); }
.chip:hover { border-color: rgb(255 255 255 / 0.4); color: #fff; text-decoration: none; }
.chip[aria-current="page"] { background: #fff; color: #000; border-color: #fff; font-weight: 600; }
.chips--scroll { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: thin; }
.chips--scroll .chip { flex: none; }
.checklist { display: grid; gap: var(--space-sm); }
.checklist li { display: flex; gap: 10px; align-items: flex-start; color: var(--color-ink-80); }
.checklist .icon { color: var(--color-primary-on-dark); margin-top: 3px; }
.values { display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.values li { padding: 10px 20px; border-radius: var(--radius-pill); background: rgb(255 255 255 / 0.07); font-weight: 500; }
.adv { display: grid; gap: var(--space-lg); }
@media (min-width: 700px) { .adv { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .adv { grid-template-columns: repeat(4, 1fr); } }
.adv__item h3 { font-size: var(--text-tagline); font-weight: 500; margin-bottom: 6px; }
.adv__item p { color: var(--color-ink-muted); }
.empty { text-align: center; padding: var(--space-xxl) var(--space-lg); background: var(--color-surface); border: var(--hairline-card); border-radius: var(--radius-xl); display: grid; gap: var(--space-md); justify-items: center; }
.empty h2 { font-size: var(--text-section); }
.empty p { color: var(--color-ink-muted); max-width: 52ch; }
.posts { display: grid; gap: var(--space-xl); }
@media (min-width: 700px) { .posts { grid-template-columns: repeat(2, 1fr); } }
.card-post { display: grid; gap: var(--space-sm); color: inherit; text-decoration: none !important; align-content: start; }
.card-post__media { border-radius: var(--radius-xl); overflow: hidden; background: var(--color-surface); border: var(--hairline-card); }
.card-post__media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 900ms var(--ease-out); }
.card-post:hover .card-post__media img { transform: scale(1.04); }
.card-post__title { font-size: var(--text-tagline); font-weight: 500; line-height: 1.25; }
.card-post:hover .card-post__title { color: var(--color-primary-on-dark); }
.card-post__excerpt { color: var(--color-ink-muted); }
.meta { font-size: var(--text-caption); color: var(--color-ink-muted); }
.contact-list { display: grid; gap: var(--space-lg); }
.contact-list h3 { font-size: var(--text-caption); font-weight: 500; color: var(--color-ink-muted); margin-bottom: 4px; letter-spacing: 0; }
.contact-list a:not(.btn) { color: #fff; display: inline-flex; align-items: center; min-height: 32px; }
.contact-list address { font-style: normal; }
.map { border-radius: var(--radius-xl); overflow: hidden; border: var(--hairline-card); background: var(--color-surface); }
.map iframe { width: 100%; height: 380px; border: 0; filter: invert(0.92) hue-rotate(180deg) saturate(0.7) brightness(0.95); }
.map__tabs { display: flex; flex-wrap: wrap; gap: var(--space-xs); padding: var(--space-sm); border-bottom: 1px solid var(--color-hairline); }

/* ---------- Pie ---------- */
.footer { position: relative; isolation: isolate; border-top: 1px solid rgb(255 255 255 / 0.06); color: var(--color-on-dark-muted); font-size: var(--text-caption); padding-top: var(--space-section); overflow: hidden; }
.footer__bg { position: absolute; inset: 0; z-index: -2; }
.footer__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.4; }
.footer::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, var(--color-canvas), rgb(3 10 24 / 0.62) 45%, var(--color-canvas)); }
.footer a:not(.btn) { color: var(--color-on-dark-muted); }
.footer a:not(.btn):hover { color: #fff; }
.footer__cta { text-align: center; display: grid; gap: var(--space-lg); justify-items: center; margin-bottom: clamp(64px, 10vw, 128px); }
.footer__cta-title { font-size: var(--text-hero); font-weight: 500; letter-spacing: -0.035em; max-width: 16ch; color: #fff; }
.footer__grid { display: grid; gap: var(--space-xl); padding-bottom: var(--space-xxl); }
@media (min-width: 700px) { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; } }
.footer__brand img { height: 44px; width: auto; margin-bottom: var(--space-md); border-radius: 10px; }
.footer__title { color: #fff; font-size: var(--text-caption); font-weight: 600; margin-bottom: var(--space-sm); letter-spacing: 0; }
.footer__list { display: grid; }
.footer__list a { display: inline-flex; align-items: center; min-height: 32px; line-height: 1.3; transition: color var(--dur-fast); }
.footer__contact { display: grid; gap: var(--space-sm); }
.footer__contact a { display: inline-flex; gap: 8px; align-items: flex-start; min-height: 32px; padding-block: 5px; transition: color var(--dur-fast); }
.footer__contact .icon { margin-top: 2px; flex: none; }
.footer__social { display: flex; gap: 2px; margin-top: var(--space-md); }
.footer__social a { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgb(255 255 255 / 0.07); }
.footer__social a:hover { background: rgb(255 255 255 / 0.16); }
.footer__bottom { border-top: 1px solid rgb(255 255 255 / 0.06); padding-block: var(--space-lg); display: flex; flex-wrap: wrap; gap: var(--space-sm) var(--space-lg); justify-content: space-between; font-size: var(--text-fine); color: var(--color-ink-subtle); }

.footer .wa-float, .footer .wa-float:hover { color: #fff; }
.wa-float { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: var(--z-float); width: 56px; height: 56px; border-radius: 50%; background: var(--color-whatsapp); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 28px rgb(0 0 0 / 0.5), 0 0 0 1px rgb(255 255 255 / 0.12); transition: transform var(--dur-fast); }
.wa-float:hover { transform: scale(1.06); text-decoration: none; }
.wa-float:active { transform: scale(0.94); }
.wa-float .icon { width: 30px; height: 30px; }

/* ---------- Movimiento: FadeInUp (translate-y-10, 1000ms) ---------- */
.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity var(--dur-reveal) var(--ease-out), transform var(--dur-reveal) var(--ease-out); transition-delay: var(--d, 0ms); will-change: opacity, transform; }
.js .reveal.is-in { opacity: 1; transform: none; will-change: auto; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
}
@media print { .utility-bar, .site-nav, .wa-float, .quote-bar, .footer { display: none; } }
.tile a { text-decoration: underline; text-underline-offset: 3px; }
