/*
 * VoltLlano Landing — Hoja de estilos principal
 * Basada en VoltLlano Design System v1.0
 * Paleta: #1B4B9C #2AB6C7 #8DC63F #2A8C2F #4A4A4A
 */

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --vl-azul-profundo:    #1B4B9C;
  --vl-azul-cian:        #2AB6C7;
  --vl-verde-lima:       #8DC63F;
  --vl-verde-esmeralda:  #2A8C2F;
  --vl-gris-slogan:      #4A4A4A;
  --vl-blanco:           #FFFFFF;
  --vl-negro:            #1A1A1A;
  --vl-azul-profundo-10: rgba(27, 75, 156, 0.10);
  --vl-azul-profundo-20: rgba(27, 75, 156, 0.20);
  --vl-verde-lima-light: #D4F574;
  --vl-gradient-main:   linear-gradient(135deg, #1B4B9C 0%, #2AB6C7 50%, #8DC63F 100%);
  --vl-gradient-dark:   linear-gradient(135deg, #0D2B5E 0%, #1A7A87 50%, #5A8C20 100%);
  --vl-bg-page:          #E8EFFA;
  --vl-bg-soft:          #D5E2F5;
  --vl-text-primary:     #1A1A1A;
  --vl-text-secondary:   #4A4A4A;
  --vl-border-light:     rgba(27, 75, 156, 0.12);
  --vl-shadow-card:      0 2px 12px rgba(27, 75, 156, 0.10);
  --vl-shadow-card-hover: 0 6px 24px rgba(27, 75, 156, 0.18);
  --vl-font-display:  'Poppins', 'Montserrat', sans-serif;
  --vl-font-body:     'Inter', 'Open Sans', sans-serif;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--vl-font-body);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--vl-text-primary);
  background: var(--vl-bg-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--vl-azul-profundo);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--vl-azul-cian);
}

