/* ==========================================================
   Represas Instalaciones Eléctricas — estilos
   ========================================================== */
:root {
  --navy-950: #071330;
  --navy-900: #0B1B3F;
  --navy-800: #12285A;
  --navy-700: #1D3E8E;
  --navy-100: #E6ECF8;
  --orange: #F5901E;
  --orange-600: #DE7A0B;
  --orange-100: #FFF1E0;
  --ink: #0E1726;
  --muted: #5B6578;
  --line: #E3E7EF;
  --paper: #F7F8FB;
  --white: #fff;
  --wa: #1FAF5A;
  --radius: 18px;
  --shadow: 0 18px 50px -20px rgba(7, 19, 48, .35);
  --font-display: "Archivo", "Arial Narrow", sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-stretch: 112%;
  line-height: 1.05;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.4rem, 5.2vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; font-stretch: 105%; }
p { margin: 0 0 1em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-display); font-stretch: 120%;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--orange-600);
  margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 22px; height: 3px; background: var(--orange); border-radius: 2px; }
.on-dark .eyebrow { color: var(--orange); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .9em 1.4em; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-display); font-stretch: 110%; font-weight: 700; font-size: 1rem;
  text-decoration: none; cursor: pointer; transition: transform .15s ease, background .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-orange { background: var(--orange); color: var(--navy-950); box-shadow: 0 10px 24px -10px rgba(245,144,30,.8); }
