/* ==========================================================================
   Cerrajero Vallecas · Estilo "Vibrante / Cercano / Barrio"
   Mobile-first (base 360-375px) · breakpoints 768px y 1100px
   ========================================================================== */

:root {
  --naranja: #FF6B35;
  --naranja-osc: #C2410C;   /* para texto naranja sobre crema (contraste AA) */
  --petroleo: #004E64;
  --petroleo-osc: #003746;
  --amarillo: #FFD23F;
  --crema: #FFF8F0;
  --tinta: #1A1A2E;
  --blanco: #FFFFFF;

  --font-title: "Montserrat", "Arial Black", system-ui, sans-serif;
  --font-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --borde: 3px solid var(--tinta);
  --radio: 22px;
  --radio-lg: 32px;
  --sombra: 6px 6px 0 var(--tinta);
  --sombra-lg: 10px 10px 0 var(--tinta);
  --sombra-sm: 4px 4px 0 var(--tinta);

  --container: 1180px;
  --pad: clamp(1rem, 4vw, 2rem);
  --sec: clamp(3.5rem, 9vw, 6.5rem);
  --header-h: 68px;
  --ease-bounce: cubic-bezier(.34, 1.56, .64, 1);
}

/* ---------- Reset ---------- */
*, *::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: clamp(1rem, .96rem + .2vw, 1.0625rem);
  line-height: 1.65;
  color: var(--tinta);
  background: var(--crema);
  overflow-x: hidden;
  padding-bottom: 68px; /* espacio para la barra móvil */
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--petroleo); text-underline-offset: 3px; text-decoration-thickness: 2px; }
a:hover { color: var(--tinta); }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { padding: 0; margin: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-title); font-weight: 900; line-height: 1.1; margin: 0 0 .6em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.05rem, 1.2rem + 4.4vw, 4rem); }
h2 { font-size: clamp(1.7rem, 1.1rem + 2.8vw, 2.9rem); }
h3 { font-size: clamp(1.15rem, 1rem + .6vw, 1.4rem); font-weight: 800; }
h4 { font-size: 1rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
p { margin: 0 0 1em; }
strong { font-weight: 800; }

:focus-visible { outline: 3px solid var(--petroleo); outline-offset: 3px; border-radius: 6px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 1000;
  background: var(--amarillo); color: var(--tinta); font-weight: 800;
  padding: .75rem 1.1rem; border: var(--borde); border-radius: 14px; box-shadow: var(--sombra-sm);
  transition: top .2s;
}
.skip-link:focus { top: 1rem; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--pad); }
.section { position: relative; padding-block: var(--sec); overflow: hidden; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.3rem; border: var(--borde); border-radius: 999px;
  font-family: var(--font-title); font-weight: 800; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; color: var(--tinta);
  background: var(--blanco); box-shadow: var(--sombra-sm);
  transition: transform .2s var(--ease-bounce), box-shadow .2s, background-color .2s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: var(--sombra); color: var(--tinta); }
.btn:active { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--tinta); }
.btn-lg { padding: 1rem 1.5rem; font-size: clamp(1rem, .95rem + .3vw, 1.125rem); }
.btn-small { padding: .55rem 1rem; font-size: .9rem; box-shadow: 3px 3px 0 var(--tinta); }
.btn-primary { background: var(--naranja); }
.btn-ghost { background: var(--blanco); }
.btn-ghost i { color: var(--petroleo); }
.btn-outline { background: transparent; }
.link-btn { background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; color: inherit; }

/* ---------- Stickers ---------- */
.sticker {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .45rem .9rem; border: var(--borde); border-radius: 999px;
  font-family: var(--font-title); font-weight: 800; font-size: .85rem; line-height: 1.2;
  box-shadow: 3px 3px 0 var(--tinta); white-space: nowrap;
  transform: rotate(var(--rot, -3deg));
  transition: transform .25s var(--ease-bounce);
}
.sticker:hover { transform: rotate(0) scale(1.05); }
.sticker-yellow { background: var(--amarillo); }
.sticker-teal { background: var(--petroleo); color: var(--blanco); }
.sticker-white { background: var(--blanco); }
.sticker-orange { background: var(--naranja); }

