/* ==========================================================================
   VIBRATOR S.A. — web2
   ========================================================================== */

:root {
  --brand: #1ab05f;
  --brand-600: #15964f;
  --brand-ink: #0c7a3f;          /* verde para texto sobre fondo claro (contraste AA) */
  --brand-soft: #e7f7ee;
  --ink: #0a110d;                /* fondos oscuros */
  --ink-2: #111a15;
  --ink-3: #1a2620;
  --text: #17201b;
  --muted: #5a665f;
  --muted-dark: #a9b6ae;         /* texto secundario sobre oscuro */
  --bg: #ffffff;
  --surface: #f4f7f5;
  --line: #e2e8e4;
  --line-dark: rgba(255, 255, 255, .1);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(10, 17, 13, .04), 0 8px 24px rgba(10, 17, 13, .06);
  --shadow-lg: 0 2px 4px rgba(10, 17, 13, .04), 0 20px 48px rgba(10, 17, 13, .12);
  --header-h: 72px;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -.02em; font-weight: 800; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

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

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .container { padding: 0 16px; } }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .75rem 1.4rem;
  font: 700 .975rem/1 var(--font);
  border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--brand); color: #04130a; }
.btn-primary:hover { background: #22c46c; box-shadow: 0 8px 24px rgba(26, 176, 95, .35); transform: translateY(-1px); }
.btn-ghost { border-color: rgba(255, 255, 255, .28); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); transform: translateY(-1px); }
.btn-outline { border-color: var(--line); color: var(--text); background: #fff; }
.btn-outline:hover { border-color: var(--brand); color: var(--brand-ink); }
.btn-sm { min-height: 40px; padding: .55rem 1.1rem; font-size: .9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(10, 17, 13, .88);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--line-dark);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 1.5rem; }
.brand img { height: 30px; width: auto; }
.nav-menu { display: flex; align-items: center; gap: .35rem; }
.nav-menu a:not(.btn) {
  position: relative; padding: .5rem .85rem; border-radius: 999px;
  color: rgba(255, 255, 255, .78); font-weight: 600; font-size: .95rem; transition: color .2s, background .2s;
}
.nav-menu a:not(.btn):hover { color: #fff; background: rgba(255, 255, 255, .06); }
.nav-menu a.is-active { color: #fff; }
.nav-menu a.is-active::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; width: 5px; height: 5px; margin-left: -2.5px;
  border-radius: 50%; background: var(--brand);
}
.nav-menu .btn { margin-left: .75rem; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; border-radius: 12px;
  background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .i-close { display: none; }
.site-header.is-open .nav-toggle .i-menu { display: none; }
.site-header.is-open .nav-toggle .i-close { display: block; }

@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .nav-menu {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: .25rem;
    padding: 1rem 16px 1.5rem; background: rgba(10, 17, 13, .97);
    border-bottom: 1px solid var(--line-dark);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
  }
  .site-header.is-open .nav-menu { transform: none; opacity: 1; visibility: visible; }
  .nav-menu a:not(.btn) { padding: .9rem 1rem; font-size: 1.05rem; }
  .nav-menu a.is-active::after { left: auto; right: 1rem; top: 50%; margin: -2.5px 0 0; }
  .nav-menu .btn { margin: .5rem 0 0; }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff; background: var(--ink);
  padding: calc(var(--header-h) + 72px) 0 150px;
}
.hero::before,
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 70% at 85% 10%, rgba(26, 176, 95, .22), transparent 60%),
    radial-gradient(40% 50% at 0% 100%, rgba(26, 176, 95, .10), transparent 70%);
}
.hero::after,
.page-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-ink);
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; border-radius: 2px; }
.hero .eyebrow,
.page-hero .eyebrow,
.section-dark .eyebrow { color: var(--brand); }
.hero h1 { margin: 1.1rem 0 1.25rem; font-size: clamp(2.4rem, 5.2vw, 4.1rem); letter-spacing: -.035em; }
.hl { color: var(--brand); }
.hero .lead { max-width: 34rem; font-size: 1.2rem; color: var(--muted-dark); margin-bottom: 2rem; }
.hero-media { position: relative; }
.hero-media img {
  width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; object-position: 78% 50%; border-radius: 24px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5); border: 1px solid var(--line-dark);
}
.hero-badge {
  position: absolute; left: -28px; bottom: 28px; display: flex; align-items: center; gap: .8rem;
  padding: .9rem 1.1rem; border-radius: 14px; background: rgba(17, 26, 21, .9);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid var(--line-dark); box-shadow: 0 16px 40px rgba(0, 0, 0, .4);
}
.hero-badge .ico { width: 40px; height: 40px; flex: none; border-radius: 10px; }
.hero-badge strong { display: block; font-size: .95rem; }
.hero-badge span { font-size: .82rem; color: var(--muted-dark); }

