/* ==========================================================================
   VIOGES COLOMBIA - APPLE-GRADE DESIGN SYSTEM & SPRING MOTION
   Arquitectura de Alta Gama Inspirada en el Diseño y Físicas de Apple
   ========================================================================== */

/* --- 1. Apple Design Tokens & Spring Physics --- */
:root {
  /* Motion: Spring Curves (High Damping, Medium Stiffness) */
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring-snappy: cubic-bezier(0.34, 1.4, 0.64, 1);
  --ease-spring-soft: cubic-bezier(0.22, 1, 0.36, 1);
  --duration-spring: 0.85s;
  --duration-fast: 0.25s;
  --duration-hover: 0.35s;

  /* Paleta Corporativa Oficial Vioges */
  --vioges-blue: #0271bb;             /* Azul Primario Oficial */
  --vioges-blue-dark: #004d80;        /* Azul Profundo */
  --vioges-midnight: #061527;         /* Midnight Blue (Apple Dark) */
  --vioges-green: #87c73c;            /* Verde Sostenible Oficial */
  --vioges-green-hover: #75b32e;
  --vioges-green-soft: #f0f9e8;
  --vioges-cyan: #0271bb;             /* Acento secundario (azul, sin cyan) */
  --vioges-cyan-soft: rgba(2, 113, 187, 0.1);

  /* Superficies & Vidrio Esmerilado (Apple Frosted Glass) */
  --bg-body: #ffffff;
  --bg-subtle: #f8fafc;
  --bg-card: #ffffff;
  --bg-dark: #08162b;
  --bg-dark-surface: #0e223f;
  --glass-bg: rgba(255, 255, 255, 0.82);
  --glass-border: rgba(255, 255, 255, 0.45);
  --glass-dark-bg: rgba(8, 22, 43, 0.78);
  --glass-dark-border: rgba(255, 255, 255, 0.12);

  /* Bordes & Sombras Suaves */
  --border-color: #e2e8f0;
  --border-subtle: #edf2f7;
  --shadow-subtle: 0 2px 10px rgba(0, 0, 0, 0.03);
  --shadow-card: 0 10px 30px rgba(2, 113, 187, 0.06), 0 2px 8px rgba(0, 0, 0, 0.03);
  --shadow-hover: 0 22px 50px rgba(2, 113, 187, 0.14), 0 8px 18px rgba(0, 0, 0, 0.05);
  --shadow-glass: 0 25px 60px rgba(0, 0, 0, 0.3);
  --shadow-btn-green: 0 8px 24px rgba(135, 199, 60, 0.35);
  --shadow-btn-blue: 0 8px 24px rgba(2, 113, 187, 0.3);

  /* Tipografía */
  --font-primary: 'Lato', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Sora', 'Lato', -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;

  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --text-white: #ffffff;

  /* Geometría y Radios Apple */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 9999px;
  --radius-curved: 0 100px 0 0;

  --max-width: 1200px;
  --header-height: 84px;
}

/* --- 2. Reset & Estructura Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-primary);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-main);
  background-color: var(--bg-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--vioges-blue);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.4rem, 4.8vw, 3.9rem);
  font-weight: 900;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.85rem, 3.4vw, 2.6rem);
  font-weight: 800;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 700;
}

p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--vioges-blue);
  text-decoration: none;
  transition: color var(--duration-hover) var(--ease-spring),
              transform var(--duration-hover) var(--ease-spring);
}

a:hover {
  color: var(--vioges-cyan);
}

ul {
  list-style: none;
}

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

svg {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  max-width: 100%;
}

/* --- 3. Apple Spring Physics & Scroll Reveal Engine --- */
/* Por defecto visible (Garantía instantánea de contenido) */
[data-reveal] {
  opacity: 1;
  transform: translateY(0);
}

/* Activación progresiva cuando JavaScript está listo */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px) scale(0.99);
  transition: opacity var(--duration-spring) var(--ease-spring),
              transform var(--duration-spring) var(--ease-spring);
  will-change: opacity, transform;
}