.kicker {
  display: inline-block; margin-bottom: .9rem;
  padding: .3rem .85rem; border: var(--borde); border-radius: 999px;
  background: var(--amarillo); box-shadow: 3px 3px 0 var(--tinta);
  font-family: var(--font-title); font-weight: 800; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em;
  transform: rotate(-2deg);
}
.kicker-light { background: var(--naranja); }

.section-head { max-width: 760px; margin-bottom: clamp(2rem, 5vw, 3rem); }
.section-lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); }

/* ---------- Blobs ---------- */
.blob { position: absolute; z-index: 0; pointer-events: none; }
.blob path { fill: currentColor; }
.blob-hero-1 { width: 520px; top: -140px; right: -180px; color: var(--amarillo); opacity: .85; animation: blob-float 14s ease-in-out infinite; }
.blob-hero-2 { width: 380px; bottom: -160px; left: -160px; color: var(--naranja); opacity: .22; animation: blob-float 18s ease-in-out infinite reverse; }
.blob-barrio { width: 520px; top: -120px; left: -220px; color: var(--amarillo); opacity: .35; }
.blob-zones { width: 560px; bottom: -200px; right: -220px; color: var(--naranja); opacity: .15; }
@keyframes blob-float {
  0%, 100% { transform: translate(0, 0) rotate(0); }
  50% { transform: translate(-20px, 25px) rotate(12deg); }
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--crema); border-bottom: var(--borde);
  transition: box-shadow .25s;
}
.site-header.is-scrolled { box-shadow: 0 4px 0 var(--tinta); }
.header-inner { display: flex; align-items: center; gap: .75rem; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--tinta); margin-right: auto; }
.brand img { width: 40px; height: 40px; transition: transform .35s var(--ease-bounce); }
.brand:hover img { transform: rotate(-12deg) scale(1.08); }
.brand-text { display: flex; flex-direction: column; font-family: var(--font-title); font-weight: 800; font-size: .78rem; line-height: 1; text-transform: uppercase; letter-spacing: .06em; }
.brand-text strong { font-weight: 900; font-size: 1.25rem; letter-spacing: -.02em; color: var(--petroleo); }
.brand-text .dot { color: var(--naranja); }

.header-phone {
  display: none; align-items: center; gap: .6rem;
  padding: .45rem 1rem .45rem .5rem; border: var(--borde); border-radius: 999px;
  background: var(--naranja); color: var(--tinta); text-decoration: none; box-shadow: var(--sombra-sm);
  font-family: var(--font-title); font-weight: 900; font-size: 1.05rem; line-height: 1.1;
  transition: transform .2s var(--ease-bounce), box-shadow .2s;
}
.header-phone:hover { transform: translate(-2px, -2px); box-shadow: var(--sombra); color: var(--tinta); }
.header-phone i { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--tinta); color: var(--amarillo); }
.header-phone span { white-space: nowrap; }
.header-phone small { display: block; font-size: .65rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }

