/* ═══════════════════════════════════════════════════════════
   R.G Smart Technology · Design System 2026
   Palette : light foundation + committed blue
   Display : Barlow Condensed 700/900
   Body    : Onest 400/500/600
   Hosted  : /assets/fonts/ (no CDN)
   ═══════════════════════════════════════════════════════════ */

/* ─── Local fonts ─── */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal; font-weight: 700; font-display: swap;
  src: url('../fonts/barlow-condensed-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal; font-weight: 900; font-display: swap;
  src: url('../fonts/barlow-condensed-900.woff2') format('woff2');
}
@font-face {
  font-family: 'Onest';
  font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/onest-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Onest';
  font-style: normal; font-weight: 500; font-display: swap;
  src: url('../fonts/onest-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Onest';
  font-style: normal; font-weight: 600; font-display: swap;
  src: url('../fonts/onest-600.woff2') format('woff2');
}

/* ─── Design tokens ─── */
:root {
  --bg-page:   oklch(1.000 0.000 254);   /* #fff, pure white */
  --bg-alt:    oklch(0.972 0.008 254);   /* ~#f2f4fa, subtle blue-white */
  --ink:       oklch(0.140 0.010 254);   /* near-black */
  --ink-muted: oklch(0.450 0.015 254);   /* secondary text */
  --blue:      oklch(0.480 0.170 254);   /* brand blue ~#1560D4 */
  --blue-lt:   oklch(0.600 0.140 254);   /* accent on dark bg (hero) */
  --blue-dk:   oklch(0.410 0.180 254);   /* button hover — passes WCAG AA */
  --blue-dim:  oklch(0.480 0.170 254 / 0.10);
  --blue-dim2: oklch(0.480 0.170 254 / 0.06);
  --red:       oklch(0.510 0.220 27);    /* brand red ~#E53935 */
  --border:    oklch(0.900 0.006 254);   /* light border */
  --border-md: oklch(0.820 0.010 254);   /* medium border */
  --wa:        #25D366;
  --wa-dark:   #128C7E;
  --nav-h:     80px;
  --pad:       5%;
  --r:         14px;
  --r-lg:      20px;
  --sh-sm:     0 1px 4px oklch(0 0 0 / .07);
  --sh-md:     0 4px 16px oklch(0 0 0 / .09);
  --sh-lg:     0 8px 32px oklch(0 0 0 / .13);

  /* Service accent palette */
  --c-repair:  oklch(0.480 0.170 254);   /* blue */
  --c-web:     oklch(0.460 0.175 280);   /* violet */
  --c-network: oklch(0.500 0.140 195);   /* teal */
  --c-cctv:    oklch(0.520 0.150 50);    /* amber */
  --c-build:   oklch(0.510 0.220 27);    /* red */
  --c-auto:    oklch(0.480 0.150 155);   /* green */
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Onest', system-ui, sans-serif;
  font-size: 1rem; line-height: 1.6;
  color: var(--ink); background: var(--bg-page);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
em { font-style: normal; }

/* Nav scrolled state */
nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.09), 0 1px 0 var(--border); }

/* ─── Focus (WCAG 2.1 AA) ─── */
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ─── Reveal animations ─── */
.js-loaded .reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.js-loaded .reveal.visible { opacity: 1; transform: none; }
.js-loaded .reveal.d1 { transition-delay: .08s; }
.js-loaded .reveal.d2 { transition-delay: .16s; }
.js-loaded .reveal.d3 { transition-delay: .24s; }
.js-loaded .reveal.d4 { transition-delay: .36s; }
.js-loaded .reveal.d5 { transition-delay: .50s; }

