/* ==========================================================================
   Cerrajero Moratalaz · Estilo "Urban Bold"
   Mobile-first (base 360-375px) → 768px → 1100px
   ========================================================================== */

:root {
  --red: #E63946;          /* rojo de marca (decorativo, titulares grandes) */
  --red-btn: #D12F3C;      /* rojo para botones con texto blanco (AA 5:1) */
  --red-btn-hover: #B71C2B;
  --red-text: #B71C2B;     /* rojo para texto pequeño sobre blanco (AA 6.5:1) */
  --red-on-dark: #FF6B75;  /* rojo para texto pequeño sobre carbón (AA) */
  --charcoal: #1D1D1D;
  --charcoal-2: #2A2A2A;
  --ink: #1D1D1D;
  --muted: #4A4A4A;
  --light: #F1F1F1;
  --white: #FFFFFF;

  --font-head: "Poppins", "Arial Black", Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --fs-h1: clamp(2.1rem, 1.3rem + 4.2vw, 4.4rem);
  --fs-h2: clamp(1.6rem, 1.15rem + 2.2vw, 2.75rem);
  --fs-h3: clamp(1.1rem, 1rem + .4vw, 1.3rem);
  --fs-body: clamp(1rem, .96rem + .2vw, 1.0625rem);

  --radius: 4px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .12);
  --shadow-lg: 0 22px 45px rgba(0, 0, 0, .2);
  --diag: 5vw;
  --header-h: 64px;
  --mobile-bar-h: 62px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

