/* ============================================================
   EDT PROYECTOS — Electricista y Montador en Alzira
   Shared design system
   ============================================================ */

/* ---- Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Manrope:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ---- Tokens ---- */
:root {
  --bg: #f9f8f5;        /* Fondo crema/blanco suave */
  --bg-2: #f3f0ea;      /* Crema medio para contraste */
  --surface: #ffffff;   /* Blanco puro para tarjetas y paneles */
  --surface-2: #faf9f6; /* Crema muy claro */
  --line: rgba(20, 22, 26, 0.08);
  --line-soft: rgba(20, 22, 26, 0.04);

  --cream: #f3f0ea;
  --cream-2: #e9e4da;
  --cream-line: rgba(20, 22, 26, 0.10);

  --ink: #16191f;
  --ink-soft: #595e68;

  --text: #16191f;      /* Mapeado a tinta oscura para compatibilidad */
  --text-soft: #595e68; /* Mapeado a gris oscuro para compatibilidad */
  --text-faint: #8a8f99;

  --blue: #2f6bff;
  --blue-bright: #1d4fd6; /* Azul profundo con excelente contraste en fondos claros */
  --blue-deep: #153fa8;
  --blue-glow: rgba(47, 107, 255, 0.15);
  --wa: #25d366;
  --wa-deep: #1da851;

  --star: #ffb020;

  --serif: 'Cormorant Garamond', Georgia, serif;
  --display: 'Space Grotesk', system-ui, sans-serif;
  --sans: 'Manrope', system-ui, sans-serif;

  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;
  --r-xl: 30px;

  --wrap: 1180px;
  --gut: clamp(20px, 5vw, 56px);

  --shadow: 0 12px 36px -10px rgba(20, 22, 26, 0.08); /* Sombra muy suave de alta calidad */
  --shadow-blue: 0 10px 30px -10px rgba(47, 107, 255, 0.3);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.08; letter-spacing: -0.02em; }
:focus-visible { outline: 2px solid var(--blue-bright); outline-offset: 3px; border-radius: 4px; }

/* ---- Layout helpers ---- */
[id] { scroll-margin-top: 90px; } /* Evita que la cabecera fija solape los títulos al navegar */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: clamp(64px, 9vw, 120px); position: relative; }
.section--cream { background: var(--cream); color: var(--ink); }
.section--bg2 { background: var(--bg-2); }
.eyebrow {
  font-family: var(--display);
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--blue-bright);
  display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: "+"; font-size: 18px; color: var(--blue); line-height: 0; }
.section--cream .eyebrow { color: var(--blue-deep); }
.section--cream .eyebrow::before { color: var(--blue); }

