/* Reparum — estilos del theme */

@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400 800; font-display: swap; src: url(../fonts/plus-jakarta-sans-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400 800; font-display: swap; src: url(../fonts/plus-jakarta-sans-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
    --ink: #14181f;
    --ink-2: #262c38;
    --text: #3b4351;
    --muted: #6a7282;
    --line: #e4e7ee;
    --bg: #ffffff;
    --bg-alt: #f5f6fa;
    --brand: #e0287a;
    --brand-2: #f0485c;
    --brand-dark: #b81d62;
    --brand-soft: #fdeef5;
    --grad: linear-gradient(135deg, var(--brand-2), var(--brand) 60%, #c43ba0);
    --wa: #1fa855;
    --wa-dark: #178a45;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow-sm: 0 1px 2px rgba(20, 24, 31, .06), 0 1px 3px rgba(20, 24, 31, .06);
    --shadow: 0 10px 30px -12px rgba(20, 24, 31, .22);
    --shadow-lg: 0 30px 60px -20px rgba(20, 24, 31, .35);
    --container: 1200px;
    --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--font); font-size: 17px; 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(--brand-dark); text-decoration: none; }
a:hover { color: var(--brand); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.18; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.25rem); }
h3 { font-size: 1.15rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 820px; }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }

.ico { width: 1.25em; height: 1.25em; flex: none; }
.ico-sm { width: 1em; height: 1em; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: .7em 1.25em; border-radius: 999px; font-weight: 700; font-size: .98rem; line-height: 1.2; border: 2px solid transparent; transition: transform .15s, background .15s, box-shadow .15s, color .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: .95em 1.6em; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 8px 20px -8px rgba(31, 168, 85, .6); }
.btn-wa:hover { background: var(--wa-dark); color: #fff; }
.btn-light { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.btn-light:hover { color: var(--brand-dark); }
.btn-light .ico { color: var(--brand); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); }
.icon-btn:hover { color: var(--brand); border-color: var(--brand); }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; }
.link-arrow .ico { transition: transform .15s; }
.link-arrow:hover .ico { transform: translateX(3px); }