.wave { position: absolute; left: 0; right: 0; bottom: 0; height: 120px; z-index: 0; overflow: hidden; pointer-events: none; }
.wave svg { width: 200%; height: 100%; animation: wave-scroll 18s linear infinite; }
.wave path { fill: none; stroke: var(--brand); stroke-width: 1.5; opacity: .45; }
.wave path + path { opacity: .15; stroke-width: 1; }
@keyframes wave-scroll { to { transform: translateX(-50%); } }

@media (max-width: 960px) {
  .hero { padding-bottom: 130px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-media { max-width: 560px; }
  .hero-badge { left: 16px; bottom: 16px; }
}

/* ---------- Stats ---------- */
.stats { position: relative; z-index: 2; margin-top: -72px; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
}
.stat { padding: 28px 28px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat strong { display: block; font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 800; letter-spacing: -.03em; color: var(--text); }
.stat strong em { font-style: normal; color: var(--brand-ink); }
.stat span { font-size: .92rem; color: var(--muted); }
@media (max-width: 860px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 420px) { .stat { padding: 20px 18px; } }

/* ---------- Page hero (páginas internas) ---------- */
.page-hero {
  position: relative; overflow: hidden; color: #fff; background: var(--ink);
  padding: calc(var(--header-h) + 64px) 0 88px;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { margin: 1rem 0 1rem; font-size: clamp(2.1rem, 4.4vw, 3.4rem); letter-spacing: -.03em; max-width: 22ch; }
.page-hero .lead { max-width: 40rem; font-size: 1.15rem; color: var(--muted-dark); }
.page-hero .wave { height: 80px; }
.page-hero .wave path { opacity: .3; }
.crumbs { display: flex; flex-wrap: wrap; gap: .4rem; font-size: .88rem; color: var(--muted-dark); margin-bottom: 1.25rem; }
.crumbs a:hover { color: #fff; }
.crumbs span[aria-hidden] { opacity: .5; }

/* ---------- Secciones ---------- */
.section { padding: 104px 0; }
.section-sm { padding: 72px 0; }
.section-alt { background: var(--surface); }
.section-dark { background: var(--ink); color: #fff; }
.section-head { max-width: 44rem; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { margin-top: .9rem; font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.section-head p { margin-top: 1rem; color: var(--muted); font-size: 1.1rem; }
.section-dark .section-head p { color: var(--muted-dark); }
@media (max-width: 700px) { .section { padding: 72px 0; } .section-head { margin-bottom: 36px; } }

/* ---------- Tarjetas ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: transform .25s, box-shadow .25s, border-color .25s;
}
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(26, 176, 95, .5); }
.card h3 { font-size: 1.2rem; margin: 1.1rem 0 .5rem; }
.card p { color: var(--muted); font-size: .98rem; }
.card .more {
  margin-top: auto; padding-top: 1.25rem; display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 700; font-size: .92rem; color: var(--brand-ink);
}
.card .more svg { width: 16px; height: 16px; transition: transform .2s; }
a.card:hover .more svg { transform: translateX(4px); }

.ico {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 52px; height: 52px; border-radius: 14px; background: var(--brand-soft); color: var(--brand-ink);
}
.ico svg { width: 24px; height: 24px; }
.section-dark .ico,
.hero .ico { background: rgba(26, 176, 95, .14); color: var(--brand); }

/* Tarjeta con imagen */
.media-card { padding: 0; overflow: hidden; }
.media-card .thumb { aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface); }
.media-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.media-card .thumb.contain img { object-fit: contain; padding: 12px; }
a.media-card:hover .thumb img { transform: scale(1.05); }
.media-card .body { display: flex; flex-direction: column; flex: 1; padding: 24px 24px 26px; }
.media-card h3 { margin-top: 0; }
.tag {
  display: inline-block; align-self: flex-start; margin-bottom: .75rem; padding: .3rem .7rem; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand-ink); font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}

/* Etiqueta "Nuevo" */
.tag-new { position: relative; background: var(--brand); color: #04130a; padding-left: 1.5rem; }
.tag-new::before {
  content: ""; position: absolute; left: .65rem; top: 50%; width: 6px; height: 6px; margin-top: -3px;
  border-radius: 50%; background: #04130a; animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: .25; } }
.new-dot {
  display: inline-block; margin-left: .35rem; padding: .05rem .45rem; border-radius: 999px;
  background: var(--brand); color: #04130a; font-size: .68rem; font-weight: 800; text-transform: uppercase; vertical-align: 1px;
}
.note { margin-top: .9rem; font-size: .8rem; color: var(--muted); }

/* ---------- Bloque de lanzamiento / software ---------- */
.launch {
  position: relative; overflow: hidden; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center;
  padding: 56px 64px; border-radius: 28px; color: #fff;
  background:
    radial-gradient(70% 90% at 90% 20%, rgba(26, 176, 95, .35), transparent 60%),
    linear-gradient(135deg, var(--ink-2), var(--ink));
  border: 1px solid rgba(26, 176, 95, .3);
}
.launch h2 { margin: 1rem 0 1rem; font-size: clamp(1.8rem, 3.4vw, 2.7rem); letter-spacing: -.03em; }
.launch p { color: var(--muted-dark); font-size: 1.1rem; max-width: 34rem; margin-bottom: 2rem; }
.launch-media { display: flex; justify-content: center; }
.launch-media img { max-height: 400px; width: auto; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .55)); }
.launch-light { color: var(--text); background: linear-gradient(135deg, #f7faf8, #eaf3ee); border-color: var(--line); }
.launch-light p { color: var(--muted); }
.launch-light .launch-media img { max-height: none; width: 100%; filter: drop-shadow(0 24px 40px rgba(10, 17, 13, .16)); }
@media (max-width: 900px) {
  .launch { grid-template-columns: 1fr; padding: 40px 24px; }
  .launch-media img { max-height: 320px; }
}

.product-media.product-media-dark { background: radial-gradient(70% 70% at 50% 30%, rgba(26, 176, 95, .25), transparent 70%), var(--ink); border-color: var(--ink-3); }
.product-media.product-media-dark img { mix-blend-mode: normal; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .5)); }
.app-shot { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-lg); }
.app-shot img { width: 100%; }
.launch-light .launch-media .app-shot img { filter: none; }
.shots { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 28px; }
.shots figure { margin: 0; }
.shots figcaption { margin-top: 1rem; color: var(--muted); font-size: .96rem; }
.shots figcaption b { display: block; color: var(--text); font-size: 1.05rem; margin-bottom: .2rem; }
@media (max-width: 800px) { .shots { grid-template-columns: 1fr; } }
.spec-list a,
.callout a { color: var(--brand-ink); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Carrusel ---------- */
.product-media.product-media-car { display: block; padding: 0; min-height: 0; overflow: hidden; background: #fff; }
.carousel { position: relative; }
.slides { position: relative; aspect-ratio: 800 / 680; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; }
.slide.is-active { opacity: 1; visibility: visible; }
.slide img { width: 100%; height: 100%; object-fit: contain; }
.car-btn {
  position: absolute; top: 50%; width: 44px; height: 44px; margin-top: -22px; border: 1px solid var(--line); border-radius: 50%;
  background: rgba(255, 255, 255, .92); color: var(--text); cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow); transition: background .2s, color .2s, opacity .2s; opacity: .85;
}
.car-btn:hover { background: var(--brand); color: #04130a; opacity: 1; }
.car-btn svg { width: 18px; height: 18px; }
.car-btn.prev { left: 14px; }
.car-btn.prev svg { transform: rotate(180deg); }
.car-btn.next { right: 14px; }
.dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 8px; }
.dot { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 999px; background: #c9d3cd; cursor: pointer; transition: width .3s, background .3s; }
.dot.is-active { width: 26px; background: var(--brand); }

/* ---------- Beneficios ---------- */
.split { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; }
.split-sticky { position: sticky; top: calc(var(--header-h) + 32px); }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; gap: 40px; } .split-sticky { position: static; } }

.benefit { display: flex; gap: 16px; padding: 24px; border-radius: var(--radius); background: rgba(255, 255, 255, .03); border: 1px solid var(--line-dark); transition: border-color .25s, background .25s; }
.benefit:hover { border-color: rgba(26, 176, 95, .5); background: rgba(26, 176, 95, .05); }
.benefit h3 { font-size: 1.05rem; margin-bottom: .3rem; letter-spacing: -.01em; }
.benefit p { font-size: .95rem; color: var(--muted-dark); }
.benefit .ico { width: 44px; height: 44px; border-radius: 12px; }
.benefit .ico svg { width: 22px; height: 22px; }

/* ---------- Clientes ---------- */
.logos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.logo-tile {
  display: flex; align-items: center; justify-content: center; height: 112px; padding: 20px 28px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
}
.logo-tile img { max-height: 56px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .65; transition: filter .3s, opacity .3s; }
.logo-tile:hover img { filter: none; opacity: 1; }
@media (max-width: 760px) { .logos { grid-template-columns: repeat(2, 1fr); } .logo-tile { height: 92px; } }

/* ---------- CTA ---------- */
.cta {
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  padding: 56px; border-radius: 24px; color: #fff;
  background: radial-gradient(80% 140% at 100% 0%, rgba(26, 176, 95, .45), transparent 60%), var(--ink-2);
}
.cta h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); max-width: 20ch; }
.cta p { margin-top: .6rem; color: var(--muted-dark); }
@media (max-width: 600px) { .cta { padding: 36px 24px; } }

/* ---------- Empresa ---------- */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.about-img img { width: 100%; max-height: 620px; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow-lg); }
.about h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin: .9rem 0 1.1rem; }
.about p { color: var(--muted); font-size: 1.1rem; }
.checks { display: grid; gap: .9rem; margin-top: 1.75rem; }
.checks li { display: flex; gap: .8rem; align-items: flex-start; font-weight: 600; }
.checks svg { flex: none; width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-ink); margin-top: 1px; }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; gap: 40px; } .about-img img { max-height: 420px; } }