/* ─────────────────────────── NAV ─────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--pad);
  background: #fff;
  box-shadow: 0 1px 0 var(--border), var(--sh-sm);
  transition: box-shadow .3s;
}
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 64px; width: auto; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a {
  font-size: .875rem; font-weight: 500;
  color: var(--ink-muted); transition: color .2s;
}
.nav-links a:hover { color: var(--blue); }
.nav-cta {
  padding: 8px 20px !important;
  border-radius: 8px !important;
  background: var(--blue) !important;
  color: #fff !important;
  font-weight: 600 !important;
  font-size: .875rem !important;
  transition: background .2s !important;
}
.nav-cta:hover { background: var(--blue-dk) !important; }
.ham-btn {
  display: none; background: none; border: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  color: var(--ink); font-size: 1.5rem;
}
.nav-mobile {
  display: none; position: fixed;
  inset: var(--nav-h) 0 0 0; z-index: 150;
  background: #fff; flex-direction: column;
  padding: 32px var(--pad); gap: 4px;
  border-top: 1px solid var(--border);
  overflow-y: auto;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.5rem; font-weight: 700;
  color: var(--ink); text-transform: uppercase;
  padding: 14px 0; border-bottom: 1px solid var(--border);
  transition: color .2s;
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a:hover { color: var(--blue); }

/* ─────────────────────────── HERO ─────────────────────────── */
#hero {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 60px) var(--pad) 72px;
  overflow: hidden;
  background: oklch(0.08 0.015 254);
}
.hero-video-wrap {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
}
.hero-video-wrap video { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    180deg,
    oklch(0.08 0.015 254 / .72) 0%,
    oklch(0.08 0.015 254 / .55) 50%,
    oklch(0.08 0.015 254 / .92) 100%
  );
}
.hero-glow {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 0%,
    oklch(0.48 0.17 254 / .12) 0%, transparent 70%);
}
#hero > *:not(.hero-video-wrap):not(.hero-glow) { position: relative; z-index: 2; }

.hero-location {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; margin-bottom: 28px;
  font-size: .85rem; font-weight: 500;
  color: oklch(1 0 0 / .68); letter-spacing: .02em;
}
.dot-alive {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--wa); flex-shrink: 0;
  box-shadow: 0 0 0 0 oklch(0.72 0.24 142 / .5);
  animation: dotpulse 2s infinite;
}
@keyframes dotpulse {
  0%   { box-shadow: 0 0 0 0   oklch(0.72 0.24 142 / .50); }
  70%  { box-shadow: 0 0 0 7px oklch(0.72 0.24 142 / .00); }
  100% { box-shadow: 0 0 0 0   oklch(0.72 0.24 142 / .00); }
}

#hero h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 900; line-height: .95;
  letter-spacing: -.02em; text-transform: uppercase;
  color: #fff; margin-bottom: 16px;
  text-wrap: balance;
}
#hero h1 em { color: var(--blue-lt); } /* solid color — no gradient */

.hero-sub {
  font-size: 1rem; font-weight: 500;
  color: oklch(1 0 0 / .58);
  letter-spacing: .06em; text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-desc {
  max-width: 520px; margin: 0 auto 40px;
  font-size: 1.05rem; line-height: 1.72;
  color: oklch(1 0 0 / .70);
}
.hero-btns {
  display: flex; gap: 14px; flex-wrap: wrap;
  justify-content: center; margin-bottom: 52px;
}

/* Trust bar (4 proof points in hero dark zone) */
.trust-bar {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid oklch(1 0 0 / .14);
  padding-top: 28px;
  width: 100%; max-width: 680px;
}
.trust-bar li {
  font-size: .82rem; font-weight: 500;
  color: oklch(1 0 0 / .65);
  text-align: center; padding: 6px 16px;
  border-right: 1px solid oklch(1 0 0 / .14);
}
.trust-bar li:nth-child(even) { border-right: none; }
.trust-bar li:nth-child(n+3) { border-top: 1px solid oklch(1 0 0 / .14); }

/* ─────────────────────────── BUTTONS ─────────────────────────── */
.btn-wa {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 26px; border-radius: 10px;
  background: var(--wa); color: #fff;
  font-weight: 700; font-size: .95rem;
  box-shadow: 0 4px 20px oklch(0.72 0.24 142 / .35);
  transition: transform .2s, box-shadow .2s;
}
.btn-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px oklch(0.72 0.24 142 / .50);
}
.btn-ghost {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 14px 26px; border-radius: 10px;
  border: 1px solid oklch(1 0 0 / .20);
  color: #fff; font-weight: 500; font-size: .95rem;
  transition: border-color .2s, background .2s, transform .2s;
}
.btn-ghost:hover {
  border-color: oklch(1 0 0 / .45);
  background: oklch(1 0 0 / .07);
  transform: translateY(-2px);
}