/* ============================================================
   UTILITIES
   ============================================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.vl-stripe {
  display: flex;
  height: 8px;
}

.vl-stripe > span:nth-child(1) { flex: 1; background: var(--vl-azul-profundo); }
.vl-stripe > span:nth-child(2) { flex: 1; background: var(--vl-azul-cian); }
.vl-stripe > span:nth-child(3) { flex: 1; background: var(--vl-verde-lima); }

.vl-label {
  display: inline-block;
  font-family: var(--vl-font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--vl-azul-profundo);
  margin-bottom: 8px;
}

.vl-label--light {
  color: var(--vl-verde-lima-light);
}

.vl-badge {
  display: inline-block;
  font-family: var(--vl-font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--vl-azul-profundo-20);
  color: var(--vl-azul-profundo);
  margin-bottom: 12px;
}

.vl-badge--cta {
  background: var(--vl-verde-lima);
  color: var(--vl-negro);
}

.vl-btn-cta {
  display: inline-block;
  background: var(--vl-verde-lima);
  color: var(--vl-negro);
  font-family: var(--vl-font-display);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 999px;
  padding: 14px 32px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
}

.vl-btn-cta:hover {
  background: #9ED448;
  box-shadow: 0 4px 16px rgba(141, 198, 63, 0.35);
  color: var(--vl-negro);
  transform: translateY(-1px);
}

.vl-btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--vl-blanco);
  font-family: var(--vl-font-display);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 999px;
  padding: 12px 28px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.vl-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--vl-blanco);
  color: var(--vl-blanco);
}

.vl-legal {
  font-size: 0.75rem;
  line-height: 1.7;
  color: var(--vl-gris-slogan);
  opacity: 0.8;
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--vl-blanco);
  box-shadow: 0 1px 0 var(--vl-border-light);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header-brand {
  flex-shrink: 0;
  line-height: 0;
}

.header-logo {
  height: 50px;
  width: auto;
}

.header-nav {
  display: flex;
  gap: 32px;
  flex: 1;
  justify-content: center;
}

.header-nav a {
  font-family: var(--vl-font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--vl-text-primary);
  letter-spacing: 0.02em;
}

.header-nav a:hover {
  color: var(--vl-azul-profundo);
}

.header-cta {
  font-size: 0.875rem;
  padding: 10px 20px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background: var(--vl-gradient-main);
  color: var(--vl-blanco);
  padding: 80px 24px 100px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.12);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.hero-eyebrow {
  display: inline-block;
  font-family: var(--vl-font-display);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--vl-verde-lima-light);
  margin-bottom: 24px;
  padding: 6px 16px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
}

.hero-title {
  font-family: var(--vl-font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.5;
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.95);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero-trust {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  max-width: 700px;
  margin: 0 auto;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.trust-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.trust-item strong {
  font-family: var(--vl-font-display);
  font-size: 1rem;
  color: var(--vl-blanco);
  font-weight: 700;
}

.trust-item span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  padding: 80px 24px;
  background: linear-gradient(180deg, #FAFCFF 0%, #EBF2FF 100%);
}

.section--alt {
  background: var(--vl-bg-soft);
}

.section--dark {
  background: var(--vl-azul-profundo);
  color: var(--vl-blanco);
}

.section-title {
  font-family: var(--vl-font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--vl-text-primary);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-title--light {
  color: var(--vl-blanco);
}

.section-desc {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--vl-text-secondary);
  margin-bottom: 48px;
  max-width: 700px;
}

.section--dark .section-desc {
  color: rgba(255, 255, 255, 0.8);
}

/* ============================================================
   SERVICES
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--vl-blanco);
  border-radius: 12px;
  padding: 32px 28px;
  box-shadow: var(--vl-shadow-card);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  box-shadow: var(--vl-shadow-card-hover);
  transform: translateY(-4px);
}

.service-card--featured {
  border-top: 4px solid transparent;
  background-image: linear-gradient(white, white), var(--vl-gradient-main);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  border-top-width: 4px;
  border-top-style: solid;
  border-color: transparent;
}

.service-card--featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--vl-gradient-main);
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  line-height: 1;
}

.service-card h3 {
  font-family: var(--vl-font-display);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--vl-azul-profundo);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--vl-text-secondary);
  margin-bottom: 20px;
}

.service-link {
  font-family: var(--vl-font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--vl-azul-cian);
}

.service-link:hover {
  color: var(--vl-azul-profundo);
}

/* ============================================================
   PRODUCTS
   ============================================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.product-card {
  background: var(--vl-blanco);
  border-radius: 12px;
  padding: 28px;
  box-shadow: var(--vl-shadow-card);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  box-shadow: var(--vl-shadow-card-hover);
  transform: translateY(-2px);
}

.product-card--combo {
  background: linear-gradient(135deg, rgba(27, 75, 156, 0.04) 0%, rgba(141, 198, 63, 0.04) 100%);
  border: 2px solid var(--vl-verde-lima);
}

.product-card h3 {
  font-family: var(--vl-font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--vl-azul-profundo);
  margin-bottom: 6px;
}

.product-meta {
  font-size: 0.8rem;
  color: var(--vl-azul-cian);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.product-desc {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--vl-text-secondary);
  margin-bottom: 16px;
}

.product-specs {
  list-style: none;
  margin-bottom: 20px;
  flex: 1;
}

.product-specs li {
  font-size: 0.85rem;
  color: var(--vl-text-secondary);
  padding: 4px 0;
  padding-left: 20px;
  position: relative;
}

.product-specs li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--vl-verde-esmeralda);
  font-weight: 700;
}

.product-price {
  margin-bottom: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--vl-border-light);
}

.product-price strong {
  font-family: var(--vl-font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--vl-verde-lima);
  display: block;
  letter-spacing: -0.02em;
}

.price-note {
  font-size: 0.75rem;
  color: var(--vl-text-secondary);
  opacity: 0.7;
}

.product-cta {
  width: 100%;
  text-align: center;
  font-size: 0.9rem;
  padding: 12px 24px;
}

.products-cta-row {
  text-align: center;
  padding: 32px;
  background: var(--vl-blanco);
  border-radius: 12px;
  box-shadow: var(--vl-shadow-card);
}

.products-cta-row p {
  margin-bottom: 16px;
  color: var(--vl-text-secondary);
}

/* ============================================================
   COVERAGE
   ============================================================ */
