/* ============================================================
   ARCAZUL - Stylesheet
   Tipografia: Stage Grotesk (fallback Space Grotesk)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Inter:wght@400;500;600;700;800&display=swap');

/* Accesible solo para lectores de pantalla / SEO (no visible) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Variables (tema oscuro por defecto) ---------- */
:root {
  --bg: #0a1530;
  --bg-elev: #122446;
  --surface: #1d3260;
  --text: #f2f3f6;
  --text-dim: rgba(242, 243, 246, 0.68);
  --accent: #0447f2;
  --accent-soft: #83cdfa;
  --border: rgba(131, 205, 250, 0.12);
  --shadow-lg: 0 30px 80px -20px rgba(0, 10, 40, 0.7);
  --radius: 18px;
  --radius-sm: 10px;
  --nav-h: 78px;
  --easing: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1280px;
  --grid-color: rgba(131, 205, 250, 0.07);
}

[data-theme="light"] {
  --bg: #e7eff9;
  --bg-elev: #f5f9fe;
  --surface: #d5e3f5;
  --text: #0a0b0e;
  --text-dim: rgba(10, 11, 14, 0.65);
  --accent: #0447f2;
  --accent-soft: #0447f2;
  --border: rgba(4, 71, 242, 0.12);
  --shadow-lg: 0 30px 80px -20px rgba(4, 71, 242, 0.15);
  --grid-color: rgba(4, 71, 242, 0.06);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Stage Grotesk', 'Space Grotesk', 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  font-weight: 400;
  overflow-x: hidden;
  transition: background 0.6s var(--easing), color 0.6s var(--easing);
  min-height: 100vh;
}
h1, h2, h3, h4, .display, .hero-title, .h1, .h2, .h3 {
  font-family: 'Stage Grotesk', 'Space Grotesk', 'Inter', system-ui, sans-serif;
  font-weight: 700;
}
img, svg { 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; }
input, select, textarea { font: inherit; }

/* Selection */
::selection { background: var(--accent); color: #fff; }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--surface); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.display {
  font-size: clamp(2.8rem, 8vw, 7.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.95;
}
.h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
.h2 { font-size: clamp(1.8rem, 3.5vw, 3rem); }
.h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
.eyebrow {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--accent-soft);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}
.lead { font-size: clamp(1rem, 1.3vw, 1.15rem); color: var(--text-dim); max-width: 60ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  border-radius: 100px;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  transition: transform 0.4s var(--easing), background 0.3s, color 0.3s, box-shadow 0.4s var(--easing);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(4, 71, 242, 0.6);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -10px rgba(4, 71, 242, 0.8);
}
.btn-ghost {
  border: 1px solid var(--border);
  color: var(--text);
  background: transparent;
}
.btn-ghost:hover {
  background: var(--bg-elev);
  border-color: var(--accent-soft);
}
.btn .arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s var(--easing);
}
.btn .arrow svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Navbar ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--border);
  transition: background 0.4s;
}
.nav-inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  height: 56px;
  transition: transform 0.4s var(--easing);
}
.nav-logo img {
  height: 56px;
  width: auto;
  display: block;
  object-fit: contain;
}
.nav-logo:hover { transform: scale(1.04); }
.nav-logo .light-only { display: none; }
[data-theme="light"] .nav-logo .dark-only { display: none; }
[data-theme="light"] .nav-logo .light-only { display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  padding: 10px 16px;
  font-size: 0.92rem;
  color: var(--text-dim);
  border-radius: 100px;
  transition: color 0.3s, background 0.3s;
  position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a.active { background: var(--bg-elev); }

.nav-actions { display: flex; align-items: center; gap: 12px; }

/* Theme toggle */
.theme-toggle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, transform 0.4s var(--easing);
  background: var(--bg-elev);
}
.theme-toggle:hover { transform: rotate(20deg); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-sun { display: none; }
[data-theme="light"] .theme-toggle .icon-sun { display: block; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }

/* Burger */
.burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-elev);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.burger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.4s var(--easing), opacity 0.3s;
}
.burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 90;
  padding: calc(var(--nav-h) + 40px) 24px 40px;
  transform: translateY(-100%);
  transition: transform 0.6s var(--easing);
  overflow-y: auto;
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu nav { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu nav a {
  padding: 18px 4px;
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mobile-menu nav a::after {
  content: "";
  width: 18px;
  height: 18px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23f2f3f6' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'><path d='M3 8h10M9 4l4 4-4 4'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.5;
}
[data-theme="light"] .mobile-menu nav a::after {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%230a0b0e' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'><path d='M3 8h10M9 4l4 4-4 4'/></svg>");
}

/* ---------- Nav dropdown (Servicios) ---------- */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
  padding: 10px 16px;
  font-size: 0.92rem;
  color: var(--text-dim);
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.3s, background 0.3s;
}
.nav-dropdown-toggle:hover,
.nav-dropdown-toggle.active,
.nav-dropdown.open .nav-dropdown-toggle { color: var(--text); }
.nav-dropdown-toggle.active { background: var(--bg-elev); }
.nav-dropdown-toggle .caret {
  width: 13px;
  height: 13px;
  transition: transform 0.3s var(--easing);
}
.nav-dropdown:hover .caret,
.nav-dropdown.open .caret { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 220px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
  z-index: 120;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown-menu a {
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 0.9rem;
  color: var(--text-dim);
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}
.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.active {
  color: var(--text);
  background: var(--surface);
}

/* ---------- Mobile menu collapsible group ---------- */
.m-group { border-bottom: 1px solid var(--border); }
.m-group-toggle {
  width: 100%;
  padding: 18px 4px;
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text);
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.m-caret {
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f2f3f6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.6;
  transition: transform 0.3s var(--easing);
}
[data-theme="light"] .m-caret {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a0b0e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>");
}
.m-group.open .m-caret { transform: rotate(180deg); }
.m-group-menu {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--easing);
}
.m-group.open .m-group-menu { grid-template-rows: 1fr; }
.m-group-inner { overflow: hidden; }
.m-group-menu a {
  font-size: 1.12rem !important;
  font-weight: 400;
  padding: 14px 4px 14px 20px !important;
  opacity: 0.85;
  border-bottom: none !important;
}
.m-group-inner a:not(:last-child) { border-bottom: 1px solid var(--border) !important; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + 60px) 0 80px;
  overflow: hidden;
  isolation: isolate;
  min-height: 92vh;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  overflow: hidden;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  opacity: 0.35;
  filter: saturate(1.1) contrast(1.05);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--bg) 30%, transparent 70%),
    linear-gradient(180deg, transparent 60%, var(--bg));
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 80%);
  z-index: -2;
  animation: grid-move 30s linear infinite;
}
@keyframes grid-move {
  from { background-position: 0 0, 0 0; }
  to { background-position: 64px 64px, 64px 64px; }
}
.hero-glow {
  position: absolute;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(4, 71, 242, 0.4), transparent 60%);
  top: -200px;
  right: -200px;
  z-index: -1;
  filter: blur(60px);
  animation: float 12s ease-in-out infinite;
}
.hero-glow.alt {
  background: radial-gradient(circle, rgba(131, 205, 250, 0.18), transparent 60%);
  top: auto;
  bottom: -200px;
  left: -200px;
  right: auto;
  animation-delay: -6s;
}
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.1); }
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.hero-title {
  font-size: clamp(3rem, 9vw, 8rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.045em;
}
.hero-title .word {
  display: inline-block;
  overflow: hidden;
}
.hero-title .word > span {
  display: inline-block;
  transform: translateY(110%);
  animation: word-up 1s var(--easing) forwards;
}
.hero-title .word:nth-child(1) > span { animation-delay: 0.1s; }
.hero-title .word:nth-child(2) > span { animation-delay: 0.2s; }
.hero-title .word:nth-child(3) > span { animation-delay: 0.3s; }
.hero-title .word:nth-child(4) > span { animation-delay: 0.4s; }
.hero-title .word:nth-child(5) > span { animation-delay: 0.5s; }
@keyframes word-up { to { transform: translateY(0); } }

.hero-title em {
  font-style: normal;
  background: linear-gradient(120deg, var(--accent-soft), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}
.hero-title { font-weight: 800; }

.hero-meta {
  margin-top: 36px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fade-up 0.9s var(--easing) 0.7s forwards;
}
.hero-stats {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  opacity: 0;
  animation: fade-up 0.9s var(--easing) 0.9s forwards;
}
.hero-stats .stat-num {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--text);
}
.hero-stats .stat-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-dim);
  margin-top: 6px;
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-visual {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 32px;
  overflow: hidden;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  opacity: 0;
  animation: fade-up 1.2s var(--easing) 0.4s forwards;
  box-shadow: var(--shadow-lg);
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.05);
  transition: transform 1.2s var(--easing);
}
.hero-visual:hover img { transform: scale(1.1); }
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10, 11, 14, 0.7));
  pointer-events: none;
}
.hero-visual .badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  z-index: 2;
  color: #f2f3f6;
}
.hero-visual .badge .top {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  opacity: 0.7;
  margin-bottom: 6px;
}
.hero-visual .badge .main {
  font-size: 1.4rem;
  font-weight: 500;
}

/* ---------- Section ---------- */
.section {
  padding: 72px 0;
  position: relative;
  background: var(--bg);
  z-index: 1;
}
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.section-header h2 { max-width: 18ch; }
.section-header .lead { margin-top: 16px; }

