/* =========================================================================
   AFCLO — Sistema visual del sitio corporativo
   Paleta: rojo · blanco · plomo · negro
   ========================================================================= */

/* Variables ------------------------------------------------------------- */
:root {
    --ink: #090a0d;
    --ink-1: #0f1115;
    --ink-2: #161820;
    --ink-3: #1f232b;
    --paper: #f8fafc;
    --paper-2: #edf0f5;
    --white: #ffffff;
    --accent: #dc2626;
    --accent-2: #ef4444;
    --accent-deep: #b91c1c;
    --accent-dark: #991b1b;
    --accent-subtle: rgba(220, 38, 38, .10);
    --plomo: #475569;
    --plomo-dark: #334155;
    --plomo-light: #64748b;
    --plomo-subtle: #94a3b8;
    --plomo-surface: #e2e8f0;
    --text: #0b0f19;
    --text-soft: #334155;
    --muted: #64748b;
    --muted-dark: #94a3b8;
    --line: rgba(15, 23, 42, .11);
    --line-strong: rgba(15, 23, 42, .22);
    --line-dark: rgba(255, 255, 255, .12);
    --line-dark-strong: rgba(255, 255, 255, .22);
    --font-display: "Archivo", "Arial Narrow", Arial, sans-serif;
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    --container: 1280px;
    --gutter: clamp(16px, 4vw, 56px);
    --header-h: 86px;
    --ease: cubic-bezier(.22, .61, .36, 1);
    --ease-out: cubic-bezier(.16, 1, .3, 1);
    --shadow: 0 24px 48px -12px rgba(15, 23, 42, .14);
    --shadow-red: 0 16px 36px -10px rgba(220, 38, 38, .35);
}

/* Reset ----------------------------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
    -webkit-hyphens: none !important;
    -moz-hyphens: none !important;
    -ms-hyphens: none !important;
    hyphens: none !important;
}
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
section[id], div[id], footer[id] { scroll-margin-top: 96px; }
body, h1, h2, h3, h4, h5, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
strong { font-weight: 700; }
::selection { background: var(--accent); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

html, body {
    min-height: 100%;
    -webkit-hyphens: none !important;
    -moz-hyphens: none !important;
    -ms-hyphens: none !important;
    hyphens: none !important;
}
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
    background: var(--paper);
    overflow-x: hidden;
    width: 100%;
    position: relative;
    -webkit-font-smoothing: antialiased;
}
html.nav-open, body.nav-open { overflow: hidden; overscroll-behavior: none; }

h1, h2, h3, h4, .display {
    font-family: var(--font-display);
    font-weight: 800;
    line-height: .98;
    letter-spacing: -.03em;
    text-wrap: balance;
    word-break: normal;
    overflow-wrap: break-word;
    -webkit-hyphens: none !important;
    -moz-hyphens: none !important;
    -ms-hyphens: none !important;
    hyphens: none !important;
}
h1 { font-size: clamp(2.7rem, 6.4vw, 6.2rem); }
h2 { font-size: clamp(2.1rem, 4.4vw, 4rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.85rem); line-height: 1.1; }
p {
    text-wrap: pretty;
    text-align: justify;
    hyphens: none; /* desactiva división de palabras */
    text-justify: inter-word;
    text-align-last: left;
    word-break: normal;
    overflow-wrap: break-word;
    -webkit-hyphens: none !important;
    -moz-hyphens: none !important;
    -ms-hyphens: none !important;
    hyphens: none !important;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}
.sr-only {
    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: 12px; left: 12px; z-index: 2000;
    background: var(--accent); color: var(--ink); padding: 12px 20px;
    font-weight: 700; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase;
    transform: translateY(-150%); transition: transform .2s var(--ease);
}
.skip-link:focus { transform: translateY(0); }
::marker { color: var(--accent); }

.icon { width: 22px; height: 22px; flex: none; }
.icon--xs { width: 16px; height: 16px; }
.icon--sm { width: 18px; height: 18px; }

/* Tipografía de sección ------------------------------------------------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: 14px;
    font-family: var(--font-body);
    font-size: .68rem; font-weight: 600; letter-spacing: .22em;
    text-transform: uppercase; color: var(--muted);
    margin-bottom: 22px;
}
.eyebrow__line { width: 34px; height: 1px; background: var(--accent); flex: none; }
.eyebrow__num { color: var(--accent); font-weight: 700; }
.eyebrow--light { color: var(--muted-dark); }
.eyebrow--light .eyebrow__line { background: var(--accent); }

.section { position: relative; padding-block: clamp(76px, 9vw, 138px); }
.section--paper { background: var(--paper); color: var(--text); }
.section--white { background: var(--white); color: var(--text); }
.section--dark { background: var(--ink); color: var(--white); }
.section--tight { padding-block: clamp(52px, 6vw, 84px); }
.section-head {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .62fr);
    gap: clamp(24px, 5vw, 72px); align-items: end;
    margin-bottom: clamp(40px, 5vw, 70px);
}
.section-head--stack { grid-template-columns: 1fr; }
.section-head__body { max-width: 780px; }
.section-head__aside { justify-self: end; max-width: 420px; }
.section-head__aside p { color: var(--muted); font-size: .98rem; }
.section--dark .section-head__aside p { color: var(--muted-dark); }
.section-title { margin-bottom: 20px; }
.section-title em { font-style: normal; color: var(--accent); }
.section-lead { color: var(--text-soft); font-size: 1.02rem; max-width: 58ch; }
.section--dark .section-lead { color: var(--muted-dark); }
.section-head__aside .btn { margin-top: 24px; }
.section--dark .section-head__aside p { color: var(--muted-dark); }

/* Texto corrido bien estructurado, justificado y encuadrado (sin guiones de separación) */
.hero__lead,
.div-hero__lead,
.about-copy > p,
.about-copy p,
.split__copy > p,
.split__copy p,
.section-lead,
.section-head__aside p,
.services-head__aside p,
.services-head__aside > p,
.why-lead,
.accordion__panel-inner p,
.contact-copy > p,
.contact-copy p,
.contact-panel__foot p,
.quote-copy > p,
.quote-copy p,
.quote-form__head p,
.pillar p,
.value-card p,
.area-card p,
.area-card__body p,
.svc-card p,
.service-card__text,
.services-cta__copy p,
.feature-card p,
.adv-item p,
.timeline__item p,
.project-card__body p,
.project-card p,
.quote-step p,
.footer-brand__text,
.cta-band p,
.page-hero p,
.prose p,
.notice {
    text-align: justify;
    hyphens: none; /* desactiva división de palabras */
    text-justify: inter-word;
    text-align-last: left;
    text-wrap: pretty;
    word-break: normal;
    overflow-wrap: break-word;
    -webkit-hyphens: none !important;
    -moz-hyphens: none !important;
    -ms-hyphens: none !important;
    hyphens: none !important;
}

/* Elementos de apoyo que preservan alineación natural */
.hero__aside-label,
.div-hero__aside-label,
.hero__aside-foot,
.nav-dropdown__label,
.contact-panel__label,
.projects-note,
.footer-bottom p {
    text-align: left;
    text-align-last: left;
    -webkit-hyphens: none !important;
    hyphens: none !important;
}
.hero__foot-note {
    text-align: right;
    text-align-last: right;
    -webkit-hyphens: none !important;
    hyphens: none !important;
}

/* Botones --------------------------------------------------------------- */
.btn {
    --btn-bg: transparent; --btn-fg: var(--ink); --btn-line: var(--line-strong);
    position: relative; display: inline-flex; align-items: center; justify-content: center;
    gap: 10px; padding: 14px 24px; border: 1px solid var(--btn-line);
    background: var(--btn-bg); color: var(--btn-fg);
    font-family: var(--font-body); font-size: .68rem; font-weight: 700;
    letter-spacing: .13em; text-transform: uppercase; line-height: 1;
    max-width: 100%;
    transition: color .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease), transform .35s var(--ease);
    overflow: hidden; isolation: isolate;
}
.btn::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: var(--ink); transform: translateY(101%);
    transition: transform .42s var(--ease-out);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { color: var(--white); border-color: var(--ink); }
.btn .icon { width: 17px; height: 17px; transition: transform .35s var(--ease); }
.btn:hover .icon { transform: translate(3px, -3px); }
.btn--accent { --btn-bg: var(--accent); --btn-fg: var(--ink); --btn-line: var(--accent); }
.btn--accent::before { background: var(--ink); }
.btn--accent:hover { color: var(--white); border-color: var(--ink); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--white); --btn-line: rgba(255,255,255,.45); }
.btn--ghost::before { background: var(--white); }
.btn--ghost:hover { color: var(--ink); border-color: var(--white); }
.btn--ghost-dark { --btn-bg: transparent; --btn-fg: var(--text); --btn-line: var(--line-strong); }
.btn--ghost-dark::before { background: var(--ink); }
.btn--ghost-dark:hover { color: var(--white); border-color: var(--ink); }
.btn--white { --btn-bg: var(--white); --btn-fg: var(--ink); --btn-line: var(--white); }
.btn--white::before { background: var(--accent); }
.btn--white:hover { color: var(--ink); border-color: var(--accent); }
.btn--sm { padding: 11px 18px; font-size: .62rem; }
.btn--lg { padding: 17px 30px; }
.btn--block { width: 100%; }
.btn__arrow { display: inline-flex; }
.btn--text {
    padding: 0 0 6px; border: 0; border-bottom: 1px solid currentColor;
    font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700;
    color: var(--accent); background: none;
}
.btn--text::before { display: none; }
.btn--text:hover { color: var(--accent-2); }
.btn--text .icon { width: 15px; height: 15px; }

/* Header ---------------------------------------------------------------- */
.site-header {
    position: fixed; inset: 0 0 auto; z-index: 1000;
    color: var(--white);
    padding-top: env(safe-area-inset-top, 0px);
}
.site-header::before {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: transparent;
    transition: background .4s var(--ease), box-shadow .4s var(--ease), backdrop-filter .4s var(--ease), -webkit-backdrop-filter .4s var(--ease);
}
.site-header::after {
    content: ""; position: absolute; inset: auto 0 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.24), transparent);
    opacity: .7; pointer-events: none;
}
.site-header.is-scrolled::before {
    background: rgba(9, 9, 10, .93);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .28);
}
body.nav-open .site-header::before {
    background: rgba(9, 10, 13, .98);
}
.scroll-progress {
    position: absolute; top: 0; left: 0; height: 2px; width: 0;
    background: var(--accent); z-index: 2; transition: width .1s linear;
}
.topbar {
    overflow: hidden; max-height: 44px; opacity: 1;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    transition: max-height .45s var(--ease), opacity .3s var(--ease);
}
.site-header.is-scrolled .topbar { max-height: 0; opacity: 0; border-color: transparent; }
.topbar__inner {
    display: flex; align-items: center; justify-content: space-between;
    min-height: 42px; gap: 24px;
    font-size: .68rem; letter-spacing: .08em; color: rgba(255, 255, 255, .68);
}
.topbar__meta, .topbar__right { display: flex; align-items: center; gap: 24px; }
.topbar__meta a { display: inline-flex; align-items: center; gap: 9px; transition: color .25s; }
.topbar__meta a:hover { color: var(--accent); }
.topbar__meta .icon, .topbar__tag .icon { width: 14px; height: 14px; color: var(--accent); }
.topbar__tag { display: inline-flex; align-items: center; gap: 8px; text-transform: uppercase; }
.topbar__socials { display: flex; align-items: center; gap: 4px; }
.topbar__socials a {
    display: grid; place-items: center; width: 26px; height: 26px;
    color: rgba(255,255,255,.72); transition: color .25s, background .25s;
}
.topbar__socials a:hover { color: var(--ink); background: var(--accent); }
.topbar__socials .icon { width: 14px; height: 14px; }

.nav-shell__inner {
    display: flex; align-items: center; justify-content: space-between; gap: 28px;
    height: var(--header-h); transition: height .4s var(--ease);
}
.site-header.is-scrolled .nav-shell__inner { height: 70px; }

.brand { display: inline-flex; align-items: center; gap: 13px; flex: none; }
.brand__mark {
    width: 46px; height: 46px; border-radius: 2px;
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, .35));
    transition: transform .4s var(--ease);
}
.brand:hover .brand__mark { transform: rotate(-4deg) scale(1.04); }
.brand__text {
    display: flex; flex-direction: column; align-items: center;
    text-align: center; line-height: 1; gap: 4px;
}
.brand__text strong {
    font-family: var(--font-display); font-size: 1.5rem; font-weight: 900;
    letter-spacing: .04em;
    background: linear-gradient(180deg, #ffffff 0%, #dcdcdc 34%, #8f9094 50%, #e9e9e9 64%, #ffffff 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .45));
}
.brand__text .brand__swoosh {
    display: block; width: 100%; height: 3px; margin: 1px 0;
    background: linear-gradient(90deg, rgba(240, 180, 41, 0) 0%, #f5c542 18%, #e0a92e 50%, #a8730a 82%, rgba(240, 180, 41, 0) 100%);
    border-radius: 60% 60% 60% 60% / 100% 100% 100% 100%;
    box-shadow: 0 1px 3px rgba(224, 169, 46, .4);
}
.brand__text > span:not(.brand__swoosh) {
    font-size: .5rem; letter-spacing: .21em; text-transform: uppercase;
    color: rgba(255, 255, 255, .6); font-weight: 500;
}
.brand__divider {
    flex: none; width: 1px; height: 34px; margin-inline: 2px;
    background: linear-gradient(180deg,
        rgba(245, 197, 66, 0) 0%,
        rgba(245, 197, 66, .55) 22%,
        rgba(245, 197, 66, .55) 78%,
        rgba(245, 197, 66, 0) 100%);
}
.brand__services {
    display: flex; flex-direction: column; gap: 1px;
    font-size: .4rem; letter-spacing: .09em; line-height: 1.5;
    text-transform: uppercase; white-space: nowrap;
    color: rgba(245, 197, 66, .85); font-weight: 600;
}
.brand__services > span { display: block; }
.brand--footer .brand__text > .brand__services {
    display: block; font-size: .44rem; letter-spacing: .07em; line-height: 1.4;
    color: rgba(245, 197, 66, .85); font-weight: 600; white-space: nowrap;
}
.brand--footer .brand__text strong { font-size: 1.6rem; }

.main-nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 34px); }
.nav__link {
    position: relative; display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 0; font-size: .72rem; font-weight: 500; letter-spacing: .09em;
    text-transform: uppercase; color: rgba(255, 255, 255, .8);
    transition: color .25s var(--ease); white-space: nowrap;
}
.nav__link::after {
    content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
    background: var(--accent); transform: scaleX(0); transform-origin: right;
    transition: transform .4s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--white); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__link .icon { margin-left: 2px; transition: transform .3s; }
.nav__link-arrow { display: none; }
.nav__link-badge { display: inline-flex; align-items: center; gap: 4px; }
.nav__link-pill { display: none; }
.nav__item--dropdown { position: relative; }
.nav__item--dropdown.is-open .nav__link .icon,
.nav__item--dropdown.is-open .nav__link-chevron { transform: rotate(180deg); }

.nav-dropdown {
    position: absolute; top: calc(100% + 18px); right: 0; width: 360px;
    max-width: calc(100vw - 32px);
    background: var(--ink-1); border: 1px solid var(--line-dark);
    box-shadow: 0 40px 80px rgba(0, 0, 0, .5); padding: 14px;
    opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.nav-dropdown__inner { display: block; }
.nav-dropdown__list { display: flex; flex-direction: column; }
.nav__item--dropdown:hover .nav-dropdown,
.nav__item--dropdown:focus-within .nav-dropdown,
.nav__item--dropdown.is-open .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown__label {
    font-size: .58rem; text-transform: uppercase; letter-spacing: .18em;
    color: var(--muted-dark); padding: 8px 12px 14px;
}
.nav-dropdown__item {
    display: flex; align-items: center; gap: 14px; padding: 14px 12px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    transition: background .25s, color .25s;
}
.nav-dropdown__item:hover { background: rgba(255, 255, 255, .05); }
.nav-dropdown__item.is-current { background: var(--accent-subtle); border-left: 2px solid var(--accent); }
.nav-dropdown__num {
    font-family: var(--font-display); font-size: .7rem; font-weight: 700;
    color: var(--accent); letter-spacing: .06em; flex: none;
}
.nav-dropdown__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.nav-dropdown__body strong { font-size: .8rem; font-weight: 600; letter-spacing: .02em; }
.nav-dropdown__body small { font-size: .68rem; color: var(--muted-dark); line-height: 1.4; }
.nav-dropdown__arrow { margin-left: auto; color: var(--muted-dark); transition: transform .3s, color .3s; display: flex; align-items: center; }
.nav-dropdown__item:hover .nav-dropdown__arrow { color: var(--accent); transform: translate(2px, -2px); }
.nav-mobile-head { display: none; }
.nav-mobile-extra { display: none; }
.nav-backdrop { display: none; }

.nav-actions { display: flex; align-items: center; gap: 16px; flex: none; }
.nav-toggle {
    display: none; width: 44px; height: 44px; border-radius: 10px;
    background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .14);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    flex-direction: column; align-items: center; justify-content: center; gap: 5px;
    transition: background .25s var(--ease), border-color .25s var(--ease), transform .2s, box-shadow .25s;
    cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.nav-toggle span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--white); transition: transform .35s cubic-bezier(0.16, 1, 0.3, 1), opacity .2s, background .25s, width .25s; }