.gallery { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 220px; gap: 16px; }
.gallery figure { margin: 0; overflow: hidden; border-radius: var(--radius); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figure:nth-child(1) { grid-column: span 4; grid-row: span 2; }
.gallery figure:nth-child(2),
.gallery figure:nth-child(3) { grid-column: span 2; }
.gallery figure:nth-child(4),
.gallery figure:nth-child(5) { grid-column: span 3; }
@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .gallery figure:nth-child(n) { grid-column: span 1; grid-row: span 1; }
  .gallery figure:nth-child(1) { grid-column: span 2; grid-row: span 2; }
}

/* ---------- Producto ---------- */
.product { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.product-media {
  display: flex; align-items: center; justify-content: center; padding: 32px;
  border-radius: 24px; background: linear-gradient(160deg, #f7faf8, #e9f0ec); border: 1px solid var(--line);
  min-height: 420px;
}
.product-media img { max-height: 480px; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.product-info .lead { font-size: 1.15rem; color: var(--muted); }
.specs-hl { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 28px 0; }
.specs-hl div { padding: 16px 18px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.specs-hl strong { display: block; font-size: 1.25rem; letter-spacing: -.02em; }
.specs-hl span { font-size: .86rem; color: var(--muted); }
.badges { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-bottom: 28px; font-size: .92rem; font-weight: 600; color: var(--muted); }
.badges span { display: inline-flex; align-items: center; gap: .45rem; }
.badges svg { width: 18px; height: 18px; color: var(--brand-ink); }
@media (max-width: 900px) { .product { grid-template-columns: 1fr; gap: 36px; } .product-media { min-height: 0; } }

.spec-card { padding: 28px 30px; }
.spec-card h3 { margin: 0 0 1rem; font-size: 1.1rem; display: flex; align-items: center; gap: .6rem; }
.spec-card h3::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--brand); }
.spec-list li { position: relative; padding: .55rem 0 .55rem 1.6rem; border-top: 1px solid var(--line); font-size: .96rem; color: #36413a; }
.spec-list li:first-child { border-top: 0; }
.spec-list li::before {
  content: ""; position: absolute; left: 2px; top: 1.05rem; width: 10px; height: 6px;
  border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg);
}
.spec-list b { color: var(--text); font-weight: 700; }
.spec-cols { columns: 2; column-gap: 32px; }
.spec-cols li { break-inside: avoid; }
@media (max-width: 700px) { .spec-cols { columns: 1; } }

.models { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.model { padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.model strong { display: block; font-size: 1.15rem; color: var(--brand-ink); margin-bottom: .3rem; }
.model p { color: var(--muted); font-size: .95rem; }
@media (max-width: 760px) { .models { grid-template-columns: 1fr; } }

/* ---------- Servicio ---------- */
.intro { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.intro p { font-size: 1.15rem; color: var(--muted); }
.intro p + p { margin-top: 1rem; }
.intro-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 70% 50%; border-radius: 24px; box-shadow: var(--shadow-lg); }
@media (max-width: 900px) { .intro { grid-template-columns: 1fr; gap: 36px; } .intro-img { max-width: 560px; } }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 28px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: block; margin-bottom: 1rem; font-size: .85rem; font-weight: 800; letter-spacing: .08em; color: var(--brand-ink);
}
.step h3 { font-size: 1.08rem; margin-bottom: .4rem; }
.step p { font-size: .95rem; color: var(--muted); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: .5rem; padding: .6rem 1rem; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: .95rem;
}
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.section-dark .chip { background: rgba(255, 255, 255, .04); border-color: var(--line-dark); color: #e8efe9; }

.callouts { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.callout { display: flex; gap: 18px; padding: 28px; border-radius: var(--radius); background: var(--brand-soft); border: 1px solid rgba(26, 176, 95, .25); }
.callout .ico { background: #fff; }
.callout h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.callout p { color: #3b4a41; font-size: .98rem; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.two-col h2 { font-size: 1.5rem; margin: .8rem 0 1.4rem; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; gap: 48px; } }

/* ---------- Contacto ---------- */
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: start; }
@media (max-width: 960px) { .contact { grid-template-columns: 1fr; } }
.contact-list { display: grid; gap: 12px; }
.contact-item {
  display: flex; gap: 16px; align-items: center; padding: 18px 20px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s;
}
a.contact-item:hover { border-color: rgba(26, 176, 95, .5); box-shadow: var(--shadow); }
.contact-item .ico { width: 46px; height: 46px; border-radius: 12px; }
.contact-item small { display: block; color: var(--muted); font-size: .82rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.contact-item strong { font-size: 1.02rem; word-break: break-word; }

.form-card { padding: 36px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.form-card h2 { font-size: 1.6rem; }
.form-card > p { color: var(--muted); margin: .5rem 0 1.75rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-card { padding: 24px 20px; } .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; margin-bottom: .4rem; font-size: .88rem; font-weight: 700; }
.field label span { color: var(--muted); font-weight: 500; }
.field input,
.field textarea {
  width: 100%; padding: .85rem 1rem; font: inherit; font-size: 1rem; color: var(--text);
  background: var(--surface); border: 1.5px solid transparent; border-radius: 12px; transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { min-height: 128px; resize: vertical; }
.field input:focus,
.field textarea:focus { outline: none; background: #fff; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(26, 176, 95, .15); }
.hp { position: absolute; left: -9999px; top: -9999px; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.form-foot small { color: var(--muted); }
.alert { display: none; padding: .9rem 1.1rem; border-radius: 12px; font-size: .95rem; font-weight: 600; margin-bottom: 16px; }
.alert.is-visible { display: block; }
.alert-error { background: #fdecec; color: #9b1c1c; }
.alert-ok { background: var(--brand-soft); color: #0b5e31; }
.btn.is-loading { opacity: .7; pointer-events: none; }

.map { margin-top: 40px; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); height: 380px; background: var(--surface); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--muted-dark); padding: 80px 0 32px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand img { height: 28px; width: auto; margin-bottom: 1.1rem; }
.footer-brand p { max-width: 28ch; }
.site-footer h3 { color: #fff; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1.1rem; }
.site-footer li + li { margin-top: .55rem; }
.site-footer a:hover { color: #fff; }
.social { display: flex; gap: 10px; margin-top: 1.4rem; }
.social a {
  display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px;
  background: rgba(255, 255, 255, .06); color: #fff; transition: background .2s, color .2s;
}
.social a:hover { background: var(--brand); color: #04130a; }
.social svg { width: 18px; height: 18px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: .86rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40; display: inline-flex; align-items: center; justify-content: center;
  width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25); transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Animaciones de entrada ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wave svg { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