/* ---------- Marquee promociones ---------- */
.marquee {
  overflow: hidden;
  padding: 18px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-elev);
  position: relative;
  z-index: 1;
}
.marquee-track {
  display: flex;
  gap: 60px;
  width: max-content;
  animation: marquee 35s linear infinite;
  align-items: center;
  padding-right: 60px;
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-size: 1.05rem;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
}
.marquee-item .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Barra deslizante de marcas ---------- */
.brand-bar {
  overflow: hidden;
  padding: 26px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-elev);
  position: relative;
  z-index: 1;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.brand-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 26px;
  padding-right: 26px;
  animation: marquee 34s linear infinite;
}
.brand-bar:hover .brand-track { animation-play-state: paused; }
.brand-chip {
  flex-shrink: 0;
  width: 168px;
  height: 96px;
  background: #fff;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 22px;
  box-shadow: 0 12px 28px -18px rgba(0, 0, 0, 0.55);
}
.brand-chip img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
@media (max-width: 640px) {
  .brand-track { gap: 16px; padding-right: 16px; }
  .brand-chip { width: 132px; height: 78px; padding: 12px 16px; }
}

/* ---------- Promo carousel ---------- */
.promo {
  padding: 56px 0;
  background: var(--bg-elev);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.promo-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: marquee 32s linear infinite;
  padding-right: 24px;
}
.promo-card {
  flex-shrink: 0;
  width: clamp(280px, 32vw, 400px);
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.promo-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 14px;
  transition: transform 0.8s var(--easing);
}
.promo-card:hover img { transform: scale(1.06); }

/* ---------- Service grid ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.service-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  transition: transform 0.5s var(--easing), border-color 0.4s;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-soft);
}
.service-card .img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface);
  flex-shrink: 0;
}
.service-card .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.9s var(--easing);
}
.service-card:hover .img-wrap img { transform: scale(1.08); }
.service-card .img-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(4, 71, 242, 0.28) 100%);
  pointer-events: none;
}
.service-card .content {
  flex: 1;
  padding: 28px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: var(--text);
}
.service-card .num {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-soft);
}
.service-card h3 {
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  letter-spacing: -0.025em;
  font-weight: 600;
}
.service-card p {
  font-size: 0.95rem;
  color: var(--text-dim);
  max-width: 40ch;
}
.service-card .cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--accent-soft);
}
.service-card .cta .arrow {
  display: inline-flex;
  align-items: center;
  transition: transform 0.4s var(--easing);
}
.service-card .cta .arrow svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-card:hover .cta .arrow { transform: translateX(6px); }

/* ---------- About ---------- */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about .badge-num {
  font-size: clamp(8rem, 18vw, 16rem);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 0.85;
  background: linear-gradient(180deg, var(--accent-soft), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.about .badge-num small {
  display: block;
  font-size: 0.18em;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--text-dim);
  background: none;
  -webkit-text-fill-color: var(--text-dim);
  margin-top: 12px;
}
.about-text p {
  margin-top: 20px;
  color: var(--text-dim);
  font-size: 1.05rem;
}

/* ---------- Locations ---------- */
.locations {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.location-card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.location-card .map-wrap {
  aspect-ratio: 16 / 10;
  position: relative;
  overflow: hidden;
  background: var(--surface);
}
.location-card .map-wrap iframe,
.location-card .map-wrap img {
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}
.location-card .map-wrap .badge-new {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--accent);
  color: #fff;
  padding: 6px 12px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.location-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.location-body h3 { font-size: 1.5rem; }
.location-body .addr { color: var(--text-dim); }
.location-body .row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 6px;
}

/* ---------- FAQ ---------- */
.faq {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.faq-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%;
  text-align: left;
  padding: 26px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: color 0.3s;
}
.faq-question:hover { color: var(--accent-soft); }
.faq-question .plus {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  position: relative;
  flex-shrink: 0;
  transition: background 0.3s, transform 0.5s var(--easing);
}
.faq-question .plus::before,
.faq-question .plus::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 12px; height: 1.5px;
  background: var(--text);
  transform: translate(-50%, -50%);
  transition: transform 0.4s var(--easing);
}
.faq-question .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.open .plus {
  background: var(--accent);
  border-color: var(--accent);
  transform: rotate(180deg);
}
.faq-item.open .plus::before,
.faq-item.open .plus::after { background: #fff; }
.faq-item.open .plus::after { transform: translate(-50%, -50%) rotate(0); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s var(--easing);
}
.faq-answer-inner {
  padding: 0 0 26px 0;
  color: var(--text-dim);
  max-width: 60ch;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-elev);
  border-top: 1px solid var(--border);
  padding: 56px 0 24px;
  position: relative;
  z-index: 1;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
.footer-brand img { height: 44px; margin-bottom: 18px; }
.footer-brand .light-only { display: none; }
[data-theme="light"] .footer-brand .dark-only { display: none; }
[data-theme="light"] .footer-brand .light-only { display: block; }
.footer-brand p { color: var(--text-dim); max-width: 32ch; }
.footer h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-dim);
  margin-bottom: 18px;
  font-weight: 500;
}
.footer ul li { margin-bottom: 12px; }
.footer ul a {
  color: var(--text);
  font-size: 0.95rem;
  transition: color 0.3s, padding 0.3s;
}
.footer ul a:hover { color: var(--accent-soft); padding-left: 6px; }
.footer .foot-phone a { font-weight: 600; }
.footer .foot-exts {
  display: block;
  margin-top: 5px;
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--text-dim);
}
.footer-bottom {
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--text-dim);
  font-size: 0.85rem;
}
.footer-credit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-dim);
}
.footer-credit a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-soft);
  font-weight: 500;
  transition: color 0.3s;
}
.footer-credit a:hover { color: var(--accent); }
.footer-credit img {
  height: 16px;
  width: auto;
  vertical-align: middle;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}
[data-theme="light"] .footer-credit img { filter: none; opacity: 0.85; }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, transform 0.4s var(--easing), border-color 0.3s;
}
.socials a:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
}
.socials a:hover svg { fill: #fff; }
.socials svg { width: 16px; height: 16px; fill: var(--text); transition: fill 0.3s; }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 95;
  box-shadow: 0 12px 35px -10px rgba(37, 211, 102, 0.7);
  animation: pulse 2.5s ease-in-out infinite;
  transition: transform 0.4s var(--easing);
}
.wa-float:hover { transform: scale(1.08); animation: none; }
.wa-float svg { width: 28px; height: 28px; fill: #fff; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 12px 35px -10px rgba(37, 211, 102, 0.7), 0 0 0 0 rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 12px 35px -10px rgba(37, 211, 102, 0.7), 0 0 0 20px rgba(37, 211, 102, 0); }
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--easing), transform 1s var(--easing);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }

/* ---------- Subpage hero ---------- */
.sub-hero {
  position: relative;
  padding: calc(var(--nav-h) + 100px) 0 80px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.sub-hero .container { position: relative; z-index: 2; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-dim);
  margin-bottom: 24px;
  transition: color 0.3s, gap 0.3s;
}
.back-link:hover { color: var(--accent-soft); gap: 14px; }

/* ---------- Page hero (image + logo, sticky reveal) ---------- */
.page-hero {
  position: sticky;
  top: 0;
  width: 100%;
  height: 68vh;
  min-height: 420px;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-h) + 20px) 24px 20px;
  z-index: 0;
}
.page-hero.compact { height: 68vh; }
.ph-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.ph-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.ph-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(10, 11, 14, 0.35) 0%, rgba(10, 11, 14, 0.1) 40%, rgba(10, 11, 14, 0.4) 100%),
    radial-gradient(ellipse 90% 55% at 50% 110%, rgba(4, 71, 242, 0.45), transparent 70%);
  backdrop-filter: saturate(110%);
}
[data-theme="light"] .ph-overlay {
  background:
    linear-gradient(180deg, rgba(10, 11, 14, 0.3) 0%, rgba(10, 11, 14, 0.08) 40%, rgba(10, 11, 14, 0.35) 100%),
    radial-gradient(ellipse 90% 55% at 50% 110%, rgba(4, 71, 242, 0.5), transparent 70%);
}
.ph-content {
  position: relative;
  z-index: 1;
  color: #fff;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.ph-logo {
  width: clamp(300px, 50vw, 620px);
  height: auto;
  filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.55));
  animation: fade-up 1s var(--easing) 0.1s both;
}
/* Home hero: coverflow con profundidad + loop (manual, clic/desliza) */
.page-hero.is-home {
  display: block;
  padding: calc(var(--nav-h) + 12px) 0 16px;
  overflow: hidden;
  background: var(--bg);
}
.page-hero.is-home .hero-track {
  position: relative;
  width: 100%;
  height: 100%;
}
.page-hero.is-home .hero-slide {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 74%;
  height: 100%;
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  cursor: pointer;
  isolation: isolate;
  opacity: 0;
  z-index: 1;
  transform: translate(-50%, -50%) scale(0.65);
  transition: transform 0.6s var(--easing), opacity 0.6s var(--easing), filter 0.6s var(--easing);
  box-shadow: 0 26px 64px -24px rgba(0, 0, 0, 0.7);
  pointer-events: none;
}
.page-hero.is-home .hero-slide.is-active {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  z-index: 3;
  pointer-events: auto;
}
.page-hero.is-home .hero-slide.is-prev {
  transform: translate(-107%, -50%) scale(0.8);
  opacity: 0.62;
  filter: brightness(0.55) saturate(0.9);
  z-index: 2;
  pointer-events: auto;
}
.page-hero.is-home .hero-slide.is-next {
  transform: translate(7%, -50%) scale(0.8);
  opacity: 0.62;
  filter: brightness(0.55) saturate(0.9);
  z-index: 2;
  pointer-events: auto;
}
.page-hero.is-home .hero-slide.is-far {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.55);
  z-index: 1;
  pointer-events: none;
}
.page-hero.is-home .ph-logo { width: clamp(240px, 42vw, 540px); }
.hero-slide .ph-bg,
.hero-slide .ph-overlay {
  position: absolute;
  inset: 0;
}
.hero-slide .ph-bg { z-index: -2; }
.hero-slide .ph-overlay { z-index: -1; }
.hero-slide .ph-content {
  position: relative;
  z-index: 1;
  pointer-events: none;
}
.hero-dots {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
  padding: 6px 12px;
  background: rgba(8, 18, 44, 0.42);
  border-radius: 100px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: width 0.5s var(--easing), background 0.4s, box-shadow 0.4s;
}
.hero-dot:hover { background: rgba(255, 255, 255, 0.8); }
.hero-dot.is-active {
  background: #fff;
  width: 32px;
  border-radius: 100px;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.55);
}
@media (max-width: 640px) {
  .page-hero.is-home {
    aspect-ratio: auto;
    height: 80vh;
    min-height: 460px;
    padding: calc(var(--nav-h) + 8px) 0 12px;
  }
  .page-hero.is-home .hero-slide { width: 82%; border-radius: 20px; padding: 18px; }
  .page-hero.is-home .hero-slide.is-prev { transform: translate(-103%, -50%) scale(0.82); }
  .page-hero.is-home .hero-slide.is-next { transform: translate(3%, -50%) scale(0.82); }
  .page-hero.is-home .ph-logo { width: clamp(190px, 56vw, 340px); }
  .hero-dots { bottom: 14px; gap: 8px; padding: 5px 10px; }
  .hero-dot { width: 8px; height: 8px; }
  .hero-dot.is-active { width: 26px; }
}