.nav-toggle span:nth-child(2) { width: 14px; margin-left: auto; margin-right: 2px; background: var(--accent-2); }
.nav-toggle:hover { border-color: var(--accent); background: rgba(220, 38, 38, .14); box-shadow: 0 0 16px rgba(220, 38, 38, .35); }
.nav-toggle[aria-expanded="true"] { background: rgba(220, 38, 38, .2); border-color: var(--accent); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); background: var(--accent); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: translateX(-10px); }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background: var(--accent); }

/* Mensajes flash -------------------------------------------------------- */
.flash-stack {
    position: fixed; top: 110px; right: 24px; z-index: 1500;
    display: flex; flex-direction: column; gap: 10px; width: min(380px, calc(100vw - 40px));
}
.flash {
    display: flex; align-items: flex-start; gap: 12px; padding: 16px 18px;
    background: var(--white); color: var(--text); border-left: 3px solid var(--accent);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .22); animation: flashIn .45s var(--ease-out) both;
}
.flash--error { border-left-color: #c0392b; }
.flash--success { border-left-color: #2e7d52; }
.flash .icon { color: var(--accent); width: 20px; height: 20px; margin-top: 2px; }
.flash--error .icon { color: #c0392b; }
.flash--success .icon { color: #2e7d52; }
.flash p { font-size: .86rem; line-height: 1.5; padding-right: 8px; }
.flash__close { margin-left: auto; padding: 4px; color: var(--muted); }
.flash__close .icon { width: 16px; height: 16px; color: currentColor; margin: 0; }
@keyframes flashIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: none; } }

/* Hero ------------------------------------------------------------------ */
.hero {
    position: relative; min-height: 100svh; min-height: 100vh; display: flex; align-items: flex-end;
    padding-top: calc(var(--header-h) + clamp(40px, 8vh, 84px));
    padding-bottom: clamp(26px, 4vh, 44px);
    background: var(--ink); color: var(--white); overflow: hidden;
    isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -3; }
.hero__bg img {
    width: 100%; height: 100%; object-fit: cover; object-position: center 42%;
    transform: scale(1.08); animation: heroZoom 22s var(--ease-out) forwards;
}
.hero__veil {
    position: absolute; inset: 0; z-index: -2;
    background:
        linear-gradient(180deg, rgba(8, 8, 9, .72) 0%, rgba(8, 8, 9, .18) 32%, rgba(8, 8, 9, .55) 70%, rgba(8, 8, 9, .96) 100%),
        linear-gradient(90deg, rgba(8, 8, 9, .92) 0%, rgba(8, 8, 9, .55) 48%, rgba(8, 8, 9, .12) 100%);
}
.hero__grain {
    position: absolute; inset: 0; z-index: -1; opacity: .35; pointer-events: none;
    background-image: repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 1px, transparent 1px 3px);
    mix-blend-mode: overlay;
}
.hero__glow {
    position: absolute; z-index: -1; width: 58vw; height: 58vw; right: -18vw; bottom: -30vw;
    background: radial-gradient(circle, rgba(220, 38, 38, .18), transparent 62%);
    filter: blur(20px); pointer-events: none;
}
.hero__inner {
    position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 330px;
    gap: clamp(30px, 5vw, 80px); align-items: end; width: 100%;
}
.hero__content { max-width: 940px; animation: riseIn .9s var(--ease-out) both .15s; }
.hero__title {
    font-size: clamp(2.3rem, 5.2vw, 5.2rem); line-height: .96;
    letter-spacing: -.035em; max-width: 18ch; margin-bottom: 20px;
    text-shadow: 0 18px 40px rgba(0, 0, 0, .3);
}
.hero__title span { color: var(--accent); }
.hero__lead {
    max-width: 54ch; color: rgba(255, 255, 255, .77); font-size: clamp(.92rem, 1.1vw, 1.04rem);
    line-height: 1.65; margin-bottom: 26px; font-weight: 300;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__actions .btn { flex: 0 1 auto; }
.hero__aside {
    border: 1px solid rgba(255, 255, 255, .18);
    background: rgba(10, 10, 11, .42); backdrop-filter: blur(14px);
    padding: 20px 20px 14px; animation: riseIn 1s var(--ease-out) both .35s;
}
.hero__aside-label {
    font-size: .66rem; letter-spacing: .08em;
    color: var(--muted-dark); padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.13);
    margin-bottom: 6px;
}
.hero__area {
    display: flex; align-items: center; gap: 12px; padding: 13px 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
    transition: color .25s;
}
.hero__area:last-of-type { border-bottom: 0; }
.hero__area-num {
    font-family: var(--font-display); font-size: .65rem; font-weight: 700;
    color: var(--accent); width: 24px; flex: none;
}
.hero__area strong { font-size: .82rem; font-weight: 500; letter-spacing: .03em; }
.hero__area .icon { margin-left: auto; width: 16px; height: 16px; color: rgba(255,255,255,.5); transition: transform .3s, color .3s; }
.hero__area:hover { color: var(--accent); }
.hero__area:hover .icon { color: var(--accent); transform: translate(3px, -3px); }
.hero__aside-foot {
    margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.13);
    font-size: .64rem; letter-spacing: .04em; color: var(--muted-dark);
}
.hero__foot {
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
    margin-top: clamp(26px, 4vw, 48px); padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,.14);
    animation: riseIn 1s var(--ease-out) both .55s;
}
.hero__scroll {
    display: inline-flex; align-items: center; gap: 14px;
    font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.7);
}
.hero__scroll-line { width: 46px; height: 1px; background: var(--accent); position: relative; overflow: hidden; }
.hero__scroll-line::after {
    content: ""; position: absolute; inset: 0; background: var(--white);
    transform: translateX(-100%); animation: scrollLine 2.4s var(--ease) infinite;
}
.hero__foot-note { font-size: .58rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.45); }
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1.02); } }
@keyframes riseIn { from { opacity: 0; transform: translateY(34px); } to { opacity: 1; transform: none; } }
@keyframes scrollLine { 0% { transform: translateX(-100%); } 55%, 100% { transform: translateX(100%); } }

/* Ticker ---------------------------------------------------------------- */
.ticker {
    background: var(--accent); color: var(--white); overflow: hidden;
    border-block: 1px solid rgba(0, 0, 0, .2);
}
.ticker__track {
    display: flex; width: max-content; animation: ticker 36s linear infinite;
}
.ticker__group { display: flex; align-items: center; flex: none; }
.ticker__item {
    display: inline-flex; align-items: center; gap: 18px; padding: 15px 26px;
    font-family: var(--font-display); font-size: .8rem; font-weight: 700;
    letter-spacing: .05em; white-space: nowrap;
}
.ticker__item::after { content: ""; width: 5px; height: 5px; background: rgba(255, 255, 255, .7); transform: rotate(45deg); }
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Nosotros -------------------------------------------------------------- */
.about-grid {
    display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1fr);
    gap: clamp(34px, 6vw, 96px); align-items: center;
}
.about-visual { position: relative; padding: 0 34px 44px 0; }
.about-visual__main {
    position: relative; aspect-ratio: 4 / 4.6; overflow: hidden; background: var(--ink-2);
}
.about-visual__main img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.about-visual:hover .about-visual__main img { transform: scale(1.05); }
.about-visual__small {
    position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 4 / 3;
    border: 8px solid var(--paper); overflow: hidden; box-shadow: var(--shadow);
}
.about-visual__small img { width: 100%; height: 100%; object-fit: cover; }
.about-visual__frame {
    position: absolute; left: 0; top: 0; width: 58%; height: 58%;
    border-left: 1px solid var(--accent); border-top: 1px solid var(--accent);
    transform: translate(-14px, -14px); pointer-events: none;
}
.about-visual__badge {
    position: absolute; left: -14px; bottom: 54px; background: var(--ink); color: var(--white);
    padding: 18px 22px; display: flex; align-items: center; gap: 14px;
    box-shadow: 0 22px 40px rgba(0,0,0,.22);
}
.about-visual__badge strong {
    font-family: var(--font-display); font-size: 2rem; line-height: 1; color: var(--accent);
}
.about-visual__badge span { font-size: .58rem; letter-spacing: .16em; text-transform: uppercase; line-height: 1.5; color: rgba(255,255,255,.7); }
.about-copy h2 { max-width: 16ch; }
.about-copy > p { color: var(--text-soft); margin-bottom: 18px; font-size: .98rem; }
.about-points { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 26px; margin: 28px 0 32px; }
.about-points li { display: flex; align-items: flex-start; gap: 10px; font-size: .84rem; font-weight: 500; }
.about-points .icon { width: 16px; height: 16px; color: var(--accent-deep); margin-top: 3px; }
.about-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }

.stats {
    display: grid; grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--line); margin-top: clamp(44px, 6vw, 78px);
}
.stat { padding: 28px 24px 0 0; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; padding-left: 24px; }
.stat + .stat { padding-left: 24px; }
.stat__value {
    font-family: var(--font-display); font-size: clamp(2.4rem, 4vw, 3.6rem); font-weight: 800;
    line-height: 1; letter-spacing: -.04em; color: var(--ink); margin-bottom: 8px;
}
.stat__value sup { font-size: .42em; color: var(--accent-deep); vertical-align: super; margin-left: 2px; }
.stat__label { font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

/* Misión / visión ------------------------------------------------------- */
.purpose { overflow: hidden; }
.purpose::before {
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
    background-image:
        linear-gradient(135deg, transparent 0 46%, rgba(255,255,255,.03) 46% 46.4%, transparent 46.4% 100%);
    background-size: 84px 84px;
}
.purpose .container { position: relative; }
.purpose-head { max-width: 760px; margin-bottom: clamp(38px, 5vw, 62px); }
.purpose-head h2 { max-width: 16ch; }
.pillar-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); }
.pillar {
    position: relative; background: var(--ink-1); padding: clamp(30px, 4vw, 54px);
    overflow: hidden; transition: background .4s var(--ease);
}
.pillar:hover { background: var(--ink-2); }
.pillar__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 46px; }
.pillar__num { font-family: var(--font-display); font-size: .8rem; font-weight: 700; letter-spacing: .1em; color: var(--accent); }
.pillar__icon {
    display: grid; place-items: center; width: 46px; height: 46px;
    border: 1px solid var(--line-dark); color: var(--accent);
}
.pillar__icon .icon { width: 21px; height: 21px; }
.pillar h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); letter-spacing: .01em; margin-bottom: 18px; }
.pillar h3 span { color: var(--accent); }
.pillar p { color: var(--muted-dark); font-size: .93rem; line-height: 1.75; max-width: 52ch; }
.pillar__mark {
    position: absolute; right: 22px; bottom: -42px; font-family: var(--font-display);
    font-size: 10rem; font-weight: 900; line-height: 1; color: rgba(255,255,255,.03);
    pointer-events: none; user-select: none;
}

/* Valores --------------------------------------------------------------- */
.values-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 1px; background: var(--line); border: 1px solid var(--line);
}
.value-card {
    position: relative; background: var(--white); padding: 30px 26px 34px;
    min-height: 230px; display: flex; flex-direction: column;
    transition: background .4s var(--ease), color .4s var(--ease);
}
.value-card::after {
    content: ""; position: absolute; inset: auto 0 0; height: 2px; background: var(--accent);
    transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.value-card:hover { background: var(--ink); color: var(--white); }
.value-card:hover::after { transform: scaleX(1); }
.value-card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: auto; }
.value-card__icon { color: var(--accent-deep); transition: color .3s; }
.value-card:hover .value-card__icon { color: var(--accent); }
.value-card__icon .icon { width: 26px; height: 26px; }
.value-card__num { font-family: var(--font-display); font-size: .68rem; font-weight: 700; color: var(--muted); }
.value-card:hover .value-card__num { color: rgba(255,255,255,.4); }
.value-card h3 { font-size: 1.08rem; letter-spacing: 0; margin: 22px 0 8px; line-height: 1.2; }
.value-card p { font-size: .78rem; line-height: 1.6; color: var(--muted); transition: color .3s; }
.value-card:hover p { color: var(--muted-dark); }

/* Áreas ----------------------------------------------------------------- */
.areas-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.area-card {
    position: relative; display: flex; flex-direction: column; min-height: 560px;
    background: var(--ink-1); border: 1px solid var(--line-dark); overflow: hidden;
    color: var(--white); transition: transform .5s var(--ease), border-color .4s;
}
.area-card:hover { transform: translateY(-6px); border-color: rgba(220, 38, 38, .55); box-shadow: 0 20px 40px rgba(0, 0, 0, .35); }
.area-card__media { position: absolute; inset: 0; }
.area-card__media img {
    width: 100%; height: 100%; object-fit: cover; opacity: .78;
    transition: transform 1.1s var(--ease-out), opacity .5s;
}
.area-card:hover .area-card__media img { transform: scale(1.07); opacity: .9; }
.area-card__media::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(8,8,9,.15) 0%, rgba(8,8,9,.35) 38%, rgba(8,8,9,.94) 100%);
}
.area-card__top {
    position: relative; display: flex; justify-content: space-between; align-items: flex-start;
    padding: 24px 24px 0;
}
.area-card__num {
    font-family: var(--font-display); font-size: .72rem; font-weight: 700; letter-spacing: .12em;
    color: var(--white); background: var(--accent); padding: 7px 10px;
}
.area-card__icon { color: rgba(255,255,255,.85); }
.area-card__icon .icon { width: 26px; height: 26px; }
.area-card__body { position: relative; margin-top: auto; padding: 0 26px 28px; }
.area-card__kicker {
    font-size: .56rem; letter-spacing: .2em; text-transform: uppercase;
    color: var(--accent); margin-bottom: 12px; display: block;
}
.area-card h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); margin-bottom: 12px; }
.area-card p { font-size: .83rem; line-height: 1.65; color: rgba(255,255,255,.68); margin-bottom: 22px; }
.area-card__link {
    display: flex; align-items: center; justify-content: space-between;
    padding-top: 16px; border-top: 1px solid rgba(255,255,255,.16);
    font-size: .64rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase;
    color: var(--white); transition: color .25s;
}
.area-card__link .icon-wrap {
    display: grid; place-items: center; width: 38px; height: 38px;
    border: 1px solid rgba(255,255,255,.28); transition: background .3s, border-color .3s, color .3s;
}
.area-card__link .icon { width: 16px; height: 16px; }
.area-card:hover .area-card__link { color: var(--accent-2); }
.area-card:hover .area-card__link .icon-wrap { background: var(--accent); border-color: var(--accent); color: var(--white); }

