/* ==========================================================================
   PROCOMIT — hoja de estilos principal
   ========================================================================== */
:root {
  --ink: #0b1b2b;
  --ink-2: #102539;
  --ink-3: #18334d;
  --accent: #ff5a1f;
  --accent-2: #e84a10;
  --accent-soft: #fff1ea;
  --sky: #3fa9f5;
  --text: #1c2a38;
  --muted: #5a6b7c;
  --line: #e2e8ef;
  --bg: #ffffff;
  --bg-alt: #f3f6f9;
  --white: #ffffff;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(11, 27, 43, .06), 0 2px 8px rgba(11, 27, 43, .05);
  --shadow: 0 10px 30px -12px rgba(11, 27, 43, .25);
  --shadow-lg: 0 24px 60px -20px rgba(11, 27, 43, .35);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Manrope", "Inter", system-ui, sans-serif;
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.65; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent-2); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.4rem); font-weight: 800; }
h3 { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -60px; z-index: 1000; background: var(--accent); color: #fff; padding: .6rem 1rem; border-radius: var(--radius-sm); }
.skip-link:focus { top: 1rem; color: #fff; }
.icon { width: 1.1em; height: 1.1em; flex: none; display: inline-block; vertical-align: -.15em; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { max-width: 860px; }

/* ---------- Botones ---------- */
.btn { --b: var(--ink); display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .8rem 1.35rem; border-radius: 999px; font-weight: 600; font-size: .95rem; line-height: 1.2; border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: .6rem 1rem; font-size: .88rem; }
.btn-lg { padding: 1rem 1.6rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px -8px rgba(255, 90, 31, .6); }
.btn-primary:hover { background: var(--accent-2); color: #fff; }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.btn-ghost-light { border-color: rgba(255, 255, 255, .35); color: #fff; background: rgba(255, 255, 255, .06); backdrop-filter: blur(4px); }
.btn-ghost-light:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .12); }
.link-arrow { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; font-size: .92rem; color: var(--accent-2); }
.link-arrow .icon { transition: transform .2s var(--ease); }
.link-arrow:hover .icon, a:hover > .link-arrow .icon, .service-card:hover .link-arrow .icon { transform: translateX(3px); }

.eyebrow { display: inline-flex; align-items: center; gap: .45rem; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-2); margin-bottom: .9rem; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.eyebrow-light { color: #ff8a5c; }
.hl { color: var(--accent); }

/* ---------- Topbar + header ---------- */
.topbar { background: var(--ink); color: #b9c6d3; font-size: .82rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 1rem; }
.topbar-info, .topbar-social { display: flex; list-style: none; gap: 1.4rem; align-items: center; }
.topbar-info li, .topbar-info a { display: inline-flex; align-items: center; gap: .4rem; }
.topbar a:hover { color: #fff; }
.topbar-social { gap: .9rem; }
.topbar-social .icon { width: 15px; height: 15px; }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .97); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .25s; }
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; height: var(--header-h); }
.brand img { width: 200px; height: auto; }
.brand-light img { filter: brightness(0) invert(1); }
.nav { margin-left: auto; }
.nav-list { display: flex; list-style: none; align-items: center; gap: .15rem; }
.nav-link { display: inline-flex; align-items: center; gap: .3rem; padding: .55rem .8rem; font-weight: 600; font-size: .94rem; color: var(--ink); border-radius: 999px; background: none; border: 0; cursor: pointer; }
.nav-link .chev { width: 14px; height: 14px; transition: transform .2s; }
.nav-item.is-active > .nav-link { color: var(--accent-2); }
.nav-link:hover { color: var(--accent-2); background: var(--bg-alt); }
.header-actions { display: flex; align-items: center; gap: .6rem; }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer; color: var(--ink); }
.icon-btn:hover { border-color: var(--ink); }
.nav-toggle { display: none; }
.nav-mobile-extra { display: none; }

/* mega menú + dropdown (escritorio) */
.has-mega, .has-drop { position: static; }
.has-drop { position: relative; }
.mega, .drop { position: absolute; top: 100%; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s var(--ease), visibility .2s; z-index: 50; }
.mega { left: 0; right: 0; padding-top: 1px; }
.mega-inner { max-width: var(--container); margin: 0 auto; background: #fff; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow-lg); display: grid; grid-template-columns: repeat(3, 1fr) 1.1fr; gap: 2rem; padding: 2rem 2.2rem; }
.mega-title { display: flex; align-items: center; gap: .6rem; font-family: var(--font-head); font-weight: 800; color: var(--ink); margin-bottom: .8rem; font-size: 1rem; }
.mega-ico { width: 34px; height: 34px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-2); display: grid; place-items: center; }
.mega-col ul { list-style: none; display: grid; gap: .1rem; }
.mega-col a { display: block; padding: .3rem 0; font-size: .92rem; color: var(--muted); }
.mega-col a:hover { color: var(--accent-2); }
.mega-col .is-sub a { padding-left: .9rem; font-size: .86rem; position: relative; }
.mega-col .is-sub a::before { content: ""; position: absolute; left: 0; top: 50%; width: 6px; height: 1px; background: var(--line); }
.mega-cta { background: linear-gradient(150deg, var(--ink), var(--ink-3)); color: #c9d5e1; border-radius: var(--radius); padding: 1.5rem; display: flex; flex-direction: column; align-items: flex-start; }
.mega-cta .eyebrow { color: #ff8a5c; }
.mega-cta-title { font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; color: #fff; line-height: 1.25; margin-bottom: 1.2rem; }
.drop { left: 0; min-width: 290px; }
.drop > ul { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); list-style: none; padding: .8rem; margin-top: 10px; }
.drop a { display: block; padding: .45rem .7rem; border-radius: var(--radius-sm); font-weight: 600; font-size: .92rem; color: var(--ink); }
.drop ul ul { list-style: none; margin: 0 0 .3rem .7rem; padding-left: .5rem; border-left: 1px solid var(--line); }
.drop ul ul a { font-weight: 500; color: var(--muted); padding: .3rem .6rem; font-size: .88rem; }
.drop a:hover { background: var(--bg-alt); color: var(--accent-2); }
.drop-all { border-top: 1px solid var(--line); margin-top: .4rem; padding-top: .4rem; }
.drop-all a { color: var(--accent-2); }
@media (hover: hover) and (min-width: 1081px) {
  .has-mega:hover > .mega, .has-mega:focus-within > .mega, .has-drop:hover > .drop, .has-drop:focus-within > .drop { opacity: 1; visibility: visible; transform: none; }
  .has-mega:hover > .nav-link .chev, .has-drop:hover > .nav-link .chev { transform: rotate(180deg); }
}
.nav-item.is-open > .mega, .nav-item.is-open > .drop { opacity: 1; visibility: visible; transform: none; }

/* buscador desplegable */
.search-panel { border-top: 1px solid var(--line); background: #fff; padding: 1rem 0; }
.search-form { display: flex; align-items: center; gap: .8rem; }
.search-form .icon { color: var(--muted); width: 20px; height: 20px; }
.search-form input { flex: 1; border: 0; font-size: 1.1rem; padding: .5rem 0; outline: none; background: transparent; min-width: 0; }

/* ---------- Hero portada ---------- */
.hero { position: relative; color: #d3dde7; background: var(--ink); overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(8, 20, 33, .96) 0%, rgba(8, 20, 33, .85) 42%, rgba(8, 20, 33, .35) 100%), linear-gradient(0deg, rgba(8, 20, 33, .9) 0%, transparent 40%); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 3rem; align-items: end; padding-block: clamp(4rem, 9vw, 7.5rem) clamp(3rem, 6vw, 4.5rem); }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 1.4rem + 3.4vw, 4rem); margin-bottom: 1.2rem; }
.hero-lead { font-size: clamp(1.02rem, .95rem + .35vw, 1.2rem); max-width: 600px; color: #c3cfdb; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero-actions-center { justify-content: center; }
.hero-stats { list-style: none; display: grid; gap: 1px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius); overflow: hidden; backdrop-filter: blur(6px); }
.hero-stats li { background: rgba(11, 27, 43, .55); padding: 1.1rem 1.3rem; display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: center; }
.hero-stats strong { font-family: var(--font-head); font-size: 1.6rem; color: #fff; font-weight: 800; }
.hero-stats span { font-size: .88rem; line-height: 1.4; }
.hero-sectors { border-top: 1px solid rgba(255, 255, 255, .1); background: rgba(8, 20, 33, .65); backdrop-filter: blur(6px); }
.hero-sectors .container { display: flex; align-items: center; gap: 2rem; padding-block: 1.1rem; }
.hero-sectors-label { margin: 0; font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 700; color: #8fa3b6; white-space: nowrap; }
.sector-list { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.8rem; }
.sector-list li { display: flex; align-items: center; gap: .5rem; color: #fff; font-weight: 600; font-size: .95rem; }
.sector-list .icon { color: var(--accent); width: 22px; height: 22px; }

/* ---------- Secciones ---------- */
.section { padding-block: clamp(3.5rem, 7vw, 6rem); }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--ink); color: #b9c6d3; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: 2.6rem; }
.section-head p:last-child { color: var(--muted); font-size: 1.05rem; margin: 0; }
.section-dark .section-head p:last-child { color: #a9b8c7; }
.section-head-center { margin-inline: auto; text-align: center; }
.section-head-center .eyebrow { justify-content: center; }
.section-head-split { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; }
.section-head-split > div { max-width: 720px; }

/* tarjetas de servicio */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.service-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; color: inherit; }
.service-card-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-alt); }
.service-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.service-card:hover .service-card-img img { transform: scale(1.05); }
.service-card-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.service-card-body p { color: var(--muted); font-size: .95rem; flex: 1; }

/* áreas */
.area-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.area-card { background: #fff; border-radius: var(--radius); padding: 2rem; border: 1px solid var(--line); position: relative; overflow: hidden; }
.area-card::after { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: linear-gradient(90deg, var(--accent), #ff9a5f); transform: scaleX(.18); transform-origin: left; transition: transform .4s var(--ease); }
.area-card:hover::after { transform: scaleX(1); }
.area-ico { width: 52px; height: 52px; border-radius: 14px; background: var(--ink); color: #fff; display: grid; place-items: center; margin-bottom: 1.2rem; }
.area-ico .icon { width: 26px; height: 26px; }
.area-card p { color: var(--muted); font-size: .95rem; }
.area-links { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1rem; }
.area-links a { display: inline-block; font-size: .82rem; font-weight: 600; padding: .35rem .7rem; border-radius: 999px; background: var(--bg-alt); color: var(--ink-3); }
.area-links a:hover { background: var(--accent-soft); color: var(--accent-2); }

/* por qué elegirnos */
.why { position: relative; overflow: hidden; }
.why::before { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 90, 31, .18), transparent 65%); }
.why-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 4rem; align-items: center; position: relative; }
.why-copy p { color: #a9b8c7; font-size: 1.05rem; margin-bottom: 1.8rem; }
.pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.pillars-4 { grid-template-columns: repeat(4, 1fr); }
.pillar { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius); padding: 1.6rem; }
.pillar p { margin: 0; font-size: .93rem; color: #a9b8c7; }
.pillar-ico { width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 90, 31, .14); color: #ff8a5c; display: grid; place-items: center; margin-bottom: 1rem; }
.pillar-ico .icon { width: 22px; height: 22px; }

/* noticias */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.post-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .25s var(--ease), box-shadow .25s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-alt); display: block; }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.post-card:hover .post-card-img img { transform: scale(1.05); }
.img-placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: var(--line); background: linear-gradient(135deg, var(--ink-2), var(--ink-3)); }
.img-placeholder .icon { width: 48px; height: 48px; color: rgba(255, 255, 255, .2); }
.post-card-body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.post-card-meta { display: flex; align-items: center; gap: .7rem; font-size: .82rem; color: var(--muted); margin-bottom: .7rem; }
.post-card-title { font-size: 1.08rem; line-height: 1.35; margin-bottom: .6rem; }
.post-card-title a:hover { color: var(--accent-2); }
.post-card-excerpt { color: var(--muted); font-size: .92rem; }
.post-card .link-arrow { margin-top: auto; }
.tag { display: inline-block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: .25rem .6rem; border-radius: 999px; background: var(--accent-soft); color: var(--accent-2); }
.tag-proyectos { background: #e6f2fd; color: #0f63a8; }

/* clientes */
.logo-wall { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1rem; }
.logo-wall li { background: #fff; border-radius: var(--radius-sm); border: 1px solid var(--line); height: 96px; display: grid; place-items: center; padding: 1rem 1.2rem; }
.logo-wall img { max-height: 58px; width: auto; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; }
.logo-wall li:hover img { filter: none; opacity: 1; }

/* categorías */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.cat-card { display: flex; flex-direction: column; gap: .3rem; padding: 1.6rem; border-radius: var(--radius); background: linear-gradient(160deg, var(--ink), var(--ink-3)); color: #a9b8c7; transition: transform .25s var(--ease), box-shadow .25s; min-height: 200px; position: relative; overflow: hidden; }
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: #a9b8c7; }
.cat-card-ico { width: 46px; height: 46px; border-radius: 12px; background: rgba(255, 90, 31, .16); color: #ff8a5c; display: grid; place-items: center; margin-bottom: auto; }
.cat-card-ico .icon { width: 24px; height: 24px; }
.cat-card-name { font-family: var(--font-head); font-weight: 800; color: #fff; font-size: 1.15rem; margin-top: 1.4rem; }
.cat-card-count { font-size: .85rem; color: #ff8a5c; font-weight: 600; }
.cat-card-sub { font-size: .8rem; }
.partner-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 2.5rem; }
.partner { background: #fff; padding: 1.1rem .8rem; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .3rem; min-height: 96px; }
.partner img { max-height: 34px; max-width: min(100%, 170px); width: auto; height: auto; object-fit: contain; }
.partner img.is-tall { max-height: 56px; }
.partner strong { font-family: var(--font-head); color: var(--ink); font-size: .98rem; }
.partner span { font-size: .74rem; color: var(--muted); }

/* CTA */
.cta-band { position: relative; color: #c3cfdb; background: var(--ink-2); overflow: hidden; isolation: isolate; }
.cta-band-bg { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11, 27, 43, .97) 30%, rgba(11, 27, 43, .7)), url("/assets/img/cta-torre.webp") center / cover no-repeat; }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 2.5rem; padding-block: clamp(3rem, 6vw, 4.5rem); }
.cta-band h2 { color: #fff; margin-bottom: .6rem; }
.cta-band p { margin: 0; max-width: 620px; font-size: 1.05rem; }
.cta-band-actions { display: flex; gap: .8rem; flex-wrap: wrap; flex: none; }

/* ---------- Hero páginas internas ---------- */
.page-hero { position: relative; background: var(--ink); color: #b9c6d3; overflow: hidden; isolation: isolate; }
.page-hero-bg, .svc-hero-bg { position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(11, 27, 43, .97) 35%, rgba(11, 27, 43, .78)), url("/assets/img/page-hero.webp") center / cover no-repeat; }
.page-hero-inner { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.page-hero h1 { color: #fff; max-width: 900px; font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem); }
.page-hero-lead { font-size: 1.1rem; max-width: 760px; margin: 0; color: #b9c6d3; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem; font-size: .84rem; margin-bottom: 1.4rem; color: #8fa3b6; }
.breadcrumbs li + li::before { content: "/"; margin-right: .3rem; opacity: .6; }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs [aria-current] { color: #dbe4ec; }
.product-top .breadcrumbs ol, .article-hero .breadcrumbs ol { color: var(--muted); }
.product-top .breadcrumbs a:hover, .article-hero .breadcrumbs a:hover { color: var(--accent-2); }
.product-top .breadcrumbs [aria-current], .article-hero .breadcrumbs [aria-current] { color: var(--ink); }

/* ---------- Servicio ---------- */
.svc-hero { position: relative; background: var(--ink); color: #b9c6d3; overflow: hidden; isolation: isolate; }
.svc-hero-inner { display: grid; grid-template-columns: 1.25fr 1fr; gap: 3rem; align-items: center; padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.svc-hero-inner.no-img { grid-template-columns: 1fr; max-width: calc(900px + 2 * var(--gutter)); margin-left: max(0px, calc((100% - var(--container)) / 2)); }
.svc-hero h1 { color: #fff; font-size: clamp(1.9rem, 1.3rem + 2.2vw, 2.9rem); }
.svc-hero .eyebrow .icon { width: 16px; height: 16px; }
.svc-hero .eyebrow::before { display: none; }
.svc-hero-lead { font-size: 1.08rem; color: #c3cfdb; max-width: 680px; }
.svc-hero-lead a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .4); }
.svc-hero-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; background: var(--ink-3); }
.svc-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.svc-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 3.5rem; padding-block: clamp(2.5rem, 5vw, 4rem); align-items: start; }
.svc-aside { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 1.2rem; }
.aside-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.aside-title { font-family: var(--font-head); font-weight: 800; color: var(--ink); font-size: 1.05rem; margin-bottom: .6rem; display: flex; align-items: center; gap: .4rem; }
.aside-title small { font-family: var(--font); font-weight: 500; color: var(--muted); font-size: .8rem; margin-left: auto; }
.aside-contact { background: linear-gradient(160deg, var(--ink), var(--ink-3)); border: 0; color: #b9c6d3; }
.aside-contact .aside-title { color: #fff; }
.aside-contact p { font-size: .92rem; }
.aside-contact-list { list-style: none; margin-top: 1rem; display: grid; gap: .5rem; font-size: .9rem; }
.aside-contact-list a { display: flex; align-items: center; gap: .5rem; color: #dbe4ec; }
.aside-contact-list a:hover { color: #fff; }
.aside-nav ul { list-style: none; display: grid; }
.aside-nav a { display: flex; justify-content: space-between; padding: .5rem .7rem; border-radius: var(--radius-sm); font-size: .92rem; font-weight: 500; color: var(--text); }
.aside-nav a:hover { background: var(--bg-alt); color: var(--accent-2); }
.aside-nav a[aria-current] { background: var(--accent-soft); color: var(--accent-2); font-weight: 700; }
.aside-nav .is-sub a { padding-left: 1.5rem; font-size: .86rem; color: var(--muted); }
.aside-nav ul ul { margin: .1rem 0 .3rem; }
.aside-nav .count { color: var(--muted); font-size: .8rem; font-weight: 500; }

/* contenido editorial */
.prose { font-size: 1.04rem; line-height: 1.75; color: #2a3a4a; }
.prose > * + * { margin-top: 0; }
.prose h2 { font-size: clamp(1.4rem, 1.15rem + 1vw, 1.9rem); margin: 2.4rem 0 1rem; }
.prose h3 { font-size: 1.22rem; margin: 2rem 0 .7rem; }
.prose h4 { margin: 1.5rem 0 .5rem; }
.prose > h2:first-child, .prose > h3:first-child { margin-top: 0; }
.prose a { color: var(--accent-2); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover { color: var(--ink); }
.prose strong { color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1.4rem; }
.prose li { margin-bottom: .4rem; }
.prose img { border-radius: var(--radius-sm); }
.prose figure { margin: 2rem 0; }
.prose figure img { border-radius: var(--radius); margin-inline: auto; max-height: 520px; width: auto; }
.prose blockquote { margin: 1.5rem 0; padding: 1rem 1.5rem; border-left: 4px solid var(--accent); background: var(--bg-alt); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: .6rem .8rem; text-align: left; }
.prose th { background: var(--bg-alt); }
.prose-lead { font-size: 1.12rem; color: var(--text); border-left: 3px solid var(--accent); padding-left: 1.4rem; margin-bottom: 2rem; }
.check-list, .prose .check-list { list-style: none; padding: 0; display: grid; gap: .55rem; margin: 0 0 1.6rem; }
.check-list li { position: relative; padding-left: 2rem; margin: 0; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .32em; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e84a10' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 62% no-repeat; }
@media (min-width: 700px) { .prose .check-list:has(li:nth-child(6)) { grid-template-columns: 1fr 1fr; column-gap: 2rem; } }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.1rem; margin: 1.5rem 0 2.2rem; }
.mini-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s var(--ease); }
.mini-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.mini-card-img { aspect-ratio: 4 / 3; background: var(--bg-alt); display: grid; place-items: center; overflow: hidden; }
.mini-card-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.mini-card-body { padding: 1rem 1.1rem 1.2rem; }
.mini-card-body h3 { font-size: 1rem; margin: 0 0 .4rem; line-height: 1.3; }
.mini-card-body h3 a { color: var(--ink); text-decoration: none; }
.mini-card-body h3 a:hover { color: var(--accent-2); }
.mini-card-body p { font-size: .9rem; line-height: 1.55; color: var(--muted); margin: 0 0 .4rem; }
.card-grid:has(.mini-card:not(.has-img)) { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.mini-card:not(.has-img) { border-top: 3px solid var(--accent); }

/* FAQ */
.faq { margin-top: 3.5rem; padding-top: 2.5rem; border-top: 1px solid var(--line); }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: .7rem; background: #fff; transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: transparent; box-shadow: var(--shadow); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 1.3rem; font-weight: 700; color: var(--ink); font-family: var(--font-head); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-ico { color: var(--accent); transition: transform .25s; width: 20px; height: 20px; }
.faq-item[open] .faq-ico { transform: rotate(45deg); }
.faq-answer { padding: 0 1.3rem 1.1rem; color: var(--muted); }
.faq-answer p { margin: 0; }

/* listado de servicios */
.svc-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.svc-item { display: grid; grid-template-columns: 84px 1fr auto; gap: 1.1rem; align-items: center; padding: 1rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: box-shadow .25s, transform .25s var(--ease); }
.svc-item:hover { box-shadow: var(--shadow); transform: translateY(-2px); color: inherit; }
.svc-item-img { width: 84px; height: 84px; border-radius: 10px; overflow: hidden; background: var(--ink); color: #ff8a5c; display: grid; place-items: center; }
.svc-item-img img { width: 100%; height: 100%; object-fit: cover; }
.svc-item-img .icon { width: 32px; height: 32px; }
.svc-item-body { display: grid; gap: .2rem; }
.svc-item-title { font-family: var(--font-head); font-weight: 800; color: var(--ink); }
.svc-item-text { font-size: .88rem; color: var(--muted); line-height: 1.5; }
.svc-item-arrow { color: var(--accent); }
.section-head .eyebrow .icon { width: 16px; height: 16px; }

/* ---------- Catálogo ---------- */
.catalog-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 2.5rem; align-items: start; }
.catalog-aside { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 1.2rem; }
.catalog-search { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: #fff; }
.catalog-search input { flex: 1; border: 0; padding: .75rem 1.1rem; outline: none; min-width: 0; background: transparent; }
.catalog-search button { border: 0; background: var(--ink); color: #fff; padding: 0 1.1rem; cursor: pointer; }
.catalog-count { color: var(--muted); font-size: .92rem; margin-bottom: 1.2rem; }
.chip-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.2rem; }
.chip { display: inline-flex; gap: .4rem; align-items: center; padding: .5rem .9rem; border-radius: 999px; border: 1px solid var(--line); font-weight: 600; font-size: .9rem; background: #fff; }
.chip span { color: var(--muted); font-weight: 500; }
.chip:hover { border-color: var(--accent); }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.2rem; }
.product-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s var(--ease); }
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.product-card-img { aspect-ratio: 1; background: #fff; display: grid; place-items: center; padding: 1.4rem; border-bottom: 1px solid var(--line); }
.product-card-img img { max-height: 100%; width: auto; object-fit: contain; transition: transform .4s var(--ease); }
.product-card:hover .product-card-img img { transform: scale(1.05); }
.product-card-body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; flex: 1; }
.product-card-cat { font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--accent-2); margin-bottom: .3rem; }
.product-card-title { font-size: 1.02rem; margin-bottom: .2rem; line-height: 1.3; }
.product-card-title a:hover { color: var(--accent-2); }
.product-card-sub { font-size: .85rem; color: var(--muted); margin-bottom: .9rem; }
.product-card .link-arrow { margin-top: auto; }
.catalog-desc { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); }

/* producto */
.product-top { padding-block: 2rem clamp(2.5rem, 5vw, 4rem); background: linear-gradient(180deg, var(--bg-alt), #fff); }
.product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.gallery-main { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); aspect-ratio: 1; display: grid; place-items: center; padding: 2rem; }
.gallery-main img { max-height: 100%; width: auto; object-fit: contain; }
.gallery-thumbs { list-style: none; display: flex; gap: .6rem; margin-top: .8rem; flex-wrap: wrap; }
.gallery-thumbs button { width: 76px; height: 76px; padding: .4rem; border-radius: var(--radius-sm); border: 2px solid var(--line); background: #fff; cursor: pointer; display: grid; place-items: center; }
.gallery-thumbs button[aria-current] { border-color: var(--accent); }
.gallery-thumbs img { max-height: 100%; width: auto; object-fit: contain; }
.product-info h1 { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.6rem); }
.product-cat { color: var(--muted); font-size: .92rem; }
.product-cat a { color: var(--accent-2); font-weight: 600; }
.product-short { font-size: 1rem; }
.spec-list { margin: 1.5rem 0; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; background: #fff; }
.spec-list div { display: grid; grid-template-columns: 160px 1fr; border-bottom: 1px solid var(--line); }
.spec-list div:last-child { border-bottom: 0; }
.spec-list dt { background: var(--bg-alt); padding: .65rem 1rem; font-weight: 600; font-size: .88rem; color: var(--ink); }
.spec-list dd { margin: 0; padding: .65rem 1rem; font-size: .92rem; }
.product-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.8rem 0 1.5rem; }
.product-benefits { list-style: none; display: grid; gap: .5rem; font-size: .92rem; color: var(--muted); }
.product-benefits li { display: flex; align-items: center; gap: .6rem; }
.product-benefits .icon { color: var(--accent); }
.product-desc h2 { font-size: 1.6rem; }

/* ---------- Noticias ---------- */
.filter-tabs { display: flex; gap: .5rem; margin-bottom: 2rem; flex-wrap: wrap; }
.filter-tabs a { padding: .55rem 1.2rem; border-radius: 999px; border: 1px solid var(--line); font-weight: 600; font-size: .92rem; background: #fff; }
.filter-tabs a[aria-current] { background: var(--ink); color: #fff; border-color: var(--ink); }
.pagination { display: flex; justify-content: center; gap: .4rem; margin-top: 3rem; flex-wrap: wrap; }
.page-link { min-width: 44px; height: 44px; padding: 0 .8rem; display: grid; place-items: center; border-radius: 999px; border: 1px solid var(--line); font-weight: 600; background: #fff; }
.page-link.is-current { background: var(--accent); color: #fff; border-color: var(--accent); }
.page-link:hover:not(.is-current) { border-color: var(--ink); }
.page-gap { align-self: center; color: var(--muted); }
.article-hero { padding-block: 2rem 1.5rem; background: linear-gradient(180deg, var(--bg-alt), #fff); }
.article-hero h1 { font-size: clamp(1.8rem, 1.3rem + 2.2vw, 2.8rem); }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; font-size: .9rem; color: var(--muted); }
.article-lead { font-size: 1.15rem; color: var(--muted); }
.article-cover { margin: 0 auto 2.5rem; max-width: 1080px; }
.article-cover img { width: 100%; max-height: 560px; object-fit: cover; border-radius: var(--radius); }
.article-body { padding-bottom: 2rem; }
.article-footer { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; border-top: 1px solid var(--line); padding-block: 1.5rem 3rem; }
.article-footer p { margin: 0; font-weight: 600; }
.article-footer .link-arrow { margin-left: auto; }
.share { list-style: none; display: flex; gap: .5rem; }
.share a, .social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--ink); }
.share a:hover { background: var(--ink); color: #fff; }
.empty { text-align: center; color: var(--muted); padding: 3rem 0; }

/* ---------- Nosotros ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.about-grid-rev { grid-template-columns: 1fr 1.1fr; }
.about-media { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-media img { width: 100%; }

/* ---------- Contacto ---------- */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 3rem; align-items: start; }
.contact-form-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--shadow-sm); }
.form { display: grid; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .35rem; color: var(--ink); }
.field input, .field textarea { width: 100%; border: 1px solid #cfd8e2; border-radius: var(--radius-sm); padding: .8rem 1rem; background: #fff; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 4px rgba(63, 169, 245, .18); }
.field [aria-invalid="true"] { border-color: #d43b3b; }
.field-error { color: #c02929; font-size: .85rem; margin: .35rem 0 0; }
.field-check { display: grid; grid-template-columns: auto 1fr; gap: .2rem .7rem; align-items: start; }
.field-check input { width: 18px; height: 18px; margin-top: .2rem; accent-color: var(--accent); }
.field-check label { font-weight: 500; color: var(--muted); margin: 0; }
.field-check .field-error { grid-column: 1 / -1; }
.form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 1rem 1.2rem; border-radius: var(--radius-sm); margin-bottom: 1.2rem; font-weight: 500; }
.alert-error { background: #fdecec; color: #9b1c1c; }
.alert-ok { background: #e8f7ee; color: #1d6b3a; }
.quote-product { display: flex; gap: 1rem; align-items: center; padding: 1rem; background: var(--bg-alt); border-radius: var(--radius-sm); margin-bottom: 1.5rem; }
.quote-product img { width: 72px; height: 72px; object-fit: contain; background: #fff; border-radius: var(--radius-sm); padding: .3rem; }
.quote-product .eyebrow { margin: 0; }
.quote-product-name { margin: 0; font-family: var(--font-head); font-weight: 800; color: var(--ink); font-size: 1.1rem; }
.contact-aside { display: grid; gap: 1rem; }
.contact-list { list-style: none; display: grid; gap: 1rem; }
.contact-list li { display: flex; gap: .9rem; align-items: center; }
.contact-list .icon { width: 40px; height: 40px; padding: 10px; border-radius: 12px; background: rgba(255, 90, 31, .16); color: #ff8a5c; }
.contact-list span { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: #8fa3b6; }
.contact-list a { color: #fff; font-weight: 600; }
.contact-card { background: linear-gradient(160deg, var(--ink), var(--ink-3)); border: 0; color: #dbe4ec; }
.contact-card .aside-title { color: #fff; }
.office-card p { color: var(--muted); font-size: .95rem; }
.office-card .aside-title .icon { color: var(--accent); }
.survey { font-size: .9rem; color: var(--muted); }
.survey a { color: var(--accent-2); font-weight: 600; }
.map-wrap iframe { width: 100%; height: 380px; border: 0; filter: grayscale(.4); }

/* estados */
.state-page { text-align: center; }
.state-page p { color: var(--muted); font-size: 1.05rem; }
.state-ico { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 1.5rem; background: #e8f7ee; color: #1d8a4a; }
.state-ico .icon { width: 36px; height: 36px; }
.state-code { font-family: var(--font-head); font-weight: 800; font-size: clamp(4rem, 12vw, 7rem); line-height: 1; color: var(--accent); margin-bottom: .5rem; }
.search-inline { display: flex; gap: .6rem; max-width: 620px; margin: 2rem auto; }
.search-inline input { flex: 1; min-width: 0; border: 1px solid #cfd8e2; border-radius: 999px; padding: .8rem 1.2rem; }
.search-h { font-size: 1.4rem; margin: 2.5rem 0 1.2rem; }

/* ---------- Footer ---------- */
.site-footer { background: #07131f; color: #8fa3b6; font-size: .93rem; }
.footer-partners { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-block: 1.8rem; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.footer-partners-label { margin: 0; font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 700; }
.footer-partners-logos { display: flex; gap: 1.2rem; align-items: center; }
.partner-logo { height: 46px; width: auto; background: #fff; border-radius: 8px; padding: 6px 12px; }
.partner-logo.is-tall { height: 64px; padding: 5px 14px; }
.footer-partners-group { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.footer-iso { display: flex; align-items: center; gap: .9rem; }
.footer-iso p { margin: 0; font-size: .82rem; line-height: 1.45; max-width: 15rem; }
.footer-iso strong { display: block; color: #fff; font-family: var(--font-head); font-size: .92rem; }
.iso-badge { height: 72px; width: auto; background: #fff; border-radius: 8px; padding: 5px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr) 1.3fr; gap: 2.5rem; padding-block: 3.5rem; }
.footer-brand p { margin: 1.2rem 0; line-height: 1.6; }
.social { list-style: none; display: flex; gap: .5rem; }
.social a { border-color: rgba(255, 255, 255, .15); color: #dbe4ec; }
.social a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.footer-title { font-family: var(--font-head); font-weight: 800; color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: grid; gap: .55rem; }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: flex; gap: .6rem; align-items: flex-start; }
.footer-contact li a { display: flex; gap: .6rem; align-items: center; }
.footer-contact .icon { color: var(--accent); margin-top: .25em; }
.footer-contact strong { color: #dbe4ec; font-weight: 600; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); font-size: .84rem; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: 1.3rem; flex-wrap: wrap; }
.footer-bottom p { margin: 0; }
.footer-bottom ul { list-style: none; display: flex; gap: 1.2rem; flex-wrap: wrap; }
.footer-bottom a:hover { color: #fff; }

.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 10px 24px -6px rgba(0, 0, 0, .35); transition: transform .2s var(--ease); }
.wa-float:hover { transform: scale(1.07); color: #fff; }
.wa-float .icon { width: 30px; height: 30px; }

/* animación de aparición */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
  .reveal.is-visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1240px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { grid-column: 1 / -1; max-width: 560px; }
  .partner-strip { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 1080px) {
  :root { --header-h: 68px; }
  .header-cta { display: none; }
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .nav-toggle { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 50%; cursor: pointer; order: 3; }
  .nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .25s, background .25s; }
  .nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bar::before { top: -6px; }
  .nav-toggle-bar::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }
  .header-actions { margin-left: auto; }
  .nav { position: fixed; top: calc(var(--header-h) + 38px); left: 0; right: 0; bottom: 0; background: #fff; overflow-y: auto; padding: 1rem var(--gutter) 2rem; transform: translateX(100%); transition: transform .3s var(--ease); margin: 0; border-top: 1px solid var(--line); }
  .nav.is-open { transform: none; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-item { border-bottom: 1px solid var(--line); }
  .nav-link { width: 100%; justify-content: space-between; padding: 1rem .2rem; font-size: 1.05rem; border-radius: 0; }
  .nav-link:hover { background: none; }
  .nav-item.is-open > .nav-link .chev { transform: rotate(180deg); }
  .mega, .drop { position: static; opacity: 1; visibility: visible; transform: none; display: none; }
  .nav-item.is-open > .mega, .nav-item.is-open > .drop { display: block; }
  .mega-inner { grid-template-columns: 1fr; border: 0; box-shadow: none; padding: 0 0 1rem; gap: 1.2rem; border-radius: 0; }
  .mega-cta { display: none; }
  .drop > ul { border: 0; box-shadow: none; margin: 0; padding: 0 0 1rem; }
  .nav-mobile-extra { display: grid; gap: 1rem; margin-top: 1.5rem; }
  .nav-mobile-contact { display: flex; align-items: center; justify-content: center; gap: .5rem; font-weight: 600; }
  body.nav-open { overflow: hidden; }
  .hero-inner, .why-grid, .svc-hero-inner, .about-grid, .about-grid-rev, .contact-layout, .product-layout { grid-template-columns: 1fr; }
  .hero-inner { gap: 2rem; }
  .hero-stats { grid-template-columns: 1fr; }
  .hero-stats li { grid-template-columns: 1fr; gap: .2rem; }
  .svc-hero-media { max-width: 640px; }
  .svc-layout, .catalog-layout { grid-template-columns: 1fr; }
  .svc-aside, .catalog-aside { position: static; }
  .catalog-aside { order: 2; }
  .service-grid, .post-grid, .area-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .pillars-4 { grid-template-columns: repeat(2, 1fr); }
  .about-grid-rev .about-media { order: 2; }
}

@media (max-width: 720px) {
  .topbar-info li:first-child, .topbar-info li:nth-child(3) { display: none; }
  .brand img { width: 160px; }
  .hero-stats { grid-template-columns: 1fr; }
  .hero-stats li { grid-template-columns: auto 1fr; gap: 1rem; }
  .hero-sectors .container { flex-direction: column; align-items: flex-start; gap: .7rem; }
  .sector-list { gap: .6rem 1.2rem; }
  .sector-list li { font-size: .88rem; }
  .service-grid, .post-grid, .area-grid, .cat-grid, .pillars, .pillars-4, .svc-list, .form-row { grid-template-columns: 1fr; }
  .section-head-split { flex-direction: column; align-items: flex-start; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
  .partner-strip { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-contact { grid-column: 1 / -1; }
  .footer-partners { flex-direction: column; align-items: flex-start; }
  .spec-list div { grid-template-columns: 1fr; }
  .svc-item { grid-template-columns: 64px 1fr; }
  .svc-item-img { width: 64px; height: 64px; }
  .svc-item-arrow { display: none; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: .8rem; }
  .product-card-img { padding: .8rem; }
  .product-card-body { padding: .9rem; }
  .logo-wall { grid-template-columns: repeat(3, 1fr); gap: .6rem; }
  .logo-wall li { height: 76px; padding: .6rem; }
  .btn-lg { padding: .9rem 1.3rem; }
  .hero-actions .btn, .product-actions .btn { flex: 1 1 auto; }
  .article-footer .link-arrow { margin-left: 0; }
  .wa-float { width: 52px; height: 52px; right: 14px; bottom: 14px; }
}

@media (max-width: 420px) {
  .product-grid { grid-template-columns: 1fr 1fr; }
  .logo-wall { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
}

@media print {
  .topbar, .site-header, .site-footer, .wa-float, .cta-band, .svc-aside { display: none !important; }
}

/* Portada en móvil: menos tarjetas para acortar el recorrido */
@media (max-width: 720px) {
  .is-home .post-grid > :nth-child(n+4) { display: none; }
}
/* Fotos de producto (PNG con fondo) completas dentro de las tarjetas */
.mini-card-img img[src$=".png"], .mini-card-img img[src*=".png."] { object-fit: contain; padding: .8rem; background: #fff; }
.field-captcha { min-height: 65px; max-width: 420px; }