html.js [data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Stagger Delays (Escalonamiento armónico) */
[data-delay="80"]  { transition-delay: 0.08s; }
[data-delay="120"] { transition-delay: 0.12s; }
[data-delay="160"] { transition-delay: 0.16s; }
[data-delay="200"] { transition-delay: 0.20s; }
[data-delay="240"] { transition-delay: 0.24s; }
[data-delay="280"] { transition-delay: 0.28s; }
[data-delay="320"] { transition-delay: 0.32s; }
[data-delay="400"] { transition-delay: 0.40s; }

/* Micro-interacción Apple Spring Hover */
.spring-hover {
  transition: transform var(--duration-hover) var(--ease-spring),
              box-shadow var(--duration-hover) var(--ease-spring);
  will-change: transform, box-shadow;
}

.spring-hover:hover {
  transform: translateY(-6px) scale(1.015);
  box-shadow: var(--shadow-hover);
}

.spring-hover:active {
  transform: translateY(-2px) scale(0.99);
}

/* --- 4. Layouts y Secciones --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section {
  padding: 95px 0;
  position: relative;
}

.section-curved {
  border-radius: var(--radius-curved);
  position: relative;
  z-index: 5;
}

.section-bg-white {
  background-color: #ffffff;
}

.section-bg-subtle {
  background-color: var(--bg-subtle);
}

.section-bg-dark {
  background-color: var(--bg-dark);
  color: #ffffff;
}

.section-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #3b6b0b;
  background: var(--vioges-green-soft);
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
  border: 1px solid rgba(135, 199, 60, 0.4);
}

.section-tag-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--vioges-green);
  box-shadow: 0 0 8px var(--vioges-green);
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.section-title {
  margin-bottom: 16px;
  color: var(--vioges-blue);
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- 5. Barra Superior (Top Bar Apple Clean) --- */
.top-bar {
  background-color: var(--vioges-blue);
  color: #ffffff;
  font-size: 0.86rem;
  padding: 10px 0;
  position: relative;
  z-index: 102;
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.top-bar-links {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-weight: 500;
}

.top-bar-item svg {
  width: 15px;
  height: 15px;
  fill: var(--vioges-green);
}

.top-bar-item a {
  color: #ffffff;
  font-weight: 600;
}

.top-bar-item a:hover {
  color: var(--vioges-green-soft);
}

.top-bar-badge {
  background-color: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* --- 6. Global Header (Frosted Glass Apple Style) --- */
.main-header {
  position: sticky;
  top: 0;
  background-color: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.04);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  z-index: 100;
  transition: all var(--duration-hover) var(--ease-spring);
}

.main-header.scrolled {
  box-shadow: 0 12px 35px rgba(2, 113, 187, 0.08);
  background-color: rgba(255, 255, 255, 0.95);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--header-height);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-graphic {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--vioges-blue) 0%, var(--vioges-cyan) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(2, 113, 187, 0.25);
  transition: transform var(--duration-hover) var(--ease-spring);
}

.brand-logo:hover .logo-graphic {
  transform: rotate(-6deg) scale(1.06);
}

.logo-graphic svg {
  width: 24px;
  height: 24px;
  fill: #ffffff;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 900;
  color: var(--vioges-blue);
  line-height: 1;
  letter-spacing: -0.02em;
}

.brand-name span {
  color: var(--vioges-green);
}

.brand-tagline {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 3px;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
}

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

.nav-item {
  position: relative;
}

.nav-link {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--vioges-blue);
  padding: 10px 4px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  position: relative;
  transition: color var(--duration-hover) var(--ease-spring);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2.5px;
  background-color: var(--vioges-green);
  border-radius: 3px;
  transition: width var(--duration-hover) var(--ease-spring);
}

.nav-link:hover,
.nav-link.active {
  color: var(--vioges-green-hover);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Apple Dropdown Menu */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 300px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--border-color);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(0.98);
  transition: opacity var(--duration-hover) var(--ease-spring),
              transform var(--duration-hover) var(--ease-spring),
              visibility var(--duration-hover);
  z-index: 105;
}

.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(4px) scale(1);
}

.dropdown-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  color: var(--text-main);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--duration-hover) var(--ease-spring);
}

.dropdown-link:hover {
  background-color: var(--vioges-green-soft);
  color: var(--vioges-blue);
  padding-left: 26px;
}

.dropdown-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--vioges-cyan-soft);
  color: var(--vioges-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dropdown-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Botón Tienda Online Destacado (Separado) */
.btn-nav-store {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--vioges-green-soft);
  color: #3b6b0b;
  border: 1.5px solid var(--vioges-green);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.88rem;
  transition: all var(--duration-hover) var(--ease-spring);
}