/* Servicios corporativos ------------------------------------------------ */
.services-section { position: relative; isolation: isolate; overflow: hidden; }
.services-section::before,
.services-section::after { content: ""; position: absolute; z-index: -1; pointer-events: none; }
.services-section::before {
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(10,10,11,.035) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(10,10,11,.035) 1px, transparent 1px);
    background-size: 92px 92px;
    -webkit-mask-image: radial-gradient(120% 82% at 50% 0%, #000 0%, transparent 78%);
    mask-image: radial-gradient(120% 82% at 50% 0%, #000 0%, transparent 78%);
}
.services-section::after {
    top: -180px; right: -160px; width: 620px; height: 620px; border-radius: 50%;
    background: radial-gradient(circle, rgba(220,38,38,.14), transparent 68%);
    filter: blur(10px);
}

.services-head {
    display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr);
    gap: clamp(28px, 5vw, 72px); align-items: end;
    padding-top: 30px; margin-bottom: clamp(38px, 5vw, 60px);
    border-top: 1px solid var(--line-strong);
}
.services-title {
    font-size: clamp(2rem, 4.6vw, 4.1rem); line-height: .98;
    letter-spacing: -.035em; max-width: 16ch;
}
.services-title em { font-style: normal; color: var(--accent); position: relative; }
.services-title em::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: .04em; height: .09em;
    background: linear-gradient(90deg, var(--accent), rgba(220,38,38,0));
    transform: scaleX(0); transform-origin: left;
    transition: transform .8s var(--ease-out) .2s;
}
.services-title.is-visible em::after { transform: scaleX(1); }
.services-head__aside { justify-self: end; max-width: 34ch; }
.services-head__aside > p { font-size: .9rem; line-height: 1.7; color: var(--text-soft); }
.services-head__meta {
    display: flex; align-items: center; gap: 14px; margin-top: 26px;
    padding-top: 20px; border-top: 1px solid var(--line);
}
.services-head__count {
    font-family: var(--font-display); font-weight: 800;
    font-size: clamp(2.4rem, 3.4vw, 3.2rem); line-height: 1; color: var(--ink);
    letter-spacing: -.04em;
}
.services-head__count::after {
    content: ""; display: inline-block; width: .18em; height: .18em; margin-left: .12em;
    background: var(--accent); border-radius: 50%; vertical-align: .05em;
}
.services-head__meta > span:last-child {
    font-size: .68rem; line-height: 1.5; letter-spacing: .1em;
    text-transform: uppercase; color: var(--muted);
}

.services-grid {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(14px, 1.6vw, 22px);
}
.service-card {
    --mx: 75%; --my: 0%;
    position: relative; isolation: isolate; overflow: hidden;
    display: flex; flex-direction: column; min-height: 270px;
    padding: clamp(24px, 2.4vw, 34px);
    background: var(--white); border: 1px solid var(--line); border-radius: 2px;
    color: var(--text);
    opacity: 0; translate: 0 36px; scale: .96;
    transition:
        opacity .85s var(--ease-out) calc(var(--i, 0) * 80ms),
        translate .85s var(--ease-out) calc(var(--i, 0) * 80ms),
        scale .85s var(--ease-out) calc(var(--i, 0) * 80ms),
        transform .55s var(--ease-out),
        border-color .45s var(--ease),
        box-shadow .55s var(--ease),
        color .45s var(--ease);
}
.services-grid.is-inview .service-card { opacity: 1; translate: 0 0; scale: 1; }
.service-card::after {
    content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background:
        radial-gradient(440px circle at var(--mx) var(--my), rgba(220,38,38,.28), transparent 62%),
        linear-gradient(155deg, #1a1b1f 0%, #0b0b0d 60%, #070708 100%);
    opacity: 0; transition: opacity .5s var(--ease);
}
.service-card > * { position: relative; z-index: 1; }
.service-card:hover,
.service-card:focus-within {
    transform: translateY(-9px);
    border-color: rgba(220,38,38,.55);
    box-shadow: 0 26px 50px -24px rgba(220,38,38,.3);
    color: var(--white);
}
.service-card:hover::after,
.service-card:focus-within::after { opacity: 1; }

.service-card__bar {
    position: absolute; inset: 0 0 auto 0; height: 2px; z-index: 2;
    background: var(--accent); transform: scaleX(0); transform-origin: left;
    transition: transform .55s var(--ease-out);
}
.service-card:hover .service-card__bar,
.service-card:focus-within .service-card__bar { transform: scaleX(1); }

.service-card__index {
    position: absolute; top: clamp(14px, 1.6vw, 20px); right: clamp(16px, 2vw, 24px); z-index: 2;
    font-family: var(--font-display); font-weight: 800;
    font-size: clamp(2.4rem, 3.4vw, 3.4rem); line-height: 1; letter-spacing: -.04em;
    color: transparent; -webkit-text-stroke: 1px rgba(10,10,11,.15);
    transition: -webkit-text-stroke-color .4s var(--ease), color .4s var(--ease), transform .5s var(--ease-out);
}
.service-card:hover .service-card__index,
.service-card:focus-within .service-card__index {
    -webkit-text-stroke-color: rgba(220,38,38,.75);
    color: rgba(220,38,38,.12); transform: translateY(-2px);
}

.service-card__top { display: flex; align-items: center; margin-bottom: auto; }
.service-card__icon {
    position: relative; display: inline-flex; align-items: center; justify-content: center;
    width: 54px; height: 54px; border: 1px solid var(--line-strong); color: var(--accent);
    transition: color .4s var(--ease), border-color .4s var(--ease), background .4s var(--ease);
}
.service-card__icon::after {
    content: ""; position: absolute; inset: -1px; border: 1px solid var(--accent);
    opacity: 0; transform: scale(1);
    transition: opacity .4s var(--ease), transform .6s var(--ease-out);
}
.service-card__icon .icon { width: 26px; height: 26px; }
.service-card:hover .service-card__icon,
.service-card:focus-within .service-card__icon {
    color: var(--white); border-color: var(--accent); background: var(--accent);
}
.service-card:hover .service-card__icon::after,
.service-card:focus-within .service-card__icon::after { opacity: 1; transform: scale(1.16); }

.service-card__body { margin-top: clamp(34px, 3.4vw, 48px); }
.service-card__rule {
    display: block; width: 34px; height: 2px; background: var(--accent);
    transform: scaleX(.32); transform-origin: left;
    transition: transform .55s var(--ease-out);
}
.service-card:hover .service-card__rule,
.service-card:focus-within .service-card__rule { transform: scaleX(1); }
.service-card__title {
    margin: 16px 0 10px; font-size: 1.2rem; line-height: 1.18;
    letter-spacing: -.01em; transition: color .4s var(--ease);
}
.service-card__text {
    font-size: .82rem; line-height: 1.65; color: var(--muted); max-width: 34ch;
    transition: color .4s var(--ease);
}
.service-card:hover .service-card__text,
.service-card:focus-within .service-card__text { color: rgba(255,255,255,.72); }

.service-card__corner {
    position: absolute; right: clamp(18px, 2vw, 26px); bottom: clamp(18px, 2vw, 26px); z-index: 2;
    display: inline-flex; color: var(--muted); opacity: .55;
    transform: translate(-4px, 4px);
    transition: opacity .4s var(--ease), transform .5s var(--ease-out), color .4s var(--ease);
}
.service-card__corner .icon { width: 18px; height: 18px; }
.service-card:hover .service-card__corner,
.service-card:focus-within .service-card__corner {
    opacity: 1; transform: none; color: var(--accent);
}

.services-cta {
    position: relative; overflow: hidden;
    display: flex; align-items: center; justify-content: space-between;
    gap: clamp(22px, 3vw, 48px); margin-top: clamp(34px, 4vw, 52px);
    padding: clamp(26px, 3vw, 40px) clamp(26px, 3.4vw, 48px);
    background: var(--ink); color: var(--white);
}
.services-cta::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(420px circle at 12% 0%, rgba(220,38,38,.2), transparent 60%),
        linear-gradient(115deg, transparent 0 62%, rgba(220,38,38,.07) 62% 62.4%, transparent 62.4%);
}
.services-cta > * { position: relative; z-index: 1; }
.services-cta__copy { display: flex; align-items: center; gap: clamp(16px, 2vw, 26px); }
.services-cta__mark {
    flex: none; display: inline-flex; align-items: center; justify-content: center;
    width: 52px; height: 52px; border: 1px solid var(--line-dark-strong);
    font-family: var(--font-display); font-weight: 300; font-size: 1.9rem;
    line-height: 1; color: var(--accent);
    transition: transform .5s var(--ease-out), border-color .4s var(--ease);
}
.services-cta:hover .services-cta__mark { transform: rotate(90deg); border-color: rgba(220,38,38,.6); }
.services-cta__copy p { font-size: .9rem; line-height: 1.6; color: var(--muted-dark); max-width: 46ch; }
.services-cta__copy strong { color: var(--white); font-weight: 600; }
.services-cta__btn { flex: none; }
.services-cta__btn.btn--accent::before { background: var(--white); }
.services-cta__btn.btn--accent:hover { color: var(--ink); border-color: var(--white); }

/* Proyectos ------------------------------------------------------------- */
.projects-toolbar {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
    gap: 20px; margin-bottom: 34px; padding-bottom: 20px; border-bottom: 1px solid var(--line-dark);
}
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-btn {
    padding: 9px 16px; border: 1px solid var(--line-dark);
    font-size: .62rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
    color: var(--muted-dark); transition: all .3s var(--ease);
}
.filter-btn:hover { color: var(--white); border-color: rgba(255,255,255,.45); }
.filter-btn.is-active { background: var(--accent); border-color: var(--accent); color: var(--white); font-weight: 700; box-shadow: 0 4px 14px rgba(220,38,38,.35); }
.projects-note { display: inline-flex; align-items: center; gap: 8px; font-size: .62rem; color: var(--muted-dark); letter-spacing: .04em; }
.projects-note .icon { width: 14px; height: 14px; color: var(--accent); }
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.project-card {
    position: relative; background: var(--ink-1); border: 1px solid var(--line-dark);
    display: flex; flex-direction: column; min-width: 0;
    transition: border-color .35s, transform .45s var(--ease), opacity .3s, box-shadow .35s;
}
.project-card:hover { border-color: rgba(220, 38, 38, .55); transform: translateY(-4px); box-shadow: 0 16px 36px rgba(0, 0, 0, .4); }
.project-card.is-hidden { display: none; }
.project-card__media {
    position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; overflow: hidden;
    padding: 0; background: var(--ink-2); text-align: left;
}
.project-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out), opacity .4s; opacity: .9; }
.project-card:hover .project-card__media img { transform: scale(1.06); opacity: 1; }
.project-card__media::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(8,8,9,.72));
    opacity: 0; transition: opacity .35s;
}
.project-card:hover .project-card__media::after { opacity: 1; }
.project-card__zoom {
    position: absolute; right: 14px; bottom: 14px; z-index: 2;
    display: grid; place-items: center; width: 40px; height: 40px;
    background: var(--accent); color: var(--white);
    opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s;
}
.project-card:hover .project-card__zoom { opacity: 1; transform: none; }
.project-card__zoom .icon { width: 16px; height: 16px; }
.project-card__tag {
    position: absolute; left: 14px; top: 14px; z-index: 2;
    background: rgba(9, 9, 10, .78); backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.16); color: var(--white);
    padding: 6px 10px; font-size: .54rem; letter-spacing: .14em; text-transform: uppercase;
}
.project-card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.project-card h3 { font-size: 1.14rem; letter-spacing: -.005em; margin-bottom: 10px; color: var(--white); }
.project-card p { font-size: .8rem; color: var(--muted-dark); line-height: 1.6; margin-bottom: 18px; }
.project-card__meta {
    display: flex; flex-wrap: wrap; gap: 14px; margin-top: auto; padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,.1); font-size: .62rem; color: var(--muted-dark);
}
.project-card__meta span { display: inline-flex; align-items: center; gap: 6px; }
.project-card__meta .icon { width: 13px; height: 13px; color: var(--accent); }
.project-card__demo {
    font-size: .5rem; letter-spacing: .12em; text-transform: uppercase;
    border: 1px solid rgba(220, 38, 38, .4); color: var(--accent-2); padding: 2px 6px;
}
.projects-empty { color: var(--muted-dark); font-size: .9rem; padding: 40px 0; }

/* Por qué elegir -------------------------------------------------------- */
.why-grid { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1fr); gap: clamp(34px, 6vw, 90px); align-items: start; }
.why-visual { position: relative; margin-top: 34px; }
.why-visual img { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; filter: saturate(.85); }
.why-visual__tag {
    position: absolute; right: -1px; bottom: -1px; background: var(--accent); color: var(--white);
    padding: 18px 24px; font-family: var(--font-display); font-weight: 800;
    font-size: .78rem; letter-spacing: .08em; text-transform: uppercase;
    box-shadow: 0 10px 24px rgba(220, 38, 38, .3);
}
.why-lead { color: var(--text-soft); margin-bottom: 30px; font-size: .98rem; max-width: 48ch; }
.why-sticky { position: sticky; top: 120px; }
.accordion { border-top: 1px solid var(--line); }
.accordion__item { border-bottom: 1px solid var(--line); }
.accordion__trigger {
    display: flex; align-items: center; gap: 20px; width: 100%; padding: 22px 0;
    text-align: left; transition: color .25s;
}
.accordion__trigger:hover { color: var(--accent); }
.accordion__num {
    font-family: var(--font-display); font-size: .68rem; font-weight: 700; color: var(--muted);
    width: 26px; flex: none;
}
.accordion__title { font-size: 1rem; font-weight: 600; }
.accordion__plus { margin-left: auto; position: relative; width: 18px; height: 18px; flex: none; }
.accordion__plus::before, .accordion__plus::after {
    content: ""; position: absolute; top: 50%; left: 0; width: 100%; height: 1px;
    background: currentColor; transition: transform .3s var(--ease);
}
.accordion__plus::after { transform: rotate(90deg); }
.accordion__item.is-open .accordion__plus::after { transform: rotate(0); }
.accordion__item.is-open .accordion__plus { color: var(--accent); }
.accordion__panel { overflow: hidden; height: 0; transition: height .4s var(--ease); }
.accordion__panel-inner { padding: 0 0 24px 46px; }
.accordion__panel-inner p { font-size: .86rem; color: var(--muted); line-height: 1.7; max-width: 54ch; }

/* Contacto -------------------------------------------------------------- */
.contact-section { position: relative; overflow: hidden; }
.contact-section::before {
    content: ""; position: absolute; width: 50vw; height: 50vw; left: -24vw; top: -10vw;
    background: radial-gradient(circle, rgba(220, 38, 38, .14), transparent 65%); pointer-events: none;
}
.contact-grid { position: relative; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 90px); align-items: start; }
.contact-copy h2 { max-width: 13ch; margin-bottom: 22px; font-size: clamp(2.4rem, 4.6vw, 4.4rem); }
.contact-copy > p { color: var(--muted-dark); max-width: 44ch; margin-bottom: 32px; }
.contact-direct { display: flex; flex-direction: column; gap: 14px; }
.contact-direct__item {
    display: flex; align-items: center; gap: 16px; padding: 16px 18px;
    border: 1px solid var(--line-dark); transition: border-color .3s, background .3s;
}
.contact-direct__item:hover { border-color: rgba(220, 38, 38, .55); background: rgba(255,255,255,.03); }
.contact-direct__icon { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line-dark); color: var(--accent); flex: none; }
.contact-direct__icon .icon { width: 19px; height: 19px; }
.contact-direct__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.contact-direct__text small { font-size: .56rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-dark); }
.contact-direct__text strong { font-size: .9rem; font-weight: 500; }
.contact-direct__arrow { margin-left: auto; color: var(--muted-dark); }
.contact-direct__arrow .icon { width: 16px; height: 16px; }
.contact-panel { border: 1px solid var(--line-dark); background: rgba(255,255,255,.025); padding: clamp(24px, 3vw, 38px); }
.contact-panel__label { font-size: .58rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-dark); margin-bottom: 22px; }
.social-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.social-card {
    display: flex; align-items: center; gap: 12px; padding: 15px 16px;
    border: 1px solid var(--line-dark); color: rgba(255,255,255,.82);
    font-size: .76rem; transition: all .3s var(--ease);
}
.social-card .icon { width: 18px; height: 18px; color: var(--accent); transition: color .3s; }
.social-card span { white-space: nowrap; }
.social-card .social-card__arrow { margin-left: auto; color: var(--muted-dark); }
.social-card .social-card__arrow .icon { width: 13px; height: 13px; color: inherit; }
.social-card:hover { background: var(--accent); border-color: var(--accent); color: var(--white); }
.social-card:hover .icon, .social-card:hover .social-card__arrow { color: var(--white); }
.social-card--wide { grid-column: 1 / -1; }
.contact-panel__foot { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line-dark); font-size: .68rem; color: var(--muted-dark); line-height: 1.6; }
.contact-panel__foot strong { color: var(--white); font-weight: 500; }