.ph-mark {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
}
.ph-mark .ph-logo { display: block; }
.ph-word {
  align-self: flex-end;
  width: auto;
  max-width: 48%;
  height: clamp(36px, 5.5vw, 70px);
  object-fit: contain;
  margin-top: -6%;
  margin-right: 3%;
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.55));
  animation: fade-up 1s var(--easing) 0.3s both;
}
/* La palabra "Baterías" es más alta; la acercamos al logo para que no se corte */
.ph-word.ph-word-bateria {
  margin-top: -11%;
  max-width: 44%;
}
.ph-eyebrow {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  animation: fade-up 1s var(--easing) 0.3s both;
}
.ph-title {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: #fff;
  animation: fade-up 1s var(--easing) 0.45s both;
  max-width: 22ch;
}
.ph-title em {
  font-style: normal;
  background: linear-gradient(120deg, var(--accent-soft), #fff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ph-sub {
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  color: rgba(255, 255, 255, 0.8);
  max-width: 60ch;
  margin: 0 auto;
  animation: fade-up 1s var(--easing) 0.6s both;
}
.ph-cta {
  margin-top: 14px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  animation: fade-up 1s var(--easing) 0.75s both;
}
.ph-stats {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 48px;
  animation: fade-up 1s var(--easing) 0.9s both;
}
.ph-stats .stat-num {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
}
.ph-stats .stat-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 4px;
}
@media (max-width: 640px) {
  .ph-stats { grid-template-columns: repeat(3, auto); gap: 22px; }
  .ph-stats .stat-num { font-size: 1.3rem; }
  .ph-stats .stat-label { font-size: 0.62rem; letter-spacing: 0.16em; }
  .page-hero,
  .page-hero.compact {
    height: auto;
    min-height: 0;
    aspect-ratio: var(--hero-mobile-ratio, 1.23);
    padding: calc(var(--nav-h) + 16px) 18px 16px;
  }
  .ph-bg img { object-position: center; }
  .ph-logo { width: clamp(240px, 78vw, 420px); }
  .ph-word { height: clamp(28px, 6.5vw, 50px); max-width: 52%; margin-top: -5%; }
  .ph-word.ph-word-bateria { margin-top: -13%; max-width: 46%; margin-right: 4%; }
}

/* ---------- Carousel sliders (repuestos, gruas) ---------- */
.scroll-carousel {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 10px 24px 14px;
  margin: 0 -24px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.scroll-carousel::-webkit-scrollbar { display: none; }
.carousel-card {
  flex-shrink: 0;
  width: clamp(260px, 32vw, 380px);
  scroll-snap-align: start;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  transition: transform 0.5s var(--easing), border-color 0.4s;
}
.carousel-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-soft);
}
.carousel-card .img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(140deg, var(--bg-elev), var(--surface));
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel-card .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.8s var(--easing);
}
.carousel-card:hover .img img { transform: scale(1.08); }
.carousel-card .body { padding: 22px; }
.carousel-card h4 { font-size: 1.1rem; font-weight: 600; margin-bottom: 6px; }
.carousel-card p { color: var(--text-dim); font-size: 0.9rem; }

[data-carousel] { position: relative; }
.carousel-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  gap: 0;
  margin: 0;
  padding: 0 12px;
  pointer-events: none;
  z-index: 3;
}
.carousel-controls button {
  pointer-events: auto;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(8, 18, 44, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, transform 0.4s var(--easing), border-color 0.3s, box-shadow 0.3s;
  box-shadow: 0 14px 36px -10px rgba(0, 0, 0, 0.5);
}
.carousel-controls button:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.06);
}
.carousel-controls button:hover svg { stroke: #fff; }
.carousel-controls button:active { transform: scale(0.96); }
.carousel-controls svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 1.8; }
[data-theme="light"] .carousel-controls button {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(10, 11, 14, 0.12);
}
[data-theme="light"] .carousel-controls svg { stroke: var(--text); }
[data-theme="light"] .carousel-controls button:hover svg { stroke: #fff; }
@media (max-width: 540px) {
  .carousel-controls { padding: 0 6px; }
  .carousel-controls button { width: 40px; height: 40px; }
}

/* ---------- Feature list ---------- */
.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.feature-item {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.3s, transform 0.4s var(--easing);
}
.feature-item:hover {
  border-color: var(--accent-soft);
  transform: translateY(-3px);
}
.feature-item .icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(4, 71, 242, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--accent-soft);
}
.feature-item .icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.feature-item h4 { font-size: 1.1rem; margin-bottom: 8px; }
.feature-item p { color: var(--text-dim); font-size: 0.95rem; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--accent), #051d8a);
  border-radius: 32px;
  padding: 80px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  color: #fff;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(131, 205, 250, 0.3), transparent 50%);
}
.cta-banner h2 {
  position: relative;
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}
.cta-banner p {
  position: relative;
  margin: 0 auto 32px;
  max-width: 50ch;
  opacity: 0.9;
}
.cta-banner .btn {
  position: relative;
  background: #fff;
  color: var(--accent);
}
.cta-banner .btn:hover { background: #f0f0f0; }

/* ---------- Page transition ---------- */
.page-trans {
  position: fixed;
  inset: 0;
  background: #122446;
  z-index: 1000;
  transform: translateY(100%);
  transition: transform 0.45s var(--easing);
  pointer-events: none;
}
.page-trans.in { transform: translateY(0); }

/* ============================================================
   Home redesign: section-head, service tiles, stats, locations,
   inauguration banner, FAQ cards, WhatsApp CTA glow
   ============================================================ */

/* Section heading (centered) */
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.section-head .h2 { letter-spacing: -0.025em; max-width: 22ch; }
.section-head .lead { margin: 4px auto 0; }

/* ---------- Services head (modern, with chip + glow + divider) ---------- */
.services-head {
  position: relative;
  text-align: center;
  max-width: 760px;
  margin: 0 auto 40px;
  padding: 22px 20px 18px;
}
.services-head::before {
  content: "";
  position: absolute;
  inset: -10% -10% 30% -10%;
  background: radial-gradient(ellipse 70% 100% at 50% 100%, rgba(4, 71, 242, 0.18), transparent 70%);
  z-index: -1;
  pointer-events: none;
}
.head-chip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 18px 8px 14px;
  border-radius: 100px;
  background: rgba(131, 205, 250, 0.12);
  border: 1px solid rgba(131, 205, 250, 0.28);
  color: var(--accent-soft);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
[data-theme="light"] .head-chip {
  background: rgba(4, 71, 242, 0.08);
  border-color: rgba(4, 71, 242, 0.18);
  color: var(--accent);
}
.chip-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  position: relative;
  flex-shrink: 0;
}
.chip-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  opacity: 0.55;
  animation: chip-pulse 2.4s ease-out infinite;
}
@keyframes chip-pulse {
  0%   { transform: scale(1);   opacity: 0.6; }
  80%  { transform: scale(2.3); opacity: 0;   }
  100% { transform: scale(2.3); opacity: 0;   }
}
.head-title {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 18px;
  color: var(--text);
}
.head-title .hl {
  background: linear-gradient(120deg, var(--accent-soft), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}
.head-sub {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  color: var(--text-dim);
  max-width: 56ch;
  margin: 0 auto 28px;
  line-height: 1.6;
}
.head-divider {
  display: inline-flex;
  align-items: center;
}
.head-divider span {
  width: 60px;
  height: 4px;
  border-radius: 100px;
  background: var(--accent);
  transform-origin: left;
  animation: divider-grow 0.9s var(--easing) both;
}
/* Una sola barra de un color: se ocultan los segmentos extra */
.head-divider span:nth-child(n + 2) { display: none; }
@keyframes divider-grow {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* ---------- Ruta 32 feature (mountain + shield) ---------- */
.ruta32-feature {
  max-width: 680px;
  margin: 0 auto 36px;
}
.r32-img-wrap {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  aspect-ratio: 800 / 507;
  border: 1px solid var(--border);
  box-shadow: 0 30px 70px -25px rgba(4, 71, 242, 0.4);
}
.r32-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--easing);
}
.r32-img-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(8, 18, 44, 0.55) 100%);
  pointer-events: none;
}
.ruta32-feature:hover .r32-img { transform: scale(1.04); }
.r32-badge {
  position: absolute;
  bottom: 18px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(8, 18, 44, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 9px 18px 9px 10px;
  border-radius: 100px;
  color: #fff;
  z-index: 1;
}
.r32-badge img {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}
.r32-num {
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.005em;
  line-height: 1;
  padding-right: 4px;
}
@media (max-width: 540px) {
  .r32-badge { padding: 7px 14px 7px 7px; gap: 10px; bottom: 12px; left: 12px; }
  .r32-badge img { width: 32px; height: 32px; }
  .r32-num { font-size: 0.9rem; }
}

/* ---------- Mini services head (single line + animated chevron) ---------- */
.services-head-mini {
  text-align: center;
  margin: 0 auto 40px;
  padding: 6px 0 0;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.services-head-mini::before { display: none; }
.services-head-mini .head-title {
  margin: 0;
  font-size: clamp(1.4rem, 2.8vw, 2.2rem);
  letter-spacing: -0.025em;
  line-height: 1.1;
}
.head-pointer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-elev);
  color: var(--accent-soft);
  animation: head-pointer-bob 1.8s ease-in-out infinite;
  box-shadow: 0 10px 24px -10px rgba(4, 71, 242, 0.35);
}
.head-pointer svg { width: 18px; height: 18px; }
@keyframes head-pointer-bob {
  0%, 100% { transform: translateY(0); opacity: 0.85; }
  50% { transform: translateY(8px); opacity: 1; }
}
@media (max-width: 540px) {
  .services-head-mini .head-title { font-size: 1.25rem; }
  .head-pointer { width: 36px; height: 36px; }
}