.btn-nav-store:hover {
  background: var(--vioges-green);
  color: #ffffff;
  box-shadow: var(--shadow-btn-green);
  transform: translateY(-2px);
}

.btn-nav-store:active {
  transform: translateY(0) scale(0.98);
}

.btn-nav-store svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Mobile Hamburger */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--vioges-blue);
}

.mobile-menu-btn svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

/* --- 7. Botones Apple-Grade --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 30px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: all var(--duration-hover) var(--ease-spring);
  text-decoration: none;
  will-change: transform, box-shadow;
}

.btn-primary {
  background-color: var(--vioges-blue);
  color: #ffffff;
  box-shadow: var(--shadow-btn-blue);
}

.btn-primary:hover {
  background-color: var(--vioges-blue-dark);
  box-shadow: 0 10px 28px rgba(2, 113, 187, 0.45);
  transform: translateY(-3px);
  color: #ffffff;
}

.btn-primary:active {
  transform: translateY(0) scale(0.98);
}

.btn-secondary {
  background-color: var(--vioges-green);
  color: #ffffff;
  box-shadow: var(--shadow-btn-green);
}

.btn-secondary:hover {
  background-color: var(--vioges-green-hover);
  box-shadow: 0 10px 30px rgba(135, 199, 60, 0.5);
  transform: translateY(-3px);
  color: #ffffff;
}

.btn-secondary:active {
  transform: translateY(0) scale(0.98);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--vioges-blue);
  color: var(--vioges-blue);
}

.btn-outline:hover {
  background-color: var(--vioges-blue);
  color: #ffffff;
  transform: translateY(-3px);
}

.btn-outline:active {
  transform: translateY(0) scale(0.98);
}

.btn-outline-white {
  background-color: transparent;
  border: 2px solid #ffffff;
  color: #ffffff;
}

.btn-outline-white:hover {
  background-color: #ffffff;
  color: var(--vioges-blue);
  transform: translateY(-3px);
}

.btn-outline-white:active {
  transform: translateY(0) scale(0.98);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.85rem;
}

/* --- 8. Hero Section con Foto Real & Glassmorphism --- */
.hero {
  position: relative;
  padding: 120px 0 140px;
  background: linear-gradient(135deg, rgba(2, 113, 187, 0.92) 0%, rgba(6, 21, 39, 0.95) 100%),
              url('https://viogescolombia.com/wp-content/uploads/2024/08/pexels-julieaagaard-1426718-scaled.jpg') center/cover no-repeat;
  color: #ffffff;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--vioges-green);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero h1 {
  color: #ffffff;
  margin-bottom: 22px;
  font-size: clamp(2.5rem, 4.8vw, 4rem);
  font-weight: 900;
  line-height: 1.12;
}

.hero h1 span {
  color: var(--vioges-green);
}

.hero-text {
  font-size: 1.15rem;
  color: #e2e8f0;
  line-height: 1.7;
  margin-bottom: 35px;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-trust-bar {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 25px;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-trust-item svg {
  width: 24px;
  height: 24px;
  fill: var(--vioges-green);
}

.hero-trust-item div {
  font-size: 0.88rem;
  color: #f1f5f9;
  line-height: 1.3;
}

.hero-trust-item strong {
  display: block;
  color: #ffffff;
  font-size: 0.95rem;
}

/* Glass Card Hero */
.hero-glass-card {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-xl);
  padding: 38px;
  box-shadow: var(--shadow-glass);
}

.hero-glass-card h3 {
  color: #ffffff;
  font-size: 1.45rem;
  margin-bottom: 10px;
}

.hero-glass-card p {
  color: #e2e8f0;
  font-size: 0.92rem;
  margin-bottom: 22px;
}

/* --- 9. Barra de Métricas y Estadísticas --- */
.stats-bar {
  background-color: var(--vioges-midnight);
  color: #ffffff;
  padding: 45px 0;
  position: relative;
  z-index: 6;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-item h3 {
  font-size: clamp(2.3rem, 3.8vw, 3.4rem);
  font-weight: 900;
  color: var(--vioges-green);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-item p {
  color: #f1f5f9;
  font-weight: 600;
  font-size: 0.95rem;
}

/* --- 10. Tarjetas con Fotos Reales y Spring Physics --- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
}

.cards-grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.product-photo-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--duration-hover) var(--ease-spring),
              box-shadow var(--duration-hover) var(--ease-spring);
  display: flex;
  flex-direction: column;
}

.product-photo-card:hover {
  transform: translateY(-8px) scale(1.015);
  box-shadow: var(--shadow-hover);
}

.product-photo-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.product-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-spring) var(--ease-spring);
}

.product-photo-card:hover .product-photo-wrap img {
  transform: scale(1.08);
}

.product-badge-float {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(6, 21, 39, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--vioges-green);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.product-card-body {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-card-body h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
  color: var(--vioges-blue);
}

.product-card-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.feature-check-list {
  margin-bottom: 24px;
}

.feature-check-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-main);
  margin-bottom: 10px;
}

.feature-check-item svg {
  width: 18px;
  height: 18px;
  fill: var(--vioges-green);
  flex-shrink: 0;
  margin-top: 2px;
}

/* --- 11. Calculadora Interactiva de PTAR / PTAP --- */
.calculator-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-hover);
  padding: 50px 45px;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 45px;
  align-items: center;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--vioges-blue);
  margin-bottom: 8px;
}