.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 48px; height: 48px; padding: 0 11px;
  border: var(--borde); border-radius: 14px; background: var(--amarillo); box-shadow: 3px 3px 0 var(--tinta); cursor: pointer;
}
.nav-toggle-bar { display: block; height: 3px; border-radius: 3px; background: var(--tinta); transition: transform .3s, opacity .2s; }
.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: fixed; inset: var(--header-h) 0 auto 0; z-index: 99;
  background: var(--crema); border-bottom: var(--borde);
  padding: 1rem var(--pad) 1.5rem;
  transform: translateY(-120%); visibility: hidden;
  transition: transform .35s ease, visibility .35s;
  max-height: calc(100vh - var(--header-h)); overflow-y: auto;
}
.main-nav.is-open { transform: translateY(0); visibility: visible; }
.main-nav ul { display: grid; gap: .5rem; }
.main-nav a {
  display: block; padding: .8rem 1rem; border: var(--borde); border-radius: 16px; background: var(--blanco);
  font-family: var(--font-title); font-weight: 800; text-decoration: none; color: var(--tinta);
  box-shadow: 3px 3px 0 var(--tinta);
}
.main-nav a:hover, .main-nav a[aria-current="true"] { background: var(--amarillo); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; overflow: hidden; padding-block: clamp(2.5rem, 7vw, 5rem) clamp(3rem, 8vw, 5.5rem); }
.hero-grid { position: relative; z-index: 1; display: grid; gap: 2.5rem; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: .55rem; font-weight: 800; font-size: .95rem; margin-bottom: 1rem; }
.pulse { width: 12px; height: 12px; border-radius: 50%; background: #16A34A; box-shadow: 0 0 0 0 rgba(22, 163, 74, .6); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(22, 163, 74, 0); } 100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); } }
.hero h1 { margin-bottom: .45em; }
.hl { position: relative; white-space: nowrap; z-index: 0; }
.hl::after {
  content: ""; position: absolute; left: -4px; right: -4px; bottom: .06em; height: .38em; z-index: -1;
  background: var(--naranja); border-radius: 8px; transform: rotate(-1.5deg);
}
.hero-sub { font-size: clamp(1.05rem, 1rem + .4vw, 1.25rem); max-width: 40ch; }
.hero-ctas { display: flex; flex-direction: column; gap: .85rem; margin: 1.6rem 0 1.8rem; }
.sticker-row { display: flex; flex-wrap: wrap; gap: .75rem .6rem; }
.sticker-row .sticker:nth-child(1) { --rot: -4deg; }
.sticker-row .sticker:nth-child(2) { --rot: 3deg; }
.sticker-row .sticker:nth-child(3) { --rot: -2deg; }
.sticker-row .sticker:nth-child(4) { --rot: 4deg; }

.hero-visual { position: relative; max-width: 460px; margin-inline: auto; width: 100%; }
.hero-photo {
  border: 4px solid var(--tinta); box-shadow: var(--sombra-lg);
  border-radius: 58% 42% 46% 54% / 44% 52% 48% 56%;
  overflow: hidden; background: var(--amarillo); aspect-ratio: 720 / 820;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.mascot { position: absolute; width: 46%; left: -2%; bottom: -6%; filter: drop-shadow(4px 4px 0 rgba(26, 26, 46, .25)); }
.mascot-body { animation: mascot-bob 3.2s ease-in-out infinite; transform-origin: 50% 80%; }
.mascot-arm { animation: wave 1.6s ease-in-out infinite; transform-origin: 30px 140px; }
.eye { animation: blink 5s infinite; transform-origin: center; transform-box: fill-box; }
@keyframes mascot-bob { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-8px) rotate(2deg); } }
@keyframes wave { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-18deg); } }
@keyframes blink { 0%, 94%, 100% { transform: scaleY(1); } 97% { transform: scaleY(.1); } }
.hero-badge {
  position: absolute; top: 6%; right: -2%; margin: 0;
  width: 96px; height: 96px; border-radius: 50%; border: var(--borde); background: var(--petroleo); color: var(--blanco);
  display: grid; place-content: center; text-align: center; box-shadow: var(--sombra-sm);
  font-family: var(--font-title); line-height: 1; transform: rotate(10deg);
  animation: spin-slow 12s linear infinite;
}
.hero-badge strong { font-size: 1.9rem; font-weight: 900; color: var(--amarillo); }
.hero-badge span { font-size: .7rem; font-weight: 800; text-transform: uppercase; }
@keyframes spin-slow { 0%, 100% { transform: rotate(10deg); } 50% { transform: rotate(-8deg); } }

/* ==========================================================================
   MARQUEE
   ========================================================================== */