.coverage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}

.coverage-item {
  background: var(--vl-blanco);
  border-radius: 12px;
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--vl-shadow-card);
  border-top: 3px solid var(--vl-azul-cian);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.coverage-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--vl-shadow-card-hover);
}

.coverage-item--main {
  background: var(--vl-gradient-main);
  color: var(--vl-blanco);
  border-top-color: var(--vl-verde-lima);
  position: relative;
  overflow: hidden;
}

.coverage-item--main::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.1);
}

.coverage-item--main strong,
.coverage-item--main span {
  position: relative;
  z-index: 1;
}

.coverage-item--main strong {
  color: var(--vl-blanco);
}

.coverage-item--main span {
  color: var(--vl-verde-lima-light);
}

.coverage-item strong {
  display: block;
  font-family: var(--vl-font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--vl-azul-profundo);
  margin-bottom: 4px;
}

.coverage-item span {
  font-size: 0.8rem;
  color: var(--vl-text-secondary);
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.about-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 16px;
}

.about-text strong {
  color: var(--vl-verde-lima-light);
}

.about-credentials {
  list-style: none;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.about-credentials li {
  padding: 6px 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
}

.about-credentials strong {
  color: var(--vl-verde-lima-light);
  font-weight: 600;
}

/* Variante para sección sobre fondo claro */
.about-credentials--light {
  border-top: 1px solid var(--vl-border-light);
}
.about-credentials--light li {
  color: var(--vl-text-secondary);
}
.about-credentials--light strong {
  color: var(--vl-azul-profundo);
  font-weight: 600;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 24px 20px;
  text-align: center;
  backdrop-filter: blur(10px);
}

.stat-number {
  display: block;
  font-family: var(--vl-font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--vl-verde-lima-light);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.stat-card span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.4;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.contact-card {
  background: var(--vl-blanco);
  border-radius: 12px;
  padding: 32px 28px;
  box-shadow: var(--vl-shadow-card);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  text-decoration: none;
  display: block;
  border-top: 4px solid var(--vl-azul-cian);
}

.contact-card:hover {
  box-shadow: var(--vl-shadow-card-hover);
  transform: translateY(-4px);
  border-top-color: var(--vl-verde-lima);
  color: inherit;
}

.contact-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  line-height: 1;
}

.contact-card h3 {
  font-family: var(--vl-font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--vl-azul-profundo);
  margin-bottom: 12px;
}

.contact-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--vl-text-secondary);
  margin-bottom: 16px;
}

.contact-card strong {
  color: var(--vl-azul-profundo);
  font-weight: 700;
}

