/* Nexum Power — estilos del sitio */
:root {
  --navy-950: #0d2438;
  --navy-900: #143a5e;
  --navy-800: #1b4a74;
  --navy-700: #225d8f;
  --navy-600: #3277ad;
  --navy-100: #e7eff7;
  --gold-700: #96701f;
  --gold-600: #b5862f;
  --gold-500: #d9a640;
  --gold-400: #e8c074;
  --gold-300: #f2dcae;
  --gold-100: #fdf5e6;
  --ink: #16293d;
  --text: #4a586b;
  --muted: #6d7b8d;
  --line: #e2e8ef;
  --bg: #ffffff;
  --bg-soft: #f4f7fa;
  --bg-mute: #eaf0f6;
  --wa: #1faf54;
  --wa-dark: #168a42;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .08);
  --shadow: 0 14px 34px -14px rgba(11, 31, 58, .28);
  --shadow-lg: 0 34px 70px -24px rgba(11, 31, 58, .45);
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::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); font-size: 16.5px; line-height: 1.65; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy-900); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 800; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.55rem); }
h3 { font-size: 1.2rem; letter-spacing: -.01em; font-weight: 750; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--gold-500); color: var(--navy-900); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: clamp(64px, 9vw, 104px) 0; }
.section-soft { background: var(--bg-soft); }
.section-mute { background: var(--bg-mute); }
.section-dark { background: radial-gradient(1200px 500px at 85% -10%, rgba(197, 162, 98, .16), transparent 60%), linear-gradient(160deg, var(--navy-900), var(--navy-950)); color: #cfd8e6; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; text-align: center; }
.lead { font-size: 1.12rem; color: var(--muted); }
.section-dark .lead { color: #b9c5d8; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-700); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: currentColor; }
.section-dark .eyebrow { color: var(--gold-400); }

.ico { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Botones */
.btn { --b: transparent; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 22px; border-radius: 999px; border: 1.5px solid var(--b); font: inherit; font-weight: 750; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, color .2s, border-color .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-gold { background: linear-gradient(135deg, var(--gold-300), var(--gold-500) 55%, var(--gold-600)); color: var(--navy-900); box-shadow: 0 10px 24px -10px rgba(168, 132, 63, .8); }
.btn-gold:hover { color: var(--navy-900); box-shadow: 0 16px 30px -12px rgba(168, 132, 63, .9); }
.btn-navy { background: var(--navy-800); color: #fff; }
.btn-navy:hover { background: var(--navy-700); color: #fff; }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 10px 24px -12px rgba(31, 175, 84, .9); }
.btn-wa:hover { background: var(--wa-dark); color: #fff; }
.btn-outline { --b: var(--line); background: #fff; color: var(--ink); }
.btn-outline:hover { --b: var(--navy-700); color: var(--navy-900); }
.btn-light { --b: rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .06); color: #fff; }
.btn-light:hover { --b: var(--gold-400); color: #fff; background: rgba(255, 255, 255, .1); }
.btn-lg { padding: 17px 28px; font-size: 1.05rem; }
.btn-sm { padding: 10px 18px; font-size: .92rem; }
.btn-block { width: 100%; }

/* Encabezado */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(11, 31, 58, .5); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 46px; width: auto; }
.main-nav { margin-left: auto; }
.nav-list { list-style: none; display: flex; align-items: center; gap: 4px; }
.nav-link { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 10px; font: inherit; font-weight: 700; font-size: .98rem; color: var(--ink); text-decoration: none; background: none; border: 0; cursor: pointer; }
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--navy-700); background: var(--bg-mute); }
.nav-link .ico { width: 16px; height: 16px; transition: transform .2s; }
.has-mega { position: relative; }
.mega { position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 8px); width: min(760px, 92vw); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 14px; opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s var(--ease), visibility .2s; }
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.has-mega:hover .mega, .has-mega:focus-within .mega, .has-mega.is-open .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.has-mega:hover > .nav-link .ico, .has-mega.is-open > .nav-link .ico { transform: rotate(180deg); }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.mega-item { display: flex; gap: 14px; align-items: flex-start; padding: 12px; border-radius: 12px; text-decoration: none; color: var(--ink); }
.mega-item:hover { background: var(--bg-soft); color: var(--ink); }
.mega-item .cat-icon { width: 40px; height: 40px; border-radius: 11px; }
.mega-title { display: block; font-weight: 750; font-size: .97rem; line-height: 1.3; }
.mega-desc { display: block; font-size: .84rem; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.mega-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 8px; padding: 12px 14px; border-radius: 12px; background: var(--navy-900); color: #cfd8e6; font-size: .9rem; }
.mega-foot a { color: var(--gold-300); font-weight: 750; text-decoration: none; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 750; color: var(--ink); text-decoration: none; font-size: .95rem; }
.header-phone .ico { color: var(--gold-600); }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); align-items: center; justify-content: center; cursor: pointer; }
.nav-toggle .ico { width: 24px; height: 24px; }
.nav-mobile-extra { display: none; }

@media (max-width: 1080px) {
  .header-phone span { display: none; }
}
@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .brand img { height: 40px; }
  .nav-toggle { display: inline-flex; }
  .header-actions .btn { display: none; }
  .header-actions { margin-left: auto; }
  .main-nav { position: fixed; inset: var(--header-h) 0 0 0; background: #fff; padding: 12px 20px 32px; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .3s var(--ease), visibility .3s; margin: 0; border-top: 1px solid var(--line); }
  .main-nav.is-open { transform: none; visibility: visible; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-link { width: 100%; justify-content: space-between; padding: 14px 8px; font-size: 1.08rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-link:hover, .nav-link[aria-current="page"] { background: none; }
  .mega { position: static; transform: none; width: auto; opacity: 1; visibility: visible; box-shadow: none; border: 0; padding: 4px 0 10px; display: none; }
  .has-mega:hover .mega, .has-mega:focus-within .mega { transform: none; }
  .has-mega.is-open .mega { display: block; transform: none; }
  .mega-grid { grid-template-columns: 1fr; }
  .mega-foot { display: none; }
  .nav-mobile-extra { display: grid; gap: 10px; margin-top: 20px; }
  body.nav-open { overflow: hidden; }
}

/* Hero principal */
.hero { position: relative; overflow: hidden; color: var(--text); background: radial-gradient(900px 520px at 88% -10%, #e6f0f8, transparent 65%), radial-gradient(760px 460px at 2% 110%, #fdf3e2, transparent 62%), #fff; }
.hero-lines { position: absolute; inset: auto 0 0 0; width: 100%; height: 60%; pointer-events: none; opacity: .9; }
.hero-lines path { fill: none; stroke: rgba(34, 93, 143, .16); stroke-width: 1.2; }
.hero-lines .flow { stroke: var(--gold-500); stroke-width: 2.2; stroke-dasharray: 90 900; stroke-linecap: round; animation: flow 7s linear infinite; filter: drop-shadow(0 0 5px rgba(217, 166, 64, .55)); }
.hero-lines .flow.f2 { animation-duration: 9s; animation-delay: -3s; }
.hero-lines .flow.f3 { animation-duration: 11s; animation-delay: -6s; }
@keyframes flow { from { stroke-dashoffset: 990; } to { stroke-dashoffset: 0; } }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; padding: clamp(56px, 8vw, 104px) 20px clamp(72px, 9vw, 120px); }
.hero h1 { color: var(--ink); margin-bottom: 20px; }
.hero h1 .hl { display: block; background: linear-gradient(100deg, var(--navy-800), var(--navy-600) 60%, var(--navy-800)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-text { font-size: 1.14rem; max-width: 600px; color: var(--text); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 28px; }
.hero-seals { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero-seals li { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; font-size: .95rem; color: var(--ink); }
.hero-seals .ico { color: var(--gold-600); width: 20px; height: 20px; }
.hero-visual { position: relative; min-height: 520px; }
.hero-photo { position: absolute; margin: 0; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo.main { right: 0; top: 0; width: 72%; aspect-ratio: 3 / 4; }
.hero-photo.small { left: 0; bottom: 0; width: 46%; aspect-ratio: 3 / 4; border: 6px solid var(--navy-900); }
.hero-card { position: absolute; left: 6%; top: 12%; display: flex; gap: 12px; align-items: center; padding: 14px 18px 14px 14px; border-radius: 16px; background: #fff; border: 1px solid var(--line); color: var(--ink); box-shadow: var(--shadow); animation: float 6s ease-in-out infinite; }
.hero-card .cat-icon { width: 42px; height: 42px; }
.hero-card strong { display: block; font-size: .98rem; }
.hero-card div span { display: block; font-size: .82rem; color: var(--muted); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Iconos en caja */
.cat-icon { display: inline-grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 14px; color: var(--gold-300); background: linear-gradient(145deg, var(--navy-700), var(--navy-900)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.cat-icon .ico { width: 55%; height: 55%; }

/* Selector de servicios */
.filter-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.section-head.center + .filter-chips { justify-content: center; }
.chip { font: inherit; font-weight: 700; font-size: .95rem; padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; transition: all .2s; }
.chip:hover { border-color: var(--navy-600); }
.chip[aria-pressed="true"] { background: var(--navy-900); border-color: var(--navy-900); color: #fff; box-shadow: 0 10px 20px -12px rgba(11, 31, 58, .8); }
.filter-status { text-align: center; color: var(--muted); font-size: .92rem; margin: -18px 0 26px; min-height: 1.4em; }
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cat-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; animation: pop .35s var(--ease); }
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d5dbe5; }
@keyframes pop { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.cat-card-head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.cat-card h3 { margin: 0; font-size: 1.08rem; line-height: 1.25; }
.cat-card h3 a { color: inherit; text-decoration: none; }
.cat-card h3 a:hover { color: var(--navy-700); }
.cat-card > p { color: var(--muted); font-size: .96rem; margin-bottom: 14px; }
.cat-links { list-style: none; border-top: 1px solid var(--line); margin-bottom: 16px; }
.cat-links a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 2px; border-bottom: 1px dashed var(--line); color: var(--ink); font-weight: 650; font-size: .94rem; text-decoration: none; }
.cat-links a .ico { width: 16px; height: 16px; color: var(--gold-600); transition: transform .2s; }
.cat-links a:hover { color: var(--navy-700); }
.cat-links a:hover .ico { transform: translateX(4px); }
.cat-more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--navy-700); text-decoration: none; font-size: .95rem; }
.cat-more .ico { width: 18px; height: 18px; transition: transform .2s; }
.cat-more:hover .ico { transform: translateX(4px); }
.cat-card.is-cta { background: linear-gradient(160deg, var(--navy-800), var(--navy-950)); border-color: transparent; color: #cfd8e6; }
.cat-card.is-cta .btn { margin-top: auto; align-self: flex-start; }
.cat-card.is-cta h3 { color: #fff; }
.cat-card.is-cta p { color: #b9c5d8; }

/* Tarjetas de beneficios */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.section-dark .feature { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); }
.section-dark .feature p { color: #b9c5d8; }
.feature .cat-icon { margin-bottom: 18px; }
.feature h3 { margin-bottom: 8px; }
.feature p { margin: 0; font-size: .97rem; color: var(--muted); }

/* Pasos */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: paso; }
.step { position: relative; padding: 28px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.step::before { counter-increment: paso; content: "0" counter(paso); display: block; font-size: 2.3rem; font-weight: 800; line-height: 1; margin-bottom: 16px; background: linear-gradient(135deg, var(--gold-400), var(--gold-600)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step h3 { font-size: 1.1rem; }
.step p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Antes / después */
.project-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.ba { --pos: 50%; position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 3 / 4; box-shadow: var(--shadow-lg); background: var(--navy-900); user-select: none; max-width: 480px; margin-inline: auto; width: 100%; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba .ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; z-index: 3; }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; z-index: 2; pointer-events: none; box-shadow: 0 0 12px rgba(0, 0, 0, .4); }
.ba-handle::after { content: "\2194"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--navy-900); display: grid; place-items: center; font-weight: 800; font-size: 1.2rem; box-shadow: var(--shadow); }
.ba-range:focus-visible ~ .ba-handle::after { outline: 3px solid var(--gold-500); outline-offset: 2px; }
.ba-label { position: absolute; top: 16px; z-index: 2; padding: 6px 12px; border-radius: 999px; font-size: .8rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; pointer-events: none; }
.ba-label-before { left: 16px; background: rgba(6, 18, 31, .75); color: #fff; }
.ba-label-after { right: 16px; background: var(--gold-400); color: var(--navy-900); }
.ba-hint { text-align: center; font-size: .86rem; color: var(--muted); margin-top: 12px; }
.section-dark .ba-hint { color: #9fb0c8; }

/* Listas con check */
.checklist { list-style: none; display: grid; gap: 12px; margin: 22px 0 30px; }
.checklist li { position: relative; padding-left: 36px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%; background: var(--gold-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a672b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 14px no-repeat; }
.section-dark .checklist li::before { background-color: rgba(216, 186, 128, .16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d8ba80' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.bullets { list-style: none; display: grid; gap: 10px; margin: 18px 0 8px; }
.bullets li { position: relative; padding-left: 22px; }
.bullets li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 9px; height: 9px; border-radius: 3px; transform: rotate(45deg); background: var(--gold-500); }

/* Cobertura */
.coverage-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; }
.zones { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.zones li { padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .9rem; font-weight: 650; color: var(--ink); }

/* Preguntas frecuentes */
.faq-list { display: grid; gap: 12px; max-width: 880px; }
.section-head.center ~ .faq-list { margin-inline: auto; }
.faq { background: #fff; border: 1px solid var(--line); border-radius: 14px; transition: box-shadow .2s, border-color .2s; }
.faq[open] { border-color: #d3dae5; box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; cursor: pointer; font-weight: 750; color: var(--ink); font-size: 1.02rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { width: 22px; height: 22px; color: var(--gold-600); transition: transform .25s var(--ease); }
.faq[open] summary .ico { transform: rotate(45deg); }
.faq-body { padding: 0 22px 20px; color: var(--muted); }
.faq-body p { margin: 0; }

/* Franja de llamado a la acción */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--navy-800), var(--navy-950)); color: #cfd8e6; padding: 64px 0; }
.cta-band::after { content: ""; position: absolute; right: -120px; top: -160px; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(197, 162, 98, .28), transparent 65%); }
.cta-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: 8px; font-size: clamp(1.5rem, 2.8vw, 2.2rem); }
.cta-band p { margin: 0; color: #b9c5d8; max-width: 620px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Encabezado de páginas internas */
.page-hero { position: relative; overflow: hidden; color: var(--text); background: radial-gradient(820px 400px at 92% -10%, #e6f0f8, transparent 65%), linear-gradient(180deg, #fff, var(--bg-soft)); border-bottom: 1px solid var(--line); padding: 26px 0 58px; }
.page-hero h1 { color: var(--ink); font-size: clamp(1.9rem, 3.8vw, 2.9rem); margin-bottom: 16px; }
.page-hero .lead { color: var(--text); max-width: 720px; }
.page-hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; margin-top: 26px; }
.page-hero-grid.solo { grid-template-columns: 1fr; }
.page-hero .cat-icon { width: 60px; height: 60px; margin-bottom: 18px; }
.page-hero-photo { margin: 0; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); aspect-ratio: 4 / 5; max-height: 420px; }
.page-hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.page-hero .hero-ctas { margin: 26px 0 0; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: .88rem; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; color: #b9c3d0; }
.breadcrumbs a { color: var(--navy-700); text-decoration: none; }
.breadcrumbs a:hover { color: var(--navy-900); }

/* Lista de opciones (categorías) */
.options-group-title { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-700); margin: 34px 0 14px; }
.options-group-title:first-child { margin-top: 0; }
.options-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.option { display: flex; align-items: center; gap: 18px; padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.option:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d0d7e2; color: var(--ink); }
.option-body { flex: 1; min-width: 0; }
.option-title { display: block; font-weight: 800; font-size: 1.07rem; line-height: 1.3; margin-bottom: 4px; }
.option-desc { display: block; color: var(--muted); font-size: .93rem; line-height: 1.5; }
.option-arrow { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-mute); color: var(--navy-700); flex: none; transition: background .2s, color .2s, transform .2s; }
.option-arrow .ico { width: 18px; height: 18px; }
.option:hover .option-arrow { background: var(--gold-500); color: var(--navy-900); transform: translateX(3px); }
.options-help { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 26px; border-radius: var(--radius); background: var(--gold-100); border: 1px solid var(--gold-300); }
.options-help p { margin: 0; color: var(--ink); font-weight: 650; }

/* Detalle de servicio */
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: start; }
.detail-main > section + section { margin-top: 44px; }
.detail-main h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.detail-photo { margin: 0 0 8px; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
.detail-photo img { width: 100%; max-height: 520px; object-fit: cover; }
.detail-photo figcaption { font-size: .88rem; color: var(--muted); padding: 12px 16px; background: var(--bg-soft); }
.mini-steps { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; counter-reset: paso; margin-top: 18px; }
.mini-steps li { position: relative; padding: 18px 18px 18px 64px; border-radius: 14px; background: var(--bg-soft); border: 1px solid #ece7dc; }
.mini-steps li::before { counter-increment: paso; content: counter(paso); position: absolute; left: 18px; top: 18px; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--navy-900); color: var(--gold-300); font-weight: 800; }
.mini-steps strong { display: block; color: var(--ink); }
.mini-steps span { font-size: .92rem; color: var(--muted); }
.detail-aside { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 18px; }
.aside-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.aside-card h3 { font-size: 1.05rem; }
.cta-card { background: linear-gradient(160deg, var(--navy-800), var(--navy-950)); border: 0; color: #c3cedf; box-shadow: var(--shadow); }
.cta-card h3 { color: #fff; font-size: 1.2rem; }
.cta-card p { font-size: .95rem; }
.cta-card .btn + .btn { margin-top: 10px; }
.cta-card .small { display: block; margin-top: 14px; font-size: .85rem; color: #9fb0c8; text-align: center; }
.cta-card .small a { color: var(--gold-300); }
.aside-links { list-style: none; display: grid; gap: 2px; }
.aside-links a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 650; font-size: .93rem; line-height: 1.35; }
.aside-links a .ico { width: 18px; height: 18px; color: var(--gold-600); }
.aside-links a:hover { background: var(--bg-mute); }
.aside-links a[aria-current="page"] { background: var(--navy-100); color: var(--navy-800); }

/* Beneficios de categoría */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.benefit { padding: 24px; border-radius: var(--radius); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.benefit h3 { display: flex; align-items: center; gap: 10px; font-size: 1.08rem; }
.benefit h3 .ico { color: var(--gold-400); }
.benefit p { margin: 0; color: #b9c5d8; font-size: .96rem; }

/* Proyectos */
.case { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.case-meta { display: grid; gap: 12px; margin: 22px 0; }
.case-meta div { padding: 14px 18px; border-radius: 12px; background: var(--bg-soft); border: 1px solid #ece7dc; }
.case-meta small { display: block; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-700); font-weight: 800; }
.case-meta strong { color: var(--ink); font-weight: 700; }
.readings { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 12px; }
.reading { padding: 22px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.reading strong { display: block; font-size: 1.7rem; color: var(--gold-300); line-height: 1.1; margin-bottom: 6px; letter-spacing: -.02em; }
.reading span { font-size: .9rem; color: #b9c5d8; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery-item { margin: 0; border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid var(--line); }
.gallery-item img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .5s var(--ease); }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item figcaption { padding: 12px 14px; font-size: .88rem; color: var(--muted); line-height: 1.45; }

/* Contacto */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 40px; align-items: start; }
.quote-form { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: clamp(22px, 4vw, 38px); box-shadow: var(--shadow); }
.quote-form h2 { font-size: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field span { font-weight: 700; font-size: .92rem; color: var(--ink); }
.field span em { font-style: normal; color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); width: 100%; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy-600); box-shadow: 0 0 0 4px rgba(31, 76, 132, .12); }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.form-note { font-size: .86rem; color: var(--muted); margin: 14px 0 0; }
.form-success { margin-top: 16px; padding: 14px 16px; border-radius: 12px; background: #e9f8ef; color: #135c31; font-weight: 650; }
.contact-list { list-style: none; display: grid; gap: 12px; }
.contact-list a, .contact-list div { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.contact-list a:hover { border-color: #cfd6e1; box-shadow: var(--shadow-sm); }
.contact-list small { display: block; color: var(--muted); font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.contact-list strong { display: block; font-size: 1rem; word-break: break-word; }
.contact-list .cat-icon { width: 44px; height: 44px; border-radius: 12px; }
.contact-list .is-wa .cat-icon { background: var(--wa); color: #fff; }

/* Servicios (índice) */
.overview { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.overview-cat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.overview-cat header { display: flex; gap: 16px; align-items: center; margin-bottom: 14px; }
.overview-cat h2 { font-size: 1.3rem; margin: 0; }
.overview-cat h2 a { color: inherit; text-decoration: none; }
.overview-cat h2 a:hover { color: var(--navy-700); }
.overview-cat p { color: var(--muted); font-size: .96rem; }

/* Pie de página */
.site-footer { background: var(--navy-950); color: #9fb0c8; padding: 72px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr .8fr 1.1fr; gap: 40px; }
.footer-brand img { height: 52px; width: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 340px; }
.site-footer h3 { color: #fff; font-size: .9rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.footer-links { list-style: none; display: grid; gap: 9px; }
.site-footer a { color: #c9d4e4; text-decoration: none; }
.site-footer a:hover { color: var(--gold-300); }
.footer-contact { list-style: none; display: grid; gap: 12px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .ico { color: var(--gold-400); margin-top: 3px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 52px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .86rem; color: #7f93b0; }

/* WhatsApp flotante */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: inline-flex; align-items: center; gap: 10px; padding: 14px; border-radius: 999px; background: var(--wa); color: #fff; text-decoration: none; font-weight: 750; box-shadow: 0 16px 34px -12px rgba(22, 138, 66, .9); transition: transform .2s var(--ease), background .2s; }
.wa-float:hover { transform: translateY(-3px); background: var(--wa-dark); color: #fff; }
.wa-float .ico { width: 28px; height: 28px; }
.wa-float span { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .35s var(--ease), margin .35s; }
.wa-float:hover span, .wa-float.is-expanded span { max-width: 220px; margin-right: 6px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(31, 175, 84, .55); animation: ping 2.6s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(31, 175, 84, .5); } 70%, 100% { box-shadow: 0 0 0 16px rgba(31, 175, 84, 0); } }

/* 404 */
.notfound { text-align: center; max-width: 640px; margin: 0 auto; }
.notfound .code { font-size: clamp(5rem, 16vw, 9rem); font-weight: 800; line-height: 1; background: linear-gradient(135deg, var(--gold-300), var(--gold-600)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.notfound .hero-ctas { justify-content: center; }

/* Animaciones de aparición */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Responsivo */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .readings { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { min-height: 0; height: 440px; max-width: 520px; width: 100%; margin: 0 auto; }
  .cat-grid, .features-grid, .benefits { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .project-grid, .coverage-grid, .case, .contact-grid, .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero-photo { max-height: 340px; aspect-ratio: 16 / 10; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-aside { position: static; }
  .overview { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .cat-grid, .features-grid, .benefits, .steps, .options-list, .mini-steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-visual { height: 380px; }
  .hero-card { left: auto; right: 4%; top: auto; bottom: 8%; }
  .hero-ctas .btn { flex: 1 1 auto; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { flex: 1 1 auto; }
  .wa-float { right: 14px; bottom: 14px; }
  .section-head { margin-bottom: 32px; }
}
/* Piezas adicionales */
.features-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.features-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.nota { display: flex; gap: 10px; align-items: flex-start; margin: 20px 0 0; padding: 14px 16px; border-radius: 12px; background: var(--bg-mute); color: var(--muted); font-size: .92rem; line-height: 1.5; }
.nota .ico { width: 18px; height: 18px; color: var(--navy-600); flex: none; margin-top: 2px; }
.page-hero-card { padding: 26px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; gap: 10px; }
.page-hero-card h2 { color: var(--ink); font-size: 1.25rem; margin: 0; }
.page-hero-card p { color: var(--muted); font-size: .95rem; margin: 0 0 6px; }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
.facts { list-style: none; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.facts li { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.facts li:last-child { border-bottom: 0; }
.facts small { color: var(--muted); font-weight: 800; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; padding-top: 3px; }
.facts strong { color: var(--ink); font-weight: 650; }
.prose p { font-size: 1.05rem; }
.page-hero .cat-icon { display: grid; }
.page-hero-photo.horizontal { aspect-ratio: 4 / 3; max-height: 360px; }
.contact-list .note { display: block; font-size: .85rem; color: var(--muted); margin-top: 4px; font-weight: 500; }
@media (max-width: 1100px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 960px) {
  .split { grid-template-columns: 1fr; }
  /* backdrop-filter convierte al header en contenedor de los elementos fijos: se quita en móvil para que el menú ocupe toda la pantalla */
  .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: #fff; }
}
@media (max-width: 720px) {
  .cat-grid, .features-grid.cols-2 { grid-template-columns: 1fr; }
  .facts li { grid-template-columns: 1fr; gap: 2px; }
}
/* Barra superior de urgencias */
.topbar { background: var(--navy-950); color: #b9c5d8; font-size: .85rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; padding-block: 6px; }
.topbar .urgencia { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.topbar .urgencia .ico { width: 16px; height: 16px; color: var(--gold-400); }
.topbar a { color: var(--gold-300); font-weight: 800; text-decoration: none; }
.topbar a:hover { color: #fff; }

/* Portada compacta */
.hero-compact .hero-grid { padding-top: clamp(36px, 4.5vw, 58px); padding-bottom: clamp(52px, 6vw, 78px); align-items: center; }
.hero-compact h1 { font-size: clamp(1.95rem, 3.6vw, 3rem); margin-bottom: 16px; }
.hero-compact .hero-text { font-size: 1.06rem; max-width: 560px; }
.hero-compact .hero-ctas { margin: 24px 0 22px; }
.hero-compact .hero-visual { min-height: 0; height: auto; }
.hero-photo.solo { position: relative; width: 100%; aspect-ratio: 5 / 4; max-height: 330px; }
.hero-compact .hero-card { left: auto; right: -14px; top: auto; bottom: -24px; }

/* Areas de servicio */
.areas { background: var(--bg-soft); padding: clamp(36px, 5vw, 56px) 0 clamp(56px, 7vw, 86px); }
.areas-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 32px; margin-bottom: 26px; }
.areas-head h2 { margin: 0; font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.areas-head p { margin: 0; color: var(--muted); max-width: 460px; }
.area-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.area-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.area-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d5dbe5; }
.area-lema { display: block; font-size: .78rem; font-weight: 800; letter-spacing: .04em; color: var(--gold-700); margin: 16px 0 6px; }
.area-card h3 { font-size: 1.12rem; line-height: 1.25; margin-bottom: 8px; }
.area-card h3 a { color: inherit; text-decoration: none; }
.area-card h3 a:hover { color: var(--navy-700); }
.area-card > p { color: var(--muted); font-size: .92rem; margin-bottom: 14px; }
.area-links { list-style: none; border-top: 1px solid var(--line); margin-bottom: 16px; }
.area-links a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 2px; border-bottom: 1px dashed var(--line); color: var(--ink); font-weight: 650; font-size: .9rem; line-height: 1.3; text-decoration: none; }
.area-links a .ico { width: 15px; height: 15px; color: var(--gold-600); flex: none; transition: transform .2s; }
.area-links a:hover { color: var(--navy-700); }
.area-links a:hover .ico { transform: translateX(3px); }
.area-card .cat-more { margin-top: auto; }

/* Accesos directos segun el caso */
.casos { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; padding: 20px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.casos-label { font-weight: 800; color: var(--ink); font-size: .96rem; }
.casos-row { display: flex; flex-wrap: wrap; gap: 8px; }
.caso { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-soft); color: var(--ink); text-decoration: none; font-size: .9rem; font-weight: 650; transition: border-color .2s, color .2s, background .2s; }
.caso:hover { border-color: var(--navy-600); color: var(--navy-800); background: #fff; }
.caso .ico { width: 17px; height: 17px; color: var(--gold-600); }
.caso.is-urgencia { background: #fdeeee; border-color: #f2cccc; color: #8c2b2b; }
.caso.is-urgencia .ico { color: #c0392b; }
.caso.is-urgencia:hover { border-color: #c0392b; color: #8c2b2b; background: #fff5f5; }

/* Bloques dentro del detalle de servicio */
.bloque + .bloque { margin-top: 24px; }
.bloque h3 { display: flex; align-items: center; gap: 10px; font-size: 1.03rem; color: var(--navy-800); margin-bottom: 10px; }
.bloque h3::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--gold-500); flex: none; }
.bloque .checklist { margin: 0; }

/* Menu de servicios en columnas */
.mega { width: min(760px, 94vw); }
.mega-grid { grid-template-columns: repeat(2, 1fr); gap: 4px; }
.mega-col { padding: 6px; }
.mega-cat { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: .95rem; line-height: 1.25; }
.mega-cat:hover { background: var(--bg-soft); color: var(--navy-800); }
.mega-cat .cat-icon { width: 34px; height: 34px; border-radius: 9px; }
.mega-links { list-style: none; margin-top: 2px; }
.mega-links a { display: block; padding: 6px 10px; border-radius: 8px; color: var(--muted); font-size: .85rem; line-height: 1.35; text-decoration: none; }
.mega-links a:hover { background: var(--bg-mute); color: var(--navy-800); }

@media (max-width: 1100px) { .area-grid, .features-grid.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 960px) {
  .mega-grid { grid-template-columns: 1fr; }
  .hero-compact .hero-visual { max-width: 420px; margin-inline: auto; }
  .hero-compact .hero-card { right: 0; bottom: -18px; }
}
@media (max-width: 720px) {
  .area-grid, .features-grid.cols-4 { grid-template-columns: 1fr; }
  .topbar .hide-sm { display: none; }
  .topbar .container { justify-content: center; }
  .casos { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