.marquee {
  position: relative; z-index: 2; overflow: hidden;
  background: var(--tinta); color: var(--amarillo);
  border-block: var(--borde); transform: rotate(-1.5deg); margin: 0 -10px;
  padding-block: .9rem;
}
.marquee-track {
  display: flex; align-items: center; gap: 1.6rem; width: max-content;
  font-family: var(--font-title); font-weight: 900; font-size: clamp(1rem, .9rem + .8vw, 1.5rem); letter-spacing: .02em;
  animation: marquee 30s linear infinite;
}
.marquee-track i { color: var(--naranja); font-size: .9em; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ==========================================================================
   SERVICIOS
   ========================================================================== */
.cards-grid { display: grid; gap: 1.4rem; }
.card {
  position: relative; display: flex; flex-direction: column;
  padding: 1.5rem; background: var(--blanco); border: var(--borde); border-radius: var(--radio);
  box-shadow: var(--sombra);
  transition: transform .3s var(--ease-bounce), box-shadow .3s;
}
.card:nth-child(odd):hover { transform: rotate(-1.5deg) translate(-3px, -3px); box-shadow: var(--sombra-lg); }
.card:nth-child(even):hover { transform: rotate(1.5deg) translate(-3px, -3px); box-shadow: var(--sombra-lg); }
.card h3 { margin-top: 1rem; }
.card p { margin-bottom: 1rem; }
.card-icon {
  display: grid; place-items: center; width: 60px; height: 60px; font-size: 1.5rem;
  border: var(--borde); border-radius: 18px 24px 16px 26px; box-shadow: 3px 3px 0 var(--tinta);
}
.ic-orange { background: var(--naranja); }
.ic-yellow { background: var(--amarillo); }
.ic-teal { background: var(--petroleo); color: var(--blanco); }
.card-price {
  margin: auto 0 0; align-self: flex-start;
  padding: .3rem .8rem; border: 2px dashed var(--tinta); border-radius: 999px;
  font-family: var(--font-title); font-weight: 800; font-size: .9rem; background: var(--crema);
}

/* ==========================================================================
   BARRIO
   ========================================================================== */
.barrio { background: var(--blanco); border-block: var(--borde); }
.barrio-grid { position: relative; z-index: 1; display: grid; gap: 2.5rem; align-items: center; }
.barrio-media { position: relative; }
.barrio-media img {
  width: 100%; aspect-ratio: 760 / 640; object-fit: cover;
  border: 4px solid var(--tinta); border-radius: var(--radio-lg) 80px var(--radio-lg) var(--radio-lg);
  box-shadow: var(--sombra-lg);
}
.sticker-float { position: absolute; right: 8%; bottom: -18px; --rot: -6deg; font-size: 1rem; }
.sticker-float .fa-heart { color: var(--naranja); }
.check-list { display: grid; gap: .7rem; margin-top: 1.4rem; }
.check-list li { display: flex; gap: .7rem; align-items: flex-start; font-weight: 600; }
.check-list i { color: var(--petroleo); font-size: 1.25rem; margin-top: .15rem; }

.polaroids { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; margin-top: clamp(3rem, 7vw, 4.5rem); }
.polaroid {
  margin: 0; padding: .6rem .6rem 0; background: var(--crema); border: var(--borde); border-radius: 14px;
  box-shadow: var(--sombra-sm); transform: rotate(var(--r, -2deg));
  transition: transform .3s var(--ease-bounce);
}
.polaroid:nth-child(2) { --r: 2deg; }
.polaroid:nth-child(3) { --r: 1.5deg; }
.polaroid:nth-child(4) { --r: -2.5deg; }
.polaroid:hover { transform: rotate(0) scale(1.04); z-index: 2; }
.polaroid img { width: 100%; aspect-ratio: 6 / 5; object-fit: cover; border-radius: 8px; border: 2px solid var(--tinta); }
.polaroid figcaption { padding: .55rem .2rem .7rem; font-family: var(--font-title); font-weight: 800; font-size: .85rem; text-align: center; }

/* ==========================================================================
   PROCESO
   ========================================================================== */
.process { background: var(--petroleo); color: var(--blanco); }
.process .section-lead { color: #E6F2F5; }
.steps { display: grid; gap: 1.4rem; counter-reset: paso; }
.step {
  position: relative; padding: 1.6rem 1.4rem 1.4rem; background: var(--petroleo-osc);
  border: 3px solid var(--crema); border-radius: var(--radio); box-shadow: 6px 6px 0 var(--amarillo);
}
.step p { margin: 0; color: #E6F2F5; }
.step-num {
  display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 1rem;
  background: var(--amarillo); color: var(--tinta); border: var(--borde); border-radius: 50% 40% 55% 45% / 45% 55% 45% 55%;
  font-family: var(--font-title); font-weight: 900; font-size: 1.6rem; transform: rotate(-6deg);
}

/* ==========================================================================
   PRECIOS
   ========================================================================== */
.table-wrap {
  background: var(--blanco); border: var(--borde); border-radius: var(--radio); box-shadow: var(--sombra-lg); overflow: hidden;
}
.price-table { width: 100%; border-collapse: collapse; }
.price-table thead { display: none; }
.price-table tr { display: grid; gap: .25rem; padding: 1rem 1.2rem; border-bottom: 2px dashed rgba(26, 26, 46, .3); }
.price-table tbody tr:last-child { border-bottom: 0; }
.price-table tbody tr:nth-child(odd) { background: var(--crema); }
.price-table th[scope="row"] { text-align: left; font-family: var(--font-title); font-weight: 800; font-size: 1.02rem; margin-bottom: .2rem; }
.price-table td { display: flex; align-items: baseline; gap: .35rem; }
.price-table td::before { content: attr(data-label); margin-right: auto; font-weight: 600; font-size: .9rem; color: #4A4A5E; }
.price-table td strong { font-family: var(--font-title); font-weight: 900; font-size: 1.1rem; }
.legal-note {
  display: flex; gap: .7rem; margin-top: 1.6rem; padding: 1rem 1.2rem; font-size: .92rem;
  background: var(--amarillo); border: var(--borde); border-radius: 18px;
}
.legal-note i { margin-top: .25rem; }

/* ==========================================================================
   ZONAS
   ========================================================================== */
.zones { background: var(--crema); border-top: var(--borde); }
.zones .container { position: relative; z-index: 1; }
.zones-grid { display: grid; gap: 2rem; }
.zone-card {
  position: relative; padding: 2.2rem 1.5rem 1.6rem; background: var(--blanco);
  border: var(--borde); border-radius: var(--radio-lg); box-shadow: var(--sombra);
}
.zone-puente { border-top-left-radius: 70px; }
.zone-villa { border-top-right-radius: 70px; }
.zone-tag { position: absolute; top: -18px; right: 1.2rem; --rot: 4deg; }
.zone-card h4 { margin: 1.3rem 0 .7rem; color: var(--petroleo); }
.pill-list { display: flex; flex-wrap: wrap; gap: .5rem; }
.pill-list li {
  padding: .35rem .8rem; border: 2px solid var(--tinta); border-radius: 999px; font-weight: 700; font-size: .9rem; background: var(--crema);
}
.zone-villa .pill-list li { background: #FFF3C4; }
.zone-puente .pill-list li { background: #FFE3D6; }
.pill-metro li { background: var(--blanco) !important; }
.pill-metro i { color: var(--petroleo); margin-right: .25rem; }
.zones-extra { max-width: 820px; margin: 2.2rem 0 0; font-size: 1.05rem; }

/* ==========================================================================
   TESTIMONIOS
   ========================================================================== */
.testimonials { background: var(--amarillo); border-block: var(--borde); }
.quotes-grid { display: grid; gap: 1.4rem; }
.quote {
  margin: 0; padding: 1.6rem 1.4rem 1.3rem; background: var(--blanco); border: var(--borde);
  border-radius: 28px 28px 28px 6px; box-shadow: var(--sombra);
  transition: transform .3s var(--ease-bounce);
}
.quote:nth-child(even) { border-radius: 28px 28px 6px 28px; }
.quote:hover { transform: rotate(-1deg) translateY(-4px); }
.quote blockquote { margin: 0 0 1rem; }
.quote blockquote p { margin: 0; font-size: 1.02rem; }
.quote blockquote::before { content: "★★★★★"; display: block; color: var(--naranja-osc); letter-spacing: .15em; margin-bottom: .5rem; font-size: 1.05rem; }
.quote figcaption { display: flex; align-items: center; gap: .7rem; font-family: var(--font-title); font-weight: 800; flex-wrap: wrap; }
.quote figcaption small { display: block; width: 100%; padding-left: 3.4rem; margin-top: -.6rem; font-family: var(--font-body); font-weight: 600; color: #4A4A5E; }
.avatar {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--petroleo); color: var(--blanco); border: var(--borde); font-size: .85rem;
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-container { max-width: 900px; }
.accordion { display: grid; gap: .9rem; }
.acc-item { background: var(--blanco); border: var(--borde); border-radius: 20px; box-shadow: var(--sombra-sm); overflow: hidden; }
.acc-item h3 { margin: 0; font-size: inherit; }
.acc-trigger {
  display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 1.2rem; background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--font-title); font-weight: 800; font-size: clamp(1rem, .95rem + .3vw, 1.12rem); line-height: 1.3;
}
.acc-trigger i {
  flex-shrink: 0; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  border: 2px solid var(--tinta); background: var(--amarillo); transition: transform .3s var(--ease-bounce), background-color .2s;
}
.acc-trigger[aria-expanded="true"] { background: #FFF1E8; }
.acc-trigger[aria-expanded="true"] i { transform: rotate(135deg); background: var(--naranja); }
.acc-panel { padding: 0 1.2rem 1.1rem; }
.acc-panel p { margin: 0; }

/* ==========================================================================
   CONTACTO
   ========================================================================== */
.contact { background: var(--blanco); border-top: var(--borde); }
.contact-grid { display: grid; gap: 2rem; }
.contact-form {
  display: grid; gap: 1rem; padding: 1.5rem; background: var(--crema);
  border: var(--borde); border-radius: var(--radio-lg); box-shadow: var(--sombra-lg);
}
.field { display: grid; gap: .35rem; }
.field label { font-weight: 800; }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem 1rem; background: var(--blanco);
  border: var(--borde); border-radius: 14px; min-height: 48px;
  transition: box-shadow .2s, border-color .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; box-shadow: 4px 4px 0 var(--petroleo); }
.field.has-error input, .field.has-error textarea { border-color: #B91C1C; box-shadow: 4px 4px 0 #B91C1C; }
.field-error { margin: 0; min-height: 0; color: #B91C1C; font-weight: 700; font-size: .9rem; }
.field-check { grid-template-columns: auto 1fr; align-items: start; column-gap: .7rem; }
.field-check input { width: 24px; height: 24px; min-height: 0; margin-top: .15rem; accent-color: var(--naranja); }
.field-check label { font-weight: 600; }
.field-check .field-error { grid-column: 1 / -1; }
.form-status { margin: 0; font-weight: 800; }
.form-status.ok { color: #166534; }
.form-status.ko { color: #B91C1C; }

.contact-list { display: grid; gap: .9rem; margin-bottom: 1.5rem; }
.contact-list li { display: flex; gap: .9rem; align-items: center; }
.contact-list i {
  flex-shrink: 0; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px;
  background: var(--amarillo); border: var(--borde); font-size: 1.1rem;
}
.contact-list span { display: flex; flex-direction: column; line-height: 1.35; overflow-wrap: anywhere; }
.contact-list strong { font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: #4A4A5E; }
.contact-list a { font-weight: 800; font-size: 1.05rem; }
.map-box {
  position: relative; border: var(--borde); border-radius: var(--radio); overflow: hidden; box-shadow: var(--sombra);
  aspect-ratio: 5 / 3; background: repeating-linear-gradient(45deg, #FFF3C4 0 14px, #FFE9A0 14px 28px);
}
.map-box iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-placeholder {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: .8rem;
  padding: 1rem; text-align: center; font-weight: 700;
}
.map-placeholder p { margin: 0; max-width: 32ch; }
.map-placeholder i { color: var(--petroleo); }
.map-box.is-loaded .map-placeholder { display: none; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--tinta); color: #E9E9F0; padding-top: clamp(3rem, 7vw, 4.5rem); border-top: 4px solid var(--naranja); }
.site-footer a { color: var(--amarillo); }
.site-footer a:hover { color: var(--blanco); }
.footer-grid { display: grid; gap: 2rem; padding-bottom: 2.5rem; }
.brand-footer { color: var(--blanco); margin-bottom: 1rem; }
.brand-footer .brand-text strong { color: var(--amarillo); }
.footer-title { font-size: 1.05rem; color: var(--amarillo); margin-bottom: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.site-footer address { font-style: normal; line-height: 1.8; }
.footer-links { display: grid; gap: .45rem; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem;
  padding-block: 1.3rem; border-top: 1px solid rgba(255, 255, 255, .18); font-size: .9rem;
}
.footer-bottom p { margin: 0; }

/* ==========================================================================
   CTA FIJOS · COOKIES
   ========================================================================== */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: grid; grid-template-columns: 1fr 1fr; border-top: var(--borde);
}
.mobile-bar a {
  display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 64px;
  font-family: var(--font-title); font-weight: 900; font-size: 1.05rem; text-decoration: none; color: var(--tinta);
}
.mb-call { background: var(--naranja); border-right: var(--borde); }
.mb-mail { background: var(--amarillo); }
.mobile-bar a:active { filter: brightness(.92); }

.float-call {
  position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 90;
  display: none; align-items: center; gap: .6rem; padding: .9rem 1.3rem;
  background: var(--naranja); color: var(--tinta); text-decoration: none;
  border: var(--borde); border-radius: 999px; box-shadow: var(--sombra);
  font-family: var(--font-title); font-weight: 900;
  animation: bounce-soft 2.8s var(--ease-bounce) infinite;
}
.float-call i { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--tinta); color: var(--amarillo); }
.float-call:hover { animation-play-state: paused; color: var(--tinta); background: var(--amarillo); }
@keyframes bounce-soft {
  0%, 70%, 100% { transform: translateY(0); }
  80% { transform: translateY(-10px); }
  90% { transform: translateY(-3px); }
}

.cookie-banner {
  position: fixed; left: .75rem; right: .75rem; bottom: 76px; z-index: 200;
  padding: 1.1rem 1.2rem; background: var(--blanco); border: var(--borde); border-radius: 22px; box-shadow: var(--sombra);
  font-size: .93rem;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0 0 .9rem; }
.cookie-banner .fa-cookie-bite { color: var(--naranja-osc); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: .6rem; }

/* ==========================================================================
   REVEAL (IntersectionObserver)
   ========================================================================== */
.js .reveal { opacity: 0; transform: translateY(28px) rotate(.6deg); transition: opacity .6s ease, transform .6s var(--ease-bounce); transition-delay: calc(var(--i, 0) * 90ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }
/* Tras aparecer, las tarjetas recuperan su transición de hover sin retardo */
.js .card.reveal.is-visible, .js .quote.reveal.is-visible, .js .polaroid.reveal.is-visible { transition-delay: 0s; }
.js .polaroid.reveal.is-visible { transform: rotate(var(--r, -2deg)); }
.js .polaroid.reveal.is-visible:hover { transform: rotate(0) scale(1.04); }

/* ==========================================================================
   PÁGINAS LEGALES
   ========================================================================== */
.legal-hero { padding-block: clamp(2.5rem, 6vw, 4rem) 1.5rem; position: relative; overflow: hidden; }
.legal-hero .container { position: relative; z-index: 1; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .4rem; font-size: .9rem; font-weight: 700; margin-bottom: 1rem; }
.breadcrumb li + li::before { content: "›"; margin-right: .4rem; color: var(--naranja-osc); }
.legal-body { padding-bottom: var(--sec); }
.legal-card {
  max-width: 860px; padding: clamp(1.4rem, 4vw, 2.6rem); background: var(--blanco);
  border: var(--borde); border-radius: var(--radio-lg); box-shadow: var(--sombra-lg);
}
.legal-card h2 { font-size: clamp(1.3rem, 1.1rem + 1vw, 1.7rem); margin-top: 1.8em; }
.legal-card h2:first-child { margin-top: 0; }
.legal-card ul { list-style: disc; padding-left: 1.3rem; margin-bottom: 1em; }
.legal-card li { margin-bottom: .35rem; }
.legal-card table { width: 100%; border-collapse: collapse; margin-bottom: 1.2rem; font-size: .93rem; }
.legal-card th, .legal-card td { border: 2px solid var(--tinta); padding: .55rem .7rem; text-align: left; vertical-align: top; }
.legal-card th { background: var(--amarillo); }
.legal-table-wrap { overflow-x: auto; }
.placeholder { background: #FFF3C4; padding: 0 .25rem; border-radius: 4px; font-weight: 700; }

/* ==========================================================================
   MEDIA QUERIES · 768px
   ========================================================================== */
@media (min-width: 768px) {
  :root { --header-h: 78px; }
  body { padding-bottom: 0; }
  .mobile-bar { display: none; }
  .float-call { display: inline-flex; }
  .cookie-banner { left: 1.5rem; right: auto; bottom: 1.5rem; max-width: 460px; }

  .header-phone { display: inline-flex; }
  .brand img { width: 46px; height: 46px; }

  .hero-ctas { flex-direction: row; flex-wrap: wrap; }
  .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 3rem; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .barrio-grid { grid-template-columns: 1fr 1fr; gap: 3.5rem; }
  .polaroids { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .zones-grid { grid-template-columns: 1fr 1fr; }
  .quotes-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-form { grid-template-columns: 1fr 1fr; padding: 2rem; }
  .field-full { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }

  /* Tabla de precios en formato tabla real */
  .price-table thead { display: table-header-group; }
  .price-table tr { display: table-row; padding: 0; }
  .price-table th, .price-table td { display: table-cell; padding: 1rem 1.3rem; text-align: left; border-bottom: 2px dashed rgba(26, 26, 46, .25); }
  .price-table tbody tr:last-child th, .price-table tbody tr:last-child td { border-bottom: 0; }
  .price-table td::before { content: none; }
  .price-table thead th {
    background: var(--tinta); color: var(--amarillo); font-family: var(--font-title); font-weight: 800; font-size: .9rem;
    text-transform: uppercase; letter-spacing: .04em; border-bottom: var(--borde);
  }
  .price-table tbody tr:hover { background: #FFE3D6; }
}

/* ==========================================================================
   MEDIA QUERIES · 1100px
   ========================================================================== */
@media (min-width: 1100px) {
  .nav-toggle { display: none; }
  .main-nav {
    position: static; transform: none; visibility: visible; padding: 0; border: 0; background: none;
    max-height: none; overflow: visible; margin-right: .5rem;
  }
  .main-nav ul { display: flex; gap: .2rem; }
  .main-nav a { border: 2px solid transparent; box-shadow: none; background: none; padding: .45rem .6rem; font-size: .9rem; border-radius: 999px; white-space: nowrap; }
  .main-nav a:hover { border-color: var(--tinta); background: var(--amarillo); }
  .brand { margin-right: 0; }
  .header-inner { justify-content: space-between; }

  .cards-grid { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .quotes-grid { grid-template-columns: repeat(4, 1fr); }
  .contact-grid { grid-template-columns: 1.15fr .85fr; align-items: start; }
  .hero-visual { max-width: 480px; }
  .mascot { left: -14%; }
}

/* ==========================================================================
   ACCESIBILIDAD · movimiento reducido
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee-track > :nth-child(n + 11) { display: none; }
  .js .reveal { opacity: 1; transform: none; }
  .float-call, .blob, .mascot-body, .mascot-arm, .eye, .hero-badge, .pulse { animation: none !important; }
}