/* Footer ---------------------------------------------------------------- */
.site-footer {
    position: relative; background: var(--ink); color: var(--white);
    padding-top: clamp(64px, 8vw, 100px); overflow: hidden;
}
.footer-glow {
    position: absolute; width: 60vw; height: 30vw; right: -10vw; top: -10vw;
    background: radial-gradient(ellipse, rgba(220,38,38,.1), transparent 65%);
    pointer-events: none;
}
.footer-top {
    position: relative; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
    gap: clamp(28px, 4vw, 64px); padding-bottom: clamp(44px, 6vw, 70px);
    border-bottom: 1px solid var(--line-dark);
}
.footer-brand__text { color: rgba(255,255,255,.68); font-size: .85rem; line-height: 1.7; margin: 22px 0 24px; max-width: 38ch; }
.footer-socials { display: flex; gap: 8px; }
.social-btn {
    display: grid; place-items: center; width: 38px; height: 38px;
    border: 1px solid var(--line-dark); color: rgba(255,255,255,.75);
    transition: all .3s var(--ease);
}
.social-btn .icon { width: 16px; height: 16px; }
.social-btn:hover { background: var(--accent); border-color: var(--accent); color: var(--white); transform: translateY(-3px); box-shadow: 0 6px 14px rgba(220,38,38,.35); }
.footer-heading {
    font-family: var(--font-body); font-size: .6rem; font-weight: 600;
    letter-spacing: .2em; text-transform: uppercase; color: var(--accent-2);
    margin-bottom: 20px;
}
.footer-links { display: flex; flex-direction: column; gap: 11px; }
.footer-links a { font-size: .82rem; color: rgba(255,255,255,.66); transition: color .25s, padding .25s; }
.footer-links a:hover { color: var(--white); padding-left: 4px; }
.footer-contact { display: flex; flex-direction: column; gap: 16px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 12px; font-size: .8rem; color: rgba(255,255,255,.66); line-height: 1.5; }
.footer-contact__icon { color: var(--accent); flex: none; margin-top: 2px; }
.footer-contact__icon .icon { width: 15px; height: 15px; }
.footer-contact a:hover { color: var(--white); }
.footer-contact br { display: none; }
.footer-bottom {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
    gap: 14px; padding-block: 26px; font-size: .68rem; color: rgba(255,255,255,.42);
}
.footer-bottom__links { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.footer-bottom__links a { transition: color .25s; }
.footer-bottom__links a:hover { color: var(--accent); }
.footer-admin { border-left: 1px solid rgba(255,255,255,.15); padding-left: 22px; }

/* Página división — hero ------------------------------------------------ */
.div-hero {
    position: relative; min-height: 82svh; display: flex; align-items: flex-end;
    padding-top: calc(var(--header-h) + 100px); padding-bottom: 44px;
    background: var(--ink); color: var(--white); overflow: hidden; isolation: isolate;
}
.div-hero__bg { position: absolute; inset: 0; z-index: -3; }
.div-hero__bg img {
    width: 100%; height: 100%; object-fit: cover; object-position: center 45%;
    animation: heroZoom 24s var(--ease-out) forwards;
}
.div-hero__veil {
    position: absolute; inset: 0; z-index: -2;
    background:
        linear-gradient(180deg, rgba(7,7,8,.78) 0%, rgba(7,7,8,.16) 36%, rgba(7,7,8,.55) 72%, rgba(7,7,8,.97) 100%),
        linear-gradient(90deg, rgba(7,7,8,.92) 0%, rgba(7,7,8,.38) 60%, rgba(7,7,8,.15) 100%);
}
.div-hero__accent {
    position: absolute; z-index: -1; right: 0; top: 0; width: 38%; height: 100%;
    background: linear-gradient(135deg, transparent 0 55%, rgba(220,38,38,.13) 55% 55.3%, transparent 55.3%);
    pointer-events: none;
}
.div-hero__inner { width: 100%; }
.crumbs {
    display: flex; flex-wrap: wrap; align-items: center; gap: 9px;
    font-size: .6rem; letter-spacing: .12em; text-transform: uppercase;
    color: rgba(255,255,255,.55); margin-bottom: 30px;
}
.crumbs a { transition: color .25s; }
.crumbs a:hover { color: var(--accent); }
.crumbs .icon { width: 12px; height: 12px; opacity: .6; }
.crumbs span[aria-current] { color: var(--accent); }
.div-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(30px, 5vw, 70px); align-items: end; }
.div-hero h1 {
    font-size: clamp(2.35rem, 4.9vw, 5rem); max-width: 18ch; line-height: .96;
    margin-bottom: 22px; animation: riseIn .9s var(--ease-out) both .1s;
}
.div-hero__lead {
    color: rgba(255,255,255,.76); max-width: 56ch; font-size: .98rem;
    margin-bottom: 30px; animation: riseIn .9s var(--ease-out) both .2s;
}
.div-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; animation: riseIn .9s var(--ease-out) both .3s; }
.div-hero__aside {
    border-left: 1px solid rgba(255,255,255,.2); padding-left: 24px;
    animation: riseIn .9s var(--ease-out) both .4s;
}
.div-hero__aside-label { font-size: .56rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-dark); margin-bottom: 16px; }
.div-hero__aside-stats { display: flex; flex-direction: column; gap: 14px; }
.div-hero__stat { display: flex; align-items: baseline; gap: 10px; }
.div-hero__stat strong { font-family: var(--font-display); font-size: 1.9rem; line-height: 1; color: var(--accent); }
.div-hero__stat span { font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.6); }

/* Página división — bloques -------------------------------------------- */
.split {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
    gap: clamp(34px, 6vw, 90px); align-items: center;
}
.split--reverse .split__media { order: 2; }
.split__copy h2 { max-width: 17ch; margin-bottom: 24px; }
.split__copy > p { color: var(--text-soft); margin-bottom: 18px; font-size: .97rem; }
.split__media { position: relative; }
.split__media img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }
.split__media::before {
    content: ""; position: absolute; left: -14px; top: -14px; width: 42%; height: 42%;
    border-left: 1px solid var(--accent); border-top: 1px solid var(--accent);
}
.split__badge {
    position: absolute; right: -1px; bottom: -1px; background: var(--ink); color: var(--white);
    padding: 20px 24px; min-width: 190px;
}
.split__badge strong { display: block; font-family: var(--font-display); font-size: 1.9rem; line-height: 1; color: var(--accent); margin-bottom: 6px; }
.split__badge span { font-size: .56rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.65); }
.split__list { display: grid; gap: 12px; margin: 26px 0 30px; }
.split__list li { display: flex; align-items: flex-start; gap: 10px; font-size: .85rem; color: var(--text-soft); }
.split__list .icon { width: 16px; height: 16px; color: var(--accent-deep); margin-top: 3px; }

.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.svc-card {
    position: relative; background: var(--white); padding: 28px 26px 32px;
    display: flex; flex-direction: column; min-height: 210px;
    transition: background .4s var(--ease), color .4s var(--ease);
}
.svc-card:hover { background: var(--ink); color: var(--white); }
.svc-card__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: auto; }
.svc-card__icon { color: var(--accent-deep); transition: color .3s; }
.svc-card__icon .icon { width: 25px; height: 25px; }
.svc-card:hover .svc-card__icon { color: var(--accent); }
.svc-card__num { font-family: var(--font-display); font-size: .68rem; font-weight: 700; color: var(--muted); letter-spacing: .08em; }
.svc-card:hover .svc-card__num { color: rgba(255,255,255,.4); }
.svc-card h3 { font-size: 1.04rem; line-height: 1.25; margin: 24px 0 8px; letter-spacing: -.005em; }
.svc-card p { font-size: .79rem; color: var(--muted); line-height: 1.6; transition: color .3s; }
.svc-card:hover p { color: var(--muted-dark); }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); }
.feature-card {
    background: var(--ink-1); padding: 30px 26px 32px; min-height: 200px;
    transition: background .35s;
}
.feature-card:hover { background: var(--ink-2); }
.feature-card__icon { color: var(--accent); margin-bottom: 30px; }
.feature-card__icon .icon { width: 24px; height: 24px; }
.feature-card h3 { font-size: 1.02rem; margin-bottom: 8px; letter-spacing: 0; }
.feature-card p { font-size: .78rem; color: var(--muted-dark); line-height: 1.65; }

/* Materiales y soluciones (sección clara, separada de videos) -------------- */
.materiales-section {
    background:
        radial-gradient(900px 420px at 88% -10%, rgba(220, 38, 38, .07), transparent 65%),
        var(--paper);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.materiales-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    gap: clamp(16px, 2vw, 24px);
}
.material-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 26px 26px 28px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
    transition: transform .35s var(--ease-out), box-shadow .35s, border-color .35s;
}
.material-card::after {
    content: "";
    position: absolute; inset: 0 auto auto 0;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    opacity: 0; transition: opacity .35s;
}
.material-card:hover {
    transform: translateY(-4px);
    border-color: rgba(220, 38, 38, .35);
    box-shadow: 0 26px 45px -28px rgba(15, 23, 42, .35);
}
.material-card:hover::after { opacity: 1; }
.material-card__top {
    display: flex; align-items: flex-start; justify-content: space-between;
    margin-bottom: 22px;
}
.material-card__icon {
    display: grid; place-items: center;
    width: 48px; height: 48px;
    border-radius: 14px;
    background: var(--accent-subtle);
    color: var(--accent-deep);
}
.material-card__icon .icon { width: 22px; height: 22px; }
.material-card__num {
    font-family: var(--font-display);
    font-size: 1.55rem; font-weight: 800; line-height: 1;
    letter-spacing: -.02em;
    color: var(--plomo-surface);
}
.material-card h3 { font-size: 1.05rem; margin: 0 0 8px; letter-spacing: 0; }
.material-card p { font-size: .85rem; line-height: 1.65; color: var(--muted); margin: 0; }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery-item {
    position: relative; display: block; width: 100%; padding: 0;
    aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink-2); text-align: left;
}
.gallery-item:nth-child(4n+1) { grid-column: span 2; aspect-ratio: auto; }
.gallery-grid--uniform .gallery-item:nth-child(4n+1) { grid-column: auto; aspect-ratio: 4 / 3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out); }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item__overlay {
    position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: space-between;
    gap: 12px; padding: 18px;
    background: linear-gradient(180deg, transparent 45%, rgba(8,8,9,.82));
    opacity: 0; transition: opacity .35s;
}
.gallery-item:hover .gallery-item__overlay, .gallery-item:focus-visible .gallery-item__overlay { opacity: 1; }
.gallery-item__title { font-size: .82rem; font-weight: 500; color: var(--white); }
.gallery-item__icon {
    display: grid; place-items: center; width: 34px; height: 34px; flex: none;
    background: var(--accent); color: var(--ink);
}
.gallery-item__icon .icon { width: 14px; height: 14px; }

/* Videos de división: tarjetas acotadas y centradas */
.div-videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 520px));
    justify-content: center;
    gap: 24px;
    align-items: start;
}
.div-video-card {
    display: flex; flex-direction: column;
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 16px;
    overflow: hidden;
    transition: transform .35s var(--ease-out), border-color .35s;
}
.div-video-card:hover { transform: translateY(-3px); border-color: rgba(220, 38, 38, .55); }
.div-video-card__media {
    width: 100%; aspect-ratio: 16 / 9;
    background: #000; overflow: hidden;
}
.div-video-card__media video,
.div-video-card__media iframe { display: block; width: 100%; height: 100%; border: 0; }
.div-video-card__media video { object-fit: contain; }
.div-video-card__body { padding: 16px 20px 20px; flex-grow: 1; }
.div-video-card__body .badge-chip { margin-bottom: 10px; }
.div-video-card__title { font-size: 1.03rem; line-height: 1.3; margin: 0 0 6px; color: var(--white); }
.div-video-card__desc { font-size: .83rem; line-height: 1.55; margin: 0; color: rgba(255, 255, 255, .68); }

.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 1px solid var(--line); }
.timeline__item { position: relative; padding: 28px 20px 0 0; border-right: 1px solid var(--line); }
.timeline__item:last-child { border-right: 0; }
.timeline__num {
    display: block; font-family: var(--font-display); font-size: 2.3rem; font-weight: 800;
    line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--accent-deep);
    margin-bottom: 18px; letter-spacing: -.03em;
}
.timeline__item h3 { font-size: .96rem; line-height: 1.25; margin-bottom: 8px; letter-spacing: 0; }
.timeline__item p { font-size: .76rem; color: var(--muted); line-height: 1.6; }
.timeline__item + .timeline__item { padding-left: 20px; }

.adv-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.adv-item { display: flex; gap: 16px; padding: 26px 24px; background: var(--white); }
.adv-item__icon { color: var(--accent-deep); flex: none; margin-top: 2px; }
.adv-item__icon .icon { width: 20px; height: 20px; }
.adv-item h3 { font-size: .98rem; letter-spacing: 0; margin-bottom: 6px; line-height: 1.3; }
.adv-item p { font-size: .78rem; color: var(--muted); line-height: 1.6; }

/* Formularios ----------------------------------------------------------- */
.quote-section { position: relative; overflow: hidden; }
.quote-section::before {
    content: ""; position: absolute; width: 46vw; height: 46vw; right: -20vw; bottom: -20vw;
    background: radial-gradient(circle, rgba(220,38,38,.12), transparent 65%); pointer-events: none;
}
.quote-grid {
    position: relative; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.1fr);
    gap: clamp(34px, 5vw, 72px); align-items: start;
}
.quote-copy h2 { max-width: 13ch; margin-bottom: 20px; }
.quote-copy > p { color: var(--muted-dark); font-size: .93rem; max-width: 42ch; margin-bottom: 30px; }
.quote-steps { display: flex; flex-direction: column; gap: 0; margin-bottom: 30px; }
.quote-step { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line-dark); }
.quote-step:last-child { border-bottom: 0; }
.quote-step__num {
    display: grid; place-items: center; width: 26px; height: 26px; flex: none;
    border: 1px solid rgba(220,38,38,.5); color: var(--accent);
    font-family: var(--font-display); font-size: .6rem; font-weight: 700;
}
.quote-step p { font-size: .8rem; color: rgba(255,255,255,.66); line-height: 1.5; }
.quote-step strong { color: var(--white); font-weight: 500; }
.quote-contact { display: flex; flex-direction: column; gap: 10px; }
.quote-contact a { display: inline-flex; align-items: center; gap: 10px; font-size: .82rem; color: rgba(255,255,255,.78); transition: color .25s; }
.quote-contact a:hover { color: var(--accent); }
.quote-contact .icon { width: 16px; height: 16px; color: var(--accent); }

.quote-form {
    background: var(--paper); color: var(--text);
    border-top: 3px solid var(--accent); padding: clamp(24px, 3.4vw, 40px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
}
.quote-form__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.quote-form__head h3 { font-size: 1.35rem; letter-spacing: -.01em; }
.quote-form__head p { font-size: .74rem; color: var(--muted); margin-top: 4px; }
.quote-form__badge {
    font-size: .54rem; letter-spacing: .12em; text-transform: uppercase;
    border: 1px solid var(--line-strong); padding: 5px 9px; color: var(--muted); flex: none;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .62rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-soft); }