.contact-link {
  font-family: var(--vl-font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--vl-verde-esmeralda);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: linear-gradient(180deg, #1B3A7A 0%, #0D2B5E 100%);
  border-top: none;
  color: rgba(255,255,255,0.85);
}

.footer .container {
  padding-top: 60px;
  padding-bottom: 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-logo {
  height: 50px;
  margin-bottom: 16px;
  background: rgba(255,255,255,0.95);
  border-radius: 8px;
  padding: 6px 10px;
  object-fit: contain;
}

.footer-tagline {
  font-family: var(--vl-font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--vl-azul-profundo);
  margin-bottom: 16px;
  color: rgba(255,255,255,0.75);
}

.footer-col h4 {
  font-family: var(--vl-font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--vl-azul-cian);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.72);
}

.footer-col a {
  color: rgba(255,255,255,0.72);
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: var(--vl-verde-lima);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
  text-align: center;
}

.footer-bottom p {
  margin-bottom: 4px;
}

.footer .vl-legal {
  color: rgba(255,255,255,0.55);
  opacity: 1;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .header-nav {
    display: none;
  }

  .hero {
    padding: 60px 20px 80px;
  }

  .hero-cta-row {
    flex-direction: column;
    align-items: center;
  }

  .hero-cta-row .vl-btn-cta,
  .hero-cta-row .vl-btn-ghost {
    width: 100%;
    max-width: 320px;
    text-align: center;
  }

  .section {
    padding: 60px 20px;
  }

  .about-stats {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .header-cta {
    padding: 8px 16px;
    font-size: 0.8rem;
  }

  .hero-trust {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   PRODUCT IMAGES
   ============================================================ */
.product-img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  background: #0E2A55;
  border-radius: 8px;
  margin-bottom: 1rem;
  padding: 20px;
}

/* ============================================================
   CONTACT QR CODES
   ============================================================ */
.contact-qr {
  width: 96px;
  height: 96px;
  object-fit: contain;
  margin: 0 auto 1rem;
  border-radius: 8px;
  border: 1px solid var(--vl-border-light);
  padding: 6px;
  background: #fff;
}

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
.vl-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.vl-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.vl-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.vl-stagger.is-visible > * { opacity: 1; transform: translateY(0); }
.vl-stagger.is-visible > *:nth-child(1) { transition-delay: 0.04s; }
.vl-stagger.is-visible > *:nth-child(2) { transition-delay: 0.13s; }
.vl-stagger.is-visible > *:nth-child(3) { transition-delay: 0.22s; }
.vl-stagger.is-visible > *:nth-child(4) { transition-delay: 0.31s; }
.vl-stagger.is-visible > *:nth-child(5) { transition-delay: 0.40s; }
.vl-stagger.is-visible > *:nth-child(6) { transition-delay: 0.49s; }
.vl-stagger.is-visible > *:nth-child(7) { transition-delay: 0.58s; }

@media (prefers-reduced-motion: reduce) {
  .vl-reveal, .vl-stagger > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============================================================
   HERO — ORBS DECORATIVOS ANIMADOS
   ============================================================ */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
}

.hero-orb--1 {
  width: 420px;
  height: 420px;
  top: -120px;
  right: -90px;
  background: radial-gradient(circle, rgba(42, 182, 199, 0.30) 0%, transparent 68%);
  filter: blur(60px);
  animation: vl-orb-drift 11s ease-in-out infinite;
}

.hero-orb--2 {
  width: 280px;
  height: 280px;
  bottom: 10px;
  left: -70px;
  background: radial-gradient(circle, rgba(141, 198, 63, 0.22) 0%, transparent 68%);
  filter: blur(50px);
  animation: vl-orb-drift 14s ease-in-out infinite reverse;
}

.hero-orb--3 {
  width: 180px;
  height: 180px;
  top: 38%;
  left: 12%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.07) 0%, transparent 70%);
  filter: blur(40px);
  animation: vl-orb-drift 9s ease-in-out infinite;
  animation-delay: -3s;
}

@keyframes vl-orb-drift {
  0%, 100% { transform: translate(0px, 0px) scale(1); }
  33%       { transform: translate(18px, -14px) scale(1.04); }
  66%       { transform: translate(-10px, 9px) scale(0.97); }
}

/* ============================================================
   HERO — WAVE SEPARATOR
   ============================================================ */
.vl-hero-wave {
  display: block;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  margin-top: -2px;
  position: relative;
  z-index: 1;
  background: var(--vl-gradient-main);
}

.vl-hero-wave svg {
  display: block;
  width: 100%;
  height: 56px;
}

/* ============================================================
   HEADER — ESTADO SCROLL
   ============================================================ */
.header {
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.header.is-scrolled {
  box-shadow: 0 2px 20px rgba(27, 75, 156, 0.14);
}

/* ============================================================
   MOBILE MENU
   ============================================================ */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--vl-azul-profundo);
  flex-shrink: 0;
  line-height: 1;
  border-radius: 6px;
  transition: background 0.15s ease;
}

.menu-toggle:hover {
  background: var(--vl-azul-profundo-10);
}

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--vl-azul-profundo);
  z-index: 998;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.mobile-nav.is-open {
  display: flex;
}