.btn-orange:hover { background: #ffa23a; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #22c063; }
.btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost:hover { border-color: #fff; }
.btn-navy { background: var(--navy-700); color: #fff; }
.btn-navy:hover { background: var(--navy-800); }
.btn-line { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-block { width: 100%; }

/* ---------- Barra superior ---------- */
.topbar {
  background: var(--navy-950); color: #C9D3EA; font-size: .85rem;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .5rem 0; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.pulse { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); margin-right: .5em; box-shadow: 0 0 0 0 rgba(245,144,30,.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(245,144,30,0); } 100% { box-shadow: 0 0 0 0 rgba(245,144,30,0); } }

/* ---------- Cabecera ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 76px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand img { width: 46px; height: 46px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-display); font-stretch: 125%; font-weight: 800; font-size: 1.35rem; letter-spacing: .16em; color: var(--navy-700); }
.brand-sub { font-family: var(--font-display); font-stretch: 115%; font-weight: 600; font-size: .62rem; letter-spacing: .2em; color: var(--orange-600); margin-top: .3rem; text-transform: uppercase; }
.nav { display: flex; gap: 1.6rem; }
.nav { align-items: center; }
.nav a { text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--ink); position: relative; white-space: nowrap; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--orange); transition: width .2s; }
.nav a:hover::after, .nav a.active::after { width: 100%; }
.nav .nav-pill { background: var(--navy-100); color: var(--navy-700); padding: .35em .9em; border-radius: 999px; }
.nav .nav-pill::after { display: none; }
.header-cta { display: flex; gap: .6rem; }
.header-cta .btn { padding: .65em 1.1em; font-size: .92rem; }
.menu-toggle { display: none; background: none; border: 0; padding: .4rem; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(29,62,142,.65), transparent 60%),
    radial-gradient(600px 400px at 0% 100%, rgba(245,144,30,.12), transparent 60%),
    var(--navy-900);
  color: #fff;
  padding: clamp(3rem, 6vw, 5.5rem) 0 clamp(3.5rem, 6vw, 6rem);
}
.hero::before { /* trazado de circuito */
  content: ""; position: absolute; inset: 0; opacity: .14; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 10%, transparent 70%);
}
.hero-ring { /* el anillo del logo, gigante */
  position: absolute; width: 760px; height: 760px; right: -260px; top: -200px; opacity: .08; pointer-events: none;
}
.hero .container { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.hero h1 .hl { color: var(--orange); }
.hero-lead { font-size: 1.18rem; color: #D5DDF0; max-width: 34em; }
.hero-badges { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.6rem; }
.chip {
  display: inline-flex; align-items: center; gap: .45em;
  padding: .4em .9em; border-radius: 999px; font-size: .85rem; font-weight: 600;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); color: #fff;
}
.chip-orange { background: rgba(245,144,30,.16); border-color: rgba(245,144,30,.45); color: #FFC98A; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2rem 0 2.2rem; }
.hero-proof { display: grid; grid-template-columns: repeat(3, auto); gap: 1.6rem; justify-content: start; }
.hero-proof div { border-left: 3px solid var(--orange); padding-left: .8rem; }
.hero-proof strong { display: block; font-family: var(--font-display); font-stretch: 115%; font-size: 1.6rem; line-height: 1.1; }
.hero-proof span { font-size: .85rem; color: #B7C3E0; }

/* ---------- Cotizador ---------- */
.quoter {
  background: #fff; color: var(--ink); border-radius: 24px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6);
  overflow: hidden; position: relative;
}
.quoter-head { background: var(--orange); color: var(--navy-950); padding: 1.1rem 1.5rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.quoter-head h2 { font-size: 1.25rem; margin: 0; }
.quoter-head small { font-weight: 700; font-size: .8rem; opacity: .8; }
.steps { display: flex; gap: .35rem; }
.steps i { width: 26px; height: 5px; border-radius: 3px; background: rgba(7,19,48,.2); }
.steps i.on { background: var(--navy-950); }
.quoter-body { padding: 1.4rem 1.5rem 1.6rem; }
.q-step { display: none; animation: fadeUp .35s ease; }
.q-step.active { display: block; }
.q-label { font-weight: 700; font-size: .95rem; margin-bottom: .7rem; display: block; }
.q-services { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; max-height: 330px; overflow-y: auto; padding-right: .2rem; }
.q-option {
  text-align: left; border: 1.5px solid var(--line); background: var(--paper); border-radius: 12px;
  padding: .65rem .75rem; font: inherit; font-size: .88rem; font-weight: 600; cursor: pointer; line-height: 1.25;
  transition: border-color .15s, background .15s;
}
.q-option small { display: block; font-weight: 500; color: var(--muted); font-size: .76rem; margin-top: .15rem; }
.q-option:hover { border-color: var(--navy-700); }
.q-option.selected { border-color: var(--orange); background: var(--orange-100); }
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .35rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .95rem; padding: .75rem .9rem; border-radius: 10px;
  border: 1.5px solid var(--line); background: #fff; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy-700); box-shadow: 0 0 0 3px var(--navy-100); }
.toggle-row { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.q-nav { display: flex; gap: .6rem; margin-top: 1.2rem; }
.q-nav .btn { flex: 1; padding: .8em 1em; }
.q-result {
  background: var(--navy-900); color: #fff; border-radius: 16px; padding: 1.2rem 1.3rem; margin-bottom: 1rem; text-align: center;
}
.q-result span { font-size: .85rem; color: #B7C3E0; }
.q-price { font-family: var(--font-display); font-stretch: 112%; font-weight: 800; font-size: 2.3rem; color: var(--orange); line-height: 1.1; margin: .2rem 0; }
.q-note { font-size: .78rem; color: var(--muted); line-height: 1.45; margin: .6rem 0 0; }
.check { display: flex; gap: .55rem; align-items: flex-start; font-size: .8rem; color: var(--muted); margin: .4rem 0 .2rem; }
.check input { margin-top: .25rem; accent-color: var(--orange); }
.q-done { text-align: center; padding: 1rem 0; }
.q-done svg { width: 56px; height: 56px; margin: 0 auto 1rem; color: var(--wa); }

/* ---------- Franja de confianza ---------- */
.trust { background: var(--navy-950); color: #fff; }
.trust .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { display: flex; gap: .8rem; align-items: center; padding: 1.3rem 1rem; border-right: 1px solid rgba(255,255,255,.08); }
.trust-item:last-child { border-right: 0; }
.trust-item svg { width: 34px; height: 34px; flex: none; color: var(--orange); }
.trust-item strong { display: block; font-size: .95rem; }
.trust-item span { font-size: .8rem; color: #9FAED0; }

/* ---------- Banda de cifras ---------- */
.stats { background: var(--orange); color: var(--navy-950); }
.stats .container { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; }
.stats div { padding: 1.6rem .5rem; border-right: 1px solid rgba(7,19,48,.15); }
.stats div:last-child { border-right: 0; }
.stats strong { display: block; font-family: var(--font-display); font-stretch: 120%; font-weight: 800; font-size: clamp(1.8rem, 3.5vw, 2.6rem); line-height: 1; }
.stats span { font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

/* ---------- Secciones ---------- */
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section-alt { background: var(--paper); }
.section-dark { background: var(--navy-900); color: #fff; }
.section-head { max-width: 720px; margin-bottom: 3rem; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.section-dark .section-head p { color: #B7C3E0; }
.section-head.center { text-align: center; margin-inline: auto; }

/* ---------- Servicios ---------- */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.service {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.4rem 1.3rem;
  display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s, border-color .2s; position: relative;
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.service .ico { width: 48px; height: 48px; border-radius: 14px; background: var(--navy-100); color: var(--navy-700); display: grid; place-items: center; margin-bottom: 1.1rem; }
.service .ico svg { width: 24px; height: 24px; }
.service h3 { margin-bottom: .4rem; }
.service p { color: var(--muted); font-size: .93rem; flex: 1; }
.service .from { font-size: .85rem; color: var(--ink); border-top: 1px dashed var(--line); padding-top: .8rem; margin-top: .4rem; display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.service .from b { font-family: var(--font-display); font-stretch: 110%; color: var(--navy-700); font-size: 1.05rem; }
.service .from a { color: var(--orange-600); font-weight: 700; text-decoration: none; white-space: nowrap; }
.service.featured { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.service.featured p { color: #B7C3E0; }
.service.featured .ico { background: rgba(245,144,30,.18); color: var(--orange); }
.service.featured .from { color: #fff; border-color: rgba(255,255,255,.15); }
.service.featured .from b { color: var(--orange); }
.tag { position: absolute; top: 1.1rem; right: 1.1rem; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: var(--orange); color: var(--navy-950); padding: .25em .6em; border-radius: 6px; }

/* ---------- Comparativa / precio claro ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.compare { display: grid; gap: .8rem; }
.compare-row { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: .5rem; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: .8rem 1rem; font-size: .93rem; }
.compare-row.head { background: transparent; border: 0; font-weight: 700; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-block: 0; }
.compare-row .yes { color: var(--navy-700); font-weight: 700; }
.compare-row .no { color: #A0A8B8; }
.compare-row.head .yes { color: var(--orange-600); }

/* ---------- Pasos ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; counter-reset: step; }
.step { padding: 1.6rem 1.4rem; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); position: relative; }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--font-display); font-stretch: 125%; font-weight: 800; font-size: 2.6rem; color: var(--orange); line-height: 1; display: block; margin-bottom: 1rem; }
.step h3 { color: #fff; }
.step p { color: #B7C3E0; font-size: .93rem; margin: 0; }

/* ---------- Galería ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; grid-auto-flow: dense; gap: 1rem; }
.shot {
  border-radius: var(--radius); overflow: hidden; position: relative;
  background:
    repeating-linear-gradient(135deg, rgba(29,62,142,.06) 0 12px, transparent 12px 24px),
    linear-gradient(160deg, var(--navy-100), #fff);
  border: 1.5px dashed #C5D0E8; display: flex; align-items: flex-end; margin: 0;
}
.shot.tall { grid-row: span 2; }
.shot.wide { grid-column: span 2; }
.shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shot figcaption { position: relative; margin: .8rem; background: #fff; border-radius: 10px; padding: .5rem .75rem; font-size: .82rem; box-shadow: 0 6px 20px -10px rgba(7,19,48,.4); }
.shot figcaption b { display: block; font-size: .88rem; }
.shot .ph { position: absolute; top: .9rem; left: .9rem; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--navy-700); opacity: .55; }

/* ---------- Sobre Juan ---------- */
.about-photo {
  aspect-ratio: 4/5; border-radius: 28px; position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--navy-700), var(--navy-950));
  display: grid; place-items: center; color: rgba(255,255,255,.5); text-align: center; font-size: .9rem;
}
.about-photo img.mark { width: 55%; opacity: .25; }
.about-photo .ph-note { position: absolute; bottom: 1.2rem; left: 0; right: 0; }
.about-card { position: absolute; right: -1.2rem; bottom: 2.5rem; background: var(--orange); color: var(--navy-950); padding: 1rem 1.3rem; border-radius: 16px; box-shadow: var(--shadow); }
.about-card strong { font-family: var(--font-display); font-stretch: 120%; font-size: 2rem; display: block; line-height: 1; }
.about-wrap { position: relative; }
.ticks { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: grid; gap: .7rem; }
.ticks li { display: flex; gap: .7rem; align-items: flex-start; }
.ticks svg { width: 22px; height: 22px; flex: none; color: var(--orange); margin-top: .15rem; }
.signature { font-family: var(--font-display); font-stretch: 100%; font-style: italic; font-weight: 600; font-size: 1.3rem; color: var(--navy-700); }

/* ---------- Reseñas ---------- */
.reviews-cta { display: grid; grid-template-columns: auto 1fr auto; gap: 2rem; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 2rem 2.2rem; box-shadow: var(--shadow); }
.g-logo { width: 56px; height: 56px; }
.reviews-cta h3 { font-size: 1.4rem; margin-bottom: .3rem; }
.reviews-cta p { margin: 0; color: var(--muted); }

/* ---------- Zonas ---------- */
.zones { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: .7rem; }
.zone { display: flex; align-items: center; gap: .6rem; padding: .9rem 1rem; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); font-weight: 600; }
.zone svg { width: 18px; height: 18px; color: var(--orange); flex: none; }
.zone small { margin-left: auto; font-weight: 500; color: #9FAED0; font-size: .75rem; }
.zone.base { background: var(--orange); color: var(--navy-950); border-color: var(--orange); }
.zone.base svg { color: var(--navy-950); }
.zone.base small { color: var(--navy-900); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 1.2rem 0; }
.faq summary { cursor: pointer; list-style: none; font-weight: 700; font-size: 1.08rem; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-display); font-size: 1.6rem; line-height: 1; color: var(--orange-600); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: .8rem 0 0; }

/* ---------- CTA final ---------- */
.cta-final { background: var(--orange); color: var(--navy-950); padding: clamp(3rem, 6vw, 4.5rem) 0; position: relative; overflow: hidden; }
.cta-final .container { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; position: relative; }
.cta-final h2 { margin: 0 0 .3rem; }
.cta-final p { margin: 0; font-weight: 600; }
.cta-final .btns { display: flex; gap: .8rem; flex-wrap: wrap; }
.cta-final .bolt { position: absolute; right: 8%; top: -40px; width: 220px; opacity: .14; }

/* ---------- Pie ---------- */
.footer { background: var(--navy-950); color: #B7C3E0; padding: 4rem 0 2rem; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer h4 { color: #fff; font-family: var(--font-display); font-stretch: 115%; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 1rem; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; }
.footer .brand-name { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 3rem; padding-top: 1.5rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .82rem; }

/* ---------- Barra móvil + WhatsApp flotante ---------- */
.mobile-bar { display: none; }
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 60px; height: 60px; border-radius: 50%;
  background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(31,175,90,.7);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; }

/* ---------- B2B ---------- */
.hero-b2b .offer {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 24px; padding: 2rem;
}
.offer-big { display: grid; gap: 1rem; margin-bottom: 1.5rem; }
.offer-big div { display: flex; gap: 1rem; align-items: center; background: rgba(255,255,255,.06); border-radius: 16px; padding: 1rem 1.2rem; }
.offer-big svg { width: 40px; height: 40px; color: var(--orange); flex: none; }
.offer-big strong { font-family: var(--font-display); font-stretch: 112%; font-size: 1.3rem; display: block; line-height: 1.15; }
.offer-big span { color: #B7C3E0; font-size: .9rem; }
.clients { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.client { padding: 1.6rem; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.client .ico { width: 48px; height: 48px; border-radius: 14px; background: var(--orange-100); color: var(--orange-600); display: grid; place-items: center; margin-bottom: 1rem; }
.client .ico svg { width: 24px; height: 24px; }
.client p { color: var(--muted); font-size: .93rem; margin: 0; }
.client.highlight { border: 2px solid var(--orange); }
.b2b-list { columns: 2; column-gap: 2rem; padding: 0; list-style: none; margin: 0; }
.b2b-list li { break-inside: avoid; display: flex; gap: .7rem; padding: .85rem 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.b2b-list svg { width: 20px; height: 20px; color: var(--orange-600); flex: none; margin-top: .2rem; }
.form-card { background: #fff; color: var(--ink); border-radius: 24px; padding: 2rem; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.form-grid .full { grid-column: 1 / -1; }

/* ---------- Páginas legales ---------- */
.legal { padding: 4rem 0 5rem; }
.legal .container { max-width: 820px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.legal h2 { font-size: 1.35rem; margin-top: 2.2rem; }
.legal p, .legal li { color: #333B4A; }
.legal table { border-collapse: collapse; width: 100%; margin: 1rem 0; font-size: .95rem; }
.legal td { border: 1px solid var(--line); padding: .6rem .8rem; vertical-align: top; }
.legal td:first-child { font-weight: 700; width: 34%; background: var(--paper); }

/* ---------- Animaciones ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero-copy > * { animation: fadeUp .7s both; }
.hero-copy > *:nth-child(2) { animation-delay: .08s; }
.hero-copy > *:nth-child(3) { animation-delay: .16s; }
.hero-copy > *:nth-child(4) { animation-delay: .24s; }
.hero-copy > *:nth-child(5) { animation-delay: .32s; }
.quoter, .hero-b2b .offer, .form-card { animation: fadeUp .8s .3s both; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .header-cta .btn-wa { display: none; }
  .nav { gap: 1.2rem; }
}
@media (max-width: 1080px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .nav { gap: 1rem; }
  .nav a { font-size: .9rem; }
  .brand-sub { display: none; }
}
@media (max-width: 920px) {
  .hero .container, .split { grid-template-columns: 1fr; }
  .trust .container, .stats .container { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .stats div:nth-child(2) { border-right: 0; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .clients { grid-template-columns: 1fr 1fr; }
  .reviews-cta { grid-template-columns: 1fr; text-align: left; }
  .nav, .header-cta { display: none; }
  .menu-toggle { display: block; }
  .nav.open {
    display: flex; flex-direction: column; position: absolute; top: 76px; left: 0; right: 0;
    background: #fff; padding: 1.2rem 20px 1.5rem; border-bottom: 1px solid var(--line); gap: 1rem;
  }
  .about-card { right: 1rem; }
}
@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 68px; }
  .topbar .hide-sm { display: none; }
  .hero-ctas { display: none; } /* en móvil ya está la barra fija Llamar / WhatsApp */
  .hero-proof { margin-top: 1.5rem; }
  .services, .steps-grid, .clients, .form-grid { grid-template-columns: 1fr; }
  .gallery { grid-auto-rows: 170px; }
  .shot.wide { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-proof { grid-template-columns: repeat(3, 1fr); gap: .8rem; }
  .hero-proof strong { font-size: 1.25rem; }
  .q-services { grid-template-columns: 1fr; max-height: 300px; }
  .compare-row { grid-template-columns: 1.2fr .9fr .9fr; font-size: .82rem; padding: .7rem; }
  .b2b-list { columns: 1; }
  .trust-item { padding: 1rem .6rem; }
  .wa-float { display: none; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
    box-shadow: 0 -8px 24px -10px rgba(7,19,48,.35);
  }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: .5rem; padding: 1.05rem; font-weight: 800; text-decoration: none; font-family: var(--font-display); font-stretch: 110%; }
  .mobile-bar svg { width: 20px; height: 20px; }
  .mobile-bar .call { background: var(--orange); color: var(--navy-950); }
  .mobile-bar .wa { background: var(--wa); color: #fff; }
}