/* ---------- Reset básico ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  padding-bottom: var(--mobile-bar-h);
  overflow-x: hidden;
}
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--red-text); text-underline-offset: 3px; }
a:hover { color: var(--charcoal); }
h1, h2, h3 { font-family: var(--font-head); font-weight: 800; line-height: 1.12; margin: 0 0 .6em; letter-spacing: -.01em; }
h3 { font-weight: 700; font-size: var(--fs-h3); }
h2 { font-size: var(--fs-h2); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.dark :focus-visible, .site-header :focus-visible, .site-footer :focus-visible { outline-color: #fff; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--red-btn); color: #fff; padding: .75rem 1.1rem; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 1rem; color: #fff; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.15rem; }
.container-narrow { max-width: 860px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: .85rem 1.4rem;
  font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; letter-spacing: .01em;
  text-decoration: none; text-transform: uppercase;
  border: 3px solid transparent; border-radius: var(--radius); cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s;
}
.btn:hover { transform: translateY(-3px); }
.btn-xl { min-height: 62px; font-size: 1.15rem; padding: 1rem 1.6rem; width: 100%; }
.btn-sm { min-height: 44px; font-size: .9rem; padding: .55rem 1rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--red-btn); color: #fff; box-shadow: 6px 6px 0 var(--charcoal); }
.btn-primary:hover { background: var(--red-btn-hover); color: #fff; box-shadow: 8px 9px 0 var(--charcoal); }
.btn-light { background: #fff; color: var(--charcoal); border-color: #fff; box-shadow: 6px 6px 0 var(--red); }
.btn-light i { color: var(--red-text); font-size: 1.15em; }
.btn-light:hover { color: var(--charcoal); box-shadow: 8px 9px 0 var(--red); }
.btn-ghost { background: transparent; color: #fff; border-color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--charcoal); }
.hero .btn-primary { box-shadow: 6px 6px 0 #000; }

.link-btn { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; cursor: pointer; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--charcoal); color: #fff;
  border-bottom: 4px solid var(--red);
  transition: box-shadow .25s;
}
.site-header.is-scrolled { box-shadow: 0 8px 24px rgba(0, 0, 0, .35); }
.header-inner { display: flex; align-items: center; gap: .6rem; min-height: var(--header-h); }
.brand { display: flex; flex-shrink: 1; min-width: 0; margin-right: auto; }
.brand img { width: 158px; height: auto; }
.header-phone {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  width: 46px; height: 46px; border-radius: var(--radius);
  background: var(--red-btn); color: #fff; text-decoration: none; font-family: var(--font-head); font-weight: 800;
}
.header-phone:hover { background: var(--red-btn-hover); color: #fff; }
.header-phone-num { display: none; }

.nav-toggle {
  width: 46px; height: 46px; display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  background: transparent; border: 2px solid rgba(255, 255, 255, .5); border-radius: var(--radius); cursor: pointer;
}
.nav-toggle-bar { width: 22px; height: 3px; background: #fff; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.main-nav {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--charcoal); border-bottom: 4px solid var(--red);
  clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
  visibility: hidden;
  transition: clip-path .3s var(--ease), visibility 0s .3s;
}
.main-nav.is-open { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); visibility: visible; transition: clip-path .3s var(--ease); }
.main-nav ul { list-style: none; padding: .5rem 1.15rem 1.25rem; }
.main-nav a {
  display: block; padding: .85rem 0; color: #fff; text-decoration: none;
  font-family: var(--font-head); font-weight: 700; font-size: 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.main-nav a:hover { color: var(--red-on-dark); }
.main-nav .nav-cta { color: var(--red-on-dark); }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--charcoal); color: #fff;
  padding: 3rem 0 calc(7rem + var(--diag));
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--diag)), 0 100%);
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(115deg, rgba(29, 29, 29, .96) 0%, rgba(29, 29, 29, .88) 55%, rgba(230, 57, 70, .78) 100%);
}
.hero-overlay::after { /* bloque geométrico */
  content: ""; position: absolute; right: -18%; top: 12%; width: 55%; aspect-ratio: 1;
  background: var(--red); opacity: .18; transform: rotate(18deg);
}
.hero-content { position: relative; z-index: 2; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: .55rem;
  background: rgba(255, 255, 255, .1); border-left: 4px solid var(--red);
  padding: .4rem .8rem; font-weight: 600; font-size: .9rem; margin-bottom: 1.1rem;
}
.dot-live { width: 10px; height: 10px; border-radius: 50%; background: #3BD16F; box-shadow: 0 0 0 0 rgba(59, 209, 111, .6); animation: live 1.8s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 10px rgba(59, 209, 111, 0); } 100% { box-shadow: 0 0 0 0 rgba(59, 209, 111, 0); } }
.hero h1 { font-size: var(--fs-h1); text-transform: uppercase; line-height: 1.02; margin-bottom: .45em; }
.hero h1 span { display: block; color: var(--red); -webkit-text-stroke: 0; }
.hero-sub { font-size: clamp(1.05rem, 1rem + .5vw, 1.3rem); max-width: 40ch; color: #EDEDED; }
.hero-sub strong { color: #fff; }
.hero-ctas { display: flex; flex-direction: column; gap: 1rem; margin: 1.6rem 0 1.8rem; }
.badges { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; }
.badges li {
  display: flex; align-items: center; gap: .5rem;
  font-size: .88rem; font-weight: 600; line-height: 1.3;
  background: rgba(0, 0, 0, .35); padding: .55rem .65rem; border: 1px solid rgba(255, 255, 255, .15);
}
.badges i { color: var(--red); font-size: 1.05rem; }
.hero-skyline { position: absolute; left: 0; right: 0; bottom: calc(var(--diag) - 2px); width: 100%; height: 110px; z-index: 1; pointer-events: none; }

/* ---------- Estadísticas ---------- */
.stats { background: var(--charcoal); color: #fff; margin-top: calc(var(--diag) * -1); padding: calc(var(--diag) + 2rem) 0 2.5rem; position: relative; }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 1rem; }
.stat { border-left: 5px solid var(--red); padding-left: .85rem; }
.stat-num { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.2rem, 1.6rem + 3vw, 3.8rem); line-height: 1; color: #fff; margin: 0 0 .3rem; white-space: nowrap; }
.stat-suf { color: var(--red); font-size: .55em; margin-left: .1em; }
.stat-label { font-size: .9rem; color: #D6D6D6; margin: 0; line-height: 1.35; }

/* ---------- Secciones genéricas ---------- */
.section { padding: 4rem 0; position: relative; }
.section-head { margin-bottom: 2.2rem; max-width: 760px; }
.section-head p:last-child { color: var(--muted); }
.dark .section-head p:last-child { color: #D6D6D6; }
.eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 800; font-size: .85rem;
  text-transform: uppercase; letter-spacing: .14em; color: var(--red-text); margin-bottom: .6rem;
}
.eyebrow::before { content: ""; display: inline-block; width: 28px; height: 4px; background: var(--red); vertical-align: middle; margin-right: .6rem; }
.dark .eyebrow { color: var(--red-on-dark); }

.dark { background: var(--charcoal); color: #fff; }
.diag { clip-path: polygon(0 var(--diag), 100% 0, 100% calc(100% - var(--diag)), 0 100%); padding: calc(4rem + var(--diag)) 0; margin: calc(var(--diag) * -.5) 0; }
.diag-alt { clip-path: polygon(0 0, 100% var(--diag), 100% 100%, 0 calc(100% - var(--diag))); padding: calc(4rem + var(--diag)) 0; }
.section-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.section-overlay { position: absolute; inset: 0; z-index: 0; background: linear-gradient(160deg, rgba(29, 29, 29, .95) 30%, rgba(29, 29, 29, .86) 70%, rgba(230, 57, 70, .7)); }
.process > .container { position: relative; z-index: 1; }

/* Split layout */
.split { display: grid; gap: 2.2rem; align-items: center; }
.split-media { margin: 0; position: relative; }
.split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; clip-path: polygon(0 0, 100% 6%, 100% 100%, 0 94%); }
.split-media::before { content: ""; position: absolute; inset: 14px -10px -14px 14px; background: var(--red); z-index: -1; clip-path: polygon(0 0, 100% 6%, 100% 100%, 0 94%); }
.intro .split-media { isolation: isolate; }
.media-tag {
  position: absolute; left: 0; bottom: 8%; background: var(--charcoal); color: #fff;
  font-weight: 700; font-size: .9rem; padding: .6rem .9rem; border-left: 5px solid var(--red);
}
.media-tag i { color: var(--red); margin-right: .3rem; }

/* ---------- Servicios ---------- */
.services { background: var(--light); }
.cards-grid { display: grid; gap: 1.1rem; }
.card {
  background: #fff; padding: 1.5rem 1.35rem; border-top: 6px solid var(--red);
  box-shadow: var(--shadow); position: relative; overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.card::after { content: ""; position: absolute; right: -30px; top: -30px; width: 70px; height: 70px; background: var(--light); transform: rotate(45deg); transition: background-color .3s; }
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.card:hover::after { background: var(--red); }
.card-icon {
  width: 58px; height: 58px; display: grid; place-items: center; margin-bottom: 1rem;
  background: var(--charcoal); color: #fff; font-size: 1.5rem;
  clip-path: polygon(0 0, 100% 0, 100% 75%, 75% 100%, 0 100%);
  transition: background-color .3s;
}
.card:hover .card-icon { background: var(--red-btn); }
.card p { margin: 0; color: var(--muted); font-size: .97rem; }
.card p strong { color: var(--ink); }

/* ---------- Proceso ---------- */
.steps { list-style: none; display: grid; gap: 1.25rem; counter-reset: none; }
.step {
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14);
  padding: 1.4rem 1.3rem 1.3rem; position: relative; backdrop-filter: blur(2px);
  transition: transform .3s var(--ease), border-color .3s;
}
.step:hover { transform: translateY(-6px); border-color: var(--red); }
.step-num { display: block; font-family: var(--font-head); font-weight: 800; font-size: 3.4rem; line-height: 1; color: var(--red); margin-bottom: .4rem; }
.step p { color: #E0E0E0; margin: 0; }

/* ---------- Por qué ---------- */
.why-list { list-style: none; display: grid; gap: 1.2rem; margin-top: 1.6rem; }
.why-list li { display: flex; gap: 1rem; align-items: flex-start; }
.why-list i {
  flex: 0 0 48px; height: 48px; display: grid; place-items: center;
  background: var(--red-btn); color: #fff; font-size: 1.2rem;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 22% 100%, 0 78%);
}
.why-list h3 { margin-bottom: .25rem; font-size: 1.1rem; }
.why-list p { margin: 0; color: var(--muted); font-size: .97rem; }
.why-visual { position: relative; display: grid; place-items: center; padding: 1rem 0 0; }
.shield-illustration { width: min(70%, 280px); height: auto; position: relative; z-index: 2; filter: drop-shadow(10px 14px 0 rgba(29, 29, 29, .15)); }
.why-photo { margin: -3.5rem 0 0; width: 100%; }
.why-photo img { width: 100%; aspect-ratio: 7 / 5; object-fit: cover; clip-path: polygon(0 12%, 100% 0, 100% 100%, 0 100%); filter: grayscale(.35) contrast(1.05); }

/* ---------- Precios ---------- */
.prices { background: var(--light); }
.price-grid { display: grid; gap: 1.1rem; }
.price-card {
  background: #fff; padding: 1.5rem 1.35rem; border-left: 6px solid var(--charcoal); box-shadow: var(--shadow);
  position: relative; transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.price-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.price-card h3 { font-size: 1.08rem; margin-bottom: .5rem; }
.price-card p:last-child { margin: 0; color: var(--muted); font-size: .95rem; }
.price { font-family: var(--font-head); font-weight: 800; font-size: 2.6rem; line-height: 1; color: var(--red-text); margin: 0 0 .6rem; }
.price span { font-size: .9rem; font-weight: 700; text-transform: uppercase; color: var(--muted); margin-right: .25rem; letter-spacing: .05em; }
.price-card--featured { background: var(--charcoal); color: #fff; border-left-color: var(--red); }
.price-card--featured .price { color: #fff; }
.price-card--featured .price span, .price-card--featured p:last-child { color: #D6D6D6; }
.price-flag {
  position: absolute; top: -12px; right: 1rem; margin: 0;
  background: var(--red-btn); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: .75rem;
  text-transform: uppercase; letter-spacing: .08em; padding: .3rem .7rem;
}
.legal-note { margin: 2rem 0 0; padding: 1.1rem 1.2rem; background: #fff; border: 2px dashed #BDBDBD; font-size: .9rem; color: var(--muted); }
.legal-note i { color: var(--red-text); }

/* ---------- Zonas ---------- */
.zones-grid { display: grid; gap: 1.6rem; }
.zone-block h3 { display: flex; align-items: center; gap: .55rem; font-size: 1.1rem; }
.zone-block h3 i { color: var(--red); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips li {
  background: rgba(255, 255, 255, .08); border: 2px solid rgba(255, 255, 255, .22);
  padding: .4rem .8rem; font-weight: 600; font-size: .92rem;
  transition: background-color .2s, border-color .2s;
}
.chips li:hover { background: var(--red-btn); border-color: var(--red-btn); }
.zones-text { margin: 2rem 0 0; color: #E0E0E0; max-width: 820px; }

/* ---------- Testimonios ---------- */
.testi-grid { display: grid; gap: 1.2rem; }
.testi {
  background: #fff; padding: 1.6rem 1.4rem; border: 3px solid var(--charcoal);
  box-shadow: 8px 8px 0 var(--red); transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  display: flex; flex-direction: column;
}
.testi:hover { transform: translate(-4px, -6px); box-shadow: 12px 14px 0 var(--red); }
.testi-stars { color: #C98A00; margin-bottom: .6rem; letter-spacing: .1em; }
.testi blockquote { margin: 0 0 1rem; flex: 1; }
.testi blockquote p { margin: 0; font-size: 1rem; }
.testi-author { margin: 0; color: var(--muted); font-size: .92rem; }
.testi-author strong { color: var(--ink); }

/* ---------- FAQ ---------- */
.faq { background: var(--light); }
.accordion { display: grid; gap: .75rem; }
.acc-item { background: #fff; border-left: 6px solid var(--charcoal); box-shadow: 0 4px 14px rgba(0, 0, 0, .06); transition: border-color .2s; }
.acc-item[open] { border-left-color: var(--red); }
.acc-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.05rem 1.15rem; min-height: 56px;
}
.acc-item summary::-webkit-details-marker { display: none; }
.acc-item summary h3 { margin: 0; font-size: 1.02rem; line-height: 1.35; }
.acc-item summary::after {
  content: "+"; flex: 0 0 34px; height: 34px; display: grid; place-items: center;
  background: var(--charcoal); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.3rem;
  transition: transform .25s var(--ease), background-color .25s;
}
.acc-item[open] summary::after { transform: rotate(45deg); background: var(--red-btn); }
.acc-body { padding: 0 1.15rem 1.1rem; color: var(--muted); }
.acc-body p { margin: 0; }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; gap: 2rem; }
.contact-big {
  display: flex; align-items: center; gap: 1rem; text-decoration: none;
  background: var(--red-btn); color: #fff; padding: 1rem 1.2rem; margin-bottom: .9rem;
  font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; line-height: 1.1;
  box-shadow: 6px 6px 0 var(--charcoal); transition: transform .2s var(--ease);
}
.contact-big:hover { color: #fff; transform: translateY(-3px); }
.contact-big i { font-size: 1.5rem; }
.contact-big small { display: block; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; opacity: .9; }
.contact-big--mail { background: var(--charcoal); box-shadow: 6px 6px 0 var(--red); }
.contact-list { list-style: none; margin: 1.4rem 0; display: grid; gap: .6rem; }
.contact-list li { display: flex; gap: .7rem; align-items: baseline; overflow-wrap: anywhere; }
.contact-list i { color: var(--red-text); width: 1.1rem; }
.contact-photo { margin: 0; }
.contact-photo img { width: 100%; aspect-ratio: 5 / 3; object-fit: cover; clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%); }

.contact-form { background: var(--charcoal); color: #fff; padding: 1.6rem 1.25rem; border-top: 6px solid var(--red); }
.contact-form h3 { font-size: 1.3rem; margin-bottom: 1.2rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 600; margin-bottom: .35rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: .7rem .85rem;
  background: #fff; color: var(--ink); border: 3px solid #fff; border-radius: var(--radius);
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(230, 57, 70, .35); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--red-on-dark); }
.field-error { color: var(--red-on-dark); font-size: .88rem; font-weight: 600; margin: .3rem 0 0; min-height: 0; }
.field-error:empty { display: none; }
.field-check { display: grid; grid-template-columns: auto 1fr; gap: .2rem .7rem; align-items: start; }
.field-check input { width: 22px; height: 22px; min-height: 0; margin-top: .2rem; accent-color: var(--red); }
.field-check label { font-weight: 400; font-size: .92rem; margin: 0; }
.field-check label a { color: #fff; }
.field-check .field-error { grid-column: 1 / -1; }
.form-status { margin: 1rem 0 0; font-weight: 600; }
.form-status:empty { display: none; }
.form-status.is-ok { color: #7CE3A1; }
.form-status.is-error { color: var(--red-on-dark); }
.contact-form .btn-primary { box-shadow: 6px 6px 0 #000; }

.map-wrap { position: relative; margin-top: 2.5rem; border: 4px solid var(--charcoal); background: var(--light); min-height: 300px; }
.map-wrap iframe { width: 100%; height: 340px; border: 0; }
.map-wrap iframe:not([src]) { display: none; }
.map-placeholder {
  min-height: 300px; display: grid; place-items: center; align-content: center; gap: .8rem; text-align: center; padding: 1.5rem;
  background:
    repeating-linear-gradient(45deg, rgba(29, 29, 29, .04) 0 14px, transparent 14px 28px), var(--light);
}
.map-placeholder i { font-size: 2.4rem; color: var(--red-text); }
.map-placeholder p { margin: 0; color: var(--muted); }
.map-wrap.is-loaded .map-placeholder { display: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal); color: #D6D6D6; position: relative; padding: 3.5rem 0 1.5rem; margin-top: 3rem; }
.footer-diag { position: absolute; left: 0; right: 0; top: calc(var(--diag) * -1 + 1px); height: var(--diag); background: var(--charcoal); clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.footer-grid { display: grid; gap: 2rem; }
.footer-col img { width: 190px; margin-bottom: 1rem; }
.footer-title { font-size: 1.05rem; color: #fff; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .8rem; }
.footer-title::after { content: ""; display: block; width: 32px; height: 4px; background: var(--red); margin-top: .45rem; }
.site-footer address { font-style: normal; line-height: 1.8; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--red-on-dark); }
.footer-links { list-style: none; display: grid; gap: .35rem; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 2.2rem; padding-top: 1.2rem; display: flex; flex-direction: column; gap: .3rem; font-size: .88rem; }
.footer-bottom p { margin: 0; }

/* ---------- CTA flotante y barra móvil ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: grid; grid-template-columns: 1fr 1fr; height: var(--mobile-bar-h);
  box-shadow: 0 -6px 20px rgba(0, 0, 0, .25);
  padding-bottom: env(safe-area-inset-bottom);
}
.mobile-bar a {
  display: flex; align-items: center; justify-content: center; gap: .55rem;
  color: #fff; text-decoration: none; font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; text-transform: uppercase;
}
.mobile-bar-call { background: var(--red-btn); }
.mobile-bar-mail { background: var(--charcoal); border-left: 2px solid rgba(255, 255, 255, .15); }
.mobile-bar a:hover { color: #fff; filter: brightness(.95); }
.float-call { display: none; }

/* ---------- Cookies ---------- */
.cookie-banner {
  position: fixed; left: .75rem; right: .75rem; bottom: calc(var(--mobile-bar-h) + .75rem); z-index: 120;
  background: var(--charcoal); color: #fff; padding: 1.1rem; border-left: 6px solid var(--red);
  box-shadow: var(--shadow-lg); font-size: .92rem;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0 0 .8rem; }
.cookie-banner a { color: #fff; }
.cookie-actions { display: flex; gap: .6rem; }
.cookie-actions .btn { flex: 1; box-shadow: none; }

/* ---------- Páginas legales ---------- */
.page-hero {
  background: var(--charcoal); color: #fff; padding: 2.8rem 0 calc(2.8rem + var(--diag));
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--diag)), 0 100%);
}
.page-hero h1 { font-size: clamp(1.9rem, 1.4rem + 2.5vw, 3rem); text-transform: uppercase; margin: 0; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; font-size: .9rem; margin-bottom: 1rem; }
.breadcrumb li + li::before { content: "/"; margin-right: .4rem; color: var(--red-on-dark); }
.breadcrumb a { color: #fff; }
.legal-content { padding: 3rem 0 2rem; }
.legal-content h2 { font-size: clamp(1.3rem, 1.1rem + 1vw, 1.7rem); margin-top: 2.2rem; padding-left: .8rem; border-left: 5px solid var(--red); }
.legal-content h3 { margin-top: 1.4rem; }
.legal-content ul { padding-left: 1.3rem; margin-bottom: 1em; }
.legal-content li { margin-bottom: .35rem; }
.legal-content table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: .92rem; display: block; overflow-x: auto; }
.legal-content th, .legal-content td { border: 1px solid #CFCFCF; padding: .6rem .7rem; text-align: left; vertical-align: top; }
.legal-content th { background: var(--charcoal); color: #fff; }
.placeholder-note { background: var(--light); border-left: 5px solid var(--red); padding: 1rem 1.1rem; font-size: .95rem; }

/* ---------- Revelado al hacer scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   ≥ 768px
   ========================================================================== */
@media (min-width: 768px) {
  :root { --header-h: 76px; --diag: 4.5vw; }
  body { padding-bottom: 0; }
  .container { padding: 0 2rem; }
  .brand img { width: 200px; }
  .header-phone { width: auto; padding: 0 1rem; height: 48px; font-size: 1.1rem; }
  .header-phone-num { display: inline; }

  .hero { padding: 4.5rem 0 calc(9rem + var(--diag)); }
  .hero-ctas { flex-direction: row; flex-wrap: wrap; }
  .btn-xl { width: auto; }
  .badges { grid-template-columns: repeat(4, auto); justify-content: start; }
  .hero-skyline { height: 150px; }

  .stats-grid { grid-template-columns: repeat(4, 1fr); gap: 2rem; }
  .section { padding: 5.5rem 0; }
  .diag, .diag-alt { padding: calc(5.5rem + var(--diag)) 0; }

  .cards-grid { grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
  .zones-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 2.5rem; }
  .testi-grid { grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
  .contact-form { padding: 2rem; }
  .map-wrap iframe { height: 380px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: row; justify-content: space-between; }

  .mobile-bar { display: none; }
  .float-call {
    position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 90;
    display: inline-flex; align-items: center; gap: .6rem;
    background: var(--red-btn); color: #fff; text-decoration: none;
    font-family: var(--font-head); font-weight: 800; text-transform: uppercase; font-size: 1rem;
    padding: 1rem 1.4rem 1rem 1.1rem; border-radius: 999px;
    box-shadow: 0 10px 25px rgba(209, 47, 60, .45);
    animation: pulse 2.2s infinite;
  }
  .float-call i { width: 38px; height: 38px; display: grid; place-items: center; background: #fff; color: var(--red-btn); border-radius: 50%; }
  .float-call:hover { color: #fff; background: var(--red-btn-hover); }
  @keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(230, 57, 70, .6), 0 10px 25px rgba(209, 47, 60, .45); }
    70% { box-shadow: 0 0 0 18px rgba(230, 57, 70, 0), 0 10px 25px rgba(209, 47, 60, .45); }
    100% { box-shadow: 0 0 0 0 rgba(230, 57, 70, 0), 0 10px 25px rgba(209, 47, 60, .45); }
  }
  .cookie-banner { left: 1.5rem; right: auto; bottom: 1.5rem; max-width: 460px; }
}

/* ==========================================================================
   ≥ 1100px
   ========================================================================== */
@media (min-width: 1100px) {
  :root { --diag: 4vw; }
  .nav-toggle { display: none; }
  .header-inner { gap: 1.5rem; }
  .brand { margin-right: 0; }
  .main-nav {
    position: static; clip-path: none; visibility: visible; background: none; border: 0; margin-left: auto; order: 2;
    transition: none;
  }
  .main-nav ul { display: flex; align-items: center; gap: .3rem; padding: 0; }
  .main-nav a { border: 0; padding: .5rem .7rem; font-size: .95rem; position: relative; }
  .main-nav a::after { content: ""; position: absolute; left: .7rem; right: .7rem; bottom: .15rem; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
  .main-nav a:hover::after { transform: scaleX(1); }
  .main-nav a:hover { color: #fff; }
  .header-phone { order: 3; }

  .hero { padding: 6rem 0 calc(10rem + var(--diag)); min-height: 680px; }
  .hero-content { max-width: 1200px; }
  .hero h1 { max-width: 14ch; }
  .hero-skyline { height: 200px; }

  .split { grid-template-columns: 1.1fr .9fr; gap: 4rem; }
  .split-reverse .split-text { order: 2; }
  .split-reverse { grid-template-columns: .9fr 1.1fr; }
  .cards-grid { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .price-grid { grid-template-columns: repeat(3, 1fr); }
  .zones-grid { grid-template-columns: repeat(4, 1fr); }
  .testi-grid { grid-template-columns: repeat(4, 1fr); }
  .contact-grid { grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: start; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 3rem; }
}

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .float-call, .dot-live { animation: none; }
  .card:hover, .price-card:hover, .testi:hover, .step:hover, .btn:hover { transform: none; }
}

/* ---------- Overlay de marca sobre fotos ---------- */
.split-media::after, .why-photo::after, .contact-photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(150deg, rgba(230, 57, 70, .28), rgba(29, 29, 29, .38));
  mix-blend-mode: multiply;
}
.split-media::after { clip-path: polygon(0 0, 100% 6%, 100% 100%, 0 94%); }
.why-photo, .contact-photo { position: relative; }
.why-photo::after { clip-path: polygon(0 12%, 100% 0, 100% 100%, 0 100%); }
.contact-photo::after { clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%); }
.media-tag { z-index: 1; }