.field label span { color: var(--accent-deep); }
.field input, .field select, .field textarea {
    width: 100%; padding: 12px 13px; border: 1px solid var(--line-strong);
    background: rgba(255,255,255,.55); border-radius: 0;
    font-size: .85rem; transition: border-color .25s, background .25s; appearance: none;
}
.field input::placeholder, .field textarea::placeholder { color: #9c9a94; }
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none; border-color: var(--accent-deep); background: var(--white);
}
.field textarea { min-height: 110px; resize: vertical; line-height: 1.55; }
.field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2317181a' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 13px center;
    padding-right: 36px; cursor: pointer;
}
.field input[type="file"] { padding: 9px 11px; font-size: .72rem; color: var(--muted); background: transparent; cursor: pointer; }
.field input[type="file"]::file-selector-button {
    margin-right: 10px; padding: 7px 12px; border: 1px solid var(--line-strong);
    background: var(--white); font-size: .62rem; font-weight: 600;
    letter-spacing: .06em; text-transform: uppercase; cursor: pointer;
}
.field__hint { font-size: .62rem; color: var(--muted); line-height: 1.4; }
.field__error { font-size: .68rem; color: #b23a2d; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #b23a2d; }
.check-field { display: flex; align-items: flex-start; gap: 10px; font-size: .72rem; color: var(--muted); line-height: 1.55; cursor: pointer; }
.check-field input {
    appearance: auto; -webkit-appearance: checkbox;
    width: 17px; height: 17px; margin-top: 1px; padding: 0; border: 0; background: none;
    accent-color: var(--accent-deep); flex: none; cursor: pointer;
}
.check-field input:focus-visible { outline: 2px solid var(--accent-deep); outline-offset: 2px; background: none; }
.check-field a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }
.quote-form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 22px; }
.quote-form__actions .btn { flex: 1 1 auto; }
.quote-form__actions small { font-size: .62rem; color: var(--muted); flex: 1 1 160px; }
.form-note { padding: 12px 14px; border-left: 2px solid #b23a2d; background: rgba(178,58,45,.06); font-size: .74rem; color: #8d3025; margin-bottom: 18px; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* CTA final ------------------------------------------------------------- */
.cta-band { background: var(--paper-2); border-top: 1px solid var(--line); }
.cta-band__inner {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
    gap: 26px; padding-block: clamp(38px, 5vw, 60px);
}
.cta-band h2 { font-size: clamp(1.8rem, 3vw, 2.7rem); max-width: 22ch; }
.cta-band p { font-size: .84rem; color: var(--muted); max-width: 46ch; margin-top: 8px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Lightbox -------------------------------------------------------------- */
.lightbox {
    position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center;
    background: rgba(5, 5, 6, .94); backdrop-filter: blur(6px);
    padding: 60px clamp(16px, 5vw, 70px); opacity: 0; visibility: hidden;
    transition: opacity .3s var(--ease), visibility .3s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__figure { max-width: 1100px; width: 100%; text-align: center; }
.lightbox__img { max-height: 76vh; width: auto; max-width: 100%; margin-inline: auto; object-fit: contain; }
.lightbox__caption { margin-top: 16px; font-size: .78rem; color: var(--muted-dark); }
.lightbox__caption strong { display: block; font-family: var(--font-display); font-size: 1.2rem; color: var(--white); letter-spacing: 0; margin-bottom: 4px; }
.lightbox__close {
    position: absolute; top: 20px; right: 22px; width: 46px; height: 46px;
    display: grid; place-items: center; border: 1px solid var(--line-dark); color: var(--white);
    transition: background .25s, color .25s;
}
.lightbox__close:hover { background: var(--accent); color: var(--white); border-color: var(--accent); }
.lightbox__nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 48px; height: 54px; display: grid; place-items: center;
    border: 1px solid var(--line-dark); color: var(--white); transition: background .25s, color .25s;
}
.lightbox__nav:hover { background: var(--accent); color: var(--white); border-color: var(--accent); }
.lightbox__nav--prev { left: 14px; }
.lightbox__nav--next { right: 14px; }
[hidden] { display: none !important; }

/* Página simple / privacidad ------------------------------------------- */
.page-hero {
    position: relative; background: var(--ink); color: var(--white);
    padding-top: calc(var(--header-h) + 100px); padding-bottom: clamp(54px, 7vw, 90px);
    overflow: hidden;
}
.page-hero::after {
    content: ""; position: absolute; right: -6vw; top: -30%; width: 46vw; height: 120%;
    background: linear-gradient(115deg, transparent 0 55%, rgba(220,38,38,.1) 55% 55.4%, transparent 55.4%);
    pointer-events: none;
}
.page-hero .eyebrow { margin-bottom: 18px; }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 4.6rem); max-width: 20ch; }
.page-hero p { color: var(--muted-dark); margin-top: 18px; max-width: 60ch; }
.prose { max-width: 820px; margin-inline: auto; }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin: 38px 0 14px; letter-spacing: -.01em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--text-soft); font-size: .93rem; line-height: 1.8; margin-bottom: 14px; }
.prose ul { list-style: disc; padding-left: 20px; }
.prose ul li { margin-bottom: 8px; }
.prose a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px; }
.prose .notice {
    border-left: 3px solid var(--accent); background: rgba(220,38,38,.08);
    padding: 16px 20px; font-size: .82rem; color: var(--text-soft); margin-bottom: 30px;
}

/* Reveal ---------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-group > * { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal-group.is-visible > * { opacity: 1; transform: none; }
.reveal-group.is-visible > *:nth-child(2) { transition-delay: .07s; }
.reveal-group.is-visible > *:nth-child(3) { transition-delay: .14s; }
.reveal-group.is-visible > *:nth-child(4) { transition-delay: .21s; }
.reveal-group.is-visible > *:nth-child(5) { transition-delay: .28s; }
.reveal-group.is-visible > *:nth-child(6) { transition-delay: .35s; }
.reveal-group.is-visible > *:nth-child(7) { transition-delay: .42s; }
.reveal-group.is-visible > *:nth-child(8) { transition-delay: .49s; }

/* Utilidades ------------------------------------------------------------ */
.text-accent { color: var(--accent); }
.text-center { text-align: center !important; }
.mx-auto { margin-inline: auto !important; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }

/* =========================================================================
   Sistema de Diseño Responsive Estructurado — AFCLO
   Arquitectura en cascada por puntos de corte coherentes:
   - Tier 1: ≤ 1200px (Laptops y desktop compacto)
   - Tier 2: ≤ 1024px (Tablets y navegación off-canvas móvil)
   - Tier 3: ≤ 768px  (Tablets verticales y phablets)
   - Tier 4: ≤ 576px  (Móviles estándar)
   - Tier 5: ≤ 380px  (Móviles ultra compactos 320px–360px)
   - Tier 6: Dispositivos táctiles (@media (hover: none) and (pointer: coarse))
   - Tier 7: Preferencias de accesibilidad (@media (prefers-reduced-motion: reduce))
   ========================================================================= */

/* -------------------------------------------------------------------------
   Tier 1: Desktop compacto / Laptops (≤ 1200px)
   ------------------------------------------------------------------------- */
@media (max-width: 1200px) {
    .nav__list { gap: clamp(10px, 1.4vw, 20px); }
    .nav__link { font-size: clamp(.65rem, .78vw, .72rem); padding: 8px 2px; }
    .brand__text strong { font-size: 1.35rem; }
    .hero__inner { grid-template-columns: minmax(0, 1fr) 280px; gap: clamp(24px, 3.5vw, 40px); }
    .footer-top { grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 28px; }
    .about-grid, .split { gap: clamp(28px, 4vw, 54px); }
    .quote-grid { gap: clamp(28px, 4vw, 50px); }
}

/* Nav compacta mientras la barra de escritorio aún no cabe holgada */
@media (min-width: 1151px) and (max-width: 1260px) {
    .nav__list { gap: clamp(10px, 1.4vw, 20px); }
    .nav__link { font-size: clamp(.65rem, .78vw, .72rem); padding: 8px 2px; }
}

/* -------------------------------------------------------------------------
   Tier 2: Tablets y Navegación Móvil Off-Canvas (≤ 1150px)
   ------------------------------------------------------------------------- */