.mobile-nav a {
  font-family: var(--vl-font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  padding: 12px 40px;
  border-radius: 8px;
  transition: background 0.15s ease, color 0.15s ease;
  text-align: center;
  min-width: 220px;
}

.mobile-nav a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--vl-verde-lima);
}

.mobile-nav-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.65);
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background 0.15s ease, color 0.15s ease;
}

.mobile-nav-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.mobile-nav-logo {
  position: absolute;
  top: 22px;
  left: 24px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 8px;
  padding: 6px 10px;
  height: 38px;
  object-fit: contain;
}

.mobile-nav-wa {
  margin-top: 16px;
  display: inline-block;
  background: #25D366;
  color: white !important;
  font-size: 1rem !important;
  padding: 14px 32px !important;
  border-radius: 999px !important;
  min-width: auto !important;
}

.mobile-nav-wa:hover {
  background: #1ebe59 !important;
  color: white !important;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* ============================================================
   FLOATING WHATSAPP BUTTON
   ============================================================ */
.vl-wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 997;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: vl-wa-pulse 3.5s ease-in-out infinite;
}

.vl-wa-float:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.55);
  color: white;
}

.vl-wa-float svg {
  width: 30px;
  height: 30px;
  fill: white;
  flex-shrink: 0;
}

@keyframes vl-wa-pulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45); }
  50%       { box-shadow: 0 4px 24px rgba(37, 211, 102, 0.70), 0 0 0 10px rgba(37, 211, 102, 0.08); }
}

/* ============================================================
   SECTION LABEL ACCENT
   ============================================================ */
.section > .container > .vl-label:first-child {
  position: relative;
  padding-left: 14px;
}

.section > .container > .vl-label:first-child::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 14px;
  border-radius: 2px;
  background: var(--vl-gradient-main);
}

/* ============================================================
   v4 — CARRITO, MODAL, PQRS, MEJORAS CORPORATIVAS
   Agregadas en refactor v4-corporativo. No tocar las clases
   originales — todo es additivo.
   ============================================================ */

/* ── Cart icon en header ─────────────────────────────────── */
.header-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(27, 75, 156, 0.08);
  color: var(--vl-azul-profundo);
  text-decoration: none;
  transition: background 0.18s, transform 0.18s;
  margin-right: 8px;
}
.header-cart:hover {
  background: rgba(27, 75, 156, 0.14);
  transform: translateY(-1px);
}
.header-cart svg {
  width: 20px;
  height: 20px;
}
.header-cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 10px;
  background: var(--vl-verde-lima);
  color: var(--vl-negro);
  font-family: var(--vl-font-display);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.header-cart-badge.is-empty { display: none; }

/* ── Cart Drawer (lateral derecho) ─────────────────────── */
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 420px;
  height: 100vh;
  background: #fff;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -8px 0 32px rgba(27, 75, 156, 0.18);
}
.cart-drawer.is-open { transform: translateX(0); }
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 43, 94, 0.45);
  backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s;
}
.cart-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.cart-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--vl-border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--vl-bg-soft);
}
.cart-title {
  font-family: var(--vl-font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--vl-azul-profundo);
}
.cart-close {
  background: transparent;
  border: none;
  color: var(--vl-azul-profundo);
  cursor: pointer;
  font-size: 1.5rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.cart-close:hover { background: rgba(27, 75, 156, 0.10); }

.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
}
.cart-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--vl-text-secondary);
}
.cart-empty-icon {
  font-size: 3rem;
  opacity: 0.3;
  margin-bottom: 16px;
}