.s-title {
  font-size: clamp(30px, 4.4vw, 50px);
  margin-top: 18px;
  max-width: 18ch;
  text-wrap: balance;
}
.s-lead {
  margin-top: 18px; max-width: 60ch;
  color: var(--text-soft); font-size: 18px;
}
.section--cream .s-lead { color: var(--ink-soft); }
.center { text-align: center; }
.center .s-title, .center .s-lead { margin-inline: auto; }
.center .eyebrow { justify-content: center; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--display); font-weight: 600; font-size: 16px;
  padding: 15px 26px; border-radius: 999px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn svg { width: 19px; height: 19px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--blue { background: var(--blue); color: #fff; box-shadow: var(--shadow-blue); }
.btn--blue:hover { background: var(--blue-deep); }
.btn--wa { background: var(--wa); color: #04240f; }
.btn--wa:hover { background: var(--wa-deep); color: #fff; }
.btn--ghost { border: 1.5px solid var(--line); color: var(--text); background: rgba(255,255,255,0.02); }
.btn--ghost:hover { border-color: var(--blue-bright); background: rgba(47,107,255,0.08); }
.section--cream .btn--ghost { border-color: var(--cream-line); color: var(--ink); background: transparent; }
.section--cream .btn--ghost:hover { border-color: var(--blue); background: rgba(47,107,255,0.06); }
.btn--lg { padding: 18px 34px; font-size: 17px; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(249, 248, 245, 0.85); /* Cabecera clara translúcida */
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
  transition: background .3s ease;
}
.header__bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; min-height: 76px;
}
.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  font-family: var(--display); font-size: 15px; font-weight: 500;
  color: var(--text-soft); transition: color .15s ease; position: relative;
}
.nav a:hover { color: var(--text); }
.nav a.active { color: var(--text); }
.header__actions { display: flex; align-items: center; gap: 12px; }

/* Brand mark */
.brand { display: inline-flex; align-items: center; gap: 0; line-height: 1; }
.brand__mark { display: flex; flex-direction: column; align-items: center; }
.brand__edt {
  font-family: var(--serif); font-weight: 600; font-size: 30px;
  letter-spacing: 0.04em; color: var(--text); line-height: 0.9;
}
.brand__rule {
  width: 100%; height: 1px; background: currentColor; opacity: .35;
  position: relative; margin: 3px 0;
}
.brand__rule::after {
  content: "+"; position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%); font-family: var(--display);
  font-size: 13px; color: var(--blue-bright); font-weight: 400;
  background: var(--bg); padding: 0 3px;
}
.brand__sub {
  font-family: var(--display); font-size: 9.5px; font-weight: 500;
  letter-spacing: 0.42em; text-indent: 0.42em; color: var(--text-soft);
}
.header--cream-ctx { } /* placeholder for inverse if needed */

/* Hamburger */
.burger { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); align-items: center; justify-content: center; }
.burger span { display: block; width: 20px; height: 2px; background: var(--text); position: relative; transition: .25s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--text); transition: .25s; }
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
body.nav-open .burger span { background: transparent; }
body.nav-open .burger span::before { top: 0; transform: rotate(45deg); }
body.nav-open .burger span::after { top: 0; transform: rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 80% at 85% -10%, rgba(47,107,255,0.20), transparent 55%),
    radial-gradient(90% 70% at 5% 110%, rgba(47,107,255,0.08), transparent 50%),
    var(--bg);
}
.hero__grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(30px, 5vw, 70px);
  align-items: center; padding-block: clamp(54px, 7vw, 96px);
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-size: 13px; font-weight: 600;
  letter-spacing: 0.08em; padding: 8px 16px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255,255,255,0.03);
  color: var(--text-soft);
}
.hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 4px rgba(37,211,102,0.18); animation: pulse 2.2s infinite; }
@keyframes pulse { 0%,100%{ box-shadow: 0 0 0 4px rgba(37,211,102,0.18);} 50%{ box-shadow: 0 0 0 7px rgba(37,211,102,0.04);} }
.hero h1 {
  font-size: clamp(36px, 6vw, 68px); margin-top: 22px; text-wrap: balance;
}
.hero h1 .accent {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  color: var(--blue-bright); letter-spacing: 0;
}
.hero__lead { margin-top: 22px; font-size: clamp(17px, 1.6vw, 20px); color: var(--text-soft); max-width: 52ch; }
.hero__cta { margin-top: 32px; }
.hero__media { position: relative; }
.hero__panel {
  border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--shadow); aspect-ratio: 4 / 5;
}
.hero__panel img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hero__float {
  position: absolute; left: -22px; bottom: 28px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); padding: 16px 20px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 14px;
}
.hero__float .rating { font-family: var(--display); font-weight: 700; font-size: 26px; }
.hero__float .stars { color: var(--star); font-size: 14px; letter-spacing: 2px; }
.hero__float .sub { font-size: 12px; color: var(--text-soft); }

/* Trust bar */
.trust {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--surface); overflow: hidden;
}
.trust__item { padding: 22px 24px; display: flex; gap: 14px; align-items: flex-start; border-right: 1px solid var(--line-soft); }
.trust__item:last-child { border-right: none; }
.trust__ico { width: 38px; height: 38px; flex: none; border-radius: 10px; background: rgba(47,107,255,0.14); color: var(--blue-bright); display: flex; align-items: center; justify-content: center; }
.trust__ico svg { width: 20px; height: 20px; }
.trust__t { font-family: var(--display); font-weight: 600; font-size: 15px; }
.trust__d { font-size: 13px; color: var(--text-soft); margin-top: 2px; }