@media (max-width: 1150px) {
    :root { --header-h: 74px; }
    .topbar { display: none; }
    .nav-cta { display: none; }

    /* El logotipo debe caber junto al botón hamburguesa en cualquier móvil */
    .nav-shell__inner { gap: 12px; }
    .site-header .brand { flex: 0 1 auto; min-width: 0; gap: 10px; }
    .site-header .brand__services,
    .site-header .brand__divider { display: none; }
    .site-header .brand__text { min-width: 0; }
    .nav-actions { flex: none; gap: 10px; }

    /* Botón Hamburguesa Moderno y Dinámico */
    .nav-toggle {
        display: flex;
        width: 44px;
        height: 44px;
        border-radius: 10px;
        background: rgba(255, 255, 255, .04);
        border: 1px solid rgba(255, 255, 255, .14);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        transition: background .25s var(--ease), border-color .25s var(--ease), transform .2s, box-shadow .25s;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
        position: relative;
    }
    .nav-toggle:hover {
        background: rgba(220, 38, 38, .14);
        border-color: var(--accent);
        box-shadow: 0 0 16px rgba(220, 38, 38, .35);
    }
    .nav-toggle:active {
        transform: scale(.93);
    }
    .nav-toggle span {
        display: block;
        width: 20px;
        height: 2px;
        border-radius: 2px;
        background: var(--white);
        transition: transform .35s cubic-bezier(0.16, 1, 0.3, 1), opacity .2s, background .25s, width .25s;
    }
    .nav-toggle span:nth-child(2) {
        width: 14px;
        margin-left: auto;
        margin-right: 2px;
        background: var(--accent-2);
    }
    .nav-toggle[aria-expanded="true"] {
        background: rgba(220, 38, 38, .2);
        border-color: var(--accent);
        box-shadow: 0 0 18px rgba(220, 38, 38, .4);
    }
    .nav-toggle[aria-expanded="true"] span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
        background: var(--accent);
    }
    .nav-toggle[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
        transform: translateX(-10px);
    }
    .nav-toggle[aria-expanded="true"] span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
        background: var(--accent);
    }

    /* Fondo Backdrop desenfocado */
    .nav-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 1040;
        background: radial-gradient(circle at 60% 40%, rgba(20, 22, 28, .75), rgba(4, 4, 6, .88));
        opacity: 0;
        visibility: hidden;
        transition: opacity .35s var(--ease), visibility .35s;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }
    body.nav-open .nav-backdrop {
        opacity: 1;
        visibility: visible;
    }

    /* Cajón de navegación móvil (Off-Canvas) */
    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: auto;
        width: min(390px, 92%);
        max-width: 100%;
        max-height: 100dvh;
        background: #0d0e12;
        background-image: 
            radial-gradient(circle at 100% 0%, rgba(220, 38, 38, .22) 0%, transparent 46%),
            radial-gradient(circle at 0% 100%, rgba(245, 197, 66, .12) 0%, transparent 40%),
            linear-gradient(180deg, #13141a 0%, #0a0b0e 100%);
        margin: 0;
        padding: calc(var(--safe-top, 0px) + 18px) 18px calc(var(--safe-bottom, 0px) + 28px);
        transform: translateX(105%);
        transition: transform .42s cubic-bezier(0.16, 1, 0.3, 1);
        overflow-y: auto;
        overflow-x: hidden;
        overscroll-behavior: contain;
        touch-action: pan-y;
        -webkit-overflow-scrolling: touch;
        z-index: 1050;
        border-left: 1px solid rgba(220, 38, 38, .28);
        display: flex;
        flex-direction: column;
        box-shadow: -20px 0 60px rgba(0, 0, 0, .85), inset 1px 0 0 rgba(245, 197, 66, .14);
    }
    body.nav-open .main-nav {
        transform: translateX(0);
    }

    /* Encabezado del Menú Móvil */
    .nav-mobile-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-bottom: 16px;
        margin-bottom: 16px;
        border-bottom: 1px solid rgba(255, 255, 255, .08);
        flex: none;
    }
    .nav-mobile-head__brand {
        display: flex;
        align-items: center;
        gap: 12px;
    }
    .nav-mobile-head__logo-glow {
        position: relative;
        width: 38px;
        height: 38px;
        border-radius: 9px;
        background: linear-gradient(135deg, rgba(220, 38, 38, .2), rgba(245, 197, 66, .12));
        border: 1px solid rgba(245, 197, 66, .28);
        display: grid;
        place-items: center;
        box-shadow: 0 4px 14px rgba(220, 38, 38, .35);
    }
    .nav-mobile-head__mark {
        width: 26px;
        height: 26px;
    }
    .nav-mobile-head__info {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }
    .nav-mobile-head__name {
        font-family: var(--font-display);
        font-size: 1.05rem;
        font-weight: 800;
        letter-spacing: .08em;
        color: var(--white);
        line-height: 1;
    }
    .nav-mobile-head__tag {
        font-size: .56rem;
        font-weight: 600;
        letter-spacing: .14em;
        text-transform: uppercase;
        color: var(--accent-2);
        line-height: 1;
    }
    .nav-mobile-head__close {
        display: grid;
        place-items: center;
        width: 38px;
        height: 38px;
        border-radius: 50%;
        background: rgba(255, 255, 255, .05);
        border: 1px solid rgba(255, 255, 255, .12);
        color: var(--white);
        transition: transform .3s cubic-bezier(0.16, 1, 0.3, 1), background .25s, border-color .25s, color .25s, box-shadow .25s;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }
    .nav-mobile-head__close:hover,
    .nav-mobile-head__close:active {
        background: linear-gradient(135deg, var(--accent), #b91c1c);
        border-color: transparent;
        color: var(--white);
        transform: rotate(90deg) scale(1.08);
        box-shadow: 0 0 16px rgba(220, 38, 38, .55);
    }
    .nav-mobile-head__close .icon {
        width: 18px;
        height: 18px;
    }

    /* Lista de Enlaces y Animación Escalonada */
    .nav__list {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        margin-bottom: 20px;
        padding: 0;
        list-style: none;
    }
    .nav__list > li {
        border: 0;
        padding: 0;
        margin: 0;
        opacity: 0;
        transform: translateX(20px);
    }
    body.nav-open .nav__list > li {
        animation: mobileNavItemIn .4s cubic-bezier(0.16, 1, 0.3, 1) both;
        animation-delay: calc(var(--i, 1) * 0.045s + 0.08s);
    }
    @keyframes mobileNavItemIn {
        from {
            opacity: 0;
            transform: translateX(22px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    /* Enlace Individual como Tarjeta Interactiva */
    .nav__link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        width: 100%;
        min-width: 0;
        padding: 12px 14px;
        font-size: .84rem;
        font-weight: 600;
        letter-spacing: .08em;
        text-transform: uppercase;
        white-space: normal;
        color: rgba(255, 255, 255, .88);
        background: rgba(255, 255, 255, .03);
        border: 1px solid rgba(255, 255, 255, .06);
        border-radius: 9px;
        transition: transform .25s var(--ease), background .25s, border-color .25s, color .25s, box-shadow .25s;
        -webkit-tap-highlight-color: transparent;
        cursor: pointer;
    }
    .nav__link::after { display: none; }
    .nav__link:hover,
    .nav__link:active {
        background: linear-gradient(90deg, rgba(220, 38, 38, .14) 0%, rgba(245, 197, 66, .06) 100%);
        border-color: rgba(220, 38, 38, .36);
        color: var(--white);
        transform: translateX(4px);
        box-shadow: 0 4px 16px rgba(0, 0, 0, .25);
    }
    .nav__link.is-active {
        background: linear-gradient(90deg, rgba(220, 38, 38, .22) 0%, rgba(245, 197, 66, .08) 100%);
        border-color: rgba(220, 38, 38, .45);
        color: var(--white);
        font-weight: 700;
        box-shadow: inset 3px 0 0 var(--accent), 0 4px 18px rgba(220, 38, 38, .25);
    }
    .nav__link-text {
        display: inline-block;
        flex: 1;
        min-width: 0;
        overflow-wrap: anywhere;
        text-align: left;
    }
    .nav__link-arrow {
        display: flex;
        align-items: center;
        color: rgba(255, 255, 255, .32);
        transition: transform .25s var(--ease), color .25s;
    }
    .nav__link:hover .nav__link-arrow,
    .nav__link:active .nav__link-arrow,
    .nav__link.is-active .nav__link-arrow {
        color: var(--accent);
        transform: translateX(3px);
    }

    /* Botón Desplegable de Áreas con Badge y Flecha Giratoria */
    .nav__item--dropdown { position: relative; }
    .nav__link-badge {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        flex: none;
    }
    .nav__link-pill {
        display: inline-flex;
        align-items: center;
        padding: 3px 8px;
        border-radius: 12px;
        background: rgba(245, 197, 66, .12);
        border: 1px solid rgba(245, 197, 66, .28);
        font-size: .6rem;
        font-weight: 700;
        letter-spacing: .08em;
        text-transform: uppercase;
        color: var(--accent-2);
        transition: background .3s, border-color .3s, color .3s;
    }
    .nav__link-chevron {
        transition: transform .4s cubic-bezier(0.16, 1, 0.3, 1), color .3s;
        color: rgba(255, 255, 255, .5);
    }
    .nav__item--dropdown.is-open .nav__link--toggle {
        background: linear-gradient(90deg, rgba(220, 38, 38, .16) 0%, rgba(245, 197, 66, .08) 100%);
        border-color: rgba(245, 197, 66, .35);
        color: var(--white);
    }
    .nav__item--dropdown.is-open .nav__link-chevron {
        transform: rotate(180deg);
        color: var(--accent);
    }
    .nav__item--dropdown.is-open .nav__link-pill {
        background: rgba(220, 38, 38, .2);
        border-color: rgba(220, 38, 38, .4);
        color: #ff9d9d;
    }

    /* Acordeón Desplegable Ultra Dinámico y Fluido */
    .nav-dropdown {
        position: static;
        width: 100%;
        max-width: 100%;
        display: grid;
        grid-template-rows: 0fr;
        transition: grid-template-rows .42s cubic-bezier(0.16, 1, 0.3, 1), opacity .32s ease, margin .32s ease;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        background: transparent;
        border: 0;
        box-shadow: none;
        padding: 0;
        margin: 0;
        transform: none;
    }
    .nav__item--dropdown.is-open .nav-dropdown {
        grid-template-rows: 1fr;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        margin-top: 6px;
        margin-bottom: 6px;
    }
    .nav-dropdown__inner {
        overflow: hidden;
        min-height: 0;
        background: linear-gradient(155deg, rgba(20, 22, 28, .96) 0%, rgba(12, 13, 17, .98) 100%);
        border: 1px solid rgba(245, 197, 66, .2);
        border-radius: 12px;
        padding: 10px;
        box-shadow: inset 0 2px 8px rgba(0, 0, 0, .4), 0 10px 28px rgba(0, 0, 0, .45);
    }
    .nav-dropdown__label {
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: .58rem;
        text-transform: uppercase;
        letter-spacing: .15em;
        color: var(--accent-2);
        font-weight: 700;
        padding: 6px 8px 10px;
        border-bottom: 1px solid rgba(255, 255, 255, .06);
        margin-bottom: 8px;
    }
    .nav-dropdown__label::before {
        content: "";
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background: var(--accent);
        box-shadow: 0 0 6px var(--accent);
    }
    .nav-dropdown__list {
        display: flex;
        flex-direction: column;
        gap: 6px;
    }
    .nav-dropdown__item {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 11px 12px;
        border: 1px solid rgba(255, 255, 255, .05);
        border-radius: 8px;
        background: rgba(255, 255, 255, .03);
        margin: 0;
        transition: transform .25s var(--ease), background .25s, border-color .25s, box-shadow .25s;
        -webkit-tap-highlight-color: transparent;
    }
    .nav__item--dropdown.is-open .nav-dropdown__item {
        animation: subItemCascade .35s cubic-bezier(0.16, 1, 0.3, 1) both;
        animation-delay: calc(var(--sub-i, 1) * 0.05s);
    }
    @keyframes subItemCascade {
        from {
            opacity: 0;
            transform: translateY(-8px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    .nav-dropdown__item:hover,
    .nav-dropdown__item:active {
        background: rgba(255, 255, 255, .07);
        border-color: rgba(245, 197, 66, .35);
        transform: translateX(4px);
        box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
    }
    .nav-dropdown__item.is-current {
        background: linear-gradient(90deg, rgba(220, 38, 38, .18), rgba(245, 197, 66, .06));
        border-color: var(--accent);
        box-shadow: inset 3px 0 0 var(--accent);
    }
    .nav-dropdown__num {
        width: 28px;
        height: 28px;
        border-radius: 6px;
        background: rgba(220, 38, 38, .16);
        border: 1px solid rgba(220, 38, 38, .35);
        color: var(--accent-2);
        display: grid;
        place-items: center;
        font-family: var(--font-display);
        font-size: .68rem;
        font-weight: 800;
        flex: none;
    }
    .nav-dropdown__item.is-current .nav-dropdown__num {
        background: var(--accent);
        color: var(--white);
        border-color: var(--accent);
        box-shadow: 0 0 10px rgba(220, 38, 38, .5);
    }
    .nav-dropdown__body {
        display: flex;
        flex-direction: column;
        gap: 2px;
        min-width: 0;
        flex: 1;
    }
    .nav-dropdown__body strong {
        font-size: .84rem;
        font-weight: 600;
        color: var(--white);
        letter-spacing: .02em;
    }
    .nav-dropdown__body small {
        font-size: .66rem;
        color: rgba(255, 255, 255, .62);
        line-height: 1.35;
    }
    .nav-dropdown__arrow {
        color: rgba(255, 255, 255, .35);
        transition: transform .25s var(--ease), color .25s;
        flex: none;
        display: flex;
        align-items: center;
    }
    .nav-dropdown__item:hover .nav-dropdown__arrow,
    .nav-dropdown__item:active .nav-dropdown__arrow {
        color: var(--accent);
        transform: translate(2px, -2px);
    }

    /* Pie del Menú Móvil / Acciones Rápidas */
    .nav-mobile-extra {
        display: flex;
        flex-direction: column;
        gap: 14px;
        margin-top: auto;
        padding-top: 18px;
        border-top: 1px solid rgba(255, 255, 255, .08);
        flex: none;
        opacity: 0;
        transform: translateY(16px);
    }
    body.nav-open .nav-mobile-extra {
        animation: mobileExtraIn .4s cubic-bezier(0.16, 1, 0.3, 1) both;
        animation-delay: .36s;
    }
    @keyframes mobileExtraIn {
        from {
            opacity: 0;
            transform: translateY(16px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    .nav-mobile-cta {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        width: 100%;
        padding: 14px 20px;
        border-radius: 10px;
        background: linear-gradient(135deg, var(--accent) 0%, #b91c1c 100%);
        color: var(--white);
        font-family: var(--font-body);
        font-size: .74rem;
        font-weight: 700;
        letter-spacing: .12em;
        text-transform: uppercase;
        border: 1px solid rgba(255, 255, 255, .2);
        box-shadow: 0 10px 24px -6px rgba(220, 38, 38, .55);
        overflow: hidden;
        transition: transform .25s var(--ease), box-shadow .25s;
        -webkit-tap-highlight-color: transparent;
    }
    .nav-mobile-cta:hover {
        color: var(--white);
        box-shadow: 0 12px 30px -4px rgba(220, 38, 38, .75);
    }
    .nav-mobile-cta:active {
        transform: scale(.97);
    }
    .nav-mobile-cta__glow {
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .25), transparent);
        transform: translateX(-100%);
        animation: ctaShimmer 3.5s infinite;
    }
    @keyframes ctaShimmer {
        0% { transform: translateX(-100%); }
        35%, 100% { transform: translateX(100%); }
    }
    .nav-mobile-contact {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
    .nav-mobile-chip {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 10px 12px;
        border-radius: 8px;
        background: rgba(255, 255, 255, .03);
        border: 1px solid rgba(255, 255, 255, .07);
        font-size: .76rem;
        color: rgba(255, 255, 255, .82);
        transition: background .2s, border-color .2s, transform .2s, color .2s;
        -webkit-tap-highlight-color: transparent;
    }
    .nav-mobile-chip:hover,
    .nav-mobile-chip:active {
        background: rgba(255, 255, 255, .08);
        border-color: rgba(245, 197, 66, .35);
        color: var(--white);
        transform: translateX(3px);
    }
    .nav-mobile-chip__icon {
        width: 26px;
        height: 26px;
        border-radius: 6px;
        background: rgba(255, 255, 255, .06);
        color: var(--accent-2);
        display: grid;
        place-items: center;
        flex: none;
    }
    .nav-mobile-chip__icon .icon {
        width: 14px;
        height: 14px;
    }
    .nav-mobile-chip--wa {
        background: linear-gradient(90deg, rgba(37, 211, 102, .12), rgba(37, 211, 102, .04));
        border-color: rgba(37, 211, 102, .3);
        color: #e5ffe9;
    }
    .nav-mobile-chip--wa .nav-mobile-chip__icon {
        background: #25d366;
        color: #0b0c10;
        box-shadow: 0 0 10px rgba(37, 211, 102, .4);
    }
    .nav-mobile-chip__label {
        font-weight: 600;
    }
    .nav-mobile-chip__badge {
        margin-left: auto;
        font-size: .6rem;
        font-weight: 700;
        letter-spacing: .08em;
        text-transform: uppercase;
        color: #25d366;
        display: flex;
        align-items: center;
        gap: 5px;
    }
    .nav-mobile-chip__badge::before {
        content: "";
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: #25d366;
        box-shadow: 0 0 8px #25d366;
        animation: pulseLiveDot 2s infinite;
    }
    @keyframes pulseLiveDot {
        0%, 100% { opacity: 1; transform: scale(1); }
        50% { opacity: .4; transform: scale(.75); }
    }
    .nav-mobile-foot {
        font-size: .64rem;
        color: var(--muted-dark);
        text-align: center;
        padding-top: 2px;
    }
    .site-header.is-scrolled .nav-shell__inner { height: var(--header-h); }
}

/* Layout de tablet y móvil (≤ 1024px) */
@media (max-width: 1024px) {
    /* Hero en tablet: altura según contenido para no dejar franjas vacías */
    .hero {
        min-height: 0;
        padding-top: calc(var(--header-h) + var(--safe-top, 0px) + 28px);
        padding-bottom: 28px;
    }
    .hero__inner { grid-template-columns: 1fr; gap: 26px; width: 100%; }
    .hero__content { max-width: 100%; }
    .hero__title { max-width: 100%; text-wrap: balance; font-size: clamp(2.05rem, 4.6vw, 3.2rem); }
    .hero__lead { max-width: 68ch; font-size: .96rem; line-height: 1.55; margin-bottom: 22px; }
    .hero__aside {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
        width: 100%;
        max-width: 100%;
        background: rgba(9, 10, 13, .78);
        border: 1px solid rgba(255, 255, 255, .15);
        padding: 16px 18px;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
    .hero__aside-label { grid-column: 1 / -1; margin-bottom: 2px; padding-bottom: 8px; font-size: .62rem; }
    .hero__area {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 10px 12px;
        background: rgba(255, 255, 255, .04);
        border: 1px solid rgba(255, 255, 255, .06);
        border-radius: 2px;
    }
    .hero__aside-foot { display: none; }

    /* Encabezados */
    .section-head {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-bottom: clamp(34px, 5vw, 54px);
    }
    .section-head__body, .section-head__aside { max-width: 100%; justify-self: stretch; }
    .section-title { max-width: 100%; text-wrap: balance; }
    .section-lead, .section-head__aside p { max-width: 65ch; }

    /* Nosotros en tablet */
    .about-grid { grid-template-columns: 1fr; gap: 44px; }
    .about-visual {
        max-width: 560px;
        width: 100%;
        margin-inline: auto;
        padding-right: 24px;
        padding-bottom: 34px;
    }
    .about-visual__frame { transform: translate(-10px, -10px); width: 50%; height: 50%; }
    .about-visual__badge { left: 0; bottom: 20px; }
    .about-copy { max-width: 740px; margin-inline: auto; width: 100%; }
    .about-copy h2, .about-copy > p { max-width: 100%; }

    /* Stats centradas */
    .stats {
        grid-template-columns: repeat(3, 1fr);
        text-align: center;
        margin-top: 44px;
    }
    .stat { padding: 22px 14px 0; border-right: 1px solid var(--line); }
    .stat:last-child { border-right: 0; padding-left: 14px; }
    .stat + .stat { padding-left: 14px; }
    .stat__label { margin-inline: auto; }

    /* Propósito / Misión */
    .purpose-head { max-width: 100%; text-align: left; }
    .purpose-head h2 { max-width: 100%; text-wrap: balance; }
    .pillar-grid { grid-template-columns: 1fr 1fr; }

    /* Grids en 2 columnas */
    .areas-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
    .area-card:last-child { grid-column: 1 / -1; min-height: 400px; }
    .area-card { min-height: 460px; }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .value-card { min-height: auto; height: 100%; }
    .services-head { grid-template-columns: 1fr; gap: 20px; }
    .services-title { max-width: 100%; text-wrap: balance; }
    .services-head__aside { justify-self: stretch; max-width: 100%; }
    .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .projects-grid, .svc-grid, .feature-grid, .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .gallery-item:nth-child(4n+1) { grid-column: auto; aspect-ratio: 4 / 3; }

    /* Por qué elegir */
    .why-grid { grid-template-columns: 1fr; gap: 36px; }
    .why-sticky { position: static; max-width: 740px; margin-inline: auto; width: 100%; }
    .why-visual { max-width: 560px; width: 100%; margin-inline: auto; margin-top: 20px; }
    .why-lead { max-width: 100%; }
    .accordion { max-width: 740px; margin-inline: auto; width: 100%; }

    /* Contacto en tablet */
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .contact-copy, .contact-panel { max-width: 740px; margin-inline: auto; width: 100%; }
    .contact-copy h2, .contact-copy > p { max-width: 100%; }
    .contact-direct { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }

    /* Divisiones: Hero y bloques centrados */
    .div-hero {
        min-height: 70svh;
        min-height: 70vh;
        padding-top: calc(var(--header-h) + var(--safe-top, 0px) + 36px);
        padding-bottom: 34px;
    }
    .div-hero__grid { grid-template-columns: 1fr; gap: 24px; }
    .div-hero h1 { max-width: 100%; text-wrap: balance; }
    .div-hero__lead { max-width: 64ch; }
    .div-hero__aside {
        display: block;
        width: 100%;
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, .18);
        padding-left: 0;
        padding-top: 18px;
    }
    .div-hero__aside-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }

    .split { grid-template-columns: 1fr; gap: 36px; }
    .split__media { max-width: 560px; width: 100%; margin-inline: auto; }
    .split__copy { max-width: 740px; margin-inline: auto; width: 100%; }
    .split__copy h2, .split__copy > p { max-width: 100%; }

    .timeline { grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 0; }
    .timeline__item { border-top: 1px solid var(--line); border-right: 1px solid var(--line); padding: 20px 16px; }
    .timeline__item:nth-child(2n) { border-right: 0; }
    .timeline__item + .timeline__item { padding-left: 16px; }
    .timeline__item:nth-child(2n+1) { padding-left: 0; }

    /* Cotización */
    .quote-grid { grid-template-columns: 1fr; gap: 36px; }
    .quote-copy, .quote-form { max-width: 740px; margin-inline: auto; width: 100%; }
    .quote-copy h2, .quote-copy > p, .quote-steps { max-width: 100%; }

    /* Footer */
    .footer-top { grid-template-columns: repeat(2, 1fr); gap: 34px; }
    .footer-brand, .footer-col--contact { grid-column: 1 / -1; }
    .footer-contact { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 22px; }
}

/* -------------------------------------------------------------------------
   Tier 3: Tablets Verticales y Móviles Grandes (≤ 768px)
   ------------------------------------------------------------------------- */
@media (max-width: 768px) {
    .section { padding-block: clamp(48px, 7.5vw, 72px); }
    .section-head { margin-bottom: 28px; }
    .section-title { font-size: clamp(1.85rem, 6.8vw, 2.5rem); line-height: 1.05; }

    /* Hero en móvil */
    .hero {
        padding-top: calc(var(--header-h) + var(--safe-top, 0px) + 18px);
        padding-bottom: 20px;
        min-height: 0;
    }
    .hero__title {
        font-size: clamp(1.75rem, 6.4vw, 2.6rem);
        max-width: 100%;
        line-height: 1.06;
        margin-bottom: 16px;
        word-break: normal;
        overflow-wrap: break-word;
        -webkit-hyphens: none !important;
        hyphens: none !important;
    }
    .hero__lead { font-size: .86rem; line-height: 1.5; margin-bottom: 16px; }
    .hero__actions { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; }
    .hero__actions .btn {
        flex: 0 1 auto;
        padding: 12px 18px;
        font-size: .62rem;
        letter-spacing: .1em;
    }
    .hero__actions .btn .icon { width: 15px; height: 15px; }
    .hero__aside {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
        padding: 10px 12px;
        margin-top: 14px;
    }
    .hero__area {
        display: flex;
        width: 100%;
        padding: 8px 10px;
        border-right: 0;
    }
    .hero__area strong { font-size: .78rem; }
    .hero__foot {
        margin-top: 16px;
        padding-top: 12px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        flex-wrap: wrap;
    }
    .hero__scroll { font-size: .58rem; }
    .hero__foot-note { display: block; font-size: .56rem; color: rgba(255, 255, 255, .6); }

    /* Stats */
    .stats {
        grid-template-columns: repeat(3, 1fr);
        text-align: center;
        border-top: 1px solid var(--line);
        margin-top: 32px;
    }
    .stat, .stat + .stat, .stat:last-child {
        padding: 16px 8px;
        border-right: 1px solid var(--line);
        border-top: 0;
    }
    .stat:last-child { border-right: 0; }
    .stat__value { font-size: clamp(1.8rem, 6vw, 2.5rem); }
    .stat__label { font-size: .56rem; letter-spacing: .08em; }

    /* Nosotros */
    .about-points { grid-template-columns: 1fr 1fr; gap: 10px 16px; }
    .about-visual { padding-right: 14px; padding-bottom: 28px; }
    .about-visual__badge { left: 0; bottom: 16px; padding: 12px 14px; }
    .about-visual__badge strong { font-size: 1.4rem; }

    /* Pilares de propósito */
    .pillar-grid { grid-template-columns: 1fr; }
    .pillar { padding: 26px 18px 30px; }
    .pillar__top { margin-bottom: 22px; }
    .pillar h3 { font-size: 1.4rem; }
    .pillar__mark { font-size: clamp(5rem, 18vw, 7.5rem); right: 8px; bottom: -20px; overflow: hidden; }

    /* Valores */
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .value-card { min-height: auto; height: 100%; padding: 20px 16px; }

    /* Áreas */
    .areas-grid { grid-template-columns: 1fr; gap: 16px; }
    .area-card, .area-card:last-child { grid-column: auto; min-height: 400px; }
    .area-card__body { padding: 0 18px 20px; }

    /* Servicios corporativos */
    .services-grid { grid-template-columns: 1fr; gap: 14px; }
    .service-card { min-height: auto; padding: 24px 18px; }
    .services-cta {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 18px;
        padding: 28px 18px;
    }
    .services-cta__copy {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
    }
    .services-cta__copy p { max-width: 100%; text-align: center; }
    .services-cta__btn { width: 100%; max-width: 340px; margin-inline: auto; }

    /* Proyectos */
    .projects-toolbar {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 14px;
    }
    .filters {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px;
        width: 100%;
    }
    .filter-btn { padding: 8px 13px; font-size: .62rem; min-height: 38px; }
    .projects-note { justify-content: center; margin-inline: auto; }
    .projects-grid { grid-template-columns: 1fr; gap: 16px; }
    .project-card__media { aspect-ratio: 16 / 10; }
    .project-card__body { padding: 18px; }
    .project-card h3 { font-size: 1.05rem; }
    .project-card p { display: block; font-size: .82rem; }

    /* Por qué AFCLO */
    .why-visual { margin-top: 14px; }
    .why-visual__tag { padding: 12px 16px; font-size: .7rem; }
    .accordion__trigger { padding: 16px 0; gap: 12px; }
    .accordion__panel-inner { padding: 0 0 16px 16px; }

    /* Contacto */
    .contact-grid { gap: 30px; }
    .contact-direct { grid-template-columns: 1fr; gap: 10px; }
    .contact-direct__item {
        padding: 14px 16px;
        overflow-wrap: anywhere;
        word-break: break-word;
    }
    .contact-panel { padding: 22px 16px; }
    .social-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }

    /* División Hero */
    .div-hero {
        min-height: 68svh;
        min-height: 68vh;
        padding-top: calc(var(--header-h) + var(--safe-top, 0px) + 22px);
        padding-bottom: 26px;
    }
    .div-hero h1 {
        font-size: clamp(1.9rem, 7.8vw, 3rem);
        line-height: 1.02;
        word-break: normal;
        overflow-wrap: break-word;
        -webkit-hyphens: none !important;
        hyphens: none !important;
    }
    .div-hero__actions .btn { flex: 0 1 auto; padding: 12px 18px; font-size: .62rem; letter-spacing: .1em; }
    .div-hero__aside-stats { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .div-hero__stat strong { font-size: 1.5rem; }

    /* División bloques */
    .split__media img { aspect-ratio: 4 / 3; }
    .split__copy h2 { font-size: clamp(1.7rem, 6vw, 2.3rem); }
    .split__badge { padding: 12px 16px; min-width: 140px; }
    .split__badge strong { font-size: 1.4rem; }

    .svc-grid, .feature-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .gallery-item:nth-child(4n+1) { grid-column: auto; aspect-ratio: 4 / 3; }
    .gallery-item__overlay {
        opacity: 1;
        background: linear-gradient(180deg, transparent 40%, rgba(8, 8, 9, .85));
        padding: 12px;
    }
    .gallery-item__title { font-size: .72rem; }

    /* Línea de tiempo vertical y fluida en móvil */
    .timeline {
        display: flex;
        flex-direction: column;
        gap: 0;
        border-top: 0;
        padding-left: 8px;
    }
    .timeline__item {
        position: relative;
        padding: 0 0 24px 32px;
        border-right: 0;
        border-top: 0;
        border-left: 2px solid var(--line);
    }
    .timeline__item:last-child {
        border-left-color: transparent;
        padding-bottom: 0;
    }
    .timeline__item::before {
        content: "";
        position: absolute;
        left: -7px;
        top: 4px;
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: var(--accent);
        border: 2px solid var(--white);
    }
    .timeline__num { font-size: 1.5rem; margin-bottom: 6px; }
    .timeline__item + .timeline__item { padding-left: 32px; }
    .adv-list { grid-template-columns: 1fr; }

    /* Formulario de cotización con inputs de 16px para evitar auto-zoom iOS */
    .form-grid { grid-template-columns: 1fr; gap: 14px; }
    .field input, .field select, .field textarea {
        font-size: 16px;
        min-height: 48px;
    }
    .field textarea { min-height: 110px; }
    .quote-form { padding: 22px 16px; }
    .quote-form__head { flex-direction: column; gap: 8px; align-items: flex-start; }
    .quote-form__badge { align-self: flex-start; }
    .quote-form__actions { flex-direction: column; align-items: stretch; gap: 12px; }
    .quote-form__actions .btn { width: 100%; min-height: 48px; }

    /* CTA Band centrado */
    .cta-band__inner {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 16px;
        padding-block: 32px;
    }
    .cta-band h2 { font-size: clamp(1.5rem, 5.2vw, 2rem); max-width: 100%; text-wrap: balance; }
    .cta-band p { max-width: 100%; margin-inline: auto; text-align: center; }
    .cta-band__actions {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    .cta-band__actions .btn { flex: 0 1 auto; }

    /* Footer */
    .footer-top { grid-template-columns: 1fr; gap: 28px; }
    .footer-contact { grid-template-columns: 1fr; gap: 12px; }
    .footer-contact li { overflow-wrap: anywhere; word-break: break-word; }
    .footer-bottom {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
        padding-block: 20px;
    }
    .footer-bottom__links { justify-content: center; gap: 16px; }
    .footer-admin { border-left: 0; padding-left: 0; }

    .page-hero { padding-top: calc(var(--header-h) + var(--safe-top, 0px) + 26px); }
    .lightbox__nav { width: 40px; height: 46px; }
    .lightbox__nav--prev { left: 6px; }
    .lightbox__nav--next { right: 6px; }
    .lightbox__close { top: calc(14px + var(--safe-top, 0px)); right: 14px; width: 42px; height: 42px; }
    .flash-stack { top: calc(var(--header-h) + var(--safe-top, 0px) + 12px); right: 12px; }
}

/* -------------------------------------------------------------------------
   Tier 4: Móviles Estándar (≤ 576px)
   ------------------------------------------------------------------------- */
@media (max-width: 576px) {
    .container { padding-inline: clamp(14px, 4.2vw, 20px); }

    .brand__text strong { font-size: 1.25rem; }
    .brand__text span { font-size: .44rem; letter-spacing: .16em; }
    .brand__services {
        font-size: .34rem; letter-spacing: .04em; line-height: 1.4; gap: 0;
    }
    .brand__divider { height: 26px; margin-inline: 0; }
    .brand--footer .brand__text > .brand__services {
        display: block; font-size: .4rem; letter-spacing: .05em; white-space: normal;
    }
    .brand__mark { width: 38px; height: 38px; }

    .hero__title { font-size: clamp(1.55rem, 7vw, 2.05rem); line-height: 1.08; }
    .hero__lead { font-size: .84rem; }
    .hero__aside { grid-template-columns: 1fr; }
    .hero__actions { flex-direction: row; flex-wrap: wrap; width: 100%; gap: 8px; }
    .hero__actions .btn { width: auto; flex: 0 1 auto; padding: 11px 16px; font-size: .6rem; }
    .hero__foot { margin-top: 14px; padding-top: 10px; gap: 8px; }
    .hero__foot-note { display: none; }

    /* Stats con tarjeta horizontal legible en móvil */
    .stats {
        grid-template-columns: 1fr;
        gap: 0;
        text-align: left;
    }
    .stat, .stat + .stat, .stat:last-child {
        padding: 16px 14px;
        border-right: 0;
        border-top: 1px solid var(--line);
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .stat:first-child { border-top: 0; }
    .stat__value { font-size: 2.1rem; margin-bottom: 0; }
    .stat__label { font-size: .62rem; text-align: right; max-width: 18ch; }

    .about-points { grid-template-columns: 1fr; }
    .about-actions { flex-direction: column; width: 100%; }
    .about-actions .btn { width: 100%; text-align: center; justify-content: center; }

    .values-grid { grid-template-columns: 1fr; }
    .value-card { min-height: auto; padding: 18px 16px; }
    .value-card__top { margin-bottom: 0; }

    .div-hero__aside-stats { grid-template-columns: 1fr; gap: 8px; }
    .div-hero__stat {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 14px;
        background: rgba(255, 255, 255, .05);
        border-radius: 2px;
    }
    .div-hero__actions { flex-direction: row; flex-wrap: wrap; width: 100%; gap: 8px; }
    .div-hero__actions .btn { width: auto; flex: 0 1 auto; padding: 11px 16px; font-size: .6rem; }

    .social-grid { grid-template-columns: 1fr; }
    .social-card--wide { grid-column: auto; }
    .gallery-grid { grid-template-columns: 1fr; }
    .footer-bottom__links { gap: 10px; flex-direction: column; align-items: center; }

}

/* -------------------------------------------------------------------------
   Tier 5: Móviles Ultra Compactos (≤ 380px)
   ------------------------------------------------------------------------- */
@media (max-width: 380px) {
    .brand__mark { width: 34px; height: 34px; }
    .brand__text strong { font-size: 1.15rem; }
    .brand__text span { font-size: .4rem; letter-spacing: .12em; }
    .btn { padding: 11px 15px; font-size: .61rem; letter-spacing: .09em; }
    .hero__title { font-size: clamp(1.4rem, 7.4vw, 1.8rem); }
    .hero__actions .btn { padding: 10px 13px; font-size: .6rem; }
    .quote-form { padding: 18px 12px; }
    .split__badge { min-width: 120px; padding: 10px 12px; }
    .split__badge strong { font-size: 1.25rem; }
    .why-visual__tag { padding: 12px 16px; font-size: .68rem; }
    .nav-toggle { width: 42px; height: 42px; }
    .nav__link { padding: 11px 12px; font-size: .78rem; letter-spacing: .06em; }
    .nav__link-pill { display: none; }
}

/* -------------------------------------------------------------------------
   Tier 6: Dispositivos Táctiles (Eliminación de estados hover pegajosos)
   ------------------------------------------------------------------------- */
@media (hover: none) and (pointer: coarse) {
    .area-card:hover,
    .project-card:hover,
    .service-card:hover {
        transform: none;
    }
    .project-card__zoom {
        opacity: 1;
        transform: none;
    }
    .gallery-item__overlay {
        opacity: 1;
    }
    .btn:active,
    .filter-btn:active,
    .social-card:active {
        opacity: .92;
        transform: scale(.98);
    }
}

/* -------------------------------------------------------------------------
   Tier 7: Preferencias de Movimiento y Accesibilidad
   ------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
    .reveal, .reveal-group > * { opacity: 1; transform: none; }
    .services-grid .service-card { opacity: 1; translate: none; scale: 1; }
    .hero__bg img, .div-hero__bg img { animation: none; transform: none; }
    .ticker__track { animation: none; }
}

/* -------------------------------------------------------------------------
   Dock flotante — WhatsApp y volver arriba (identidad AFCLO)
   ---------------------------------------------------------------------- */
.float-dock {
    --dock-gold: #e6b64c;
    --dock-gold-soft: #f2d493;
    --dock-gold-deep: #a67c22;
    position: fixed;
    right: 24px;
    bottom: calc(24px + var(--safe-bottom, 0px));
    z-index: 940;
    display: flex;
    align-items: center;
    gap: 12px;
    pointer-events: none;
}
.float-dock > * { pointer-events: auto; }

/* Volver arriba: aro grafito con filo dorado ---------------------------- */
.to-top {
    position: relative;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid rgba(230, 182, 76, .32);
    border-radius: 50%;
    background:
        linear-gradient(150deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, 0) 58%),
        linear-gradient(160deg, #1a1c22 0%, #111318 55%, #0a0b0e 100%);
    color: var(--dock-gold-soft);
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .07),
        0 12px 26px -14px rgba(0, 0, 0, .85);
    isolation: isolate;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(.94);
    transition:
        opacity .35s var(--ease),
        visibility .35s var(--ease),
        transform .45s var(--ease-out),
        border-color .3s var(--ease),
        background .32s var(--ease),
        color .3s var(--ease),
        box-shadow .3s var(--ease);
}
/* Relleno dorado que aparece con suavidad al pasar el cursor */
.to-top::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(150deg, #f7e3ad 0%, #e6b64c 46%, #c1912f 100%);
    opacity: 0;
    transition: opacity .32s var(--ease);
}
.to-top__frame {
    position: absolute;
    z-index: 1;
    inset: 5px;
    border: 1px solid rgba(230, 182, 76, .16);
    border-radius: inherit;
    pointer-events: none;
    transition: border-color .3s var(--ease), opacity .3s var(--ease);
}
.to-top__icon {
    position: relative;
    z-index: 1;
    width: 17px;
    height: 17px;
    transition: transform .35s var(--ease-out);
}
.to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: none;
}
.to-top:hover,
.to-top:focus-visible {
    color: #0b0c0f;
    border-color: rgba(242, 212, 147, .8);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .5),
        0 14px 28px -14px rgba(0, 0, 0, .8),
        0 0 20px rgba(230, 182, 76, .18);
}
.to-top:hover::before,
.to-top:focus-visible::before { opacity: 1; }
.to-top:hover .to-top__frame,
.to-top:focus-visible .to-top__frame { border-color: rgba(11, 12, 15, .18); }
.to-top:hover .to-top__icon,
.to-top:focus-visible .to-top__icon { transform: translateY(-2px); }
.to-top:focus-visible {
    outline: 2px solid var(--dock-gold);
    outline-offset: 3px;
}
.to-top:active { transform: scale(.94); transition-duration: .12s; }

/* WhatsApp: cápsula grafito con sello dorado --------------------------- */
.wa-fab {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    height: 56px;
    padding: 6px 20px 6px 6px;
    border: 1px solid rgba(230, 182, 76, .3);
    border-radius: 999px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, 0) 44%),
        linear-gradient(150deg, #1b1d23 0%, #111318 50%, #08090b 100%);
    color: #f5f6f8;
    text-decoration: none;
    cursor: pointer;
    isolation: isolate;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .08),
        0 16px 34px -16px rgba(0, 0, 0, .9);
    animation: waFabIn .7s var(--ease-out) .5s backwards;
    transition:
        transform .35s var(--ease),
        border-color .35s var(--ease),
        background .35s var(--ease),
        box-shadow .35s var(--ease);
}
.wa-fab__icon-wrap {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background:
        linear-gradient(150deg, #f8e6b6 0%, #e6b64c 40%, #c1912f 72%, var(--dock-gold-deep) 100%);
    color: #0a0b0d;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .55),
        0 4px 12px rgba(0, 0, 0, .45);
    transition: transform .35s var(--ease-out), box-shadow .35s var(--ease);
}
.wa-fab__icon { width: 22px; height: 22px; }
.wa-fab__text {
    padding-top: 1px;
    font-family: var(--font-body);
    font-size: .62rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #f4f5f7;
    white-space: nowrap;
    transition: color .3s var(--ease);
}
.wa-fab__chevron {
    display: grid;
    place-items: center;
    width: 15px;
    height: 15px;
    color: rgba(242, 212, 147, .5);
    transition: transform .35s var(--ease), color .3s var(--ease);
}
.wa-fab__chevron svg { width: 13px; height: 13px; }

/* Etiqueta al pasar el cursor */
.wa-fab__tooltip {
    position: absolute;
    right: 0;
    bottom: calc(100% + 12px);
    padding: 9px 14px;
    font-family: var(--font-body);
    font-size: .6rem;
    font-weight: 500;
    letter-spacing: .05em;
    white-space: nowrap;
    color: #f4f0e6;
    background: rgba(12, 13, 16, .96);
    border: 1px solid rgba(230, 182, 76, .28);
    border-radius: 8px;
    box-shadow: 0 16px 30px -14px rgba(0, 0, 0, .85);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity .28s var(--ease), transform .3s var(--ease), visibility .28s;
}
.wa-fab__tooltip::after {
    content: "";
    position: absolute;
    right: 28px;
    bottom: -4px;
    width: 7px;
    height: 7px;
    transform: rotate(45deg);
    background: rgba(12, 13, 16, .96);
    border-right: 1px solid rgba(230, 182, 76, .28);
    border-bottom: 1px solid rgba(230, 182, 76, .28);
}
.wa-fab:hover,
.wa-fab:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(230, 182, 76, .62);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .1),
        0 22px 40px -18px rgba(0, 0, 0, .92),
        0 0 22px rgba(230, 182, 76, .12);
}
.wa-fab:hover .wa-fab__icon-wrap,
.wa-fab:focus-visible .wa-fab__icon-wrap {
    transform: scale(1.05);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .6),
        0 6px 16px rgba(0, 0, 0, .5),
        0 0 16px rgba(230, 182, 76, .3);
}
.wa-fab:hover .wa-fab__chevron,
.wa-fab:focus-visible .wa-fab__chevron {
    transform: translateX(3px);
    color: var(--dock-gold-soft);
}
.wa-fab:hover .wa-fab__tooltip,
.wa-fab:focus-visible .wa-fab__tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.wa-fab:focus-visible {
    outline: 2px solid var(--dock-gold);
    outline-offset: 4px;
}
.wa-fab:active {
    transform: translateY(0) scale(.98);
    transition-duration: .12s;
}

@keyframes waFabIn {
    from { opacity: 0; transform: translateY(16px) scale(.96); }
    to   { opacity: 1; transform: none; }
}

@media (max-width: 1024px) {
    .float-dock {
        right: 18px;
        bottom: calc(20px + var(--safe-bottom, 0px));
    }
}

@media (max-width: 768px) {
    .float-dock {
        right: 14px;
        bottom: calc(18px + var(--safe-bottom, 0px));
        gap: 10px;
    }
    .to-top { width: 42px; height: 42px; }
    .to-top__icon { width: 16px; height: 16px; }
    .wa-fab {
        height: 52px;
        padding: 5px 16px 5px 5px;
        gap: 10px;
    }
    .wa-fab__icon-wrap { width: 42px; height: 42px; }
    .wa-fab__icon { width: 20px; height: 20px; }
    .wa-fab__text { font-size: .57rem; letter-spacing: .14em; }
    .wa-fab__chevron { display: none; }
}

@media (max-width: 400px) {
    .float-dock {
        right: 12px;
        bottom: calc(14px + var(--safe-bottom, 0px));
        gap: 9px;
    }
    .to-top { width: 40px; height: 40px; }
    .wa-fab {
        height: 48px;
        padding: 4px 13px 4px 4px;
        gap: 8px;
    }
    .wa-fab__icon-wrap { width: 40px; height: 40px; }
    .wa-fab__icon { width: 19px; height: 19px; }
    .wa-fab__text { font-size: .53rem; letter-spacing: .1em; }
}

@media (hover: none) and (pointer: coarse) {
    .wa-fab__tooltip { display: none; }
}

/* =========================================================================
   SECCIÓN ESPECIAL: PROYECTO EN EJECUCIÓN METAL MECÁNICA (VIDEO & FOTOS)
   ========================================================================= */

/* Indicador de pulso en vivo */
.live-dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 0 rgba(220, 38, 38, .7);
    animation: livePulse 2s infinite ease-out;
    margin-right: 6px;
    vertical-align: middle;
}
@keyframes livePulse {
    0% { transform: scale(.95); box-shadow: 0 0 0 0 rgba(220, 38, 38, .7); }
    70% { transform: scale(1); box-shadow: 0 0 0 9px rgba(220, 38, 38, 0); }
    100% { transform: scale(.95); box-shadow: 0 0 0 0 rgba(220, 38, 38, 0); }
}

.pulse-indicator {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, .7);
    animation: greenPulse 2.2s infinite ease-out;
}
@keyframes greenPulse {
    0% { transform: scale(.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, .7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
    100% { transform: scale(.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* Badges del header de sección */
.metal-showcase__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}
.badge-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .74rem;
    font-weight: 600;
    letter-spacing: .03em;
    color: var(--muted-dark);
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .1);
    padding: 5px 12px;
    border-radius: 999px;
    text-transform: uppercase;
}
.badge-chip__icon {
    width: 13px;
    height: 13px;
    color: var(--accent);
}
.badge-chip--live {
    background: rgba(220, 38, 38, .12);
    border-color: rgba(220, 38, 38, .35);
    color: #fca5a5;
}
.badge-chip__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent-2);
    box-shadow: 0 0 8px var(--accent);
}