.cart-item {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--vl-border-light);
  align-items: start;
}
.cart-item:last-child { border-bottom: none; }
.cart-item-img {
  width: 60px;
  height: 60px;
  background: var(--vl-bg-soft);
  border-radius: 8px;
  object-fit: cover;
  display: block;
}
.cart-item-info { min-width: 0; }
.cart-item-name {
  font-family: var(--vl-font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--vl-text-primary);
  line-height: 1.3;
  margin-bottom: 4px;
}
.cart-item-sku {
  font-family: monospace;
  font-size: 0.7rem;
  color: #aaa;
  display: block;
  margin-bottom: 6px;
}
.cart-item-price {
  font-family: var(--vl-font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--vl-azul-profundo);
}
.cart-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--vl-border-light);
  border-radius: 6px;
  margin-top: 6px;
}
.cart-qty button {
  background: transparent;
  border: none;
  width: 26px;
  height: 26px;
  cursor: pointer;
  font-size: 1rem;
  color: var(--vl-azul-profundo);
  font-weight: 700;
}
.cart-qty button:hover { background: rgba(27, 75, 156, 0.08); }
.cart-qty span {
  min-width: 26px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
}
.cart-item-remove {
  background: transparent;
  border: none;
  color: #c44;
  cursor: pointer;
  font-size: 1.1rem;
  padding: 4px 8px;
  border-radius: 4px;
  align-self: flex-start;
}
.cart-item-remove:hover { background: rgba(196, 68, 68, 0.10); }

.cart-footer {
  border-top: 1px solid var(--vl-border-light);
  padding: 16px 20px 24px;
  background: #fafbff;
}
.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
}
.cart-total-label {
  font-family: var(--vl-font-display);
  font-size: 0.9rem;
  color: var(--vl-text-secondary);
  font-weight: 500;
}
.cart-total-value {
  font-family: var(--vl-font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--vl-azul-profundo);
}
.cart-checkout {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cart-btn {
  width: 100%;
  padding: 12px 18px;
  border-radius: 999px;
  font-family: var(--vl-font-display);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.15s, box-shadow 0.15s;
}
.cart-btn--whatsapp {
  background: #25D366;
  color: #fff;
}
.cart-btn--whatsapp:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35); }
.cart-btn--wompi {
  background: var(--vl-gradient-main);
  color: #fff;
}
.cart-btn--wompi:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(27, 75, 156, 0.30); }
.cart-btn--clear {
  background: transparent;
  color: var(--vl-text-secondary);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 6px;
}
.cart-btn--clear:hover { color: #c44; }
.cart-checkout-note {
  font-size: 0.72rem;
  color: var(--vl-text-secondary);
  text-align: center;
  margin-top: 8px;
  line-height: 1.5;
}

/* ── Modal de detalle de producto ───────────────────────── */
.pmodal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 43, 94, 0.55);
  backdrop-filter: blur(5px);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.pmodal-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}
.pmodal {
  background: #fff;
  border-radius: 16px;
  max-width: 880px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 30px 80px rgba(13, 43, 94, 0.30);
  position: relative;
  transform: translateY(20px);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}
.pmodal-overlay.is-open .pmodal { transform: translateY(0); }
.pmodal-stripe {
  height: 5px;
  background: var(--vl-gradient-main);
  border-radius: 16px 16px 0 0;
}
.pmodal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--vl-azul-profundo);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  transition: transform 0.15s;
}
.pmodal-close:hover { transform: rotate(90deg); }
.pmodal-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
@media (max-width: 720px) {
  .pmodal-body { grid-template-columns: 1fr; }
}
.pmodal-img {
  background: #0E2A55;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  position: relative;
}
.pmodal-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pmodal-img .badge {
  position: absolute;
  top: 16px;
  left: 16px;
  font-family: var(--vl-font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}
.pmodal-content {
  padding: 32px 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.pmodal-cat {
  font-family: var(--vl-font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--vl-azul-cian);
}
.pmodal-name {
  font-family: var(--vl-font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--vl-text-primary);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.pmodal-sku {
  font-family: monospace;
  font-size: 0.78rem;
  color: #aaa;
}
.pmodal-desc {
  font-size: 0.92rem;
  color: var(--vl-text-secondary);
  line-height: 1.65;
}
.pmodal-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 4px;
}
.pmodal-spec {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--vl-bg-soft);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 0.82rem;
  color: var(--vl-azul-profundo);
  font-weight: 500;
}
.pmodal-compat {
  font-size: 0.82rem;
  color: var(--vl-text-secondary);
  line-height: 1.6;
  padding: 12px 14px;
  background: rgba(27, 75, 156, 0.05);
  border-radius: 8px;
  border-left: 3px solid var(--vl-azul-cian);
}
.pmodal-norma {
  font-size: 0.75rem;
  color: #888;
}
.pmodal-price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid var(--vl-border-light);
}
.pmodal-price {
  font-family: var(--vl-font-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--vl-azul-profundo);
  letter-spacing: -0.02em;
}
.pmodal-price-note {
  font-size: 0.75rem;
  color: #aaa;
}
.pmodal-cta-row {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}
.pmodal-btn-add {
  flex: 1;
  background: var(--vl-gradient-main);
  color: #fff;
  font-family: var(--vl-font-display);
  font-weight: 700;
  font-size: 0.88rem;
  border-radius: 999px;
  padding: 12px 18px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: transform 0.15s, box-shadow 0.15s;
}
.pmodal-btn-add:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(27, 75, 156, 0.30); }
.pmodal-btn-wa {
  background: #25D366;
  color: #fff;
  font-family: var(--vl-font-display);
  font-weight: 700;
  font-size: 0.88rem;
  border-radius: 999px;
  padding: 12px 18px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: transform 0.15s, box-shadow 0.15s;
}
.pmodal-btn-wa:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(37, 211, 102, 0.30); }