/* ─────────────────────────── SECTION BASE ─────────────────────────── */
section { padding: 96px var(--pad); background: var(--bg-page); }
section.bg-alt { background: var(--bg-alt); }

section h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900; line-height: 1.05;
  letter-spacing: -.01em; text-transform: uppercase;
  color: var(--ink); margin-bottom: 14px;
  text-align: center;
  text-wrap: balance;
}
section h2 em { color: var(--blue); } /* solid — no gradient */

.lead {
  font-size: 1.05rem; color: var(--ink-muted);
  line-height: 1.72; max-width: 520px;
  text-align: center; margin-left: auto; margin-right: auto;
}

/* ─────────────────────────── SERVICIOS ─────────────────────────── */
#servicios { background: var(--bg-page); }
#servicios .lead { margin-bottom: 52px; }

.svc-featured-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 20px; margin-bottom: 20px;
}
.svc-compact-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* Base card */
.svc-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.svc-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-lg);
  border-color: var(--border-md);
}

/* Featured cards */
.svc-featured { padding: 0; }
.svc-head {
  padding: 32px 36px 24px;
  border-bottom: 1px solid var(--border);
}
.svc-body { padding: 22px 36px 32px; }
.svc-ico-wrap {
  width: 50px; height: 50px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 18px;
}
.svc-featured .svc-t {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.5rem; font-weight: 900;
  text-transform: uppercase; letter-spacing: .02em;
  color: var(--ink); margin-bottom: 10px;
}
.svc-featured .svc-d {
  font-size: .95rem; color: var(--ink-muted); line-height: 1.72;
}
.svc-featured .svc-tags { margin-top: 16px; }

/* Compact cards */
.svc-compact { padding: 26px 22px; }
.svc-compact .svc-ico { font-size: 1.8rem; margin-bottom: 14px; line-height: 1; }
.svc-compact .svc-t {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.1rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .02em;
  color: var(--ink); margin-bottom: 8px;
}
.svc-compact .svc-d {
  font-size: .82rem; color: var(--ink-muted); line-height: 1.65;
}
.svc-compact .svc-tags { margin-top: 14px; }

/* Tags */
.svc-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.stag {
  font-family: 'Onest', sans-serif;
  font-size: .7rem; font-weight: 600;
  padding: 3px 10px; border-radius: 100px;
}

/* Per-service accent (top border + icon bg + tag color) */
.svc-repair  { --c: var(--c-repair);  --cd: oklch(0.480 0.170 254 / .10); --cb: oklch(0.480 0.170 254 / .09); --cbo: oklch(0.480 0.170 254 / .22); }
.svc-web     { --c: var(--c-web);     --cd: oklch(0.460 0.175 280 / .10); --cb: oklch(0.460 0.175 280 / .09); --cbo: oklch(0.460 0.175 280 / .22); }
.svc-network { --c: var(--c-network); --cd: oklch(0.500 0.140 195 / .10); --cb: oklch(0.500 0.140 195 / .09); --cbo: oklch(0.500 0.140 195 / .22); }
.svc-cctv    { --c: var(--c-cctv);    --cd: oklch(0.520 0.150 50  / .10); --cb: oklch(0.520 0.150 50  / .09); --cbo: oklch(0.520 0.150 50  / .22); }
.svc-build   { --c: var(--c-build);   --cd: oklch(0.510 0.220 27  / .10); --cb: oklch(0.510 0.220 27  / .09); --cbo: oklch(0.510 0.220 27  / .22); }
.svc-auto    { --c: var(--c-auto);    --cd: oklch(0.480 0.150 155 / .10); --cb: oklch(0.480 0.150 155 / .09); --cbo: oklch(0.480 0.150 155 / .22); }

.svc-card { border-top: 3px solid var(--c, var(--blue)); }
.svc-ico-wrap { background: var(--cd, var(--blue-dim)); }
.stag {
  background: var(--cb, var(--blue-dim2));
  color: var(--c, var(--blue));
  border: 1px solid var(--cbo, oklch(0.480 0.170 254 / .22));
}