/* Grid principal del showcase */
.metal-showcase__grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 28px;
    margin-top: 40px;
    align-items: start;
}

/* Tarjeta del video */
.metal-video-card {
    background: var(--ink-2);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 20px 45px -15px rgba(0, 0, 0, .6);
    display: flex;
    flex-direction: column;
    transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.metal-video-card:hover {
    border-color: rgba(220, 38, 38, .4);
    box-shadow: 0 24px 50px -15px rgba(220, 38, 38, .15);
}
.metal-video-card__top {
    padding: 16px 20px;
    background: rgba(255, 255, 255, .03);
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.metal-video-card__status {
    display: flex;
    align-items: center;
    gap: 12px;
}
.metal-video-card__title {
    display: block;
    font-size: .88rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -.01em;
}
.metal-video-card__subtitle {
    display: block;
    font-size: .72rem;
    color: var(--muted-dark);
}
.metal-video-card__tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .72rem;
    font-weight: 600;
    color: #fca5a5;
    background: rgba(220, 38, 38, .15);
    border: 1px solid rgba(220, 38, 38, .3);
    padding: 4px 10px;
    border-radius: 6px;
    white-space: nowrap;
}
.metal-video-card__tag .icon {
    width: 13px;
    height: 13px;
}

/* Contenedor del video y botón Play */
.metal-video-wrapper {
    position: relative;
    width: 100%;
    background: #000;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}
.metal-video-player {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: #000;
}
.metal-video-play-btn {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    background: rgba(9, 10, 13, .45);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    transition: opacity .35s var(--ease), visibility .35s var(--ease);
    cursor: pointer;
    z-index: 5;
    border: 0;
}
.metal-video-wrapper:hover .metal-video-play-btn {
    background: rgba(9, 10, 13, .3);
}
.metal-video-wrapper.is-playing .metal-video-play-btn {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.metal-video-play-btn__circle {
    position: relative;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--white);
    display: grid;
    place-items: center;
    box-shadow: 0 10px 28px rgba(220, 38, 38, .55);
    transition: transform .3s var(--ease-out), background-color .3s;
    z-index: 2;
}
.metal-video-play-btn:hover .metal-video-play-btn__circle {
    transform: scale(1.12);
    background: var(--accent-2);
}
.metal-video-play-btn__icon {
    width: 26px;
    height: 26px;
    margin-left: 3px;
}
.metal-video-play-btn__pulse {
    position: absolute;
    width: 82px;
    height: 82px;
    border-radius: 50%;
    border: 2px solid rgba(220, 38, 38, .5);
    animation: playRing 2.2s infinite;
    pointer-events: none;
    z-index: 1;
}
@keyframes playRing {
    0% { transform: scale(.85); opacity: 1; }
    100% { transform: scale(1.4); opacity: 0; }
}
.metal-video-play-btn__caption {
    text-align: center;
    z-index: 2;
}
.metal-video-play-btn__caption strong {
    display: block;
    font-size: .95rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: .02em;
    text-shadow: 0 2px 10px rgba(0,0,0,.7);
}
.metal-video-play-btn__caption small {
    display: block;
    font-size: .75rem;
    color: rgba(255, 255, 255, .8);
    letter-spacing: .04em;
    text-transform: uppercase;
    text-shadow: 0 2px 8px rgba(0,0,0,.7);
}

/* Pie de la tarjeta de video */
.metal-video-card__footer {
    padding: 20px 22px 22px;
    background: var(--ink-2);
}
.metal-video-card__lead {
    font-size: .84rem;
    line-height: 1.6;
    color: var(--muted-dark);
    margin-bottom: 16px;
}
.metal-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.metal-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .72rem;
    font-weight: 600;
    color: #cbd5e1;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .08);
    padding: 4px 10px;
    border-radius: 6px;
}
.metal-chip .icon {
    width: 12px;
    height: 12px;
    color: var(--accent);
}

/* Columna de fotos */
.metal-photos-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.metal-photos-head__kicker {
    display: block;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 3px;
}
.metal-photos-head__title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -.01em;
}
.metal-photos-head__count {
    font-size: .72rem;
    font-weight: 600;
    color: var(--muted-dark);
    background: rgba(255, 255, 255, .06);
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .08);
}