/* ---------- Service tiles (4 in a row, 2x2 mobile) ---------- */
.service-tiles {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
/* Desktop: 3 arriba y 2 centradas (pirámide invertida) */
.service-tile { grid-column: span 2; }
.service-tile:nth-child(4) { grid-column: 2 / span 2; }
.service-tile:nth-child(5) { grid-column: 4 / span 2; }
.service-tile {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 26px;
  overflow: hidden;
  display: block;
  isolation: isolate;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  transition: transform 0.55s var(--easing), border-color 0.4s, box-shadow 0.55s var(--easing);
  color: #fff;
}
.service-tile:hover {
  transform: translateY(-8px);
  border-color: var(--accent-soft);
  box-shadow: 0 35px 80px -25px rgba(4, 71, 242, 0.55);
}
.service-tile .tile-img {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.service-tile .tile-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--easing);
}
.service-tile:hover .tile-img img { transform: scale(1.09); }
.service-tile .tile-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(8, 18, 44, 0) 25%, rgba(8, 18, 44, 0.65) 65%, rgba(4, 12, 32, 0.97) 100%);
  transition: opacity 0.4s;
}
.service-tile .tile-num {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 100px;
  padding: 6px 12px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.service-tile .tile-word-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 30%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px 14px;
  gap: 14px;
  z-index: 1;
  pointer-events: none;
}
.service-tile .tile-word {
  max-width: 92%;
  max-height: 70%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 14px 30px rgba(0, 0, 0, 0.65));
  transition: transform 0.6s var(--easing);
}
.service-tile:hover .tile-word { transform: scale(1.04); }
.service-tile .tile-content {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 22px 24px 24px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.service-tile .tile-variant {
  display: inline-flex;
  align-items: center;
  align-self: center;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #fff;
  padding: 5px 16px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.service-tile .tile-content p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  line-height: 1.45;
}
@media (max-width: 1024px) {
  /* Celular: 2, 2 y luego 1 centrada */
  .service-tiles { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .service-tile,
  .service-tile:nth-child(4) { grid-column: span 2; }
  .service-tile:nth-child(5) { grid-column: 2 / span 2; }
}
@media (max-width: 480px) {
  .service-tile { aspect-ratio: 4 / 5; border-radius: 22px; }
  .service-tile .tile-content { padding: 18px 18px 20px; }
  .service-tile .tile-content p { font-size: 0.8rem; }
  .service-tile .tile-word-overlay { padding: 14px 12px; bottom: 32%; gap: 10px; }
  .service-tile .tile-variant { font-size: 0.62rem; padding: 4px 12px; }
}

/* ---------- Stats grid ---------- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
.stat-tile {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 36px 22px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: border-color 0.4s, transform 0.4s var(--easing), box-shadow 0.4s;
}
.stat-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(4, 71, 242, 0.16), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}
.stat-tile:hover {
  border-color: var(--accent-soft);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px -20px rgba(4, 71, 242, 0.35);
}
.stat-tile:hover::before { opacity: 1; }
.stat-tile .stat-num {
  position: relative;
  font-size: clamp(2.6rem, 4.5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--accent-soft), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.stat-tile .stat-label {
  position: relative;
  font-size: 0.74rem;
  color: var(--text-dim);
  margin-top: 14px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 500;
}
.nosotros-text {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.nosotros-text p {
  margin-bottom: 18px;
  color: var(--text-dim);
  font-size: 1.04rem;
  line-height: 1.7;
}
.nosotros-text p:last-child { margin-bottom: 0; }
@media (max-width: 768px) {
  .stats-row { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .stat-tile { padding: 24px 10px; }
  .stat-tile .stat-num { font-size: clamp(1.8rem, 7vw, 2.4rem); }
  .stat-tile .stat-label { font-size: 0.6rem; letter-spacing: 0.12em; margin-top: 8px; }
}

/* ---------- Location buttons (with brand icons) ---------- */
.location-card .row { gap: 10px; }
.btn-loc {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  border-radius: 100px;
  font-weight: 500;
  font-size: 0.86rem;
  transition: transform 0.35s var(--easing), background 0.3s, color 0.3s, box-shadow 0.4s var(--easing), border-color 0.3s;
  white-space: nowrap;
  border: 1px solid var(--border);
  background: var(--bg-elev);
  color: var(--text);
}
.btn-loc svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn-loc:hover { transform: translateY(-2px); }
.btn-loc-gmaps:hover {
  background: #1A73E8;
  color: #fff;
  border-color: #1A73E8;
  box-shadow: 0 14px 30px -10px rgba(26, 115, 232, 0.55);
}
.btn-loc-waze:hover {
  background: #33CCFF;
  color: #fff;
  border-color: #33CCFF;
  box-shadow: 0 14px 30px -10px rgba(51, 204, 255, 0.55);
}
.btn-loc-wa {
  background: #25D366;
  color: #fff;
  border-color: #25D366;
  box-shadow: 0 10px 24px -10px rgba(37, 211, 102, 0.5);
}
.btn-loc-wa:hover {
  background: #1ebe5b;
  border-color: #1ebe5b;
  box-shadow: 0 16px 36px -10px rgba(37, 211, 102, 0.7);
}

/* ---------- Inauguration banner ---------- */
.inauguration-banner {
  margin-top: 56px;
  background:
    radial-gradient(ellipse at top right, rgba(4, 71, 242, 0.18), transparent 60%),
    var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 30px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: stretch;
  position: relative;
}
.inauguration-banner .ib-img {
  position: relative;
  overflow: hidden;
  min-height: 320px;
}
.inauguration-banner .ib-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.inauguration-banner .ib-content {
  padding: 56px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.inauguration-banner .ib-tag {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  background: var(--accent);
  color: #fff;
  padding: 7px 16px;
  border-radius: 100px;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 20px;
  box-shadow: 0 12px 30px -8px rgba(4, 71, 242, 0.55);
}
.inauguration-banner h3 {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  margin-bottom: 18px;
  line-height: 1.15;
  letter-spacing: -0.025em;
}
.inauguration-banner p {
  color: var(--text-dim);
  margin-bottom: 28px;
  font-size: 1.02rem;
  line-height: 1.7;
}
.inauguration-banner .ib-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
@media (max-width: 900px) {
  .inauguration-banner { grid-template-columns: 1fr; }
  .inauguration-banner .ib-img { min-height: 240px; aspect-ratio: 4/3; }
  .inauguration-banner .ib-content { padding: 36px 28px; }
}

/* ---------- Promo bateria block (2 side-by-side photos + CTA) ---------- */
.promo-bateria-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.promo-bateria-imgs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  width: 100%;
  max-width: 1180px;
}
.promo-bateria-img {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  aspect-ratio: 4 / 5;
  isolation: isolate;
}
.promo-bateria-img .promo-bg-blur {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.promo-bateria-img .promo-bg-blur img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(34px) saturate(135%) brightness(0.7);
  transform: scale(1.18);
  display: block;
}
.promo-bateria-img .promo-bg-blur::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 60% at 50% 110%, rgba(4, 71, 242, 0.28), transparent 70%),
    linear-gradient(180deg, rgba(10, 21, 48, 0.28), rgba(10, 21, 48, 0.45));
}
.promo-bateria-img .promo-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
}
.promo-bateria-img .promo-img img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 12px;
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.55);
}
.promo-bateria-cta { display: flex; justify-content: center; }
@media (max-width: 560px) {
  .promo-bateria-imgs { gap: 10px; }
  .promo-bateria-img { border-radius: 16px; aspect-ratio: 4 / 5; }
}