/* ============================================================
   SERVICES
   ============================================================ */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1080px;
  margin-inline: auto;
  gap: 18px;
  margin-top: 52px;
}
.svc {
  grid-column: span 1; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 26px; display: flex; flex-direction: column;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  position: relative; overflow: hidden;
}
.svc::after {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 2px;
  background: linear-gradient(90deg, var(--blue), transparent);
  opacity: 0; transition: opacity .2s ease;
}
.svc:hover { transform: translateY(-4px); border-color: rgba(47,107,255,0.35); box-shadow: var(--shadow); }
.svc:hover::after { opacity: 1; }
.svc__ico { width: 46px; height: 46px; border-radius: 12px; background: rgba(47,107,255,0.12); color: var(--blue-bright); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.svc__ico svg { width: 24px; height: 24px; }
.svc h3 { font-size: 20px; }
.svc p { margin-top: 10px; font-size: 14.5px; color: var(--text-soft); flex: 1; }
.svc__link { margin-top: 16px; font-family: var(--display); font-weight: 600; font-size: 14px; color: var(--blue-bright); display: inline-flex; align-items: center; gap: 7px; }
.svc__link svg { width: 15px; height: 15px; transition: transform .18s ease; }
.svc:hover .svc__link svg { transform: translateX(4px); }

/* ============================================================
   ABOUT
   ============================================================ */
.about { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(34px, 5vw, 72px); align-items: center; }
.about__media { position: relative; }
.about__media .ph { aspect-ratio: 4/3; border-radius: var(--r-lg); }
.about__img-wrap { aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.about__img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.about__badge {
  position: absolute; right: -18px; top: -18px; background: var(--blue);
  color: #fff; border-radius: var(--r); padding: 16px 20px; box-shadow: var(--shadow-blue);
  font-family: var(--display); line-height: 1;
}
.about__badge b { font-size: 34px; display: block; }
.about__badge span { font-size: 12px; opacity: .9; }
.feat-list { margin-top: 26px; display: grid; gap: 16px; }
.feat { display: flex; gap: 14px; align-items: flex-start; }
.feat__ico { width: 30px; height: 30px; flex: none; border-radius: 8px; background: rgba(47,107,255,0.12); color: var(--blue-bright); display: flex; align-items: center; justify-content: center; }
.section--cream .feat__ico { background: rgba(47,107,255,0.10); color: var(--blue-deep); }
.feat__ico svg { width: 17px; height: 17px; }
.feat h4 { font-size: 16.5px; }
.feat p { font-size: 14px; color: var(--text-soft); margin-top: 2px; }
.section--cream .feat p { color: var(--ink-soft); }

/* ============================================================
   ZONES
   ============================================================ */
.zones-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 4vw, 56px); align-items: center; }
.zone-chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.zone-chip {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 18px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); font-family: var(--display); font-weight: 500; font-size: 15px;
}
.zone-chip svg { width: 15px; height: 15px; color: var(--blue-bright); }
.zone-chip--main { background: var(--blue); border-color: var(--blue); color: #fff; }
.zone-chip--main svg { color: #fff; }
.zones-map { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 5/4; position: relative; }

/* ============================================================
   REVIEWS
   ============================================================ */
.reviews-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.gscore { display: flex; align-items: center; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 22px; }
.gscore__num { font-family: var(--display); font-weight: 700; font-size: 38px; line-height: 1; }
.gscore__stars { color: var(--star); letter-spacing: 2px; font-size: 15px; }
.gscore__sub { font-size: 12.5px; color: var(--text-soft); }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.review { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; display: flex; flex-direction: column; }
.review__stars { color: var(--star); letter-spacing: 2px; font-size: 15px; }
.review__txt { margin-top: 14px; font-size: 15px; color: var(--text); flex: 1; }
.review__who { margin-top: 20px; display: flex; align-items: center; gap: 12px; }
.review__av { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--blue-deep)); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 600; font-size: 16px; }
.review__name { font-family: var(--display); font-weight: 600; font-size: 15px; }
.review__meta { font-size: 12px; color: var(--text-soft); display: flex; align-items: center; gap: 6px; }
.gmark { width: 14px; height: 14px; }

/* ============================================================
   GALLERY (before/after)
   ============================================================ */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 48px; }