/* ─────────────────────────── POR QUÉ ─────────────────────────── */
#por-que { background: var(--bg-alt); }
#por-que .lead { margin-bottom: 52px; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.why-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 32px 28px;
  transition: transform .3s, box-shadow .3s;
}
.why-card:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }
.why-n {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 3rem; font-weight: 900; line-height: 1;
  color: var(--blue); opacity: .18;     /* solid, no gradient */
  margin-bottom: 14px;
}
.why-t {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.15rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .02em;
  color: var(--ink); margin-bottom: 8px;
}
.why-d { font-size: .88rem; color: var(--ink-muted); line-height: 1.70; }

/* ─────────────────────────── SOBRE MÍ ─────────────────────────── */
#sobre-mi { background: var(--bg-page); }
.sobre-grid {
  display: grid; grid-template-columns: 300px 1fr;
  gap: 64px; align-items: start; margin: 48px auto 0;
  max-width: 960px;
}
.sobre-img-wrap { position: relative; padding-bottom: 22px; }
.sobre-img {
  width: 100%; aspect-ratio: 4 / 5;
  object-fit: cover; object-position: center top;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  border: 1px solid var(--border);
}
.sobre-credencial {
  position: absolute; bottom: -14px; left: 50%;
  transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue); color: #fff;
  padding: 8px 18px; border-radius: 100px;
  font-size: .78rem; font-weight: 600;
  white-space: nowrap; z-index: 2;
}
.sobre-nombre {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2.2rem; font-weight: 900; text-transform: uppercase;
  color: var(--ink); letter-spacing: .02em; margin-bottom: 4px;
}
.sobre-cargo {
  font-size: .9rem; font-weight: 600;
  color: var(--blue); margin-bottom: 20px;
}
.sobre-bio {
  font-size: .95rem; color: var(--ink-muted);
  line-height: 1.80; margin-bottom: 28px; max-width: 520px;
}
.sobre-valores { display: flex; flex-direction: column; gap: 16px; }
.valor-item { display: flex; align-items: flex-start; gap: 14px; }
.valor-ico {
  font-size: 1.1rem; flex-shrink: 0;
  width: 36px; height: 36px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  background: var(--blue-dim); margin-top: 1px;
}
.valor-t { font-size: .9rem; font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.valor-d { font-size: .82rem; color: var(--ink-muted); }
.sobre-cta { display: inline-flex; margin-top: 32px; }

/* ─────────────────────────── TESTIMONIOS ─────────────────────────── */
#testimonios { background: var(--bg-alt); }
#testimonios h2 { margin-bottom: 48px; }

.carousel-wrap {
  position: relative;
  max-width: 780px; margin: 0 auto;
  padding: 0 60px;
}
.carousel-track {
  display: grid;
  grid-template-columns: 1fr;
}
.testimonial {
  grid-row: 1; grid-column: 1;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 40px 44px;
  box-shadow: var(--sh-sm);
  opacity: 0; pointer-events: none;
  transition: opacity .4s ease;
}
.testimonial.active { opacity: 1; pointer-events: auto; }

.testimonial blockquote {
  font-size: 1.02rem; color: var(--ink);
  line-height: 1.78; margin-bottom: 24px;
  position: relative; padding-top: 28px;
}
.testimonial blockquote::before {
  content: '\201C';
  position: absolute; top: -10px; left: 0;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 4.5rem; font-weight: 900; line-height: 1;
  color: var(--blue); opacity: .18;
}
.testimonial footer {
  display: flex; flex-direction: column; gap: 3px;
  padding-top: 20px; border-top: 1px solid var(--border);
}
.t-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.05rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em;
  color: var(--blue);
}
.t-label { font-size: .8rem; color: var(--ink-muted); font-weight: 500; }

/* Carousel arrows */
.car-prev, .car-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: #fff; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; color: var(--ink);
  box-shadow: var(--sh-sm);
  transition: background .2s, border-color .2s, color .2s;
  z-index: 2;
}
.car-prev { left: 0; }
.car-next { right: 0; }
.car-prev:hover, .car-next:hover {
  background: var(--blue); border-color: var(--blue); color: #fff;
}

