/* Cerrajero Plasencia — hoja de estilos principal */

:root {
  --ink: #111419;
  --ink-soft: #1a1f26;
  --paper: #f5f6f8;
  --paper-2: #e9ebef;
  --blue: #1f5fe8;
  --blue-bright: #6b9dff;
  --red: #e0352d;
  --red-dark: #c42b24;
  --green: #1f9d5c;
  --green-bright: #6fe0a0;
  --muted: #5d6673;
  --muted-dark: #9aa3b1;
  --line: #d6dae1;
  --white: #fff;
  --radius: 10px;
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --header-h: 76px;
}

*, *::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; background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
button, a, input { font: inherit; }
a { color: inherit; text-decoration: none; }
button { border: 0; background: none; cursor: pointer; color: inherit; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
.icon { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

:focus-visible { outline: 3px solid var(--blue-bright); outline-offset: 3px; border-radius: 4px; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--ink); color: #fff; font-weight: 700; border-radius: 6px; transition: top .15s ease; }
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.site-shell { overflow-x: clip; }

/* ---------- Barra superior ---------- */
.top-strip { background: var(--red); color: #fff; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; font-weight: 700; }
.top-strip__inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.top-strip span, .top-strip a { display: inline-flex; align-items: center; gap: 8px; }
.top-strip a:hover { text-decoration: underline; text-underline-offset: 3px; }
.top-strip__dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,.7); }

/* ---------- Cabecera ---------- */
.site-header { position: sticky; top: 0; z-index: 40; height: var(--header-h); display: flex; align-items: center; background: rgba(245,246,248,.94); border-bottom: 1px solid rgba(17,20,25,.08); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: box-shadow .2s ease; }
.site-header.is-scrolled { box-shadow: 0 8px 24px rgba(17,20,25,.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand-link { display: inline-flex; border-radius: 8px; }
.brand-mark { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark__icon { height: 40px; width: 40px; border-radius: 11px; display: grid; place-items: center; color: #fff; background: var(--ink); transform: rotate(-7deg); box-shadow: 3px 3px 0 var(--red); font-size: 20px; }
.brand-mark__text { font-family: var(--font-display); font-size: 17px; font-weight: 700; letter-spacing: -.05em; line-height: .8; }
.brand-mark__text em { color: var(--red); font-style: normal; }
.brand-mark__text small { display: block; margin-top: 6px; font-family: var(--font-body); font-size: 9px; letter-spacing: .24em; color: var(--muted); font-weight: 700; }

.main-nav { display: flex; align-items: center; gap: 26px; margin-left: auto; font-size: 14px; font-weight: 700; color: #4a5361; }
.main-nav a { position: relative; padding: 6px 0; transition: color .18s ease; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--red); }
.nav-mobile-cta { display: none; }
.header-actions { display: flex; align-items: center; gap: 18px; }
.header-phone { display: flex; align-items: center; gap: 8px; color: var(--ink); font-size: 15px; font-weight: 700; white-space: nowrap; }
.header-phone .icon { color: var(--red); }
.header-phone:hover { color: var(--red); }
.menu-toggle { display: none; width: 44px; height: 44px; place-items: center; border-radius: 8px; font-size: 24px; }
.menu-toggle .icon--close { display: none; }
.menu-toggle[aria-expanded="true"] .icon--open { display: none; }
.menu-toggle[aria-expanded="true"] .icon--close { display: block; }

/* ---------- Botones ---------- */
.pill-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 20px; border-radius: 8px; color: #fff; background: var(--red); font-size: 15px; font-weight: 700; white-space: nowrap; box-shadow: 0 10px 24px rgba(224,53,45,.22); transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease; }
.pill-button .icon { font-size: 18px; }
.pill-button:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(224,53,45,.3); background: var(--red-dark); }
.pill-button:active { transform: scale(.97); }
.pill-button--dark { background: var(--ink); box-shadow: 0 10px 24px rgba(17,20,25,.18); }
.pill-button--dark:hover { background: var(--blue); box-shadow: 0 14px 28px rgba(31,95,232,.25); }
.pill-button--whatsapp { background: #1c8c52; box-shadow: 0 10px 24px rgba(28,140,82,.22); }
.pill-button--whatsapp:hover { background: #167444; box-shadow: 0 14px 28px rgba(28,140,82,.3); }
.pill-button--lg { min-height: 56px; padding: 0 24px; font-size: 16px; }

.whatsapp-link { display: inline-flex; align-items: center; gap: 9px; color: #d5dbe4; font-size: 15px; font-weight: 700; transition: color .18s ease; }
.whatsapp-link .icon { color: var(--green-bright); font-size: 20px; }
.whatsapp-link:hover { color: #fff; }
.text-link { display: inline-flex; align-items: center; gap: 7px; color: var(--ink); font-size: 15px; font-weight: 700; border-bottom: 1px solid #aab2be; padding-bottom: 5px; transition: color .18s ease, border-color .18s ease; }
.text-link:hover { color: var(--red); border-color: var(--red); }

/* ---------- Hero portada ---------- */
.hero-section { position: relative; color: #fff; background: var(--ink); overflow: hidden; }
.hero-grid { position: absolute; inset: 0; opacity: .17; background-image: linear-gradient(rgba(255,255,255,.11) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.11) 1px, transparent 1px); background-size: 66px 66px; -webkit-mask-image: linear-gradient(90deg, #000, transparent 72%); mask-image: linear-gradient(90deg, #000, transparent 72%); }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(20px); opacity: .6; pointer-events: none; }
.hero-glow--red { width: 500px; height: 500px; background: rgba(224,53,45,.15); right: 16%; top: 2%; }
.hero-glow--blue { width: 440px; height: 440px; background: rgba(31,95,232,.22); right: -10%; bottom: -20%; }
.hero-content { min-height: 620px; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 30px; position: relative; z-index: 2; }
.hero-copy { padding: 64px 0 88px; max-width: 660px; }
.status-badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); color: #c9d0db; border-radius: 99px; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.status-badge__pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.status-badge__pulse::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--red); opacity: 0; animation: pulse 2s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(.6); opacity: .8; } 100% { transform: scale(1.8); opacity: 0; } }
.hero-copy h1 { margin: 26px 0 24px; font-family: var(--font-display); font-size: clamp(42px, 5.4vw, 74px); letter-spacing: -.055em; line-height: 1; font-weight: 600; }
.hero-copy h1 span { color: var(--blue-bright); }
.hero-lead { max-width: 520px; margin: 0; font-size: 18px; color: #b7bfcb; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 34px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 12px 24px; margin: 44px 0 0; padding: 20px 0 0; list-style: none; border-top: 1px solid rgba(255,255,255,.12); color: #a2abb8; font-size: 14px; }
.hero-trust li { display: inline-flex; gap: 7px; align-items: center; }
.hero-trust .icon { color: var(--green-bright); font-size: 17px; }

.hero-visual { position: relative; padding: 48px 28px 64px; justify-self: end; width: 100%; max-width: 500px; }
.hero-photo { position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; background: var(--ink-soft); border: 1px solid rgba(255,255,255,.14); box-shadow: 0 30px 60px rgba(0,0,0,.45), 0 0 0 10px rgba(255,255,255,.03); transform: rotate(1.5deg); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.hero-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17,20,25,0) 55%, rgba(17,20,25,.55)); pointer-events: none; }
.hero-card { position: absolute; z-index: 4; display: flex; align-items: center; gap: 11px; padding: 12px 16px 12px 12px; border-radius: 12px; background: rgba(28,34,43,.9); border: 1px solid rgba(255,255,255,.13); box-shadow: 0 15px 30px rgba(0,0,0,.23); backdrop-filter: blur(12px); }
.hero-card b, .hero-card small { display: block; }
.hero-card b { font-size: 14px; color: #fff; }
.hero-card small { margin-top: 2px; font-size: 12px; color: #9aa5b6; }
.hero-card--top { top: 88px; left: 0; }
.hero-card--bottom { bottom: 36px; right: 0; }
.mini-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; font-size: 18px; }
.mini-icon--red { background: rgba(224,53,45,.2); color: #ff847d; }
.mini-icon--blue { background: rgba(107,157,255,.2); color: #8fb4ff; }
.hero-bottom-line { position: absolute; bottom: 0; width: 100%; z-index: 3; border-top: 1px solid rgba(255,255,255,.1); }
.hero-bottom-line__inner { height: 44px; display: flex; gap: 18px; align-items: center; color: #7a8492; font-size: 11px; letter-spacing: .16em; font-weight: 700; }
.hero-bottom-line__rule { width: 50px; height: 1px; background: #39414d; }

/* ---------- Secciones genéricas ---------- */
.section-pad { padding-top: 104px; padding-bottom: 104px; }
.bg-paper { background: var(--paper); }
.bg-paper-2 { background: var(--paper-2); }
.section-kicker { display: flex; align-items: center; gap: 10px; color: var(--red); font-size: 12px; letter-spacing: .16em; font-weight: 700; text-transform: uppercase; }
.section-kicker span { color: #8a93a0; font-family: var(--font-display); }
.section-kicker i { display: block; height: 1px; width: 32px; background: currentColor; }
.section-label { margin: 0 0 16px; color: var(--muted); font-size: 15px; font-weight: 600; }
.h2 { margin: 0; font-family: var(--font-display); font-size: clamp(34px, 4vw, 54px); letter-spacing: -.06em; line-height: 1.05; font-weight: 600; }
.h2 span { color: var(--blue); }
.h2 em { color: var(--red); font-style: normal; }
.lead { margin: 0 0 24px; color: var(--muted); font-size: 17px; line-height: 1.7; }

.intro-grid { display: grid; grid-template-columns: .7fr 1.4fr .9fr; gap: 45px; }
.intro-aside { align-self: end; }

.section-heading-row { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 48px; }
.section-heading-row .h2 { margin-top: 20px; }
.section-index { padding-bottom: 7px; color: #8a93a0; font-size: 12px; font-family: var(--font-display); letter-spacing: .14em; }

/* ---------- Servicios ---------- */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.service-card { min-height: 330px; padding: 26px; position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; background: #fff; border: 1px solid rgba(17,20,25,.07); border-radius: 4px; transition: transform .22s ease, box-shadow .22s ease; }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 16px 35px rgba(17,20,25,.1); }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; height: 3px; width: 44px; background: var(--red); }
.service-card--blue::before { background: var(--blue); }
.service-card__top { display: flex; justify-content: space-between; align-items: start; }
.service-number { color: #9aa2ad; font-family: var(--font-display); font-size: 13px; }
.service-icon { display: grid; place-items: center; height: 54px; width: 54px; color: var(--red); background: #fff0ef; border-radius: 12px; font-size: 26px; }
.service-icon .icon { stroke-width: 1.7; }
.service-card--blue .service-icon { color: var(--blue); background: #eaf1ff; }
.service-eyebrow { margin: 0 0 10px; color: var(--muted); text-transform: uppercase; font-size: 12px; letter-spacing: .14em; font-weight: 700; }
.service-card h3 { margin: 0 0 12px; font-family: var(--font-display); font-size: 23px; letter-spacing: -.045em; line-height: 1.1; }
.service-card h3 a::after { content: ''; position: absolute; inset: 0; }
.service-body { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.service-card__more { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-size: 14px; font-weight: 700; }
.service-card__arrow { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; transition: color .18s ease, background-color .18s ease, border-color .18s ease; }
.service-card:hover .service-card__arrow { color: #fff; border-color: var(--ink); background: var(--ink); }

/* ---------- Proceso ---------- */
.dark-section { position: relative; color: #fff; background: var(--ink); overflow: hidden; }
.dark-section::before { content: ''; position: absolute; width: 700px; height: 700px; top: -360px; right: -130px; border-radius: 50%; border: 1px solid rgba(255,255,255,.07); box-shadow: 0 0 0 50px rgba(255,255,255,.025), 0 0 0 110px rgba(255,255,255,.02); pointer-events: none; }
.dark-section .h2 span { color: var(--blue-bright); }
.dark-section .lead { color: #a3acba; }
.process-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; position: relative; z-index: 1; }
.process-copy .h2 { margin: 22px 0; font-size: clamp(38px, 4.6vw, 62px); line-height: 1; }
.process-copy .lead { max-width: 440px; margin-bottom: 32px; }
.process-steps { position: relative; margin: 0; padding: 16px 0 6px 60px; list-style: none; }
.process-steps::before { content: ''; position: absolute; top: 30px; bottom: 24px; left: 17px; width: 1px; background: linear-gradient(var(--red), rgba(255,255,255,.14)); }
.process-step { min-height: 125px; display: grid; grid-template-columns: 1fr 20px; gap: 18px; position: relative; }
.process-step__num { display: grid; place-items: center; width: 36px; height: 36px; color: #fff; background: var(--red); border-radius: 50%; font-family: var(--font-display); font-size: 13px; position: absolute; left: -60px; top: 0; box-shadow: 0 0 0 7px var(--ink); }
.process-step:nth-child(2) .process-step__num { background: var(--blue); }
.process-step:nth-child(3) .process-step__num { background: #fff; color: var(--ink); }
.process-step h3 { margin: 2px 0 8px; font-family: var(--font-display); font-size: 21px; letter-spacing: -.035em; }
.process-step p { margin: 0; color: #a3acba; font-size: 15px; line-height: 1.6; }
.process-step__check { margin-top: 6px; color: var(--green-bright); font-size: 18px; }

/* ---------- Ventajas ---------- */
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.benefit { padding: 28px; background: #fff; border: 1px solid rgba(17,20,25,.07); border-radius: 4px; }
.benefit__icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 18px; border-radius: 10px; color: var(--blue); background: #eaf1ff; font-size: 22px; }
.benefit:nth-child(3n+2) .benefit__icon { color: var(--red); background: #fff0ef; }
.benefit h3 { margin: 0 0 8px; font-family: var(--font-display); font-size: 20px; letter-spacing: -.035em; }
.benefit p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- Zona ---------- */
.zone-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 96px; }
.zone-card { background: #fff; box-shadow: 0 20px 60px rgba(17,20,25,.08); border: 1px solid rgba(17,20,25,.05); border-radius: 4px; overflow: hidden; }
.zone-card__map { height: 335px; position: relative; overflow: hidden; background: #dce7e8; }
.map-grid { position: absolute; inset: -20px; opacity: .65; transform: rotate(-10deg) scale(1.15); background: repeating-linear-gradient(14deg, transparent 0 31px, rgba(255,255,255,.75) 32px 35px, transparent 36px 77px), repeating-linear-gradient(104deg, transparent 0 47px, rgba(255,255,255,.7) 48px 51px, transparent 52px 92px), linear-gradient(135deg, #c9dcda, #dce5df 48%, #cad8d0); }
.map-grid::after { content: ''; position: absolute; inset: 10% 20%; border: 2px solid rgba(31,95,232,.16); transform: rotate(20deg); border-radius: 42% 58% 38% 62%; }
.map-pin { position: absolute; color: var(--red); filter: drop-shadow(0 3px 4px rgba(0,0,0,.18)); }
.map-pin .icon { fill: currentColor; stroke: #fff; stroke-width: 1.5; }
.map-pin--center { top: 44%; left: 50%; transform: translate(-50%, -50%); font-size: 34px; }
.map-pin--small { opacity: .55; font-size: 22px; }
.map-pin--one { top: 25%; left: 27%; }
.map-pin--two { top: 67%; right: 23%; }
.map-label { position: absolute; top: 51%; left: 50%; transform: translate(-50%, 19px); color: var(--ink); font-family: var(--font-display); font-size: 14px; letter-spacing: .2em; font-weight: 700; }
.zone-card__footer { padding: 18px 20px; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; }
.zone-card__footer span { display: flex; gap: 6px; align-items: center; color: var(--muted); }
.zone-card__footer .icon { color: var(--red); }
.zone-card__footer b { font-family: var(--font-display); }
.zone-copy .h2 { margin: 22px 0 24px; }
.zone-copy .lead { max-width: 470px; }
.check-list { display: flex; flex-direction: column; gap: 12px; margin: 0 0 30px; padding: 0; list-style: none; color: #3f4855; font-size: 15px; font-weight: 700; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; }
.check-list .icon { color: var(--green); font-size: 19px; margin-top: 2px; }
.zone-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: -8px 0 30px; padding: 0; list-style: none; }
.zone-tags li { padding: 6px 12px; border: 1px solid var(--line); border-radius: 99px; background: #fff; font-size: 13px; font-weight: 600; color: #4a5361; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 120px; }
.faq-grid .h2 { margin: 22px 0 20px; }
.faq-note { max-width: 320px; margin: 0 0 28px; color: var(--muted); font-size: 15px; line-height: 1.65; }
.faq-list { border-top: 1px solid #c8cdd5; }
.faq-item { border-bottom: 1px solid #c8cdd5; }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; color: var(--ink); cursor: pointer; font-size: 17px; font-weight: 700; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--red); }
.faq-item summary .icon { color: #7d8693; font-size: 20px; transition: transform .2s ease; }
.faq-item[open] summary .icon { transform: rotate(180deg); color: var(--red); }
.faq-item p { margin: 0; padding: 0 40px 22px 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.faq-item p a { color: var(--blue); font-weight: 700; }

/* ---------- CTA final ---------- */
.final-cta { position: relative; background: var(--blue); color: #fff; overflow: hidden; }
.final-cta::before { content: ''; position: absolute; inset: 0; opacity: .14; background-image: linear-gradient(120deg, transparent 49.5%, #fff 49.5% 50.5%, transparent 50.5%), linear-gradient(30deg, transparent 49.5%, #fff 49.5% 50.5%, transparent 50.5%); background-size: 70px 70px; pointer-events: none; }
.final-cta__texture { position: absolute; width: 430px; height: 430px; top: -180px; right: 13%; border-radius: 50%; border: 1px solid rgba(255,255,255,.23); box-shadow: 0 0 0 45px rgba(255,255,255,.05), 0 0 0 95px rgba(255,255,255,.045); pointer-events: none; }
.final-cta__inner { min-height: 320px; padding-top: 64px; padding-bottom: 64px; display: flex; align-items: center; justify-content: space-between; gap: 50px; position: relative; z-index: 1; }
.final-cta__tag { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; font-size: 12px; font-weight: 700; letter-spacing: .14em; color: #d3e2ff; text-transform: uppercase; }
.final-cta h2 { margin: 0; font-family: var(--font-display); font-size: clamp(36px, 5vw, 66px); letter-spacing: -.06em; line-height: 1; }
.final-cta h2 span { color: #c4d8ff; }
.final-cta__action { min-width: 270px; }
.final-cta__action p { color: #e1eaff; font-size: 16px; line-height: 1.55; margin: 0 0 18px; }
.final-cta .pill-button { background: #fff; color: var(--blue); box-shadow: 0 12px 26px rgba(10,46,130,.25); }
.final-cta .pill-button:hover { background: #edf3ff; }
.final-whatsapp { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; color: #e1eaff; font-size: 15px; font-weight: 700; }
.final-whatsapp:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Páginas interiores ---------- */
.page-hero { position: relative; color: #fff; background: var(--ink); overflow: hidden; }
.page-hero .hero-grid { opacity: .12; }
.page-hero__inner { position: relative; z-index: 2; padding-top: 48px; padding-bottom: 80px; }
.page-hero__inner > * { max-width: 860px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 32px; padding: 0; list-style: none; font-size: 14px; color: #9aa3b1; }
.breadcrumbs li + li::before { content: '/'; margin-right: 6px; color: #5a6371; }
.breadcrumbs a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.breadcrumbs [aria-current] { color: #dfe4ea; }
.page-hero h1 { margin: 22px 0 20px; font-family: var(--font-display); font-size: clamp(38px, 5vw, 64px); letter-spacing: -.055em; line-height: 1.02; font-weight: 600; }
.page-hero h1 span { color: var(--blue-bright); }
.page-hero .hero-lead { max-width: 640px; }

.content-grid { display: grid; grid-template-columns: 1.4fr .8fr; gap: 72px; align-items: start; }
.prose h2 { margin: 48px 0 16px; font-family: var(--font-display); font-size: clamp(26px, 3vw, 34px); letter-spacing: -.045em; line-height: 1.12; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 28px 0 10px; font-family: var(--font-display); font-size: 20px; letter-spacing: -.03em; }
.prose p, .prose li { color: #454e5b; font-size: 17px; line-height: 1.75; }
.prose p { margin: 0 0 16px; }
.prose ul { margin: 0 0 20px; padding-left: 0; list-style: none; }
.prose ul li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.prose ul li::before { content: ''; position: absolute; left: 4px; top: .6em; width: 10px; height: 10px; border-radius: 3px; background: var(--red); transform: rotate(45deg); }
.prose a { color: var(--blue); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--ink); }

.aside-card { position: sticky; top: calc(var(--header-h) + 24px); padding: 30px; color: #fff; background: var(--ink); border-radius: 6px; box-shadow: 0 20px 50px rgba(17,20,25,.18); }
.aside-card h2 { margin: 0 0 10px; font-family: var(--font-display); font-size: 26px; letter-spacing: -.04em; line-height: 1.1; }
.aside-card p { margin: 0 0 22px; color: #a8b1be; font-size: 15px; }
.aside-card .pill-button { width: 100%; }
.aside-card .pill-button + .pill-button { margin-top: 10px; }
.aside-card__phone { display: block; margin: 18px 0 0; text-align: center; font-family: var(--font-display); font-size: 26px; font-weight: 700; letter-spacing: -.02em; }
.aside-card__phone:hover { color: var(--blue-bright); }
.aside-card ul { margin: 22px 0 0; padding: 20px 0 0; list-style: none; border-top: 1px solid rgba(255,255,255,.12); display: grid; gap: 10px; font-size: 14px; color: #c7ced8; }
.aside-card li { display: flex; gap: 8px; align-items: center; }
.aside-card li .icon { color: var(--green-bright); }

.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.related-grid .service-card { min-height: 0; }

.legal { max-width: 820px; }
.legal .prose h2 { font-size: 24px; margin-top: 40px; }
.legal .prose p, .legal .prose li { font-size: 16px; }
.legal-updated { color: var(--muted); font-size: 14px; }

.not-found { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.not-found__code { font-family: var(--font-display); font-size: clamp(90px, 18vw, 180px); font-weight: 700; letter-spacing: -.08em; line-height: .9; color: var(--ink); }
.not-found__code span { color: var(--red); }
.not-found .hero-actions { justify-content: center; }

/* ---------- Pie ---------- */
.site-footer { color: #aeb5c0; background: var(--ink); }
.footer-main { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-top: 64px; padding-bottom: 56px; }
.site-footer .brand-mark__text { color: #fff; }
.site-footer .brand-mark__text small { color: #8a93a0; }
.footer-tagline { margin: 22px 0 0; color: #8a93a0; font-size: 15px; line-height: 1.55; }
.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; font-size: 15px; }
.footer-column h2 { margin: 0 0 8px; color: #fff; font-family: var(--font-display); font-size: 15px; letter-spacing: 0; }
.footer-column a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-column span, .footer-column a { display: inline-flex; align-items: center; gap: 7px; }
.footer-column .icon { color: var(--red); }
.footer-bottom { min-height: 58px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; border-top: 1px solid rgba(255,255,255,.1); color: #7b8492; font-size: 13px; padding-top: 14px; padding-bottom: 14px; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Barra CTA móvil ---------- */
.mobile-cta { display: none; }

/* ---------- Animación de aparición ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .container { padding-left: 24px; padding-right: 24px; }
  .main-nav { gap: 18px; font-size: 13px; }
  .header-phone { display: none; }
  .hero-content { grid-template-columns: 1fr .75fr; }
  .hero-visual { padding: 40px 16px 56px; }
  .intro-grid { grid-template-columns: .6fr 1.4fr; }
  .intro-aside { grid-column: 2; max-width: 420px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { gap: 60px; }
  .zone-grid { gap: 55px; }
  .faq-grid { gap: 64px; }
  .content-grid { grid-template-columns: 1fr 320px; gap: 48px; }
}

@media (max-width: 860px) {
  :root { --header-h: 68px; }
  body { padding-bottom: 64px; }
  .container { padding-left: 20px; padding-right: 20px; }
  .top-strip__right { display: none !important; }
  .header-actions > .pill-button { display: none; }
  .menu-toggle { display: grid; }
  .main-nav { display: none; position: absolute; top: var(--header-h); left: 0; right: 0; z-index: 10; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; margin: 0; font-size: 17px; background: rgba(245,246,248,.99); border-bottom: 1px solid var(--line); box-shadow: 0 15px 25px rgba(0,0,0,.08); max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .main-nav.is-open { display: flex; }
  .main-nav > a { padding: 15px 0; border-bottom: 1px solid #e2e4e8; }
  .nav-mobile-cta { display: grid; gap: 10px; margin-top: 16px; }
  .nav-mobile-cta .pill-button { width: 100%; }

  .hero-content { min-height: 0; display: block; }
  .hero-copy { padding: 48px 0 8px; }
  .hero-copy h1 { margin-top: 22px; font-size: clamp(40px, 11vw, 58px); }
  .hero-lead { font-size: 16px; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 16px; margin-top: 28px; }
  .hero-actions .whatsapp-link { justify-content: center; }
  .hero-trust { gap: 10px 18px; margin-top: 28px; padding-top: 18px; font-size: 13px; }
  .hero-visual { max-width: 460px; margin: 0 auto; padding: 28px 8px 76px; }
  .hero-photo { aspect-ratio: 1 / 1; transform: none; }
  .hero-card--top { top: 8px; left: -4px; }
  .hero-card--bottom { bottom: 50px; right: -4px; }
  .hero-bottom-line__inner { height: 38px; font-size: 10px; justify-content: space-between; }
  .hero-bottom-line__rule { display: none; }

  .section-pad { padding-top: 76px; padding-bottom: 76px; }
  .intro-grid { display: block; }
  .intro-main { margin-top: 28px; }
  .intro-aside { margin-top: 24px; }
  .h2 { font-size: clamp(32px, 9vw, 42px); }
  .section-heading-row { display: block; margin-bottom: 32px; }
  .section-index { display: block; margin-top: 18px; }
  .services-grid, .benefits-grid, .related-grid { grid-template-columns: 1fr; gap: 12px; }
  .service-card { min-height: 0; }
  .process-grid, .zone-grid, .faq-grid, .content-grid { display: block; }
  .process-steps { margin-top: 56px; padding-left: 50px; }
  .process-step__num { left: -50px; }
  .process-step { min-height: 110px; }
  .zone-card { margin-bottom: 42px; }
  .zone-card__map { height: 250px; }
  .faq-list { margin-top: 44px; }
  .faq-item summary { font-size: 16px; }
  .faq-item p { padding-right: 0; }
  .final-cta__inner { display: block; min-height: 0; padding-top: 72px; padding-bottom: 72px; }
  .final-cta__action { margin-top: 34px; }
  .final-cta__texture { right: -100px; }
  .page-hero__inner { padding-top: 32px; padding-bottom: 60px; }
  .aside-card { position: static; margin-top: 48px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 40px 24px; padding-top: 52px; padding-bottom: 44px; }
  .footer-main > div:first-child { grid-column: 1 / -1; }

  .mobile-cta { height: 64px; display: grid; grid-template-columns: 1fr 1fr; position: fixed; z-index: 50; bottom: 0; left: 0; right: 0; padding-bottom: env(safe-area-inset-bottom); background: var(--ink); box-shadow: 0 -8px 25px rgba(0,0,0,.17); }
  .mobile-cta a { display: flex; align-items: center; justify-content: center; gap: 9px; color: #fff; font-size: 16px; font-weight: 700; }
  .mobile-cta .icon { font-size: 20px; }
  .mobile-cta a:first-child { background: var(--red); }
  .mobile-cta a:last-child { background: #1c8c52; }
}

@media (max-width: 420px) {
  .hero-trust { flex-direction: column; }
  .footer-main { grid-template-columns: 1fr; }
}

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

@media print {
  .top-strip, .site-header, .mobile-cta, .final-cta, .aside-card .pill-button { display: none !important; }
  body { padding: 0; background: #fff; }
  .hero-section, .page-hero, .dark-section, .site-footer { background: #fff !important; color: #000 !important; }
}

/* ---------- Galería de trabajos ---------- */
.credential { display: flex; align-items: center; gap: 16px; max-width: 380px; padding: 14px 18px 14px 14px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.credential img { width: 56px; height: auto; flex: none; }
.credential p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.credential b { display: block; color: var(--ink); font-family: var(--font-display); font-size: 16px; letter-spacing: -.02em; }
.gallery-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.gallery-filter { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink); font-size: 14px; font-weight: 700; transition: background .15s ease, color .15s ease, border-color .15s ease; }
.gallery-filter:hover { border-color: var(--ink); }
.gallery-filter.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-grid--compact { grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 8px 0 20px; }
.gallery-item { margin: 0; }
.gallery-item[hidden] { display: none; }
.gallery-item__link { display: block; overflow: hidden; border-radius: var(--radius); background: var(--paper-2); aspect-ratio: 1 / 1; }
.gallery-item__link img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.gallery-item__link:hover img { transform: scale(1.04); }
.gallery-item--contain .gallery-item__link { background: #fff; }
.gallery-item--contain .gallery-item__link img { object-fit: contain; }
.gallery-item figcaption { margin-top: 10px; color: var(--muted); font-size: 14px; font-weight: 700; line-height: 1.4; }
.prose .gallery-item figcaption { font-size: 14px; }

.lightbox { max-width: min(92vw, 1100px); max-height: 92vh; padding: 0; border: 0; border-radius: var(--radius); background: var(--ink); color: #fff; overflow: hidden; }
.lightbox::backdrop { background: rgba(10,12,16,.86); }
.lightbox img { max-width: min(92vw, 1100px); max-height: calc(92vh - 52px); width: auto; height: auto; margin: 0 auto; }
.lightbox__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 52px; padding: 8px 8px 8px 18px; font-size: 14px; font-weight: 700; }
.lightbox__close { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; font-size: 20px; }
.lightbox__close:hover { background: rgba(255,255,255,.12); }

@media (max-width: 860px) {
  .credential { margin-top: 24px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .gallery-item figcaption { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .gallery-item__link img { transition: none; }
}
