/* PLOMERO YA — sitio web. Negro profundo, azul eléctrico y blanco. */

@font-face { font-family: "Barlow"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/barlow-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/barlow-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/barlow-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/barlow-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 800; font-style: normal; font-display: swap; src: url("fonts/barlow-condensed-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-style: italic; font-display: swap; src: url("fonts/barlow-condensed-latin-700-italic.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 800; font-style: italic; font-display: swap; src: url("fonts/barlow-condensed-latin-800-italic.woff2") format("woff2"); }

:root {
  --black: #07090f;
  --black-2: #0e121c;
  --black-3: #161c2a;
  --blue: #1668ff;
  --blue-2: #1f9bff;
  --blue-deep: #0b46c4;
  --white: #ffffff;
  --paper: #f4f6fa;
  --ink: #0b0f18;
  --ink-2: #3c4555;
  --muted: #6a7486;
  --line: #e1e6ee;
  --line-dark: #222a3a;
  --wa: #1faa53;
  --radius: 14px;
  --wrap: 1160px;
  --head-h: 68px;
  --font: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue-deep); }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.02; margin: 0; letter-spacing: .005em; }
h1 { font-weight: 800; font-style: italic; text-transform: uppercase; font-size: clamp(2.5rem, 7vw, 4.6rem); }
h2 { font-weight: 800; font-style: italic; text-transform: uppercase; font-size: clamp(2rem, 4.6vw, 3.1rem); }
h3 { font-weight: 700; font-size: 1.45rem; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--blue-2); outline-offset: 2px; }
.blue { color: var(--blue); }
.on-dark .blue { color: var(--blue-2); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px;
  border-radius: 10px; border: 2px solid transparent;
  font: 700 1.02rem/1 var(--font); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn-wa { background: var(--wa); color: var(--white); }
.btn-wa:hover { background: #18954a; }
.btn-blue { background: var(--blue); color: var(--white); }
.btn-blue:hover { background: var(--blue-deep); }
.btn-ghost { border-color: rgba(255,255,255,.35); color: var(--white); background: transparent; }
.btn-ghost:hover { border-color: var(--white); }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: var(--white); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Encabezado ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 9, 15, .96);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line-dark);
}
.head-in { display: flex; align-items: center; gap: 18px; height: var(--head-h); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand .gota { height: 40px; width: auto; }
.brand .texto { height: 34px; width: auto; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a {
  color: #cfd6e4; text-decoration: none; font-weight: 600; font-size: .95rem;
  padding: 8px 10px; border-radius: 8px;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--white); background: var(--black-3); }
.head-cta { min-height: 42px; padding: 0 16px; font-size: .95rem; }
.menu-btn {
  display: none; margin-left: auto;
  width: 46px; height: 46px; border-radius: 10px;
  border: 1px solid var(--line-dark); background: var(--black-2); color: var(--white);
  cursor: pointer; align-items: center; justify-content: center;
}
.menu-btn svg { width: 24px; height: 24px; }

@media (max-width: 1020px) {
  .nav, .head-cta { display: none; }
  .menu-btn { display: inline-flex; }
  .site-head.open .nav {
    display: flex; flex-direction: column; align-items: stretch; gap: 2px;
    position: absolute; left: 0; right: 0; top: var(--head-h);
    background: var(--black); border-bottom: 1px solid var(--line-dark);
    padding: 10px 16px 18px; max-height: calc(100vh - var(--head-h)); overflow: auto;
  }
  .site-head.open .nav a { padding: 14px 12px; font-size: 1.05rem; }
}
@media (max-width: 420px) {
  .brand .texto { height: 28px; }
  .brand .gota { height: 34px; }
}

/* ---------- Portada ---------- */
.on-dark { background: var(--black); color: #dfe5f0; }
.on-dark h1, .on-dark h2, .on-dark h3 { color: var(--white); }
.hero { position: relative; overflow: hidden; }
.hero::before {
  /* Cuadrícula tipo plano técnico */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(31,155,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31,155,255,.07) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at 75% 40%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 75% 40%, #000 0%, transparent 70%);
}
.hero::after {
  content: ""; position: absolute; width: 640px; height: 640px; right: -160px; top: -120px;
  background: radial-gradient(circle, rgba(22,104,255,.28), transparent 65%); pointer-events: none;
}
.hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.25fr .75fr; gap: 32px; align-items: center; padding: 48px 20px 52px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: 700 .82rem/1 var(--font); letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue-2); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.hero .lead { font-size: 1.15rem; max-width: 44ch; margin: 16px 0 22px; color: #c7cfdd; }
.hero-mark { justify-self: center; position: relative; }
.hero-mark img { width: min(300px, 60vw); height: auto; filter: drop-shadow(0 30px 60px rgba(22,104,255,.35)); }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 20px; padding: 0; list-style: none; font-weight: 600; color: #aeb8c9; font-size: .95rem; }
.hero-facts li { display: flex; align-items: center; gap: 8px; }
.hero-facts svg { width: 18px; height: 18px; color: var(--blue-2); }

.page-hero .hero-in { grid-template-columns: 1fr; padding: 32px 20px 40px; }
.page-hero h1 { font-size: clamp(2.3rem, 6vw, 4rem); max-width: 18ch; }
.page-hero .lead { max-width: 58ch; }
.crumbs { font-size: .88rem; margin-bottom: 16px; color: #8d98ad; }
.crumbs a { color: #aeb8c9; text-decoration: none; }
.crumbs a:hover { color: var(--white); }
.crumbs span { margin: 0 6px; }

/* ---------- Secciones ---------- */
.section { padding: 52px 0; }
.section.alt { background: var(--paper); }
.sec-head { max-width: 760px; margin-bottom: 24px; }
.sec-head .eyebrow { color: var(--blue); }
.on-dark .sec-head .eyebrow { color: var(--blue-2); }
.sec-head p { font-size: 1.08rem; color: var(--ink-2); margin: 10px 0 0; }
.on-dark .sec-head p { color: #b9c3d4; }

.grid { display: grid; gap: 18px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; position: relative;
}
.section.alt .card { border-color: #dde3ec; }
.card p { color: var(--ink-2); margin: 10px 0 0; }
.card .ico {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--black); color: var(--blue-2); margin-bottom: 12px;
}
.card .ico svg { width: 28px; height: 28px; }
a.card { text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease; }
a.card:hover { border-color: var(--blue); transform: translateY(-2px); box-shadow: 0 14px 30px -18px rgba(11,70,196,.45); }
.card .more { margin-top: auto; padding-top: 12px; font-weight: 700; color: var(--blue-deep); display: inline-flex; gap: 6px; align-items: center; }
.card .more svg { width: 18px; height: 18px; }
.card ul.mini { margin: 14px 0 0; padding: 0; list-style: none; color: var(--ink-2); font-size: .97rem; }
.card ul.mini li { padding: 4px 0 4px 18px; position: relative; }
.card ul.mini li::before { content: ""; position: absolute; left: 0; top: 13px; width: 7px; height: 7px; border-radius: 2px; background: var(--blue); }

.on-dark .card { background: var(--black-2); border-color: var(--line-dark); }
.on-dark .card p { color: #b3bdcf; }
.on-dark .card .ico { background: var(--blue); color: var(--white); }

/* Tarea -> resultado */
.pairs { display: grid; gap: 10px; }
.pair { display: grid; grid-template-columns: 1fr auto 1.3fr; align-items: center; gap: 18px; padding: 14px 22px; border-radius: var(--radius); background: var(--black-2); border: 1px solid var(--line-dark); }
.pair .task { color: #93a0b6; font-weight: 600; }
.pair .arrow { color: var(--blue-2); }
.pair .arrow svg { width: 26px; height: 26px; }
.pair .result { color: var(--white); font: 700 1.3rem/1.15 var(--font-display); }

/* Pasos */
.steps { counter-reset: paso; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: paso; padding: 20px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.steps li::before {
  content: "0" counter(paso);
  display: block; font: 800 italic 2.2rem/1 var(--font-display); color: var(--blue); margin-bottom: 8px;
}
.steps h3 { font-size: 1.3rem; }
.steps p { margin: 8px 0 0; color: var(--ink-2); font-size: .98rem; }

/* Lista de servicios detallada */
.svc-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.checks { list-style: none; margin: 14px 0 0; padding: 0; }
.checks li { position: relative; padding: 9px 0 9px 32px; border-top: 1px solid var(--line); }
.checks li:first-child { border-top: 0; }
.checks li svg { position: absolute; left: 0; top: 11px; width: 20px; height: 20px; color: var(--blue); }
.checks strong { display: block; }
.checks span { color: var(--ink-2); font-size: .96rem; }

/* Señales / problemas */
.signals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; list-style: none; margin: 0; padding: 0; }
.signals li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; background: var(--black-2); border: 1px solid var(--line-dark); color: #dbe2ee; }
.signals svg { width: 22px; height: 22px; flex: none; color: var(--blue-2); margin-top: 1px; }

/* Aviso */
.notice { display: flex; gap: 14px; padding: 14px 18px; border-radius: 12px; background: #eef4ff; border: 1px solid #cddcff; color: #15306b; margin-top: 16px; }
.notice svg { width: 24px; height: 24px; flex: none; color: var(--blue-deep); }
.notice p { margin: 0; }
.notice.warn { background: #fff6e8; border-color: #f4d7a6; color: #5b3b07; }
.notice.warn svg { color: #b56a00; }

/* Segmentos */
.seg { display: flex; gap: 16px; align-items: flex-start; }
.seg .ico { margin: 0; flex: none; }

/* Preguntas frecuentes */
.faq { max-width: 860px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 15px 40px 15px 0; position: relative;
  font: 700 1.15rem/1.3 var(--font);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 20px; width: 12px; height: 12px;
  border-right: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--blue); transform: rotate(45deg);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); top: 25px; }
.faq details p { color: var(--ink-2); padding-right: 40px; }

/* Zonas */
.zones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.zone { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line-dark); background: var(--black-2); }
.zone > svg { width: 30px; height: 30px; color: var(--blue-2); margin-bottom: 14px; }
.zone h3 { font: 800 italic 1.9rem/1 var(--font-display); text-transform: uppercase; }
.zone p { color: #b3bdcf; margin: 10px 0 0; }

/* Llamado final */
.cta { position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; width: 520px; height: 520px; left: -160px; bottom: -280px; background: radial-gradient(circle, rgba(22,104,255,.35), transparent 65%); }
.cta-in { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; padding: 40px 20px; }
.cta h2 { max-width: 16ch; }
.cta p { color: #b9c3d4; margin: 12px 0 0; font-size: 1.1rem; max-width: 46ch; }

/* Texto corrido */
.prose { max-width: 760px; }
.prose p, .prose li { color: var(--ink-2); font-size: 1.08rem; }
.prose h2 { margin: 0 0 18px; }
.prose h3 { margin: 30px 0 10px; }
.two-col { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }

/* Datos de contacto */
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.facts li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 12px; background: var(--white); border: 1px solid var(--line); }
.facts svg { width: 24px; height: 24px; flex: none; color: var(--blue); margin-top: 2px; }
.facts small { display: block; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: .74rem; }
.facts a { color: var(--ink); font-weight: 700; text-decoration: none; }
.facts a:hover { color: var(--blue-deep); }

/* Formulario que arma el mensaje de WhatsApp */
.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
.form input, .form select, .form textarea {
  font: 500 1rem/1.4 var(--font); color: var(--ink);
  border: 1.5px solid #cdd5e1; border-radius: 10px; padding: 12px 14px; background: var(--white); width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(22,104,255,.18); }
.form textarea { min-height: 120px; resize: vertical; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .hint { font-size: .88rem; color: var(--muted); margin: 0; }

/* ---------- Pie ---------- */
.site-foot { background: var(--black); color: #a7b1c3; border-top: 1px solid var(--line-dark); padding: 40px 0 22px; font-size: .96rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-foot h3 { font: 700 .82rem/1 var(--font); text-transform: uppercase; letter-spacing: .14em; color: var(--white); margin-bottom: 14px; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-foot a { color: #cfd6e4; text-decoration: none; }
.site-foot a:hover { color: var(--white); }
.foot-brand img { height: 36px; width: auto; margin-bottom: 14px; }
.foot-bottom { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; font-size: .86rem; color: #7d889c; }

/* Barra fija de contacto en el celular */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr auto; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(7, 9, 15, .97); border-top: 1px solid var(--line-dark);
  }
  .mobile-bar .btn { min-height: 54px; }
  .mobile-bar .btn-call { background: var(--black-3); color: var(--white); padding: 0 18px; }
}

/* ---------- Adaptación a pantallas ---------- */
@media (max-width: 980px) {
  .g4, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g3, .zones { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 760px) {
  body { font-size: 16.5px; }
  .section { padding: 36px 0; }
  .hero-in { grid-template-columns: 1fr; padding: 28px 20px 32px; gap: 16px; }
  .hero-mark { display: none; }
  .hero .lead { font-size: 1.1rem; }
  .btns .btn { flex: 1 1 100%; }
  .g2, .g3, .g4, .steps, .zones, .svc-groups, .signals { grid-template-columns: 1fr; }
  .pair { grid-template-columns: 1fr; gap: 6px; padding: 18px; }
  .pair .arrow { transform: rotate(90deg); width: 26px; }
  .form .row { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .cta-in { padding: 32px 20px; }
  .card { padding: 18px; }
  a.card ul.mini { display: none; }
  a.card { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; }
  a.card .ico { margin: 0; grid-row: span 1; }
  a.card h3 { font-size: 1.25rem; }
  a.card p, a.card .more { grid-column: 1 / -1; }
  a.card p { margin-top: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Fotos de trabajos (filas que pasan solas) ---------- */
.trabajos .carrusel + .carrusel { margin-top: 28px; }
.carrusel { position: relative; }
.row-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.row-head h3 { font: 800 italic 1.7rem/1 var(--font-display); text-transform: uppercase; }
.row-head a { font-weight: 700; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; white-space: nowrap; }
.row-head a svg { width: 18px; height: 18px; }
.on-dark .row-head a { color: var(--blue-2); }
.track {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-padding-left: 0; padding-bottom: 8px; scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 280px; margin: 0; scroll-snap-align: start; }
.slide .ver { display: block; width: 100%; padding: 0; border: 0; background: var(--black-3); border-radius: var(--radius); overflow: hidden; cursor: zoom-in; }
.slide img { width: 100%; height: auto; max-width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .4s ease; }
.slide .ver:hover img { transform: scale(1.03); }
.slide figcaption { padding: 8px 2px 0; }
.slide figcaption strong { display: block; font-size: 1.02rem; }
.slide figcaption span { display: block; color: var(--muted); font-size: .92rem; }
.on-dark .slide figcaption span { color: #9aa6ba; }
.nav-btns { display: flex; gap: 10px; justify-content: flex-end; margin-top: 6px; }
.nav-btns button {
  width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line);
  background: var(--white); color: var(--ink); cursor: pointer; display: grid; place-items: center;
}
.nav-btns button:hover { border-color: var(--blue); color: var(--blue); }
.nav-btns svg { width: 20px; height: 20px; }
.nav-btns .prev svg { transform: rotate(180deg); }

.visor { border: 0; padding: 0; background: transparent; max-width: min(94vw, 900px); max-height: 94vh; }
.visor::backdrop { background: rgba(4, 6, 10, .9); }
.visor img { max-width: 100%; max-height: 82vh; border-radius: 12px; margin: 0 auto; }
.visor p { color: #e6ebf3; text-align: center; margin: 12px 0 0; font-weight: 600; }
.visor .cerrar {
  position: fixed; top: 14px; right: 14px; width: 48px; height: 48px; border-radius: 50%;
  border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 2rem; line-height: 1; cursor: pointer;
}
@media (max-width: 760px) {
  .slide { flex-basis: 70%; }
  .track { margin: 0 -20px; padding: 0 20px 8px; scroll-padding-left: 20px; }
  .nav-btns { display: none; }
}
.carrusel.entra .nav-btns { display: none; }
.foto-nosotros { margin: 0 0 18px; }
.foto-nosotros img { width: 100%; height: auto; border-radius: var(--radius); }
.foto-nosotros figcaption { color: var(--muted); font-size: .92rem; margin-top: 8px; }

/* ---------- Movimiento ---------- */
@keyframes subir { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes flotar { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes brillo { 0%, 100% { opacity: .55; transform: scale(1); } 50% { opacity: .9; transform: scale(1.08); } }
@keyframes latido { 0% { box-shadow: 0 0 0 0 rgba(31,170,83,.55); } 70% { box-shadow: 0 0 0 14px rgba(31,170,83,0); } 100% { box-shadow: 0 0 0 0 rgba(31,170,83,0); } }

@media (prefers-reduced-motion: no-preference) {
  /* Entrada de la portada */
  .hero-in > div:first-child > * { animation: subir .7s cubic-bezier(.2,.7,.2,1) both; }
  .hero-in > div:first-child > :nth-child(2) { animation-delay: .08s; }
  .hero-in > div:first-child > :nth-child(3) { animation-delay: .16s; }
  .hero-in > div:first-child > :nth-child(4) { animation-delay: .24s; }
  .hero-in > div:first-child > :nth-child(5) { animation-delay: .32s; }
  .hero-in > div:first-child > :nth-child(6) { animation-delay: .4s; }
  .hero-mark img { animation: flotar 6s ease-in-out infinite; }
  .hero::after { animation: brillo 7s ease-in-out infinite; }

  /* Botón de WhatsApp que "late" para llamar la atención */
  .hero .btn-wa, .mobile-bar .btn-wa { animation: latido 2.6s ease-out 1.2s infinite; }

  /* Aparición suave al bajar por la página */
  .anim .revelar { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); transition-delay: var(--retraso, 0s); }
  .anim .revelar.visto { opacity: 1; transform: none; }

  .btn-wa svg { transition: transform .2s ease; }
  .btn-wa:hover svg { transform: rotate(-12deg) scale(1.1); }
  .card .ico { transition: transform .25s ease, background-color .25s ease; }
  a.card:hover .ico { transform: rotate(-6deg) scale(1.06); }
}

/* ---------- Accesos directos ---------- */
.accesos { background: var(--black); padding-block: 4px 36px; }
.accesos-tit { color: #8d98ad; font: 700 .78rem/1 var(--font); letter-spacing: .16em; text-transform: uppercase; margin: 0 0 14px; }
.accesos-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.accesos-grid a {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 10px;
  min-height: 190px; padding: 16px; border-radius: 14px; text-decoration: none; color: var(--white);
  border: 1px solid rgba(255,255,255,.08); background: var(--black-2);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.accesos-grid a::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: var(--foto) center / cover no-repeat; transform: scale(1.02);
  transition: transform .5s ease;
}
.accesos-grid a::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(7,9,15,.15) 0%, rgba(7,9,15,.55) 45%, rgba(7,9,15,.95) 100%);
}
.accesos-grid a:hover { transform: translateY(-3px); border-color: var(--blue-2); box-shadow: 0 18px 34px -18px rgba(22,104,255,.8); }
.accesos-grid a:hover::before { transform: scale(1.08); }
.ac-ico { position: absolute; top: 14px; left: 14px; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--blue); }
.ac-ico svg { width: 20px; height: 20px; }
.ac-txt { display: grid; gap: 4px; padding-right: 30px; }
.ac-txt strong { font: 800 italic 1.3rem/1.02 var(--font-display); text-transform: uppercase; letter-spacing: .01em; }
.ac-txt small { font-size: .84rem; line-height: 1.3; color: #c3cbda; }
.ac-flecha { position: absolute; right: 14px; bottom: 16px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid rgba(255,255,255,.35); transition: background-color .2s ease, border-color .2s ease; }
.ac-flecha svg { width: 15px; height: 15px; }
.accesos-grid a:hover .ac-flecha { background: var(--blue); border-color: var(--blue); }
@media (max-width: 980px) { .accesos-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .accesos { padding-block: 0 26px; }
  .accesos-grid { grid-template-columns: 1fr; gap: 8px; }
  .accesos-grid a { min-height: 0; flex-direction: row; align-items: center; justify-content: flex-start; gap: 14px; padding: 12px 14px; }
  .accesos-grid a::after { background: linear-gradient(90deg, rgba(7,9,15,.96) 0%, rgba(7,9,15,.88) 55%, rgba(7,9,15,.55) 100%); }
  .ac-ico { position: static; flex: none; width: 42px; height: 42px; }
  .ac-txt { padding-right: 36px; }
  .ac-txt strong { font-size: 1.2rem; }
  .ac-flecha { bottom: auto; top: 50%; transform: translateY(-50%); }
}

/* Dolores -> lo que resolvemos */
.ir-solucion {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 22px;
  padding: 14px 20px; border-radius: 10px; background: var(--blue); color: var(--white);
  font-weight: 700; text-decoration: none;
}
.ir-solucion svg { width: 20px; height: 20px; transform: rotate(90deg); }
.ir-solucion:hover { background: var(--blue-deep); }
.track.en-movimiento { scroll-snap-type: none; }
@media (max-width: 760px) { .solo-compu { display: none !important; } }
/* Logo grande también en el celular */
@media (max-width: 760px) {
  .hero-mark { display: block; position: absolute; right: -70px; top: 50%; transform: translateY(-50%); z-index: -1; pointer-events: none; }
  .hero-mark img { width: 300px; opacity: .1; filter: none; animation: none; }
  .hero-in { isolation: isolate; }
}
.page-hero + .dolores { padding-top: 4px; }

/* ---------- Ajustes de terminación ---------- */
.accesos-todos { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; color: var(--blue-2); font-weight: 700; text-decoration: none; }
.accesos-todos svg { width: 18px; height: 18px; transition: transform .2s ease; }
.accesos-todos:hover svg { transform: translateX(3px); }

/* Para quién trabajamos: lista prolija con línea divisoria, sin cajas */
.segs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; }
.seg { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-top: 1px solid var(--line); }
.seg-ico { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #e8f0ff; color: var(--blue); }
.seg-ico svg { width: 24px; height: 24px; }
.seg h3 { font-size: 1.25rem; }
.seg p { margin: 4px 0 0; color: var(--ink-2); font-size: .97rem; }
@media (max-width: 980px) { .segs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .segs { grid-template-columns: 1fr; } .seg { padding: 14px 0; } }

/* Tarjetas claras: sombra suave en lugar de borde, más terminadas */
.card, .steps li, .facts li, .form { border-color: transparent; box-shadow: 0 1px 2px rgba(11,15,24,.05), 0 8px 24px -12px rgba(11,15,24,.18); }
.on-dark .card { box-shadow: none; border-color: var(--line-dark); }
.card .ico { background: #e8f0ff; color: var(--blue); }
.on-dark .card .ico { background: var(--blue); color: var(--white); }
.steps li { border-top: 3px solid var(--blue); }
@media (max-width: 760px) {
  .steps { gap: 10px; }
  .steps li { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; padding: 16px; }
  .steps li::before { grid-row: span 2; margin: 0; font-size: 2rem; }
  .steps li p { margin-top: 4px; }
}

/* ---------- Marca de agua en secciones claras ---------- */
.section:not(.on-dark) { position: relative; overflow: hidden; isolation: isolate; }
.section:not(.on-dark)::before {
  /* cuadrícula de plano técnico, apenas visible */
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(rgba(22,104,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22,104,255,.06) 1px, transparent 1px);
  background-size: 36px 36px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 100% 0%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 70% at 100% 0%, #000 0%, transparent 75%);
}
.section:not(.on-dark)::after {
  /* gota de PLOMERO YA como marca de agua */
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: 420px; height: 586px; right: -110px; top: 40px;
  background: url("img/gota-480.png") center / contain no-repeat;
  opacity: .05; transform: rotate(-8deg);
}
.section.alt:not(.on-dark)::before {
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 0% 100%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 70% at 0% 100%, #000 0%, transparent 75%);
}
.section.alt:not(.on-dark)::after { right: auto; left: -130px; top: auto; bottom: -60px; transform: rotate(10deg); }
@media (max-width: 760px) {
  .section:not(.on-dark)::after { width: 260px; height: 362px; right: -90px; top: 20px; opacity: .08; }
  .section.alt:not(.on-dark)::after { left: -100px; bottom: -40px; }
}