/* Dots */
.car-dots {
  display: flex; gap: 8px; justify-content: center;
  margin-top: 28px; list-style: none;
}
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  border: none; padding: 0; background: oklch(0.60 0.012 254);
  transition: background .2s, transform .2s;
}
.dot.active { background: var(--blue); transform: scale(1.4); }

/* Pause control */
.car-pause-wrap { display: flex; justify-content: center; margin-top: 14px; }
.car-pause {
  background: none; border: none; padding: 4px 8px;
  font-family: 'Onest', sans-serif;
  font-size: .78rem; font-weight: 500; color: var(--ink-muted);
  text-decoration: underline; text-decoration-style: dotted;
  transition: color .2s;
}
.car-pause:hover { color: var(--blue); }

/* ─────────────────────────── COBERTURA ─────────────────────────── */
#cobertura { background: var(--bg-page); }
.cover-box {
  max-width: 700px;
  display: flex; gap: 28px; align-items: flex-start;
  margin: 48px auto 0;
  padding: 36px 40px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
}
.cover-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--blue-dim);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; flex-shrink: 0;
}
.cover-body h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.4rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .02em;
  color: var(--ink); margin-bottom: 10px;
}
.cover-body p {
  font-size: .9rem; color: var(--ink-muted);
  line-height: 1.72; margin-bottom: 20px; max-width: 480px;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 6px 16px; border-radius: 100px;
  font-size: .78rem; font-weight: 600;
  background: var(--blue-dim); color: var(--blue);
  border: 1px solid oklch(0.48 0.17 254 / .18);
}

/* ─────────────────────────── CONTACTO ─────────────────────────── */
#contacto { background: var(--bg-alt); text-align: center; }
#contacto h2 { margin-bottom: 12px; }
#contacto .lead { margin: 0 auto 40px; }

.c-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px; max-width: 800px; margin: 0 auto 36px;
}
.c-card {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 22px 14px; border-radius: var(--r);
  background: #fff; border: 1px solid var(--border);
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.c-card:hover {
  border-color: var(--blue-lt);
  transform: translateY(-3px);
  box-shadow: var(--sh-md);
}
.c-ico { font-size: 1.7rem; line-height: 1; }
.c-lbl {
  font-size: .7rem; font-weight: 700;
  color: var(--ink-muted); letter-spacing: .06em; text-transform: uppercase;
}
.c-val { font-size: .88rem; font-weight: 600; color: var(--ink); }


.contact-form {
  max-width: 600px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 18px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 7px; text-align: left; }
.form-group label {
  font-size: .75rem; font-weight: 600;
  letter-spacing: .04em; color: var(--ink-muted); text-transform: uppercase;
}
.form-group input,
.form-group select,
.form-group textarea {
  background: #fff; border: 1px solid var(--border-md);
  border-radius: 10px; padding: 13px 16px;
  color: var(--ink); font-family: 'Onest', sans-serif;
  font-size: .95rem; width: 100%; outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--ink-muted); opacity: .55; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-dim);
}
.form-group select {
  appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-btn {
  background: var(--blue); color: #fff;
  border: none; padding: 14px 48px; border-radius: 10px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.1rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .06em;
  align-self: flex-start;
  box-shadow: 0 4px 16px var(--blue-dim);
  transition: background .2s, transform .2s, box-shadow .2s;
}
.form-btn:hover {
  background: var(--blue-dk);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px oklch(0.48 0.17 254 / .20);
}
.form-btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }

/* ─────────────────────────── FOOTER ─────────────────────────── */
footer {
  background: #fff; border-top: 3px solid var(--blue);
  padding: 28px var(--pad);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
}
.footer-left { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-logo img { height: 54px; width: auto; object-fit: contain; }
.footer-info { font-size: .8rem; color: var(--ink-muted); line-height: 1.65; }
.footer-info strong { color: var(--ink); }
.socials { display: flex; gap: 8px; }
.socials a {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--bg-alt); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; transition: border-color .2s, transform .2s, background .2s;
}
.socials a:hover {
  background: var(--blue-dim);
  border-color: oklch(0.48 0.17 254 / .30);
  transform: translateY(-2px);
}