.form-control,
.form-select {
  width: 100%;
  padding: 13px 18px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-color);
  background-color: var(--bg-subtle);
  color: var(--text-main);
  font-size: 0.95rem;
  outline: none;
  transition: all var(--duration-hover) var(--ease-spring);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--vioges-cyan);
  background-color: #ffffff;
  box-shadow: 0 0 0 4px rgba(0, 157, 222, 0.15);
}

.calc-results-card {
  background: linear-gradient(135deg, var(--vioges-midnight) 0%, var(--vioges-blue-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 35px;
  color: #ffffff;
  box-shadow: var(--shadow-glass);
}

.calc-results-card h4 {
  color: #ffffff;
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.calc-data-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.92rem;
}

.calc-data-row:last-child {
  border-bottom: none;
}

.calc-highlight {
  font-weight: 800;
  color: var(--vioges-green);
}

/* --- 12. Grid de Clientes y Referencias --- */
.clients-section {
  padding: 70px 0;
  background-color: #ffffff;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.clients-title {
  text-align: center;
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--vioges-blue);
  margin-bottom: 35px;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px;
  align-items: center;
}

.client-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  text-align: center;
  font-weight: 800;
  font-size: 0.92rem;
  color: #475569;
  transition: all var(--duration-hover) var(--ease-spring);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 62px;
}

.client-box:hover {
  background: #ffffff;
  color: var(--vioges-blue);
  border-color: var(--vioges-cyan);
  box-shadow: 0 8px 20px rgba(2, 113, 187, 0.14);
  transform: translateY(-3px) scale(1.03);
}

/* --- 13. Acordeón FAQ Apple-Grade --- */
.faq-wrap {
  max-width: 850px;
  margin: 0 auto;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  transition: all var(--duration-hover) var(--ease-spring);
}

.faq-question {
  width: 100%;
  padding: 22px 26px;
  text-align: left;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--vioges-blue);
  cursor: pointer;
  gap: 15px;
  transition: color var(--duration-hover) var(--ease-spring);
}

.faq-icon {
  width: 22px;
  height: 22px;
  fill: currentColor;
  transition: transform var(--duration-hover) var(--ease-spring);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  fill: var(--vioges-green);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration-spring) var(--ease-spring),
              padding var(--duration-hover) var(--ease-spring);
  padding: 0 26px;
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 600px;
  padding-bottom: 24px;
}

/* --- 14. Banner Especial Oferta Mitad de Precio --- */
.banner-promo {
  background: linear-gradient(135deg, var(--vioges-midnight) 0%, var(--vioges-blue-dark) 100%);
  border-radius: var(--radius-xl);
  padding: 60px 50px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-glass);
}

.banner-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.banner-grid h2 {
  color: #ffffff;
  margin-bottom: 16px;
}

.banner-grid p {
  color: #e2e8f0;
  font-size: 1.05rem;
  margin-bottom: 24px;
}

/* --- 15. Global Footer --- */
.main-footer {
  background-color: var(--bg-dark);
  color: #94a3b8;
  padding: 80px 0 30px;
  position: relative;
  z-index: 10;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 45px;
  margin-bottom: 55px;
}

.footer-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 10px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 3px;
  background-color: var(--vioges-green);
  border-radius: 2px;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--duration-hover) var(--ease-spring);
}