.metal-photos-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.metal-photo-card {
    background: var(--ink-2);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 12px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 130px 1fr;
    transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.metal-photo-card:hover {
    transform: translateX(4px);
    border-color: rgba(220, 38, 38, .4);
    box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .5);
}
.metal-photo-card__media {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 120px;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    padding: 0;
    border: 0;
    background: #000;
    display: block;
}
.metal-photo-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .6s var(--ease-out);
}
.metal-photo-card:hover .metal-photo-card__media img {
    transform: scale(1.08);
}
.metal-photo-card__badge {
    position: absolute;
    top: 6px;
    left: 6px;
    font-size: .58rem;
    font-weight: 700;
    letter-spacing: .04em;
    color: var(--white);
    background: rgba(9, 10, 13, .85);
    padding: 2px 7px;
    border-radius: 4px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 2;
}
.metal-photo-card__zoom {
    position: absolute;
    inset: 0;
    background: rgba(220, 38, 38, .45);
    color: var(--white);
    display: grid;
    place-items: center;
    opacity: 0;
    transition: opacity .25s var(--ease);
    z-index: 3;
}
.metal-photo-card__zoom .icon {
    width: 20px;
    height: 20px;
}
.metal-photo-card:hover .metal-photo-card__zoom {
    opacity: 1;
}
.metal-photo-card__body {
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}
.metal-photo-card__body h4 {
    font-size: .88rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--white);
    letter-spacing: -.01em;
}
.metal-photo-card__body p {
    font-size: .75rem;
    line-height: 1.45;
    color: var(--muted-dark);
}
.metal-photo-card__meta-tag {
    font-size: .66rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: .03em;
    text-transform: uppercase;
    margin-top: 2px;
}

/* Ficha técnica de ingeniería (4 columnas) */
.metal-specs {
    margin-top: 36px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, .08);
}
.metal-spec-item {
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 10px;
    padding: 18px 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform .25s var(--ease), border-color .25s var(--ease), background .25s;
}
.metal-spec-item:hover {
    transform: translateY(-3px);
    border-color: rgba(220, 38, 38, .35);
    background: rgba(255, 255, 255, .05);
}
.metal-spec-item__icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(220, 38, 38, .12);
    color: var(--accent);
    display: grid;
    place-items: center;
}
.metal-spec-item__icon .icon {
    width: 18px;
    height: 18px;
}
.metal-spec-item__body strong {
    display: block;
    font-size: .92rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 6px;
}
.metal-spec-item__body span {
    display: block;
    font-size: .78rem;
    line-height: 1.5;
    color: var(--muted-dark);
}

/* Barra de acción directa */
.metal-showcase__cta {
    margin-top: 28px;
    padding: 24px 28px;
    background: linear-gradient(135deg, rgba(220, 38, 38, .12), rgba(15, 17, 21, .8));
    border: 1px solid rgba(220, 38, 38, .3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.metal-showcase__cta-copy {
    display: flex;
    align-items: center;
    gap: 16px;
}
.metal-showcase__cta-mark {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}
.metal-showcase__cta-copy strong {
    display: block;
    font-size: 1.02rem;
    color: var(--white);
    margin-bottom: 3px;
}
.metal-showcase__cta-copy p {
    font-size: .82rem;
    color: var(--muted-dark);
    margin: 0;
}
.metal-showcase__cta-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

/* Responsividad */
@media (max-width: 1024px) {
    .metal-showcase__grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .metal-specs {
        grid-template-columns: repeat(2, 1fr);
    }
    .metal-showcase__cta {
        flex-direction: column;
        align-items: flex-start;
    }
    .metal-showcase__cta-actions {
        width: 100%;
        flex-direction: column;
    }
    .metal-showcase__cta-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .metal-photo-card {
        grid-template-columns: 105px 1fr;
    }
    .metal-photo-card__media {
        min-height: 100px;
    }
    .metal-photo-card__body {
        padding: 10px 12px;
    }
    .metal-photo-card__body h4 {
        font-size: .82rem;
    }
    .metal-photo-card__body p {
        font-size: .7rem;
    }
    .metal-specs {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .metal-video-play-btn__circle {
        width: 54px;
        height: 54px;
    }
    .metal-video-play-btn__icon {
        width: 20px;
        height: 20px;
    }
    .metal-video-play-btn__pulse {
        width: 66px;
        height: 66px;
    }
}

/* =========================================================================
   SECCIÓN: VIDEO PROMOCIONAL EN HOME
   ========================================================================= */
.promo-video-section {
    position: relative;
    background: radial-gradient(circle at 10% 20%, rgba(220, 38, 38, .08) 0%, var(--ink) 60%);
    border-top: 1px solid rgba(255, 255, 255, .08);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.promo-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
    align-items: start;
    margin-top: 36px;
}
.promo-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.promo-info__head {
    margin-bottom: 4px;
}
.promo-info__kicker {
    display: block;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 4px;
}
.promo-info__title {
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--white);
    letter-spacing: -.02em;
}
.promo-card {
    background: var(--ink-2);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 12px;
    padding: 16px 18px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    transition: transform .25s var(--ease), border-color .25s, box-shadow .25s;
}
.promo-card:hover {
    transform: translateX(4px);
    border-color: rgba(220, 38, 38, .4);
    box-shadow: 0 10px 25px -10px rgba(0,0,0,.5);
}
.promo-card__icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(220, 38, 38, .12);
    color: var(--accent);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}
.promo-card__icon .icon {
    width: 18px;
    height: 18px;
}
.promo-card__body strong {
    display: block;
    font-size: .92rem;
    color: var(--white);
    margin-bottom: 4px;
}
.promo-card__body p {
    font-size: .78rem;
    line-height: 1.5;
    color: var(--muted-dark);
    margin: 0;
}
.promo-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 6px;
}
.promo-stat-box {
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 10px;
    padding: 14px 16px;
    text-align: center;
}
.promo-stat-box strong {
    display: block;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -.02em;
}
.promo-stat-box span {
    display: block;
    font-size: .7rem;
    color: var(--muted-dark);
    line-height: 1.35;
    margin-top: 2px;
}
.promo-actions {
    display: flex;
    gap: 12px;
    margin-top: 8px;
    flex-wrap: wrap;
}

@media (max-width: 1024px) {
    .promo-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}
@media (max-width: 640px) {
    .promo-stats {
        grid-template-columns: 1fr;
    }
    .promo-actions {
        flex-direction: column;
    }
    .promo-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ── Promo-video overrides: video más grande, sin recorte ── */
.promo-video-section .metal-video-wrapper {
    aspect-ratio: 16 / 9;
}
.promo-video-section .metal-video-player {
    object-fit: contain;
    background: #0a0a0d;
}
.promo-video-section .metal-video-card__top {
    padding: 18px 24px;
}
.promo-video-section .metal-video-card__title {
    font-size: 1rem;
}
.promo-video-section .metal-video-card__subtitle {
    font-size: .8rem;
}
.promo-video-section .metal-video-card__footer {
    padding: 20px 24px;
}
.promo-video-section .metal-video-card__lead {
    font-size: .88rem;
    line-height: 1.6;
}
.promo-video-section .metal-video-play-btn__circle {
    width: 80px;
    height: 80px;
}
.promo-video-section .metal-video-play-btn__caption strong {
    font-size: 1.05rem;
}
.promo-video-section .metal-video-play-btn__caption small {
    font-size: .82rem;
}

/* Info panel: layout horizontal cuando el video ocupa full width */
.promo-info__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.promo-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 6px;
}

@media (max-width: 900px) {
    .promo-info__cards {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 640px) {
    .promo-video-section .metal-video-wrapper {
        aspect-ratio: 4 / 3;
    }
    .promo-video-section .metal-video-play-btn__circle {
        width: 64px;
        height: 64px;
    }
}