/* ─────────────────────────── FLOAT WA ─────────────────────────── */

/* WhatsApp persuasion card in #contacto */
.wa-card {
  display: flex; flex-direction: column; align-items: center;
  gap: 12px; text-align: center;
  background: var(--wa); color: #fff;
  border-radius: 20px; padding: 30px 24px;
  max-width: 540px; margin: 0 auto 44px;
  box-shadow: 0 6px 28px oklch(0.72 0.24 142 / .30);
}
.wa-card-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 900; letter-spacing: .02em; line-height: 1.1;
  color: #1a1a1a; margin: 0;
}
.wa-card-body {
  font-size: 1rem; font-weight: 500; line-height: 1.55;
  color: #1a1a1a; max-width: 360px; margin: 0;
}
.wa-card-btn {
  background: #fff; color: var(--wa-dark);
  box-shadow: 0 4px 16px oklch(0 0 0 / .15);
  margin-top: 4px;
}
.wa-card-btn:hover {
  background: oklch(1 0 0 / .92);
  box-shadow: 0 8px 28px oklch(0 0 0 / .22);
  transform: translateY(-2px);
}
.form-section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.4rem; font-weight: 900;
  text-transform: uppercase; letter-spacing: .04em;
  color: var(--ink); margin: 44px 0 28px;
  text-align: center;
}

.wa-float {
  position: fixed; bottom: 26px; right: 26px; z-index: 300;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--wa); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 4px 20px oklch(0.72 0.24 142 / .45);
  transition: transform .2s;
  animation: wafloat 2.5s infinite;
}
.wa-float:hover { transform: scale(1.10); }
@keyframes wafloat {
  0%, 100% { box-shadow: 0 4px 20px oklch(0.72 0.24 142 / .45); }
  50%       { box-shadow: 0 4px 20px oklch(0.72 0.24 142 / .45),
                          0 0 0 10px oklch(0.72 0.24 142 / .10); }
}

/* ─────────────────────────── RESPONSIVE ─────────────────────────── */
@media (min-width: 560px) {
  .trust-bar { grid-template-columns: repeat(4, 1fr); }
  .trust-bar li:nth-child(even) { border-right: 1px solid oklch(1 0 0 / .14); }
  .trust-bar li:nth-child(n+3) { border-top: none; }
  .trust-bar li:last-child { border-right: none; }
}

@media (max-width: 1024px) {
  .svc-compact-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .sobre-grid { grid-template-columns: 1fr; gap: 48px; }
  .sobre-img { max-width: 300px; margin: 0 auto; }
  .sobre-img-wrap { display: flex; justify-content: center; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .ham-btn { display: flex; }
  .svc-featured-row { grid-template-columns: 1fr; }
  .carousel-wrap { padding: 0 48px; }
}

@media (max-width: 640px) {
  section { padding: 72px var(--pad); }
  .svc-compact-row { grid-template-columns: 1fr; }
  .carousel-wrap { padding: 0 36px; }
  .testimonial { padding: 28px 24px; }
  .testimonial blockquote { font-size: .95rem; }
  .form-row { grid-template-columns: 1fr; }
  .form-btn { align-self: stretch; text-align: center; }
  .wa-big { padding: 16px 24px; font-size: .97rem; }
  .cover-box { flex-direction: column; gap: 20px; }
  footer { flex-direction: column; text-align: center; }
  .footer-left { flex-direction: column; align-items: center; }
}

@media (max-width: 440px) {
  .carousel-wrap { padding: 0 28px; }
  .car-prev, .car-next { width: 36px; height: 36px; font-size: 1rem; }
}

/* ─────────────────────────── REDUCED MOTION ─────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .js-loaded .reveal,
  .js-loaded .reveal.visible {
    opacity: 1 !important; transform: none !important; transition: none !important;
  }
  .testimonial { transition: none !important; }
  .dot-alive, .wa-float { animation: none !important; }
  * { transition-duration: .01ms !important; }
}