.kicker { display: inline-flex; align-items: center; gap: .45em; font-size: .8rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--brand); margin-bottom: .8em; }
.kicker-light { color: #ffb3d3; }

/* Barra superior */
.topbar { background: var(--ink); color: #c9ced8; font-size: .85rem; }
.topbar-in { display: flex; align-items: center; gap: 22px; min-height: 40px; }
.topbar-item { display: inline-flex; align-items: center; gap: .45em; white-space: nowrap; }
.topbar-item .ico { width: 1em; height: 1em; color: var(--brand); }
.topbar-spacer { flex: 1; }
.topbar-phone { color: #fff; font-weight: 700; }
.topbar-phone:hover { color: #ffb3d3; }
.lang { display: inline-flex; gap: 2px; background: rgba(255, 255, 255, .08); border-radius: 999px; padding: 3px; }
.lang a { color: #c9ced8; font-weight: 700; font-size: .78rem; padding: 3px 10px; border-radius: 999px; }
.lang a[aria-current] { background: #fff; color: var(--ink); }

/* Cabecera */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid transparent; transition: box-shadow .2s, border-color .2s; }
.site-header.scrolled { box-shadow: 0 6px 20px -12px rgba(20, 24, 31, .25); border-color: var(--line); }
.header-in { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.logo { display: inline-flex; flex: none; }
.logo-img { height: 37px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav-link { display: inline-flex; align-items: center; gap: .3em; padding: 10px 14px; border-radius: 10px; color: var(--ink); font-weight: 600; font-size: .98rem; background: none; border: 0; }
.nav-link:hover, .mega-toggle[aria-expanded="true"] { background: var(--bg-alt); color: var(--brand-dark); }
.mega-toggle .ico { transition: transform .2s; }
.mega-toggle[aria-expanded="true"] .ico { transform: rotate(180deg); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.show-md { display: none !important; }

.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--line); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .18s; }
.mega.open { opacity: 1; visibility: visible; transform: none; }
.mega-in { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; padding-top: 28px; padding-bottom: 32px; }
.mega-title { display: flex; align-items: center; gap: .5em; font-weight: 800; color: var(--ink); font-size: .92rem; margin-bottom: .7em; }
.mega-title .ico { color: var(--brand); }
.mega ul { list-style: none; }
.mega li a { display: block; padding: 5px 0; color: var(--text); font-size: .93rem; }
.mega li a:hover { color: var(--brand); }

/* Menú lateral */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(20, 24, 31, .55); z-index: 80; opacity: 0; transition: opacity .25s; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(400px, 92vw); background: #fff; z-index: 90; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .25s ease; }
.drawer-on .drawer { transform: none; }
.drawer-on .drawer-backdrop { opacity: 1; }
.drawer-on { overflow: hidden; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.drawer-body { overflow-y: auto; padding: 18px; flex: 1; }
.search-field { display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--line); border-radius: 12px; padding: 0 14px; margin-bottom: 18px; color: var(--muted); }
.search-field:focus-within { border-color: var(--brand); }
.search-field input { border: 0; outline: 0; padding: 12px 0; font: inherit; width: 100%; }
.drawer-group { margin-bottom: 18px; }
.drawer-title { font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.drawer-group ul { list-style: none; }
.drawer-group a { display: block; padding: 8px 0; color: var(--ink); font-weight: 600; border-bottom: 1px solid var(--bg-alt); }
.drawer-links { display: grid; gap: 4px; padding-top: 10px; border-top: 1px solid var(--line); }
.drawer-links a { padding: 10px 0; font-weight: 700; color: var(--ink); }

/* Hero portada */
.hero { position: relative; color: #fff; background: var(--ink); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .35; }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(1200px 500px at 0% 0%, rgba(224, 40, 122, .35), transparent 60%), linear-gradient(90deg, rgba(20, 24, 31, .92) 0%, rgba(20, 24, 31, .7) 55%, rgba(20, 24, 31, .45)); }
.hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 80px; }
.hero h1 { color: #fff; }
.hero-text { font-size: 1.15rem; color: #d7dbe3; max-width: 40em; margin-bottom: 1.6em; }
.hero-checks { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; color: #e9ecf1; font-weight: 600; font-size: .95rem; }
.hero-checks li { display: inline-flex; align-items: center; gap: .45em; }
.hero-checks .ico { color: #5be08e; }

/* Formulario de cotización */
.quote-card { background: #fff; color: var(--text); border-radius: 22px; padding: 28px; box-shadow: var(--shadow-lg); display: grid; gap: 14px; }
.quote-title { font-size: 1.35rem; font-weight: 800; color: var(--ink); margin: 0; }
.quote-sub { display: flex; align-items: center; gap: .4em; margin: -8px 0 4px; color: var(--muted); font-size: .92rem; }
.ico-wa { color: var(--wa); }
.quote-card label { display: grid; gap: 6px; }
.quote-card label span { font-size: .85rem; font-weight: 700; color: var(--ink); }
.quote-card select, .quote-card input, .quote-card textarea { width: 100%; font: inherit; font-size: 1rem; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.quote-card select:focus, .quote-card input:focus, .quote-card textarea:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.quote-card textarea { resize: vertical; min-height: 84px; }
.quote-note { font-size: .8rem; color: var(--muted); margin: 0; text-align: center; }

/* Franja de confianza */
.trust { background: #fff; border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-top: 26px; padding-bottom: 26px; }
.trust-item { display: flex; align-items: center; gap: 14px; }
.trust-item strong { display: block; color: var(--ink); font-size: .98rem; line-height: 1.3; }
.trust-item small { color: var(--muted); font-size: .85rem; }
.trust-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--brand-soft); color: var(--brand); flex: none; }

/* Secciones */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head.center .kicker { justify-content: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section-head.split { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 20px; }

/* Pestañas de categorías */
.cat-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 36px; }
.cat-tab { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); font-weight: 700; font-size: .95rem; transition: .15s; }
.cat-tab .ico { color: var(--brand); }
.cat-tab em { font-style: normal; font-size: .78rem; background: var(--bg-alt); color: var(--muted); border-radius: 999px; padding: 1px 8px; }
.cat-tab:hover { border-color: var(--brand); }
.cat-tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.cat-tab[aria-selected="true"] .ico { color: #ff8fc0; }
.cat-tab[aria-selected="true"] em { background: rgba(255, 255, 255, .15); color: #fff; }
.cat-panel-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Tarjetas */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); color: var(--text); transition: transform .2s, box-shadow .2s, border-color .2s; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; color: var(--text); }
.service-card-img { aspect-ratio: 16 / 10; background: var(--bg-alt); overflow: hidden; }
.service-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.service-card:hover .service-card-img img { transform: scale(1.05); }
.service-card-body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 22px; flex: 1; }
.service-card-title { font-weight: 800; color: var(--ink); font-size: 1.12rem; line-height: 1.3; }
.service-card-text { font-size: .95rem; color: var(--muted); flex: 1; }
.service-card-more { display: inline-flex; align-items: center; gap: .35em; font-weight: 700; color: var(--brand-dark); font-size: .92rem; }

.post-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; }
.post-card-img { aspect-ratio: 16 / 10; background: var(--bg-alt); overflow: hidden; }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; }
.post-card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.post-card-body p { color: var(--muted); font-size: .95rem; flex: 1; }
.post-card-date { font-size: .82rem; color: var(--muted); font-weight: 600; margin-bottom: 6px; }
.post-card-title { font-size: 1.15rem; }
.post-card-title a { color: var(--ink); }
.post-card-title a:hover { color: var(--brand); }

.placeholder-img { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: radial-gradient(400px 200px at 100% 0%, rgba(224, 40, 122, .45), transparent 60%), linear-gradient(135deg, #1d2230, var(--ink)); color: #fff; font-weight: 800; font-size: 1.05rem; text-align: center; padding: 16px; }
.placeholder-img .ico { width: 44px; height: 44px; padding: 10px; border-radius: 14px; background: var(--grad); }

/* Pasos */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: s; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px 26px; }
.step h3 { margin-top: 14px; }
.step p { color: var(--muted); margin: 0; font-size: .97rem; }
.step-num { position: absolute; top: 22px; right: 24px; font-size: 3rem; font-weight: 800; line-height: 1; color: var(--bg-alt); -webkit-text-stroke: 1px var(--line); }
.step-ico { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--grad); color: #fff; }
.steps-compact .step { padding: 24px 22px 20px; }
.steps-compact .step-num { position: static; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--grad); color: #fff; font-size: 1.1rem; -webkit-text-stroke: 0; }

/* Por qué */
.why { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.check-list { list-style: none; display: grid; gap: 12px; margin-bottom: 30px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; color: var(--ink); }
.check-list .ico { color: #fff; background: var(--wa); border-radius: 50%; padding: 4px; width: 24px; height: 24px; margin-top: 1px; }
.check-list-2 { grid-template-columns: 1fr 1fr; }
.why-media { position: relative; }
.why-img { border-radius: 24px; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; box-shadow: var(--shadow-lg); }
.why-badge { position: absolute; left: -24px; bottom: 30px; background: #fff; border-radius: 18px; padding: 18px 22px; box-shadow: var(--shadow-lg); display: grid; }
.why-badge strong { font-size: 2rem; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.why-badge span { font-size: .88rem; color: var(--muted); font-weight: 600; }

/* Zonas */
.zones { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
.zone-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.zone-chips li { display: inline-flex; align-items: center; gap: .4em; background: #fff; border: 1.5px solid var(--line); border-radius: 999px; padding: 9px 16px; font-weight: 700; color: var(--ink); font-size: .95rem; }
.zone-chips li .ico { color: var(--brand); }
.zone-chips .zone-more { border-style: dashed; color: var(--muted); }

/* Franja final */
.cta-band { background: var(--grad); color: #fff; }
.cta-band-in { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-top: 54px; padding-bottom: 54px; }
.cta-band h2 { color: #fff; margin-bottom: .2em; }
.cta-band p { margin: 0; color: #ffe3ef; font-size: 1.08rem; }
.cta-band .btn-light .ico { color: var(--brand); }

/* Página de servicio */
.svc-hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.svc-hero-bg { position: absolute; inset: 0; }
.svc-hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.svc-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 24, 31, .95) 0%, rgba(20, 24, 31, .75) 55%, rgba(20, 24, 31, .35)); }
.svc-hero-in { position: relative; z-index: 1; padding-top: 56px; padding-bottom: 64px; }
.svc-hero-copy { max-width: 720px; }
.svc-hero h1 { color: #fff; }
.svc-hero-note { margin: 16px 0 0; color: #b9c0cc; font-size: .9rem; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .88rem; color: #aab1be; margin-bottom: 18px; }
.breadcrumbs a { color: #dfe3ea; }
.breadcrumbs a:hover { color: #fff; text-decoration: underline; }
.breadcrumbs.dark { color: var(--muted); }
.breadcrumbs.dark a { color: var(--text); }

.svc-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; padding-top: 56px; padding-bottom: 40px; }
.svc-block { margin-bottom: 56px; }
.svc-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.svc-figure { margin: 0; }
.svc-figure img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.offer-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.offer { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.offer:hover { border-color: #f5c2da; box-shadow: var(--shadow-sm); }
.offer h3 { margin: 12px 0 6px; font-size: 1.05rem; }
.offer p { margin: 0; color: var(--muted); font-size: .95rem; }
.offer-ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); }
.inline-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 22px; padding: 20px 24px; border-radius: var(--radius); background: var(--bg-alt); }
.inline-cta p { margin: 0; }
.review-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.review { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.review blockquote { margin: 10px 0; color: var(--ink); font-size: 1.02rem; }
.review figcaption { color: var(--muted); font-size: .92rem; }
.stars { display: flex; gap: 2px; color: #f5a524; }
.ico-star { width: 18px; height: 18px; fill: currentColor; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery img { border-radius: var(--radius-sm); aspect-ratio: 4 / 3; object-fit: cover; }
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.faq details[open] { border-color: #f5c2da; box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; cursor: pointer; font-weight: 700; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { transition: transform .2s; color: var(--brand); }
.faq details[open] summary .ico { transform: rotate(180deg); }
.faq details p { margin: 0; padding: 0 20px 18px; color: var(--text); }
.svc-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
.svc-meta h2 { font-size: 1.3rem; }
.svc-aside .sticky { position: sticky; top: 100px; display: grid; gap: 14px; }
.svc-aside .quote-card { border: 1px solid var(--line); box-shadow: var(--shadow); }
.aside-call { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-radius: var(--radius); background: var(--ink); color: #fff; }
.aside-call:hover { color: #fff; background: var(--ink-2); }
.aside-call .ico { width: 42px; height: 42px; padding: 10px; border-radius: 12px; background: var(--grad); }
.aside-call small { display: block; color: #aab1be; font-size: .82rem; }
.aside-call strong { font-size: 1.2rem; }
.all-services { list-style: none; columns: 3 260px; column-gap: 32px; }
.all-services li { break-inside: avoid; padding: 6px 0; border-bottom: 1px solid var(--bg-alt); }
.all-services a { color: var(--text); font-weight: 600; }
.all-services a:hover { color: var(--brand); }

/* Cabecera de páginas */
.page-hero { background: var(--ink); color: #fff; padding: 64px 0 60px; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(900px 400px at 100% 0%, rgba(224, 40, 122, .35), transparent 60%); }
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; }
.page-hero .hero-text p:last-child { margin-bottom: 0; }

/* Artículo */
.article-head { padding: 56px 0 28px; }
.article-meta { display: flex; align-items: center; gap: .45em; color: var(--muted); font-size: .95rem; }
.article-cover { margin: 0 0 36px; }
.article-cover img { border-radius: 20px; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.prose { font-size: 1.08rem; }
.prose h2 { margin-top: 1.8em; }
.prose h3 { margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.3em; margin-bottom: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose img { border-radius: var(--radius); margin: 1.5em 0; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote { margin: 1.5em 0; padding: 1em 1.4em; border-left: 4px solid var(--brand); background: var(--bg-alt); border-radius: 0 12px 12px 0; }
.article-cta { margin: 48px 0 28px; padding: 28px; border-radius: 20px; background: var(--bg-alt); display: grid; gap: 14px; }
.article-cta p { margin: 0; color: var(--ink); }
.back { margin-bottom: 64px; }

/* Contacto */
.contact-grid { display: grid; grid-template-columns: 1fr 420px; gap: 48px; align-items: start; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-card { display: flex; align-items: center; gap: 16px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); background: #fff; }
.contact-card .ico { width: 48px; height: 48px; padding: 12px; border-radius: 14px; background: var(--brand-soft); color: var(--brand); }
.contact-card strong { display: block; font-size: 1.05rem; }
.contact-card small { color: var(--muted); }
a.contact-card:hover { border-color: var(--brand); color: var(--ink); box-shadow: var(--shadow-sm); }
.contact-wa .ico { background: #e7f7ee; color: var(--wa); }
.quote-card.inline { box-shadow: var(--shadow); border: 1px solid var(--line); }

.pagination { margin-top: 40px; display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.pagination .page-numbers { padding: 8px 14px; border-radius: 10px; border: 1px solid var(--line); color: var(--ink); font-weight: 700; }
.pagination .current { background: var(--ink); color: #fff; border-color: var(--ink); }
.empty { text-align: center; color: var(--muted); }

/* Pie */
.site-footer { background: #0f1218; color: #a7aebb; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 36px; padding-top: 64px; padding-bottom: 40px; }
.footer-brand p { margin: 18px 0; }
.footer-title { color: #fff; font-weight: 800; font-size: .95rem; margin: 0 0 12px; }
.footer-title:not(:first-child) { margin-top: 24px; }
.footer-links { list-style: none; display: grid; gap: 6px; }
.footer-links a, .footer-contact a { color: #a7aebb; }
.footer-links a:hover, .footer-contact a:hover { color: #fff; }
.footer-contact { list-style: none; display: grid; gap: 10px; }
.footer-contact li { display: flex; align-items: center; gap: 10px; }
.footer-contact .ico { color: var(--brand); width: 1.1em; height: 1.1em; }
.footer-zones { padding-bottom: 28px; font-size: .9rem; }
.footer-zones strong { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); }
.footer-bottom-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 18px; padding-bottom: 18px; font-size: .88rem; }
.lang-dark a { font-size: .82rem; }

/* Contacto fijo */
.mobile-bar { display: none; }
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 40; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff; box-shadow: 0 12px 28px -8px rgba(31, 168, 85, .7); transition: transform .15s; }
.wa-float:hover { transform: scale(1.06); color: #fff; }
.wa-float .ico { width: 30px; height: 30px; }

/* Responsive */
@media (max-width: 1100px) {
    .main-nav { display: none; }
    .show-md { display: inline-grid !important; }
    .hide-md { display: none !important; }
    .header-actions { margin-left: auto; }
    .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .svc-layout { grid-template-columns: 1fr; }
    .svc-aside { order: -1; }
    .svc-aside .sticky { position: static; }
    .svc-aside .quote-card { display: none; }
}
@media (max-width: 960px) {
    .hero-in, .why, .zones, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
    .hero-in { padding-top: 48px; padding-bottom: 56px; }
    .card-grid { grid-template-columns: repeat(2, 1fr); }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: 1fr; }
    .why-badge { left: 16px; }
    .cta-band-in { flex-direction: column; align-items: flex-start; }
    .section { padding: 64px 0; }
}
@media (max-width: 640px) {
    body { font-size: 16px; }
    .container { padding: 0 16px; }
    .hide-sm { display: none !important; }
    .topbar-in > .topbar-item:first-child { display: none; }
    .svc-aside { display: none; }
    .topbar-in { gap: 12px; }
    .header-in { min-height: 64px; gap: 12px; }
    .logo-img { height: 31px; }
    .card-grid, .offer-grid, .review-grid, .svc-intro, .contact-cards, .check-list-2 { grid-template-columns: 1fr; }
    .gallery { grid-template-columns: 1fr 1fr; }
    .trust-grid { gap: 16px; padding-top: 20px; padding-bottom: 20px; }
    .trust-item { gap: 10px; }
    .trust-ico { width: 40px; height: 40px; }
    .trust-item small { display: none; }
    .btn-row .btn { flex: 1 1 100%; }
    .quote-card { padding: 22px; }
    .inline-cta { flex-direction: column; align-items: stretch; }
    .section-head.split { flex-direction: column; align-items: flex-start; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-bottom-in { flex-direction: column; }
    .wa-float { display: none; }
    .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; box-shadow: 0 -6px 20px -6px rgba(20, 24, 31, .3); }
    .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 10px; font-weight: 800; color: #fff; }
    .mobile-bar-call { background: var(--ink); }
    .mobile-bar-wa { background: var(--wa); }
    body { padding-bottom: 56px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