.ba {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line); aspect-ratio: 16/10; user-select: none; cursor: ew-resize;
}
.ba__layer { position: absolute; inset: 0; }
.ba__layer .ph { width: 100%; height: 100%; border-radius: 0; }
.ba__layer img { width: 100%; height: 100%; object-fit: cover; }
.ba__after { clip-path: inset(0 0 0 50%); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: #fff; box-shadow: 0 0 12px rgba(0,0,0,.5); transform: translateX(-1px); }
.ba__knob { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--ink); display: flex; align-items: center; justify-content: center; font-size: 14px; box-shadow: 0 4px 14px rgba(0,0,0,.4); }
.ba__tag { display: none; position: absolute; bottom: 14px; padding: 5px 12px; border-radius: 999px; font-family: var(--display); font-weight: 600; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; background: rgba(0,0,0,.6); color: #fff; backdrop-filter: blur(4px); }
.ba__tag--before { left: 14px; }
.ba__tag--after { right: 14px; background: var(--blue); }
.ba__caption { position: absolute; top: 14px; left: 14px; font-family: var(--display); font-weight: 600; font-size: 13px; color: #fff; background: rgba(0,0,0,.45); padding: 5px 12px; border-radius: 8px; backdrop-filter: blur(4px); }

/* ============================================================
   FAQ
   ============================================================ */
.faq { max-width: 820px; margin: 44px auto 0; display: grid; gap: 14px; }
.faq__item { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); overflow: hidden; }
.section--cream .faq__item { background: #fff; border-color: var(--cream-line); }
.faq__q { width: 100%; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 24px; font-family: var(--display); font-weight: 600; font-size: 17px; }
.faq__q .pm { width: 26px; height: 26px; flex: none; border-radius: 50%; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; transition: .25s; position: relative; }
.section--cream .faq__q .pm { border-color: var(--cream-line); }
.faq__q .pm::before, .faq__q .pm::after { content: ""; position: absolute; background: var(--blue-bright); }
.section--cream .faq__q .pm::before, .section--cream .faq__q .pm::after { background: var(--blue); }
.faq__q .pm::before { width: 11px; height: 2px; }
.faq__q .pm::after { width: 2px; height: 11px; transition: transform .25s; }
.faq__item.open .pm { background: var(--blue); border-color: var(--blue); }
.faq__item.open .pm::before, .faq__item.open .pm::after { background: #fff; }
.faq__item.open .pm::after { transform: rotate(90deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq__a-inner { padding: 0 24px 22px; color: var(--text-soft); font-size: 15.5px; }
.section--cream .faq__a-inner { color: var(--ink-soft); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 4vw, 56px); }
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label { font-family: var(--display); font-size: 13px; font-weight: 600; letter-spacing: .03em; color: var(--text-soft); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 15px; color: var(--text);
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
  padding: 13px 15px; transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(47,107,255,0.18); outline: none; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%239aa1ad' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__note { font-size: 12.5px; color: var(--text-faint); }
.form__ok { display: none; background: rgba(37,211,102,0.12); border: 1px solid rgba(37,211,102,0.4); color: #7ff0a8; border-radius: 10px; padding: 14px 16px; font-size: 14px; }
.form.sent .form__ok { display: block; }

.contact-info { display: flex; flex-direction: column; gap: 20px; }
.nap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; display: grid; gap: 18px; }
.nap__row { display: flex; gap: 14px; align-items: flex-start; }
.nap__ico { width: 40px; height: 40px; flex: none; border-radius: 10px; background: rgba(47,107,255,0.12); color: var(--blue-bright); display: flex; align-items: center; justify-content: center; }
.nap__ico svg { width: 19px; height: 19px; }
.nap__k { font-size: 12.5px; color: var(--text-soft); font-family: var(--display); letter-spacing: .04em; }
.nap__v { font-size: 16.5px; font-weight: 600; font-family: var(--display); margin-top: 2px; }
.nap__v a:hover { color: var(--blue-bright); }
.map-embed { flex: 1; min-height: 260px; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(0.2) contrast(1.05); }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(120deg, var(--blue-deep), var(--blue));
  border-radius: var(--r-xl); padding: clamp(34px, 5vw, 60px);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: center;
  position: relative; overflow: hidden;
}
.cta-banner::before { content: "+"; position: absolute; right: 4%; top: -30px; font-size: 240px; font-family: var(--display); color: rgba(255,255,255,0.08); line-height: 1; }
.cta-banner h2 { font-size: clamp(26px, 3.4vw, 40px); color: #fff; }
.cta-banner p { color: rgba(255,255,255,0.85); margin-top: 12px; font-size: 17px; }
.cta-banner .btn-row { justify-content: flex-end; }
.cta-banner .btn--blue { background: #fff; color: var(--blue-deep); box-shadow: none; }
.cta-banner .btn--blue:hover { background: #f0f3ff; }
.cta-banner .btn--ghost { border-color: rgba(255,255,255,0.5); color: #fff; }
.cta-banner .btn--ghost:hover { background: rgba(255,255,255,0.12); border-color: #fff; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: #0e1116; border-top: 1px solid rgba(255, 255, 255, 0.08); padding-block: 64px 30px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.footer__about { max-width: 34ch; }
.footer__about p { color: #9aa1ad; font-size: 14px; margin-top: 18px; } /* Color claro explícito en fondo oscuro */
.footer h4 { font-family: var(--display); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #6c7380; margin-bottom: 16px; }
.footer ul { display: grid; gap: 10px; }
.footer ul a { color: #9aa1ad; font-size: 14.5px; transition: color .15s; } /* Enlace claro explícito en fondo oscuro */
.footer ul a:hover { color: #5b8cff; } /* Azul brillante para hover en fondo oscuro */
.footer__bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.08); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; color: #6c7380; font-size: 13px; }
.footer .brand__edt { font-size: 26px; }

/* ============================================================
   FLOATING WHATSAPP + MOBILE STICKY BAR
   ============================================================ */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%; background: var(--wa);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(37,211,102,0.5); color: #fff;
  transition: transform .2s ease;
  animation: waPop .4s ease both;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; }
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: waRing 2.4s ease-out infinite; }
@keyframes waRing { 0%{ transform: scale(1); opacity: .7;} 100%{ transform: scale(1.7); opacity: 0;} }
@keyframes waPop { from{ transform: scale(0);} to{ transform: scale(1);} }

.mbar { display: none; }

/* ============================================================
   PLACEHOLDER (image slots)
   ============================================================ */
.ph {
  position: relative; display: flex; align-items: center; justify-content: center;
  background:
    repeating-linear-gradient(45deg, #1b212c 0 14px, #171c25 14px 28px);
  color: var(--text-faint); border-radius: var(--r-lg); overflow: hidden;
  width: 100%; height: 100%;
}
.ph span {
  font-family: 'Space Grotesk', monospace; font-size: 12.5px; letter-spacing: .04em;
  padding: 6px 12px; border: 1px dashed rgba(255,255,255,0.18); border-radius: 6px;
  background: rgba(10,12,16,0.5); text-align: center; max-width: 80%;
}
.ph--cream { background: repeating-linear-gradient(45deg, #e6e0d4 0 14px, #ece7dc 14px 28px); color: #8a8478; }
.ph--cream span { border-color: rgba(20,22,26,0.18); background: rgba(255,255,255,0.4); }

/* ============================================================
   PAGE HEADER (interior SEO pages)
   ============================================================ */
.phead { background: radial-gradient(110% 90% at 80% -20%, rgba(47,107,255,0.18), transparent 55%), var(--bg); padding-block: clamp(40px, 6vw, 72px) clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line-soft); }
.crumbs { font-family: var(--display); font-size: 13px; color: var(--text-faint); display: flex; gap: 8px; align-items: center; }
.crumbs a:hover { color: var(--blue-bright); }
.phead h1 { font-size: clamp(34px, 5.2vw, 60px); margin-top: 18px; text-wrap: balance; max-width: 20ch; }
.phead h1 .accent { font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--blue-bright); }
.phead p { margin-top: 18px; color: var(--text-soft); font-size: 19px; max-width: 60ch; }
.phead .btn-row { margin-top: 30px; }

/* Article / long-form SEO content */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(26px, 3.2vw, 36px); margin-top: 48px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 21px; margin-top: 32px; color: var(--text); }
.prose p { margin-top: 16px; color: var(--text-soft); font-size: 17px; }
.prose ul.ticks { margin-top: 18px; display: grid; gap: 12px; }
.prose ul.ticks li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-soft); font-size: 16px; }
.prose ul.ticks li::before { content: "+"; color: var(--blue-bright); font-family: var(--display); font-weight: 700; font-size: 18px; line-height: 1.3; flex: none; }
.prose strong { color: var(--text); font-weight: 600; }
.layout-2 { display: grid; grid-template-columns: 1fr 320px; gap: clamp(34px, 5vw, 64px); align-items: start; }
.aside-card { position: sticky; top: 100px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; display: grid; gap: 14px; }
.aside-card h3 { font-family: var(--display); font-size: 19px; }
.aside-card p { font-size: 14px; color: var(--text-soft); }
.aside-card .price { font-family: var(--display); font-weight: 700; font-size: 15px; color: var(--blue-bright); }

/* Stat strip */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 52px; }
.stat { text-align: center; padding: 26px 18px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.stat b { display: block; font-family: var(--display); font-weight: 700; font-size: clamp(30px, 4vw, 44px); color: var(--blue-bright); }
.stat span { font-size: 14px; color: var(--text-soft); margin-top: 6px; display: block; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1040px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer__about { grid-column: 1 / -1; }
}
@media (max-width: 1120px) {
  .nav { gap: 22px; }
  .header__actions .btn--ghost { display: none; }
}
@media (max-width: 880px) {
  .nav { display: none; }
  .burger { display: flex; }
  body.nav-open .nav {
    display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
    position: fixed; top: 76px; left: 0; right: 0; background: var(--bg-2);
    border-bottom: 1px solid var(--line); padding: 16px var(--gut) 24px; z-index: 49;
  }
  body.nav-open .nav a { font-size: 18px; padding: 8px 0; width: 100%; }
  .header__actions .btn-row { display: none; }
  .hero__grid { grid-template-columns: 1fr; gap: 36px; text-align: center; }
  .hero__copy { display: flex; flex-direction: column; align-items: center; }
  .hero__lead { margin-inline: auto; }
  .hero__cta { justify-content: center; width: 100%; }
  .hero__media { display: block; max-width: 480px; margin: 0 auto; width: 100%; }
  .hero__panel { aspect-ratio: 1 / 1; }
  .hero__float { left: 50%; transform: translateX(-50%); bottom: -15px; }
  .trust { grid-template-columns: 1fr 1fr; }
  .trust__item:nth-child(2) { border-right: none; }
  .trust__item:nth-child(1), .trust__item:nth-child(2) { border-bottom: 1px solid var(--line-soft); }
  .about { grid-template-columns: 1fr; }
  .about__media { order: -1; }
  .zones-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .cta-banner { grid-template-columns: 1fr; }
  .cta-banner .btn-row { justify-content: flex-start; }
  .layout-2 { grid-template-columns: 1fr; }
  .aside-card { position: static; }
  .stats { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr; }

  /* mobile sticky call/wa bar */
  .mbar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: var(--line); border-top: 1px solid var(--line);
  }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 9px; padding: 15px; font-family: var(--display); font-weight: 600; font-size: 15px; background: var(--bg-2); color: var(--text); }
  .mbar a svg { width: 19px; height: 19px; }
  .mbar a.call { color: var(--blue-bright); }
  .mbar a.wa { color: var(--wa); }
  .wa-float { bottom: 78px; right: 16px; width: 54px; height: 54px; }
  .wa-float svg { width: 28px; height: 28px; }
  body { padding-bottom: 54px; }
  .footer__bottom { padding-bottom: 10px; }
}
@media (max-width: 540px) {
  .svc-grid, .reviews, .stats { grid-template-columns: 1fr; }
  .trust { grid-template-columns: 1fr; }
  .trust__item { border-right: none !important; border-bottom: 1px solid var(--line-soft); }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

/* ---- Reveal on scroll ---- */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-reveal="2"] { transition-delay: .08s; }
[data-reveal][data-reveal="3"] { transition-delay: .16s; }
[data-reveal][data-reveal="4"] { transition-delay: .24s; }

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}