.footer-links a:hover {
  color: var(--vioges-green);
  transform: translateX(4px);
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 0.88rem;
}

/* --- 16. Floating WhatsApp Button --- */
.whatsapp-float {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #ffffff;
  padding: 13px 24px;
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
  font-weight: 700;
  font-size: 0.94rem;
  text-decoration: none;
  transition: transform var(--duration-hover) var(--ease-spring),
              box-shadow var(--duration-hover) var(--ease-spring);
  will-change: transform, box-shadow;
}

.whatsapp-float:hover {
  background: #20ba5a;
  color: #ffffff;
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 14px 35px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
  width: 24px;
  height: 24px;
  fill: #ffffff;
}

/* --- 16.1 Wave Divider, Ripple y Recuadros de Ícono --- */
.wave-divider {
  display: block;
  width: 100%;
  height: 0;
  line-height: 0;
  margin: 0;
  font-size: 0;
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: 55px;
}

.btn {
  position: relative;
  overflow: hidden;
}

.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transform: scale(0);
  animation: ripple-anim 0.6s ease-out forwards;
  pointer-events: none;
}

@keyframes ripple-anim {
  to { transform: scale(1); opacity: 0; }
}

.sector-icon-box,
.feature-icon-box {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--vioges-blue);
  background: linear-gradient(135deg, var(--vioges-blue) 0%, var(--vioges-blue-dark) 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 16px;
  box-shadow: var(--shadow-btn-blue);
}

.sector-icon-box svg,
.feature-icon-box svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Paso numerado del modelo BOO */
.boo-step {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 26px;
}

.boo-step-num {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
  background: var(--vioges-green);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-btn-green);
}

/* Tarjetas de categoría de sector/tienda con ícono */
.icon-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
  transition: transform var(--duration-hover) var(--ease-spring),
              box-shadow var(--duration-hover) var(--ease-spring);
  display: flex;
  flex-direction: column;
}

.icon-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: var(--shadow-hover);
}

.icon-card h3 {
  margin-bottom: 10px;
  color: var(--vioges-blue);
}

.icon-card p {
  flex-grow: 1;
  font-size: 0.95rem;
}

/* Hero interior (páginas secundarias) */
.page-hero {
  background: linear-gradient(135deg, var(--vioges-green-soft) 0%, #ffffff 60%);
  padding: 70px 0 55px;
  border-bottom: 1px solid var(--border-color);
}

.page-hero .breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--text-light);
  margin-bottom: 16px;
}

.page-hero .breadcrumb a {
  color: var(--vioges-blue);
  font-weight: 600;
}

.page-hero h1 {
  margin-bottom: 14px;
  max-width: 900px;
}

.page-hero p {
  max-width: 760px;
  font-size: 1.1rem;
}

/* --- 16.2 Landing Pages de Captación --- */
.lp-hero {
  padding: 80px 0 90px;
  background: linear-gradient(135deg, var(--vioges-green-soft) 0%, #ffffff 60%);
}

.lp-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.lp-form-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 38px;
  box-shadow: var(--shadow-hover);
}

.lp-form-card h3 {
  color: var(--vioges-blue);
  margin-bottom: 8px;
}

.lp-form-card p {
  font-size: 0.92rem;
  margin-bottom: 22px;
}

.lp-trust {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.lp-trust span { display: inline-flex; align-items: center; gap: 7px; }
.lp-trust svg { width: 18px; height: 18px; fill: var(--vioges-green); }

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

/* --- 17. Responsive Media Queries --- */
@media (max-width: 1024px) {
  .hero-grid,
  .calc-grid,
  .banner-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(25px);
    flex-direction: column;
    padding: 30px 24px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform var(--duration-spring) var(--ease-spring);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    z-index: 100;
  }

  .main-nav.open {
    transform: translateX(0);
  }

  .nav-list {
    flex-direction: column;
    width: 100%;
    gap: 0;
  }

  .nav-item {
    width: 100%;
  }

  .nav-link {
    width: 100%;
    padding: 14px 0;
    font-size: 1.15rem;
    border-bottom: 1px solid var(--border-color);
  }

  .nav-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 5px 0 10px 15px;
    background: transparent;
  }

  .mobile-menu-btn {
    display: block;
  }

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

  .whatsapp-float span {
    display: none;
  }

  .whatsapp-float {
    padding: 15px;
    border-radius: 50%;
  }
}