/* ---------- Mensajeria banner ---------- */
.mensajeria-banner {
  background:
    radial-gradient(ellipse at top left, rgba(37, 211, 102, 0.16), transparent 60%),
    radial-gradient(ellipse at bottom right, rgba(4, 71, 242, 0.14), transparent 60%),
    var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 30px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: stretch;
  position: relative;
}
.mensajeria-banner .mensajeria-img {
  position: relative;
  overflow: hidden;
  min-height: 300px;
}
.mensajeria-banner .mensajeria-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mensajeria-banner .mensajeria-content {
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.mensajeria-banner .ib-tag {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  background: #25D366;
  color: #fff;
  padding: 7px 16px;
  border-radius: 100px;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 18px;
  box-shadow: 0 12px 30px -8px rgba(37, 211, 102, 0.55);
}
.mensajeria-banner h3 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  margin-bottom: 14px;
  line-height: 1.15;
  letter-spacing: -0.025em;
}
.mensajeria-banner p {
  color: var(--text-dim);
  margin-bottom: 22px;
  font-size: 1rem;
  line-height: 1.65;
}
.mensajeria-banner .ib-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
@media (max-width: 900px) {
  .mensajeria-banner { grid-template-columns: 1fr; }
  .mensajeria-banner .mensajeria-img { min-height: 220px; aspect-ratio: 4/3; }
  .mensajeria-banner .mensajeria-content { padding: 32px 26px; }
}

/* ---------- Promo strip (barra deslizante continua, drag + botones) ---------- */
.promo-carousel {
  position: relative;
  width: 100%;
  background: var(--bg-elev);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  isolation: isolate;
  padding: 28px 0;
}
.promo-strip {
  display: flex;
  gap: 88px;
  height: clamp(320px, 40vw, 520px);
  width: max-content;
  align-items: center;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
  will-change: transform;
}
.promo-strip.no-anim { transition: none; }
.promo-strip.dragging { cursor: grabbing; transition: none; }
.promo-item {
  position: relative;
  flex: 0 0 auto;
  height: 100%;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 50px -22px rgba(0, 0, 0, 0.55);
  cursor: zoom-in;
}
a.promo-item { cursor: pointer; }
.promo-strip.dragging .promo-item { cursor: grabbing; }
/* "Toca para abrir / ampliar" badge sobre promos y anuncios */
.tap-hint {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border-radius: 100px;
  background: rgba(8, 18, 44, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
  pointer-events: none;
  animation: tap-hint-pulse 2.2s ease-in-out infinite;
}
.tap-hint svg { width: 15px; height: 15px; }
@keyframes tap-hint-pulse {
  0%, 100% { opacity: 0.82; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-3px); }
}
@media (max-width: 640px) {
  .tap-hint { font-size: 0.7rem; padding: 6px 11px; bottom: 9px; right: 9px; }
}
.promo-item img {
  height: 100%;
  width: auto;
  display: block;
  border-radius: 18px;
  pointer-events: none;
  -webkit-user-drag: none;
}
.promo-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  background: rgba(8, 18, 44, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  transition: background 0.25s var(--easing), transform 0.25s var(--easing);
}
.promo-arrow:hover { background: var(--accent); transform: translateY(-50%) scale(1.06); }
.promo-arrow.prev { left: 18px; }
.promo-arrow.next { right: 18px; }
.promo-arrow svg { width: 22px; height: 22px; }
@media (max-width: 900px) {
  .promo-carousel { padding: 18px 0; }
  .promo-strip { height: clamp(280px, 68vw, 440px); gap: 56px; }
  .promo-arrow { display: none; }
}

/* ---------- Swipe hint ("Desliza") ---------- */
.swipe-hint {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 18px auto 0;
  padding: 8px 18px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text-dim);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  width: fit-content;
}
.swipe-hint svg {
  width: 22px;
  height: 16px;
  color: var(--accent-soft);
  animation: swipe-nudge 1.6s ease-in-out infinite;
}
@keyframes swipe-nudge {
  0%, 100% { transform: translateX(-4px); }
  50% { transform: translateX(4px); }
}

/* ---------- Promo highlight (single image, contained) ---------- */
.promo-highlight {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  aspect-ratio: 21 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
  cursor: zoom-in;
}
.promo-highlight .promo-bg-blur {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.promo-highlight .promo-bg-blur img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(38px) saturate(135%) brightness(0.7);
  transform: scale(1.18);
}
.promo-highlight .promo-bg-blur::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 60% at 50% 110%, rgba(4, 71, 242, 0.32), transparent 70%),
    linear-gradient(180deg, rgba(10, 21, 48, 0.3), rgba(10, 21, 48, 0.5));
}
.promo-highlight .promo-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
}
.promo-highlight .promo-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.55);
}
@media (max-width: 900px) {
  .promo-highlight { aspect-ratio: 4 / 5; border-radius: 22px; }
  .promo-highlight .promo-img { padding: 14px; }
}

/* ---------- Social portal section ---------- */
.section-social { background: var(--bg); }

.social-carousel {
  position: relative;
  margin: 40px auto 0;
  max-width: 720px;
  width: 100%;
}
.social-stage {
  position: relative;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.45);
}
.social-track {
  display: flex;
  width: 100%;
  transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
  will-change: transform;
}
.social-track.no-anim { transition: none !important; }
.social-slide {
  flex: 0 0 100%;
  min-width: 100%;
  display: flex;
  flex-direction: column;
  background: var(--bg-elev);
}
.social-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(8, 18, 44, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  transition: background 0.25s var(--easing), transform 0.25s var(--easing), box-shadow 0.25s;
  padding: 0;
}
[data-theme="light"] .social-arrow {
  background: rgba(10, 11, 14, 0.65);
  border-color: rgba(255, 255, 255, 0.1);
}
.social-arrow:hover {
  background: var(--accent);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 12px 30px -8px rgba(4, 71, 242, 0.6);
}
.social-arrow svg { width: 22px; height: 22px; }
.social-arrow.prev { left: 10px; }
.social-arrow.next { right: 10px; }

.social-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding: 8px 16px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 100px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}
.social-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(131, 205, 250, 0.3);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: width 0.5s var(--easing), background 0.4s, box-shadow 0.4s;
}
[data-theme="light"] .social-dot { background: rgba(10, 11, 14, 0.2); }
.social-dot:hover { background: var(--accent-soft); }
.social-dot.is-active {
  background: var(--accent);
  width: 32px;
  border-radius: 100px;
  box-shadow: 0 0 12px rgba(4, 71, 242, 0.55);
}

@media (max-width: 720px) {
  .social-stage { max-width: 100%; border-radius: 18px; }
  .social-arrow { width: 40px; height: 40px; }
  .social-arrow.prev { left: 8px; }
  .social-arrow.next { right: 8px; }
  .social-arrow svg { width: 18px; height: 18px; }
}

.social-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 1;
}
.social-platform-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.social-platform-icon svg { width: 20px; height: 20px; }
.social-platform-icon.is-fb { background: #1877F2; }
.social-platform-icon.is-ig { background: linear-gradient(45deg, #F58529 0%, #DD2A7B 50%, #8134AF 75%, #515BD4 100%); }
.social-platform-icon.is-tt { background: #000; }
[data-theme="light"] .social-platform-icon.is-tt { background: #0a0b0e; }
.social-card-meta { min-width: 0; }
.social-card-meta strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.social-card-meta span {
  font-size: 0.74rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.social-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  background: #000;
  overflow: hidden;
}
.social-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.social-card-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--accent-soft);
  border-top: 1px solid var(--border);
  transition: background 0.3s var(--easing), color 0.3s var(--easing);
  position: relative;
  z-index: 1;
}
.social-card-cta:hover { background: var(--accent); color: #fff; }
.social-card-cta svg { width: 16px; height: 16px; }
[data-theme="light"] .social-card-cta { color: var(--accent); }

.social-links-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 36px;
}
.social-pill {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 18px;
  transition: transform 0.3s var(--easing), border-color 0.3s, box-shadow 0.3s, background 0.3s;
  position: relative;
  overflow: hidden;
}
.social-pill::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(4, 71, 242, 0.08) 100%);
  opacity: 0;
  transition: opacity 0.4s var(--easing);
  pointer-events: none;
}
.social-pill:hover {
  transform: translateY(-3px);
  border-color: var(--accent-soft);
  box-shadow: 0 24px 50px -18px rgba(4, 71, 242, 0.35);
}
.social-pill:hover::after { opacity: 1; }
.social-pill-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.social-pill-icon svg { width: 22px; height: 22px; }
.social-pill-fb .social-pill-icon { background: #1877F2; }
.social-pill-ig .social-pill-icon { background: linear-gradient(45deg, #F58529 0%, #DD2A7B 50%, #8134AF 75%, #515BD4 100%); }
.social-pill-tt .social-pill-icon { background: #000; }
[data-theme="light"] .social-pill-tt .social-pill-icon { background: #0a0b0e; }
.social-pill-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}
.social-pill-text strong {
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.01em;
}
.social-pill-text span {
  font-size: 0.82rem;
  color: var(--text-dim);
}
.social-pill-arrow {
  color: var(--text-dim);
  transition: transform 0.3s var(--easing), color 0.3s;
  flex-shrink: 0;
}
.social-pill-arrow svg { width: 18px; height: 18px; }
.social-pill:hover .social-pill-arrow { transform: translateX(4px); color: var(--accent); }

@media (max-width: 720px) {
  .social-links-row { grid-template-columns: 1fr; }
}

/* ---------- Sucursal direct phone chip ---------- */
.loc-direct {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 10px 14px;
  background: rgba(4, 71, 242, 0.08);
  border: 1px solid rgba(131, 205, 250, 0.25);
  border-radius: 14px;
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.35;
}
[data-theme="light"] .loc-direct {
  background: rgba(4, 71, 242, 0.06);
  border-color: rgba(4, 71, 242, 0.18);
}
.loc-direct svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
  flex-shrink: 0;
}
.loc-direct strong { font-weight: 600; }
.loc-direct .ext { color: var(--text-dim); font-size: 0.82rem; }

/* ---------- Central telefónica (debajo de los servicios) ---------- */
.phone-central {
  margin: 36px auto 0;
  max-width: 720px;
  background:
    radial-gradient(ellipse at top left, rgba(4, 71, 242, 0.16), transparent 60%),
    var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 26px 30px;
}
.pc-head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.pc-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 28px -10px rgba(4, 71, 242, 0.6);
}
.pc-icon svg { width: 26px; height: 26px; }
.pc-headtext { display: flex; flex-direction: column; gap: 2px; }
.pc-eyebrow {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-dim);
  font-weight: 600;
}
.pc-num {
  font-size: clamp(1.5rem, 3.2vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  transition: color 0.25s;
}
.pc-num:hover { color: var(--accent-soft); }
.pc-exts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 18px;
}
.pc-exts li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text);
}
.pc-ext {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  padding: 5px 10px;
  border-radius: 100px;
  background: rgba(4, 71, 242, 0.12);
  border: 1px solid rgba(131, 205, 250, 0.28);
  color: var(--accent-soft);
  font-size: 0.8rem;
  font-weight: 600;
}
[data-theme="light"] .pc-ext { color: var(--accent); }
@media (max-width: 560px) {
  .phone-central { padding: 22px 20px; }
  .pc-exts { grid-template-columns: 1fr; }
}

