/* ==========================================================================
   Pulimentos JAC — estilos de la web pública
   Títulos: Unbounded · Texto: Work Sans
   ========================================================================== */

:root {
    --orange: #f26a1b;
    --orange-600: #dc5510;
    --amber: #ffa53a;
    --ink: #141821;
    --ink-2: #1e2430;
    --ink-3: #2b3240;
    --text: #3d4452;
    --muted: #6b7280;
    --line: #e9e4de;
    --bg: #ffffff;
    --bg-soft: #faf7f3;
    --bg-warm: #fff4ea;
    --white: #fff;

    --grad: linear-gradient(120deg, var(--amber) 0%, var(--orange) 55%, var(--orange-600) 100%);
    --grad-soft: linear-gradient(180deg, #fffaf5 0%, #fff 100%);
    --grad-tint: radial-gradient(1200px 500px at 85% -10%, rgba(255, 165, 58, .14), transparent 60%),
                 radial-gradient(900px 500px at -10% 110%, rgba(242, 106, 27, .08), transparent 60%),
                 linear-gradient(180deg, #fbf8f4 0%, #f7f2ec 100%);
    --grad-dark: radial-gradient(900px 480px at 100% 0%, rgba(242, 106, 27, .22), transparent 60%),
                 radial-gradient(700px 400px at 0% 100%, rgba(255, 165, 58, .10), transparent 60%),
                 linear-gradient(160deg, #1a1f2a 0%, #11141b 100%);

    --font-title: 'Unbounded', system-ui, sans-serif;
    --font-body: 'Work Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

    --radius: 18px;
    --radius-sm: 12px;
    --radius-lg: 28px;
    --shadow-sm: 0 2px 8px rgba(20, 24, 33, .06);
    --shadow: 0 12px 32px -12px rgba(20, 24, 33, .18);
    --shadow-lg: 0 30px 60px -20px rgba(20, 24, 33, .28);
    --shadow-glow: 0 14px 30px -10px rgba(242, 106, 27, .55);
    --ease: cubic-bezier(.2, .7, .2, 1);
    --header-h: 78px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-600); text-decoration: none; transition: color .2s; }
a:hover { color: var(--orange); }
h1, h2, h3, h4 { font-family: var(--font-title); color: var(--ink); line-height: 1.2; letter-spacing: -.01em; margin: 0 0 .6em; font-weight: 600; }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.skip-link { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 16px; color: #fff; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 860px; }
@media (max-width: 600px) { .container { padding: 0 16px; } body { font-size: 16px; } }

.icon { flex-shrink: 0; vertical-align: middle; }

/* ---------- Tipografía de apoyo ---------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--font-title); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
    color: var(--orange-600); margin-bottom: 14px;
}
.eyebrow::before { content: ''; width: 28px; height: 2px; border-radius: 2px; background: var(--grad); }
.eyebrow--light { color: #ffd2ae; }
.section-title { font-size: clamp(26px, 3.4vw, 42px); font-weight: 700; }
.section-text { color: var(--muted); max-width: 680px; }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-3); max-width: 860px; line-height: 1.65; }
.note { font-size: 14px; color: var(--muted); text-align: center; margin-top: 28px; }

.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section--tint { background: var(--grad-tint); }
.section-head { margin-bottom: clamp(32px, 4vw, 56px); }
.section-head--center { text-align: center; }
.section-head--center .section-text { margin: 0 auto; }
.section-head--split { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head--split .section-title { margin: 0; }

/* ---------- Botones ---------- */
.btn {
    --bpad: 14px 26px;
    position: relative; isolation: isolate; overflow: hidden;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: var(--bpad); border-radius: 999px; border: 1.5px solid transparent;
    font-family: var(--font-body); font-weight: 600; font-size: 15.5px; line-height: 1.2; letter-spacing: .01em;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, color .3s, border-color .3s;
    white-space: nowrap;
}
.btn .icon { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover .icon--arrow { transform: translateX(4px); }
.btn:hover { transform: translateY(-2px); }
.btn--sm { --bpad: 10px 18px; font-size: 14px; }
.btn--lg { --bpad: 17px 32px; font-size: 16.5px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--grad); background-size: 160% 100%; background-position: 0 0; color: #fff; box-shadow: var(--shadow-glow); }
.btn--primary:hover { color: #fff; background-position: 100% 0; box-shadow: 0 18px 36px -10px rgba(242, 106, 27, .65); }
/* destello que recorre el botón: guiño al "brillo" del pulido */
.btn--primary::after, .btn--light::after {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%);
    transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn--primary:hover::after, .btn--light:hover::after { transform: translateX(120%); }
.btn--outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--outline:hover { border-color: var(--orange); color: var(--orange-600); box-shadow: var(--shadow); }
.btn--glass { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--glass:hover { background: rgba(255, 255, 255, .22); color: #fff; }
.btn--light { background: #fff; color: var(--orange-600); }
.btn--light:hover { color: var(--orange-600); box-shadow: 0 16px 30px -12px rgba(0, 0, 0, .35); }
.btn--ghost-light { border-color: rgba(255, 255, 255, .6); color: #fff; }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.btn-row--center { justify-content: center; }
.linklike { background: none; border: 0; padding: 0; color: inherit; text-decoration: none; }
.linklike:hover { color: #fff; }

/* ---------- Barra superior ---------- */
.topbar { background: var(--ink); color: #c5cad3; font-size: 13.5px; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 16px; }
.topbar__info { display: flex; gap: 24px; flex-wrap: wrap; }
.topbar__info a, .topbar__info span { color: #c5cad3; display: inline-flex; align-items: center; gap: 7px; }
.topbar__info a:hover { color: #fff; }
.topbar .icon { width: 15px; height: 15px; color: var(--amber); }
@media (max-width: 860px) { .topbar { display: none; } }

.social { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.social a { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; color: inherit; transition: background .25s, color .25s, transform .25s var(--ease); }
.social a:hover { background: var(--grad); color: #fff; transform: translateY(-2px); }
.social .icon { width: 16px; height: 16px; color: currentColor; }
.topbar .social a { color: #c5cad3; }

/* ---------- Cabecera ---------- */
.header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 255, 255, .86);
    backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: box-shadow .3s, border-color .3s, background .3s;
}
.header.is-scrolled { box-shadow: 0 8px 30px -14px rgba(20, 24, 33, .25); border-color: var(--line); background: rgba(255, 255, 255, .94); }
.header__inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 24px; }

.logo { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo__mark { transition: transform .8s var(--ease); }
.logo:hover .logo__mark { transform: rotate(180deg); }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__text strong { font-family: var(--font-title); font-size: 24px; font-weight: 700; letter-spacing: .06em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo__text small { font-family: var(--font-title); font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--orange-600); margin-top: 5px; font-weight: 500; }
.logo--light .logo__text small { color: #ffc89a; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav__list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__list > li { position: relative; display: flex; align-items: center; }
.nav__list > li > a {
    position: relative; display: block; padding: 10px 14px; border-radius: 10px;
    color: var(--ink); font-weight: 500; font-size: 15.5px;
}
.nav__list > li > a::after {
    content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px;
    background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav__list > li > a:hover::after, .nav__list > li > a.is-active::after { transform: scaleX(1); }
.nav__list > li > a:hover, .nav__list > li > a.is-active { color: var(--orange-600); }
.sub-toggle { display: none; }
.has-sub > a { padding-right: 6px !important; }
.has-sub > a::before { content: ''; }

.sub {
    position: absolute; top: calc(100% + 10px); left: -12px; min-width: 330px;
    list-style: none; margin: 0; padding: 10px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: opacity .25s, transform .3s var(--ease), visibility .25s;
}
.sub::before { content: ''; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; color: var(--ink); font-size: 14.5px; line-height: 1.35; font-weight: 500; transition: background .2s, color .2s; }
.sub a:hover { background: var(--bg-warm); color: var(--orange-600); }
.sub img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
.sub--simple { min-width: 240px; }
.sub--simple a { padding: 12px 14px; }

.nav__mobile-info { display: none; }
.burger { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s, top .3s var(--ease); }
.burger span:nth-child(1) { top: 15px; } .burger span:nth-child(2) { top: 22px; } .burger span:nth-child(3) { top: 29px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

@media (max-width: 1080px) {
    :root { --header-h: 68px; }
    .burger { display: block; z-index: 2; }
    .nav {
        position: fixed; inset: var(--header-h) 0 0 0; z-index: 1;
        flex-direction: column; align-items: stretch; gap: 20px;
        padding: 20px 20px 40px; overflow-y: auto;
        background: var(--grad-soft);
        opacity: 0; visibility: hidden; transform: translateY(-10px);
        transition: opacity .3s, transform .35s var(--ease), visibility .3s;
    }
    .nav.is-open { opacity: 1; visibility: visible; transform: none; }
    html.nav-lock { overflow: hidden; }
    /* backdrop-filter convierte la cabecera en el contenedor de los fixed y recortaría el menú */
    body.nav-open .header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
    .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
    .nav__list > li { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
    .nav__list > li > a { flex: 1; padding: 16px 4px; font-size: 18px; font-family: var(--font-title); font-weight: 500; }
    .nav__list > li > a::after { display: none; }
    .sub-toggle { display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: var(--bg-warm); border-radius: 10px; color: var(--orange-600); }
    .sub-toggle .icon { transition: transform .3s var(--ease); }
    .has-sub.is-open .sub-toggle .icon { transform: rotate(180deg); }
    .sub, .has-sub:hover .sub { position: static; width: 100%; min-width: 0; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 12px; display: none; background: transparent; }
    .has-sub.is-open .sub { display: block; }
    .nav__cta { width: 100%; }
    .nav__mobile-info { display: flex; flex-direction: column; gap: 12px; color: var(--ink); }
    .nav__mobile-info a { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 500; }
    .nav__mobile-info .icon { color: var(--orange); }
}
@media (max-width: 420px) { .logo__text small { display: none; } .logo__mark { width: 38px; height: 38px; } }

/* ---------- Hero portada ---------- */
.hero { position: relative; min-height: min(92vh, 860px); display: flex; flex-direction: column; color: #fff; overflow: hidden; background: var(--ink); margin-top: calc(var(--header-h) * -1); padding-top: var(--header-h); }
.is-home .header:not(.is-scrolled) { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.is-home .header:not(.is-scrolled) .nav__list > li > a { color: #fff; }
.is-home .header:not(.is-scrolled) .logo__text small { color: #ffd2ae; }
.is-home .header:not(.is-scrolled) .burger { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .3); }
.is-home .header:not(.is-scrolled) .burger span { background: #fff; }
@media (max-width: 1080px) { .is-home .header:not(.is-scrolled) .nav__list > li > a { color: var(--ink); } }
.nav-open.is-home .header { background: #fff !important; }
.nav-open.is-home .header .burger span { background: var(--ink) !important; }

.hero__slides, .hero__slide, .hero__shade, .hero__shine { position: absolute; inset: 0; }
/* Fondo: la foto activa muy desenfocada (las originales no tienen resolución para pantalla completa) */
.hero__slide { background-size: cover; background-position: center; opacity: 0; transform: scale(1.25); filter: blur(28px) saturate(1.2); transition: opacity 1.4s ease; }
.hero__slide.is-active { opacity: .55; }
.hero__shade { background: linear-gradient(100deg, rgba(14, 17, 24, .94) 0%, rgba(14, 17, 24, .8) 50%, rgba(14, 17, 24, .55) 100%), linear-gradient(0deg, rgba(14, 17, 24, .85) 0%, transparent 40%); }

.hero__inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: clamp(32px, 5vw, 72px); }
.hero__media { position: relative; animation: rise 1s .3s var(--ease) both; }
.hero__frame {
    position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .12);
    transform: perspective(1200px) rotateY(-6deg) rotateX(2deg); transition: transform .8s var(--ease);
}
.hero__media:hover .hero__frame { transform: perspective(1200px) rotateY(0) rotateX(0); }
.hero__media::before { content: ''; position: absolute; inset: -18px -18px 18px 18px; border-radius: var(--radius-lg); background: var(--grad); opacity: .35; filter: blur(2px); z-index: -1; }
.hero__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 1.2s ease, transform 6s ease-out; }
.hero__photo.is-active { opacity: 1; transform: scale(1); }
.hero__frame-shine { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .28) 48%, transparent 60%); transform: translateX(-100%); animation: sweep 6s 1.2s ease-in-out infinite; pointer-events: none; }
@keyframes sweep { 0%, 60% { transform: translateX(-100%); } 85%, 100% { transform: translateX(100%); } }
.hero__tag {
    position: absolute; left: -24px; bottom: 28px; display: flex; align-items: center; gap: 12px;
    padding: 14px 18px; border-radius: var(--radius); background: rgba(255, 255, 255, .95); color: var(--muted); font-size: 13px; line-height: 1.3;
    box-shadow: var(--shadow-lg); animation: float 5s ease-in-out infinite;
}
.hero__tag strong { display: block; color: var(--ink); font-family: var(--font-title); font-size: 14px; }
.hero__tag .icon { width: 38px; height: 38px; padding: 9px; border-radius: 12px; background: var(--grad); color: #fff; }
@media (max-width: 960px) {
    .hero__inner { grid-template-columns: 1fr; }
    .hero__media { max-width: 560px; }
    .hero__frame { transform: none; }
    .hero__tag { left: 12px; bottom: -18px; }
}
.hero__shine { background: radial-gradient(600px 400px at 80% 20%, rgba(255, 165, 58, .28), transparent 60%); mix-blend-mode: screen; animation: shine 9s ease-in-out infinite alternate; }
@keyframes shine { to { transform: translate(-12%, 10%); } }
.hero__inner { position: relative; flex: 1; padding-top: 60px; padding-bottom: 60px; }
.hero__eyebrow { animation: rise .9s var(--ease) both; }
.hero__title {
    color: #fff; font-size: clamp(34px, 4.8vw, 66px); font-weight: 700; max-width: 900px; margin-bottom: 18px; line-height: 1.05;
    animation: rise .9s .1s var(--ease) both;
}
.hero__subtitle {
    font-family: var(--font-title); font-weight: 400; font-size: clamp(16px, 2vw, 24px); max-width: 640px; margin-bottom: 18px;
    background: linear-gradient(90deg, #ffd2ae, var(--amber)); -webkit-background-clip: text; background-clip: text; color: transparent;
    animation: rise .9s .2s var(--ease) both;
}
.hero__ticker { position: relative; min-height: 3.4em; max-width: 560px; margin-bottom: 30px; animation: rise .9s .3s var(--ease) both; }
.hero__ticker-item { position: absolute; inset: 0; margin: 0; color: rgba(255, 255, 255, .82); font-size: 18px; opacity: 0; transform: translateY(10px); transition: opacity .6s, transform .6s var(--ease); }
.hero__ticker-item.is-active { opacity: 1; transform: none; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; animation: rise .9s .4s var(--ease) both; }
.hero__dots { display: flex; gap: 10px; margin-top: 44px; }
.hero__dots button { width: 34px; height: 4px; border-radius: 4px; border: 0; padding: 0; background: rgba(255, 255, 255, .3); position: relative; overflow: hidden; }
.hero__dots button.is-active::after { content: ''; position: absolute; inset: 0; background: var(--grad); animation: progress 6s linear forwards; transform-origin: left; }
@keyframes progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.hero__stats { position: relative; border-top: 1px solid rgba(255, 255, 255, .12); background: rgba(14, 17, 24, .45); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.hero__stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 22px 18px; display: flex; flex-direction: column; gap: 2px; border-left: 1px solid rgba(255, 255, 255, .1); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat strong { font-family: var(--font-title); font-size: clamp(22px, 2.6vw, 34px); font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1.1; }
.stat span { font-size: 14px; color: rgba(255, 255, 255, .75); }
@media (max-width: 760px) {
    .hero__stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat { padding: 16px 12px; }
    .stat:nth-child(3) { border-left: 0; padding-left: 0; }
    .stat:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .1); }
}

/* ---------- Cabecera de páginas interiores ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--grad-dark); color: #fff; padding: clamp(56px, 8vw, 104px) 0 clamp(48px, 6vw, 80px); }
.page-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .28; transform: scale(1.05); animation: slowzoom 18s ease-out forwards; }
.page-hero--image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17, 20, 27, .95) 0%, rgba(17, 20, 27, .7) 60%, rgba(17, 20, 27, .4) 100%); }
.page-hero__glow { position: absolute; width: 520px; height: 520px; right: -140px; top: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 165, 58, .35), transparent 65%); filter: blur(10px); z-index: 1; }
.page-hero__inner { position: relative; z-index: 2; }
.page-hero__title { color: #fff; font-size: clamp(26px, 4vw, 50px); font-weight: 700; max-width: 980px; margin-bottom: 14px; animation: rise .8s var(--ease) both; }
.page-hero__subtitle { font-size: clamp(16px, 1.5vw, 20px); color: rgba(255, 255, 255, .8); max-width: 760px; margin: 0; animation: rise .8s .1s var(--ease) both; }
@keyframes slowzoom { to { transform: scale(1); } }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 22px; font-size: 14px; }
.breadcrumb li { display: inline-flex; align-items: center; gap: 6px; color: rgba(255, 255, 255, .6); }
.breadcrumb li + li::before { content: '/'; color: rgba(255, 255, 255, .35); }
.breadcrumb a { color: rgba(255, 255, 255, .8); }
.breadcrumb a:hover { color: var(--amber); }
.breadcrumb [aria-current] { color: var(--amber); }

/* ---------- Sobre nosotros ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.about__media { position: relative; }
.about__media img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.about__media::before { content: ''; position: absolute; inset: 24px -24px -24px 24px; border-radius: var(--radius-lg); background: var(--grad); opacity: .16; z-index: -1; }
.about__badge {
    position: absolute; right: -18px; bottom: 28px; padding: 18px 22px; border-radius: var(--radius);
    background: #fff; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; line-height: 1.15;
    animation: float 5s ease-in-out infinite;
}
.about__badge strong { font-family: var(--font-title); font-size: 30px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.about__badge span { font-size: 13px; color: var(--muted); }
@keyframes float { 50% { transform: translateY(-8px); } }
@media (max-width: 900px) { .about__grid { grid-template-columns: 1fr; } .about__badge { right: 12px; } }

/* ---------- Prose (contenido editable) ---------- */
.prose > :last-child { margin-bottom: 0; }
.prose h2 { font-size: clamp(22px, 2.4vw, 30px); margin-top: 1.8em; }
.prose h3 { font-size: clamp(18px, 1.8vw, 22px); margin-top: 1.6em; }
.prose h4 { font-size: 17px; margin-top: 1.4em; }
.prose > h2:first-child, .prose > h3:first-child { margin-top: 0; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--orange-600); background-image: linear-gradient(var(--amber), var(--amber)); background-size: 0 2px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size .35s var(--ease), color .2s; font-weight: 500; }
.prose a:hover { background-size: 100% 2px; }
.prose ul, .prose ol { padding-left: 0; list-style: none; margin: 0 0 1.2em; }
.prose li { position: relative; padding-left: 30px; margin-bottom: .55em; }
.prose ul li::before { content: ''; position: absolute; left: 4px; top: .62em; width: 10px; height: 10px; border-radius: 3px; background: var(--grad); transform: rotate(45deg); }
.prose ol { counter-reset: n; }
.prose ol li { counter-increment: n; }
.prose ol li::before { content: counter(n); position: absolute; left: 0; top: .15em; width: 22px; height: 22px; border-radius: 50%; background: var(--bg-warm); color: var(--orange-600); font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.prose--sm { font-size: 15.5px; }
.prose--article { font-size: 17.5px; }
.prose--article > h2 { padding-top: 1.2em; border-top: 1px solid var(--line); }
.prose--article > h2:first-child { border-top: 0; padding-top: 0; }
.prose--article > h3 { display: flex; align-items: center; gap: 12px; }
.prose--article > h3::before { content: ''; width: 8px; height: 26px; border-radius: 4px; background: var(--grad); flex-shrink: 0; }
.prose--legal { font-size: 16px; }

/* ---------- Tarjetas ---------- */
.cards { display: grid; gap: 24px; }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--2 { grid-template-columns: repeat(2, 1fr); max-width: 900px; margin-inline: auto; }
@media (max-width: 600px) { .cards--2 { grid-template-columns: 1fr; } }
@media (max-width: 1100px) { .cards--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .cards--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards--4, .cards--3 { grid-template-columns: 1fr; } }

.card {
    position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius);
    color: var(--text); box-shadow: var(--shadow-sm); border: 1px solid var(--line); overflow: hidden;
    transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
}
.card::after { /* borde degradado al pasar el ratón */
    content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none;
    background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
    opacity: 0; transition: opacity .35s;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); color: var(--text); border-color: transparent; }
.card:hover::after { opacity: 1; }
.card__media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.card:hover .card__media img { transform: scale(1.08); }
.card__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(20, 24, 33, .35)); }
.card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; gap: 12px; }
.card__num { font-family: var(--font-title); font-size: 13px; font-weight: 600; color: var(--orange); }
.card__title { font-size: 19px; margin: 0; transition: color .3s; }
.card:hover .card__title { color: var(--orange-600); }
.card__meta { font-size: 13.5px; color: var(--muted); margin: 0; text-transform: uppercase; letter-spacing: .06em; }
.card__link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--orange-600); font-size: 15px; }
.card__link .icon { width: 18px; transition: transform .3s var(--ease); }
.card:hover .card__link .icon { transform: translateX(5px); }
.card__badge { position: absolute; left: 14px; top: 14px; z-index: 1; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--ink); font-size: 13px; font-weight: 600; }
.card__badge .icon { width: 15px; height: 15px; color: var(--orange); }

.chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.chips li { padding: 4px 11px; border-radius: 999px; background: var(--bg-warm); color: var(--orange-600); font-size: 12.5px; font-weight: 600; }
.chips--strong li { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; font-size: 14px; background: #fff; border: 1px solid #ffd9bd; }
.chips--strong .icon { width: 16px; height: 16px; }

/* ---------- Materiales ---------- */
.materials__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.materials__grid--5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1000px) { .materials__grid, .materials__grid--5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .materials__grid, .materials__grid--5 { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
.material { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; box-shadow: var(--shadow-sm); isolation: isolate; }
.material img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.material::before { /* reflejo que barre la superficie, como un suelo recién pulido */
    content: ''; position: absolute; inset: -50%; z-index: 1;
    background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, .55) 50%, transparent 60%);
    transform: translateX(-60%); transition: transform 1s var(--ease);
}
.material::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(20, 24, 33, .78)); z-index: 1; }
.material figcaption { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 2; color: #fff; font-family: var(--font-title); font-size: 14px; font-weight: 600; transition: transform .4s var(--ease); }
.material:hover img { transform: scale(1.1); }
.material:hover::before { transform: translateX(60%); }
.material:hover figcaption { transform: translateY(-4px); }

/* ---------- Misión ---------- */
.mission { background: var(--grad-dark); color: rgba(255, 255, 255, .82); }
.mission__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; }
@media (max-width: 860px) { .mission__grid { grid-template-columns: 1fr; } }
.mission__card {
    position: relative; padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-lg);
    background: linear-gradient(160deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02)); border: 1px solid rgba(255, 255, 255, .1);
    transition: transform .4s var(--ease), border-color .3s, background .3s;
}
.mission__card:hover { transform: translateY(-6px); border-color: rgba(255, 165, 58, .45); background: linear-gradient(160deg, rgba(255, 165, 58, .12), rgba(255, 255, 255, .02)); }
.mission__icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--grad); color: #fff; margin-bottom: 22px; box-shadow: var(--shadow-glow); }
.mission__icon .icon { width: 26px; height: 26px; }
.mission__title { color: #fff; font-size: clamp(22px, 2.4vw, 30px); }
.mission p { font-size: 18px; margin: 0; }

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checklist li { display: flex; align-items: flex-start; gap: 12px; font-weight: 500; }
.checklist .icon { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--grad); color: #fff; margin-top: 1px; }
.mission .checklist li { color: #fff; font-size: 17px; }
.checklist--light li { color: #fff; }
.checklist--light .icon { background: rgba(255, 255, 255, .22); }

/* ---------- Galería ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 1000px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; } }
.gallery__item { position: relative; display: block; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 1; background: var(--bg-soft); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .4s; }
.gallery__item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(20, 24, 33, .85)); opacity: 0; transition: opacity .4s; }
.gallery__item:hover img { transform: scale(1.08); }
.gallery__item:hover::after { opacity: 1; }
.gallery__caption { position: absolute; z-index: 1; left: 14px; right: 14px; bottom: 12px; color: #fff; font-weight: 600; font-size: 14.5px; line-height: 1.3; transform: translateY(12px); opacity: 0; transition: transform .4s var(--ease), opacity .4s; }
.gallery__caption small { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--amber); margin-bottom: 3px; }
.gallery__item:hover .gallery__caption { transform: none; opacity: 1; }
.gallery__zoom { position: absolute; z-index: 1; inset: 0; margin: auto; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .92); color: var(--orange-600); transform: scale(.6); opacity: 0; transition: transform .4s var(--ease), opacity .3s; }
.gallery__item:hover .gallery__zoom { transform: scale(1); opacity: 1; }
.gallery__item.is-hidden { display: none; }
.gallery__item.is-filtering { animation: pop .5s var(--ease) both; }
@keyframes pop { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
.gallery--project { grid-template-columns: repeat(4, 1fr); margin-bottom: clamp(40px, 6vw, 72px); }
.gallery--project .gallery__item--wide { grid-column: span 2; grid-row: span 2; }
@media (hover: none) { .gallery__caption { opacity: 1; transform: none; } .gallery__item::after { opacity: .9; } }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 32px; }
.filter { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); font-weight: 600; font-size: 15px; transition: all .3s var(--ease); }
.filter span { font-size: 12px; padding: 2px 8px; border-radius: 999px; background: var(--bg-soft); color: var(--muted); transition: inherit; }
.filter:hover { border-color: var(--orange); color: var(--orange-600); transform: translateY(-2px); }
.filter.is-active { background: var(--grad); color: #fff; border-color: transparent; box-shadow: var(--shadow-glow); }
.filter.is-active span { background: rgba(255, 255, 255, .25); color: #fff; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(10, 12, 17, .94); display: flex; align-items: center; justify-content: center; padding: 60px 70px; animation: fade .3s; }
@keyframes fade { from { opacity: 0; } }
.lightbox__figure { margin: 0; max-width: 1200px; width: 100%; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lightbox__stage { width: 100%; display: flex; justify-content: center; }
.lightbox__stage img { max-height: 80vh; width: auto; border-radius: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); animation: pop .4s var(--ease); }
.lightbox__stage iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 12px; max-height: 80vh; }
.lightbox figcaption { color: #fff; font-weight: 500; text-align: center; }
.lightbox__close, .lightbox__nav { position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .08); color: #fff; display: grid; place-items: center; transition: background .25s, transform .25s var(--ease); }
.lightbox__close:hover, .lightbox__nav:hover { background: var(--orange); border-color: var(--orange); }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__nav { top: 50%; margin-top: -25px; }
.lightbox__nav--prev { left: 14px; } .lightbox__nav--prev .icon { transform: rotate(90deg); }
.lightbox__nav--next { right: 14px; } .lightbox__nav--next .icon { transform: rotate(-90deg); }
.lightbox--single .lightbox__nav { display: none; }
@media (max-width: 640px) { .lightbox { padding: 70px 10px; } .lightbox__nav { top: auto; bottom: 14px; margin: 0; } }

/* ---------- Vídeos ---------- */
.videos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 12px; }
@media (max-width: 900px) { .videos { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .videos { grid-template-columns: 1fr; } }
.video { text-align: left; padding: 0; border: 1px solid var(--line); background: #fff; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.video:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.video__thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink); }
.video__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), opacity .4s; opacity: .9; }
.video:hover .video__thumb img { transform: scale(1.06); opacity: .7; }
.video__play { position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-glow); transition: transform .4s var(--ease); }
.video__play::before { content: ''; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .5); animation: ping 2s ease-out infinite; }
@keyframes ping { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.4); opacity: 0; } }
.video:hover .video__play { transform: scale(1.12); }
.video__play .icon { width: 24px; height: 24px; margin-left: 3px; }
.video__title { padding: 16px 18px; font-family: var(--font-title); font-size: 15px; font-weight: 600; color: var(--ink); }

/* ---------- Clientes ---------- */
.clients { overflow: hidden; }
.marquee { position: relative; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { flex-shrink: 0; width: 220px; height: 120px; margin: 0 12px; display: grid; place-items: center; padding: 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: border-color .3s, box-shadow .3s, transform .3s var(--ease); }
.marquee__item img { max-height: 70px; width: auto; filter: grayscale(1); opacity: .65; transition: filter .4s, opacity .4s; }
.marquee__item:hover { border-color: #ffd2ae; box-shadow: var(--shadow); transform: translateY(-4px); }
.marquee__item:hover img { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Servicios (listado) ---------- */
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 8px; }
.pill { padding: 10px 18px; border-radius: 999px; background: var(--bg-warm); color: var(--orange-600); font-weight: 600; font-size: 15px; transition: all .3s var(--ease); }
.pill:hover { background: var(--grad); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-glow); }
.service-rows { display: grid; gap: clamp(48px, 7vw, 96px); margin-top: clamp(40px, 6vw, 80px); }
.service-row { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.service-row:nth-child(even) .service-row__media { order: 2; }
@media (max-width: 900px) { .service-row { grid-template-columns: 1fr; } .service-row:nth-child(even) .service-row__media { order: 0; } }
.service-row__media { position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; }
.service-row__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.service-row__media:hover img { transform: scale(1.06); }
.service-row__num { position: absolute; left: 18px; top: 18px; font-family: var(--font-title); font-weight: 700; font-size: 18px; color: #fff; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 16px; background: var(--grad); box-shadow: var(--shadow-glow); }
.service-row__title { font-size: clamp(24px, 2.8vw, 36px); }
.objectives { margin: 22px 0 6px; padding: 18px 20px; border-radius: var(--radius); background: var(--grad-tint); border: 1px solid var(--line); }
.objectives__title { font-family: var(--font-title); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); margin-bottom: 12px; }

.feature-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 1000px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .feature-grid { grid-template-columns: 1fr; } }
.feature { display: flex; align-items: center; gap: 12px; padding: 18px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); font-weight: 600; color: var(--ink); transition: all .35s var(--ease); }
.feature .icon { width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: var(--bg-warm); color: var(--orange); transition: all .35s var(--ease); }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #ffd2ae; }
.feature:hover .icon { background: var(--grad); color: #fff; transform: rotate(-12deg); }
.callout { display: flex; gap: 20px; align-items: center; margin-top: 40px; padding: 26px 30px; border-radius: var(--radius-lg); background: var(--grad); color: #fff; box-shadow: var(--shadow-glow); }
.callout p { margin: 0; font-size: 18px; font-weight: 500; }
.callout__icon { flex-shrink: 0; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 16px; background: rgba(255, 255, 255, .2); }
.callout__icon .icon { width: 28px; height: 28px; }
@media (max-width: 600px) { .callout { flex-direction: column; align-items: flex-start; } }

/* ---------- Artículo + barra lateral ---------- */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.article-layout--project { margin-bottom: clamp(56px, 7vw, 96px); }
@media (max-width: 1000px) { .article-layout { grid-template-columns: 1fr; } }
.sidebar { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }
@media (max-width: 1000px) { .sidebar { position: static; } }
.side-card { padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.side-card--accent { background: var(--grad); border: 0; color: #fff; box-shadow: var(--shadow-glow); position: relative; overflow: hidden; }
.side-card--accent::before { content: ''; position: absolute; width: 220px; height: 220px; right: -80px; top: -80px; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.side-card--accent .side-card__title { color: #fff; }
.side-card--accent .checklist { margin-bottom: 22px; position: relative; }
.side-card__title { font-family: var(--font-title); font-size: 16px; font-weight: 600; color: var(--ink); margin-bottom: 16px; }
.side-card__phone { position: relative; display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 14px; color: #fff; font-weight: 600; font-size: 18px; }
.side-card__phone:hover { color: #fff; opacity: .85; }
.side-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.side-links a { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 12px; color: var(--ink); font-weight: 500; font-size: 15px; line-height: 1.35; transition: background .25s, color .25s, transform .25s var(--ease); }
.side-links a:hover { background: var(--bg-warm); color: var(--orange-600); transform: translateX(4px); }
.side-links img { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; }
.side-links--plain a { justify-content: space-between; padding: 10px 12px; }
.side-links--plain .icon { width: 16px; color: var(--orange); }

.summary { display: grid; grid-template-columns: 240px 1fr; gap: 26px; padding: 22px; margin-bottom: 44px; border-radius: var(--radius-lg); background: var(--grad-tint); border: 1px solid var(--line); }
.summary img { width: 100%; height: 100%; min-height: 200px; object-fit: cover; border-radius: var(--radius); }
@media (max-width: 700px) { .summary { grid-template-columns: 1fr; } .summary img { min-height: 0; aspect-ratio: 16 / 9; } }

.data-list { margin: 0; display: grid; gap: 14px; }
.data-list div { display: grid; grid-template-columns: 24px 1fr; column-gap: 12px; }
.data-list .icon { grid-row: span 2; color: var(--orange); margin-top: 3px; }
.data-list dt { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.data-list dd { margin: 0; font-weight: 600; color: var(--ink); }

.more-works { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: clamp(48px, 6vw, 80px); }
@media (max-width: 640px) { .more-works { grid-template-columns: 1fr; } }
.more-works__link { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; padding: 24px 26px; border-radius: var(--radius); background: var(--grad-tint); border: 1px solid var(--line); color: var(--ink); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s; }
.more-works__link small { grid-column: 1; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.more-works__link span { grid-column: 1; font-family: var(--font-title); font-size: 20px; font-weight: 600; }
.more-works__link .icon { grid-column: 2; grid-row: 1 / span 2; width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: #fff; color: var(--orange); transition: all .35s var(--ease); }
.more-works__link:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--ink); }
.more-works__link:hover .icon { background: var(--grad); color: #fff; transform: translateX(4px); }

/* ---------- Contacto ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 960px) { .contact { grid-template-columns: 1fr; } }
.contact-cards { list-style: none; margin: 24px 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (max-width: 520px) { .contact-cards { grid-template-columns: 1fr; } }
.contact-cards li:last-child, .contact-cards__wide { grid-column: 1 / -1; }
.contact-card > span:last-child { min-width: 0; overflow-wrap: break-word; }
.contact-card { display: flex; align-items: center; gap: 14px; padding: 16px; height: 100%; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 600; line-height: 1.35; min-width: 0; transition: all .35s var(--ease); }
.contact-card small { display: block; font-size: 12px; font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 2px; }
.contact-card__icon { flex-shrink: 0; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: var(--bg-warm); color: var(--orange); transition: all .35s var(--ease); }
.contact-card__icon--wa { background: #e7f8ee; color: #1fa855; }
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #ffd2ae; color: var(--ink); }
.contact-card:hover .contact-card__icon { background: var(--grad); color: #fff; }
.contact-card:hover .contact-card__icon--wa { background: #25d366; }
.map { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 10; background: var(--ink); box-shadow: var(--shadow); }
.map img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.map__overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: #fff; text-align: center; padding: 16px; }
.map__overlay small { opacity: .8; font-size: 13px; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.form-card { position: relative; padding: clamp(26px, 4vw, 44px); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.form-card::before { content: ''; position: absolute; left: 32px; right: 32px; top: -1px; height: 4px; border-radius: 0 0 6px 6px; background: var(--grad); }
.form-card__title { font-size: clamp(22px, 2.4vw, 28px); margin-bottom: 6px; }
.form { display: grid; gap: 16px; margin-top: 22px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field span { font-size: 14px; font-weight: 600; color: var(--ink); }
.field input, .field textarea {
    width: 100%; padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg-soft);
    font: inherit; font-size: 16px; color: var(--ink); transition: border-color .25s, box-shadow .25s, background .25s; resize: vertical;
}
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--orange); background: #fff; box-shadow: 0 0 0 4px rgba(242, 106, 27, .14); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #e11d48; }
.field--hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--orange); flex-shrink: 0; }
.check.is-invalid span { color: #e11d48; }
.form__legal { font-size: 12.5px; color: var(--muted); margin: 0; line-height: 1.5; }
.alert { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 12px; font-weight: 500; margin-top: 16px; }
.alert--ok { background: #e9f9ef; color: #166534; }
.alert--error { background: #fde8ec; color: #9f1239; }
.form.is-sending button[type=submit] { opacity: .7; pointer-events: none; }

/* ---------- Banda CTA ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--grad); color: #fff; padding: clamp(48px, 6vw, 80px) 0; }
.cta-band::before, .cta-band::after { content: ''; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.cta-band::before { width: 420px; height: 420px; right: -120px; top: -200px; }
.cta-band::after { width: 260px; height: 260px; left: -80px; bottom: -150px; }
.cta-band__inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band__title { color: #fff; font-size: clamp(24px, 3vw, 38px); margin-bottom: 10px; }
.cta-band p { margin: 0; max-width: 620px; color: rgba(255, 255, 255, .9); }
.cta-band .eyebrow::before { background: #fff; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Pie ---------- */
.footer { background: var(--grad-dark); color: #aab1bd; padding: clamp(56px, 7vw, 88px) 0 0; font-size: 15.5px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; padding-bottom: 48px; }
@media (max-width: 960px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; gap: 32px; } }
.footer__brand p { margin: 20px 0; max-width: 360px; }
.footer .logo { color: #fff; }
.footer .social a { color: #c5cad3; background: rgba(255, 255, 255, .06); }
.footer__title { color: #fff; font-size: 15px; letter-spacing: .04em; margin-bottom: 18px; }
.footer__links, .footer__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer__links a { color: #aab1bd; position: relative; transition: color .25s, padding .3s var(--ease); }
.footer__links a::before { content: ''; position: absolute; left: 0; top: 50%; width: 0; height: 2px; background: var(--grad); transition: width .3s var(--ease); }
.footer__links a:hover { color: #fff; padding-left: 18px; }
.footer__links a:hover::before { width: 10px; }
.footer__contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer__contact .icon { color: var(--amber); margin-top: 3px; }
.footer__contact a { color: #e5e7eb; }
.footer__contact a:hover { color: var(--amber); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 22px 24px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 14px; }
.footer__bottom p { margin: 0; }
.footer__bottom ul { display: flex; flex-wrap: wrap; gap: 20px; list-style: none; margin: 0; padding: 0; }
.footer__bottom a, .footer__bottom .linklike { color: #aab1bd; font-size: 14px; }
.footer__bottom a:hover { color: #fff; }

/* ---------- WhatsApp flotante ---------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px -8px rgba(37, 211, 102, .7); transition: transform .3s var(--ease); }
.wa-float::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ping 2.4s ease-out infinite; }
.wa-float:hover { color: #fff; transform: scale(1.08) rotate(-6deg); }
.wa-float .icon { width: 30px; height: 30px; }
body.cookie-visible .wa-float { bottom: 20px; }
@media (max-width: 640px) { body.cookie-visible .wa-float { opacity: 0; pointer-events: none; } }

/* ---------- Banner de cookies ---------- */
.cookie {
    position: fixed; left: 20px; bottom: 20px; z-index: 150; width: min(460px, calc(100% - 40px));
    padding: 24px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line);
    box-shadow: 0 30px 70px -20px rgba(20, 24, 33, .45); font-size: 14.5px; line-height: 1.55;
    animation: rise .6s var(--ease) both;
}
.cookie::before { content: ''; position: absolute; left: 24px; right: 24px; top: -1px; height: 4px; border-radius: 0 0 6px 6px; background: var(--grad); }
.cookie__title { font-family: var(--font-title); font-weight: 600; font-size: 17px; color: var(--ink); margin-bottom: 8px; }
.cookie__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.cookie__actions .btn { flex: 1; }
@media (max-width: 520px) { .cookie { left: 10px; right: 10px; bottom: 10px; width: auto; padding: 20px; } }
.switch { display: grid; grid-template-columns: 46px 1fr; column-gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.switch input { position: absolute; opacity: 0; }
.switch > span { grid-row: span 2; width: 46px; height: 26px; border-radius: 26px; background: #d6d3cf; position: relative; transition: background .25s; }
.switch > span::after { content: ''; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease); }
.switch input:checked + span { background: var(--orange); }
.switch input:checked + span::after { transform: translateX(20px); }
.switch input:disabled + span { opacity: .6; }
.switch input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: 2px; }
.switch strong { color: var(--ink); }
.switch small { color: var(--muted); }

/* ---------- 404 ---------- */
.notfound { background: var(--grad-tint); text-align: center; }
.notfound__inner { max-width: 760px; }
.notfound__code { font-family: var(--font-title); font-size: clamp(90px, 18vw, 200px); font-weight: 800; line-height: 1; margin: 0 0 10px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.notfound .lead { margin: 0 auto; }

/* ---------- Animaciones de entrada ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .js .reveal { opacity: 1; transform: none; }
    .marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
}