/* Toast feedback al agregar al carrito */
.cart-toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--vl-azul-profundo);
  color: #fff;
  padding: 14px 24px;
  border-radius: 999px;
  font-family: var(--vl-font-display);
  font-weight: 600;
  font-size: 0.88rem;
  box-shadow: 0 8px 24px rgba(13, 43, 94, 0.35);
  z-index: 1200;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.28s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.cart-toast.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* "Agregar al carrito" button en cards de productos del index */
.product-card .product-cta-row {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.product-card .product-cta-row > * { flex: 1; min-width: 130px; }
.btn-add-cart {
  background: #fff;
  color: var(--vl-azul-profundo);
  border: 2px solid var(--vl-azul-profundo);
  font-family: var(--vl-font-display);
  font-weight: 700;
  font-size: 0.82rem;
  border-radius: 999px;
  padding: 9px 18px;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background 0.15s, color 0.15s, transform 0.15s;
}
.btn-add-cart:hover {
  background: var(--vl-azul-profundo);
  color: #fff;
  transform: translateY(-1px);
}

/* ── Página PQRS / formularios ──────────────────────────── */
.form-wrapper {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border-radius: 14px;
  padding: 36px 32px;
  box-shadow: var(--vl-shadow-card);
}
.form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}
.form-row.is-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 600px) {
  .form-row.is-grid { grid-template-columns: 1fr; }
}
.form-row label {
  font-family: var(--vl-font-display);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--vl-azul-profundo);
}
.form-row label .req { color: #c44; }
.form-row input,
.form-row select,
.form-row textarea {
  font-family: var(--vl-font-body);
  font-size: 0.95rem;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--vl-border-light);
  background: #fafbff;
  color: var(--vl-text-primary);
  transition: border-color 0.15s, background 0.15s;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--vl-azul-cian);
  background: #fff;
}
.form-row textarea {
  resize: vertical;
  min-height: 130px;
  font-family: var(--vl-font-body);
}
.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--vl-text-secondary);
  line-height: 1.5;
  margin-bottom: 18px;
}
.form-checkbox input { margin-top: 3px; }
.form-checkbox a { color: var(--vl-azul-cian); }
.form-submit-row {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 6px;
}
.form-info {
  background: rgba(42, 182, 199, 0.08);
  border-left: 4px solid var(--vl-azul-cian);
  padding: 14px 18px;
  border-radius: 8px;
  margin-bottom: 24px;
  font-size: 0.85rem;
  color: var(--vl-text-secondary);
  line-height: 1.6;
}
.form-info strong { color: var(--vl-azul-profundo); }

/* ── Pequeños ajustes responsivos al header con cart ──── */
@media (max-width: 980px) {
  .header-cart { width: 38px; height: 38px; }
  .header-cart svg { width: 18px; height: 18px; }
}