/* ---------- FAQ redesign (single-column cards) ---------- */
.section-faq .faq-grid {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.section-faq .faq-item {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.4s, transform 0.4s var(--easing);
}
.section-faq .faq-item:hover {
  border-color: var(--accent-soft);
  transform: translateY(-1px);
}
.section-faq .faq-item.open {
  border-color: var(--accent);
  box-shadow: 0 14px 38px -14px rgba(4, 71, 242, 0.45);
}
.section-faq .faq-question {
  padding: 22px 26px;
  font-size: 1rem;
  gap: 18px;
}
.section-faq .faq-question .q-text { flex: 1; }
.section-faq .faq-answer-inner {
  padding: 0 26px 24px;
  font-size: 0.96rem;
  line-height: 1.65;
}
@media (max-width: 640px) {
  .section-faq .faq-question { padding: 18px 20px; font-size: 0.96rem; }
  .section-faq .faq-answer-inner { padding: 0 20px 20px; }
}

/* ---------- Quote form (cotizar por WhatsApp) ---------- */
.section-quote {
  padding: 56px 0;
}
.quote-card {
  position: relative;
  background:
    radial-gradient(ellipse 60% 80% at 0% 100%, rgba(4, 71, 242, 0.16), transparent 60%),
    radial-gradient(ellipse 40% 60% at 100% 0%, rgba(37, 211, 102, 0.10), transparent 60%),
    var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: 48px 50px;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 48px;
  align-items: center;
  overflow: hidden;
}
.quote-text { position: relative; }
.quote-text .head-chip { margin-bottom: 18px; }
.quote-text .head-title {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  margin-bottom: 14px;
}
.quote-text .head-sub { margin-bottom: 20px; }
.quick-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 22px;
}
.qc-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 14px;
  color: #fff;
  text-decoration: none;
  transition: transform 0.3s var(--easing), box-shadow 0.3s, filter 0.3s;
}
.qc-btn:hover { transform: translateY(-2px); filter: brightness(1.05); }
.qc-btn svg { width: 22px; height: 22px; flex-shrink: 0; }
.qc-btn span { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.qc-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  opacity: 0.92;
}
.qc-num {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-top: 2px;
}
.qc-wa {
  background: #25D366;
  box-shadow: 0 14px 30px -14px rgba(37, 211, 102, 0.65);
}
.qc-call {
  background: var(--accent);
  box-shadow: 0 14px 30px -14px rgba(4, 71, 242, 0.6);
}
@media (max-width: 480px) {
  .quick-contact { grid-template-columns: 1fr; }
}
.quote-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.quote-bullets li {
  position: relative;
  padding-left: 30px;
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.5;
}
.quote-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(4, 71, 242, 0.14);
  border: 1px solid rgba(4, 71, 242, 0.4);
}
.quote-bullets li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 9px;
  width: 8px;
  height: 5px;
  border-left: 1.5px solid var(--accent);
  border-bottom: 1.5px solid var(--accent);
  transform: rotate(-45deg);
}
.quote-form {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.qf-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.qf-field span {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-dim);
  font-weight: 500;
}
.qf-field input,
.qf-field textarea,
.qf-field select {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
  color: var(--text);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}
.qf-field select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2383cdfa' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
}
.qf-field input::placeholder,
.qf-field textarea::placeholder {
  color: var(--text-dim);
  opacity: 0.6;
}
.qf-field input:focus,
.qf-field textarea:focus,
.qf-field select:focus {
  outline: none;
  border-color: var(--accent-soft);
  box-shadow: 0 0 0 4px rgba(131, 205, 250, 0.14);
}
.qf-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 6px;
  padding: 16px 26px;
  border-radius: 100px;
  background: #25D366;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.4s;
  box-shadow: 0 14px 36px -10px rgba(37, 211, 102, 0.6);
}
.qf-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 50px -10px rgba(37, 211, 102, 0.75);
}
.qf-submit::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70%);
  transform: translateX(-110%);
  transition: transform 0.7s var(--easing);
  pointer-events: none;
}
.qf-submit:hover::before { transform: translateX(110%); }
.qf-submit svg { width: 18px; height: 18px; flex-shrink: 0; }
@media (max-width: 800px) {
  .quote-card { grid-template-columns: 1fr; padding: 32px 24px; gap: 28px; }
  .section-quote { padding: 44px 0; }
}

/* ---------- Lubricentro gallery ---------- */
.lub-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.lub-tile {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  aspect-ratio: 4 / 3;
  isolation: isolate;
  transition: transform 0.5s var(--easing), border-color 0.4s, box-shadow 0.4s;
  margin: 0;
}
.lub-tile:hover {
  transform: translateY(-5px);
  border-color: var(--accent-soft);
  box-shadow: 0 30px 60px -25px rgba(4, 71, 242, 0.45);
}
.lub-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--easing);
}
.lub-tile:hover img { transform: scale(1.05); }
.lub-tile figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 18px 22px;
  font-size: 0.92rem;
  color: #fff;
  background: linear-gradient(180deg, transparent 0%, rgba(8, 18, 44, 0.85) 80%);
}
.lub-tile-solo {
  max-width: 820px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
}
@media (max-width: 760px) {
  .lub-gallery { grid-template-columns: 1fr; gap: 16px; }
  .lub-tile-solo { aspect-ratio: 4 / 3; }
}

/* ---------- Fleet grid (compact features row) ---------- */
.fleet-sub {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text-dim);
  margin: 8px auto 0;
}
.fleet-sub strong {
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.fleet-fact { display: inline-flex; align-items: center; gap: 6px; }
.fleet-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent-soft);
  opacity: 0.6;
}
.fleet-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 1040px;
  margin: 0 auto;
}
.fleet-item {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 16px;
  text-align: left;
  transition: border-color 0.3s, transform 0.4s var(--easing);
}
.fleet-item:hover {
  border-color: var(--accent-soft);
  transform: translateY(-2px);
}
.fleet-item .icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(4, 71, 242, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  color: var(--accent-soft);
}
.fleet-item .icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.fleet-item h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.fleet-item p {
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.4;
  margin: 0;
}
@media (max-width: 760px) {
  .fleet-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .fleet-item { padding: 14px 12px; }
  .fleet-item h4 { font-size: 0.9rem; }
  .fleet-item p { font-size: 0.78rem; }
  .fleet-sub { font-size: 0.84rem; gap: 8px; }
}

/* ---------- Lubricentro: tipos de vehiculo ---------- */
.lub-types {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 900px;
  margin: 0 auto;
}
.lub-type {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px 20px;
  text-align: left;
  transition: border-color 0.3s, transform 0.3s var(--easing);
}
.lub-type:hover {
  border-color: var(--accent-soft);
  transform: translateY(-2px);
}
.lub-type .icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(4, 71, 242, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  color: var(--accent-soft);
}
.lub-type .icon svg { width: 20px; height: 20px; }
.lub-type h4 { font-size: 1rem; margin-bottom: 4px; letter-spacing: -0.01em; }
.lub-type p { font-size: 0.85rem; color: var(--text-dim); line-height: 1.45; margin: 0; }
@media (max-width: 760px) {
  .lub-types { grid-template-columns: 1fr; }
}

/* ---------- Lubricentro: marcas ---------- */
.lub-brands {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 820px;
  margin: 0 auto;
  align-items: stretch;
}
.lub-brand {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 30px 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 130px;
  transition: border-color 0.3s, transform 0.3s var(--easing), box-shadow 0.3s;
}
.lub-brand:hover {
  border-color: var(--accent-soft);
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.5);
}
.lub-brand img {
  max-width: 84%;
  max-height: 76px;
  width: auto;
  height: auto;
  object-fit: contain;
}
@media (max-width: 640px) {
  .lub-brands { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
@media (max-width: 420px) {
  .lub-brands { grid-template-columns: 1fr; }
  .lub-brand { padding: 26px 22px; min-height: 104px; }
}

/* ---------- Lubricentro: mosaico de fotos ---------- */
.lub-mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 1040px;
  margin: 0 auto;
}
.lub-mosaic-cell {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  padding: 0;
  cursor: zoom-in;
  aspect-ratio: 1 / 1;
  transition: transform 0.4s var(--easing), border-color 0.3s, box-shadow 0.3s;
}
.lub-mosaic-cell:hover {
  border-color: var(--accent-soft);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -22px rgba(4, 71, 242, 0.45);
}
.lub-mosaic-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s var(--easing);
}
.lub-mosaic-cell:hover img { transform: scale(1.05); }
.lub-mosaic-cell.lub-cell-feature {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: 1 / 1;
}
.lub-mosaic-cell.lub-cell-wide {
  grid-column: span 2;
  aspect-ratio: 2 / 1;
}
@media (max-width: 760px) {
  .lub-mosaic { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .lub-mosaic-cell.lub-cell-feature { grid-column: span 2; grid-row: span 1; aspect-ratio: 16 / 10; }
  .lub-mosaic-cell.lub-cell-wide { grid-column: span 2; aspect-ratio: 16 / 9; }
}

/* ---------- Categorias chips (used parts) ---------- */
.cat-chips {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 900px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.cat-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 10px 18px 10px 14px;
  font-size: 0.92rem;
  color: var(--text);
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: border-color 0.3s, transform 0.3s var(--easing), background 0.3s;
}
.cat-chip::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-soft);
  flex-shrink: 0;
}
.cat-chip:hover {
  border-color: var(--accent-soft);
  transform: translateY(-2px);
  background: var(--bg);
}
.cat-chip-top {
  background: linear-gradient(135deg, var(--accent) 0%, #051d8a 100%);
  border-color: transparent;
  color: #fff;
  font-weight: 600;
  box-shadow: 0 12px 28px -12px rgba(4, 71, 242, 0.55);
}
.cat-chip-top::before { background: #fff; }
.cat-chip-top::after {
  content: "Top";
  margin-left: 6px;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 100px;
  padding: 2px 8px;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.cat-chip-top:hover { background: linear-gradient(135deg, #0a52ff 0%, #0a2dbf 100%); }
@media (max-width: 640px) {
  .cat-chips { gap: 8px; }
  .cat-chip { font-size: 0.85rem; padding: 8px 14px 8px 12px; }
}

/* ---------- Dome marquee (vertical scrolling columns gallery) ---------- */
.dome-marquee {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  height: clamp(560px, 82vh, 880px);
  overflow: hidden;
  position: relative;
  padding: 0 24px;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 9%, #000 91%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 9%, #000 91%, transparent 100%);
}
.dome-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: dome-up 60s linear infinite;
  will-change: transform;
}
.dome-col-down {
  animation: dome-down 70s linear infinite;
}
.dome-col:nth-child(3) { animation-duration: 65s; }
.dome-col:nth-child(4) { animation-duration: 75s; }
@keyframes dome-up {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(0, -50%, 0); }
}
@keyframes dome-down {
  from { transform: translate3d(0, -50%, 0); }
  to   { transform: translate3d(0, 0, 0); }
}
.dome-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  flex-shrink: 0;
  box-shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.6);
  padding: 0;
  cursor: zoom-in;
  display: block;
  width: 100%;
  transition: transform 0.5s var(--easing), border-color 0.4s, box-shadow 0.4s;
}
.dome-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-soft);
  box-shadow: 0 28px 60px -22px rgba(4, 71, 242, 0.55);
}
.dome-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s var(--easing);
}
.dome-card:hover img { transform: scale(1.06); }
.dome-card-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  background: var(--accent);
  color: #fff;
  padding: 5px 11px;
  border-radius: 100px;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  box-shadow: 0 8px 22px -6px rgba(4, 71, 242, 0.7);
  pointer-events: none;
  white-space: nowrap;
}
@media (max-width: 1100px) {
  .dome-marquee { grid-template-columns: repeat(3, 1fr); }
  .dome-col:nth-child(4) { display: none; }
}
@media (max-width: 760px) {
  .dome-marquee {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 0 14px;
    height: clamp(480px, 80vh, 720px);
  }
  .dome-col:nth-child(3) { display: none; }
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(4, 8, 18, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--easing);
}
.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}
.lightbox-stage {
  position: relative;
  max-width: min(1200px, 100%);
  max-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-img {
  max-width: 100%;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 40px 90px -20px rgba(0, 0, 0, 0.6);
  transform: scale(0.96);
  transition: transform 0.35s var(--easing);
}
.lightbox.is-open .lightbox-img { transform: scale(1); }
.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background 0.25s, transform 0.25s var(--easing);
  z-index: 2;
}
.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: rotate(90deg);
}
.lightbox-close svg { width: 22px; height: 22px; }
@media (max-width: 640px) {
  .lightbox { padding: 16px; }
  .lightbox-close { top: 14px; right: 14px; width: 40px; height: 40px; }
}

/* ---------- CTA WhatsApp glow ---------- */
.section-cta { padding-bottom: 100px; }
.cta-glow {
  background: linear-gradient(135deg, var(--accent) 0%, #051d8a 100%);
  border-radius: 36px;
  padding: 56px 50px;
  position: relative;
  overflow: hidden;
  text-align: center;
  color: #fff;
}
.cta-glow::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 25% 25%, rgba(131, 205, 250, 0.45), transparent 60%),
    radial-gradient(ellipse 50% 70% at 80% 75%, rgba(37, 211, 102, 0.28), transparent 60%);
  pointer-events: none;
}
.cta-glow > * { position: relative; }
.cta-text { margin-bottom: 26px; }
.cta-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}
.cta-eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: rgba(255, 255, 255, 0.85);
}
.cta-text h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin: 14px 0 18px;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.cta-text p {
  max-width: 56ch;
  margin: 0 auto;
  opacity: 0.88;
  font-size: 1.05rem;
  line-height: 1.6;
}
.wa-cta {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 14px 30px 14px 14px;
  border-radius: 100px;
  background: #25D366;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 22px 60px -14px rgba(37, 211, 102, 0.65), 0 0 0 0 rgba(37, 211, 102, 0.4);
  transition: transform 0.4s var(--easing), box-shadow 0.4s var(--easing);
  animation: wa-cta-pulse 2.6s ease-out infinite;
}
.wa-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 70px -10px rgba(37, 211, 102, 0.78), 0 0 0 0 rgba(37, 211, 102, 0);
  animation: none;
}
.wa-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.28) 50%, transparent 70%);
  transform: translateX(-110%);
  transition: transform 0.85s var(--easing);
  pointer-events: none;
}
.wa-cta:hover::before { transform: translateX(110%); }
@keyframes wa-cta-pulse {
  0%   { box-shadow: 0 22px 60px -14px rgba(37, 211, 102, 0.65), 0 0 0 0 rgba(37, 211, 102, 0.45); }
  70%  { box-shadow: 0 22px 60px -14px rgba(37, 211, 102, 0.65), 0 0 0 22px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 22px 60px -14px rgba(37, 211, 102, 0.65), 0 0 0 0 rgba(37, 211, 102, 0); }
}
.wa-cta-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}
.wa-cta-icon svg { width: 28px; height: 28px; fill: #fff; }
.wa-cta-content {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.2;
}
.wa-cta-label {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.88;
  font-weight: 500;
}
.wa-cta-num {
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-top: 2px;
}
.wa-cta-arrow {
  display: inline-flex;
  align-items: center;
  margin-left: 4px;
  transition: transform 0.4s var(--easing);
}
.wa-cta-arrow svg { width: 16px; height: 16px; }
.wa-cta:hover .wa-cta-arrow { transform: translateX(4px); }
@media (max-width: 540px) {
  .cta-glow { padding: 40px 22px; border-radius: 28px; }
  .wa-cta { padding: 12px 22px 12px 12px; gap: 14px; }
  .wa-cta-icon { width: 46px; height: 46px; }
  .wa-cta-icon svg { width: 22px; height: 22px; }
  .wa-cta-num { font-size: 1rem; }
  .wa-cta-label { font-size: 0.62rem; letter-spacing: 0.16em; }
}

/* ============================================================
   Trabaja con nosotros (Empleos)
   ============================================================ */
.jobs-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: calc(var(--nav-h) + 46px) 0 48px;
}
.jobs-hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.jh-glow {
  position: absolute;
  top: -28%;
  left: 50%;
  width: 90vw;
  height: 90vw;
  max-width: 1050px;
  max-height: 1050px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(4, 71, 242, 0.4), transparent 62%);
  animation: jh-pulse 6s ease-in-out infinite;
}
@keyframes jh-pulse {
  0%, 100% { opacity: 0.7; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.08); }
}
.jh-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 25%, #000 25%, transparent 78%);
  mask-image: radial-gradient(ellipse 75% 65% at 50% 25%, #000 25%, transparent 78%);
}
.jobs-hero-inner {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.jobs-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 18px;
  border-radius: 100px;
  background: rgba(4, 71, 242, 0.12);
  border: 1px solid rgba(131, 205, 250, 0.3);
  color: var(--accent-soft);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
[data-theme="light"] .jobs-chip { color: var(--accent); }
.chip-pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #36d399;
  animation: chip-pulse 1.8s ease-out infinite;
}
@keyframes chip-pulse {
  0% { box-shadow: 0 0 0 0 rgba(54, 211, 153, 0.55); }
  70% { box-shadow: 0 0 0 12px rgba(54, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(54, 211, 153, 0); }
}
.jobs-title {
  font-size: clamp(2.1rem, 5.2vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}
.jobs-title .hl {
  background: linear-gradient(120deg, var(--accent-soft), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.jobs-sub {
  max-width: 60ch;
  color: var(--text-dim);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.6;
}
.jobs-hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 4px;
}
/* Position groups */
.jobs-group { margin-bottom: 54px; }
.jobs-group:last-child { margin-bottom: 0; }
.jobs-group-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}
.jg-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(4, 71, 242, 0.12);
  border: 1px solid var(--border);
  color: var(--accent-soft);
  flex-shrink: 0;
}
[data-theme="light"] .jg-icon { color: var(--accent); }
.jg-icon svg { width: 22px; height: 22px; }
.jobs-group-head h3 {
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  letter-spacing: -0.02em;
}
.jg-tag {
  margin-left: auto;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 14px;
}
.jobs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.job-card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--easing), border-color 0.4s, box-shadow 0.4s;
}
.job-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-soft);
  box-shadow: 0 28px 60px -24px rgba(4, 71, 242, 0.4);
}
.job-img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border: none;
  padding: 0;
  background: #0a1530;
  cursor: zoom-in;
  overflow: hidden;
  display: block;
}
.job-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.6s var(--easing);
}
.job-card:hover .job-img img { transform: scale(1.04); }
.job-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
}
.job-role { font-weight: 600; font-size: 1.06rem; letter-spacing: -0.01em; }
.job-loc {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--text-dim);
}
.job-loc svg { width: 14px; height: 14px; color: var(--accent-soft); flex-shrink: 0; }
/* "Toca para ampliar" hint */
.job-zoom {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 100px;
  background: rgba(8, 18, 44, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
  pointer-events: none;
  animation: zoom-bob 2.2s ease-in-out infinite;
}
.job-zoom svg { width: 15px; height: 15px; }
@keyframes zoom-bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-4px); }
}
.job-card:hover .job-zoom { background: var(--accent); border-color: var(--accent); }

/* Cómo aplicar */
.apply-banner {
  display: flex;
  align-items: center;
  gap: 28px;
  background:
    radial-gradient(ellipse at top right, rgba(4, 71, 242, 0.16), transparent 60%),
    var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 40px 44px;
  flex-wrap: wrap;
}
.apply-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 16px 36px -12px rgba(4, 71, 242, 0.6);
}
.apply-icon svg { width: 34px; height: 34px; }
.apply-text { flex: 1; min-width: 260px; }
.apply-text .ib-tag {
  display: inline-flex;
  background: var(--accent);
  color: #fff;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 14px;
}
.apply-text h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); margin-bottom: 12px; letter-spacing: -0.02em; }
.apply-text p { color: var(--text-dim); line-height: 1.7; margin-bottom: 18px; }
.apply-text p strong { color: var(--text); }
.apply-details { display: flex; flex-direction: column; gap: 12px; }
.apply-detail {
  display: flex;
  flex-direction: column;
  gap: 3px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 16px;
}
.apply-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-dim);
  font-weight: 600;
}
.apply-value { font-size: 1.04rem; font-weight: 600; color: var(--text); word-break: break-word; }
@media (max-width: 760px) {
  .jobs-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}
@media (max-width: 640px) {
  .jobs-hero { padding-top: calc(var(--nav-h) + 30px); padding-bottom: 38px; }
  .job-zoom { font-size: 0.7rem; padding: 6px 11px; bottom: 9px; }
  .apply-banner { padding: 30px 24px; gap: 20px; }
  .jg-tag { margin-left: 0; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { aspect-ratio: 16 / 10; }
  .about, .faq { grid-template-columns: 1fr; gap: 40px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .locations { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .burger { display: inline-flex; }
  .section { padding: 52px 0; }
  .cta-banner { padding: 60px 28px; }
}
@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .nav-inner { padding: 0 18px; }
  .hero { padding: calc(var(--nav-h) + 50px) 0 60px; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 20px; }
  .services, .feature-list { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .wa-float { width: 56px; height: 56px; bottom: 18px; right: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   Gruas emphasis banner (24/7, todo tipo de vehiculo)
   ============================================================ */
.gruas-banner {
  display: flex;
  align-items: center;
  gap: 24px;
  background: linear-gradient(120deg, var(--bg-elev), var(--surface));
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 28px 32px;
  position: relative;
  overflow: hidden;
}
.gruas-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 120% at 100% 0%, rgba(4, 71, 242, 0.28), transparent 60%);
  pointer-events: none;
}
.gruas-banner-badge {
  flex-shrink: 0;
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  background: linear-gradient(120deg, var(--accent-soft), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
  z-index: 1;
}
.gruas-banner-text { position: relative; z-index: 1; }
.gruas-banner-text h2 {
  font-size: clamp(1.25rem, 2.6vw, 1.75rem);
  letter-spacing: -0.02em;
  margin: 0 0 6px;
  line-height: 1.15;
}
.gruas-banner-text p {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.98rem;
  line-height: 1.5;
}
.gruas-tags {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.gruas-tags li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border-radius: 100px;
  background: rgba(4, 71, 242, 0.12);
  border: 1px solid rgba(131, 205, 250, 0.28);
  color: var(--accent-soft);
  font-size: 0.8rem;
  font-weight: 600;
}
.gruas-tags li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
[data-theme="light"] .gruas-tags li { color: var(--accent); }
@media (max-width: 560px) {
  .gruas-banner { flex-direction: column; align-items: flex-start; gap: 14px; padding: 24px 22px; }
}

/* Fila de vehículos livianos (galería grúas) */
.gruas-livianos { margin-bottom: 44px; }
.gl-head { text-align: center; margin-bottom: 22px; }
.gl-head h3 { font-size: clamp(1.3rem, 2.6vw, 1.9rem); letter-spacing: -0.02em; }
.gl-head p { color: var(--text-dim); margin-top: 6px; max-width: 60ch; margin-left: auto; margin-right: auto; }
.gl-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 640px) {
  .gl-row { grid-template-columns: 1fr; gap: 14px; max-width: 420px; margin: 0 auto; }
}

/* ============================================================
   Baterias page helpers
   ============================================================ */
.bat-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 14px 28px;
  max-width: max-content;
  margin: 0 auto;
}
.bat-brand .bat-brand-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 25%, transparent);
}
.bat-brand strong {
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}
.bat-brand span {
  color: var(--text-dim);
  font-size: 0.92rem;
}
.bat-delivery {
  display: flex;
  align-items: center;
  gap: 18px;
  background: linear-gradient(120deg, var(--accent), #0b245c);
  border-radius: 26px;
  padding: 26px 32px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.bat-delivery .bat-delivery-icon {
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.16);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.bat-delivery .bat-delivery-icon svg { width: 28px; height: 28px; }
.bat-delivery h3 { margin: 0 0 4px; font-size: 1.2rem; letter-spacing: -0.01em; }
.bat-delivery p { margin: 0; color: rgba(255, 255, 255, 0.85); font-size: 0.95rem; line-height: 1.5; }
@media (max-width: 560px) {
  .bat-delivery { flex-direction: column; align-items: flex-start; gap: 14px; padding: 24px 22px; }
}

/* Grilla de modelos de baterias para vehiculo liviano */
.bat-liv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.bat-liv-grid .promo-item {
  flex: unset;
  height: auto;
  aspect-ratio: 1 / 1;
  width: 100%;
}
.bat-liv-grid .promo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
}
@media (max-width: 900px) {
  .bat-liv-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}

/* Video destacado de Facebook (reel vertical) */
.bat-video-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.bat-video {
  position: relative;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 9 / 16;
  background: #000;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.bat-video iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.bat-video-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--bg-elev);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid var(--border);
  transition: background 0.25s, color 0.25s, transform 0.25s;
}
.bat-video-cta:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }
.bat-video-cta svg { width: 16px; height: 16px; }

/* ---------- Misión / Visión ---------- */
.mv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}
@media (max-width: 720px) {
  .mv-grid { grid-template-columns: 1fr; }
}
.mv-card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
}
.mv-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 22px;
  padding: 1px;
  background: linear-gradient(135deg, var(--accent) 0%, transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.5;
  pointer-events: none;
}
.mv-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(4, 71, 242, 0.15);
  color: var(--accent-soft);
  margin-bottom: 16px;
}
.mv-icon svg { width: 24px; height: 24px; }
.mv-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent-soft);
  margin: 0 0 8px;
}
.mv-lead {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 12px;
  line-height: 1.4;
}
.mv-card > p:last-child {
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0;
}

/* ---------- Valores ---------- */
.valores-section {
  margin-top: 48px;
  text-align: center;
}
.valores-heading {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 24px;
}
.valores-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
@media (max-width: 900px) {
  .valores-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .valores-grid { grid-template-columns: repeat(2, 1fr); }
}
.valor-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 24px 16px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 18px;
  text-align: center;
  transition: transform 0.3s var(--easing), box-shadow 0.3s;
}
.valor-chip:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px -12px rgba(4, 71, 242, 0.25);
}
.valor-num {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.05em;
}
.valor-chip strong {
  font-size: 1rem;
  color: var(--text);
}
.valor-chip > span {
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.4;
}
