:root {
  /* Colores Oficiales de Colven (inspirados en el logo) */
  --colven-blue: #0a529c;
  --colven-blue-dark: #073b73;
  --colven-blue-light: #eaf2fb;
  --colven-red: #dc1b2e;
  --colven-red-dark: #b51222;
  --colven-red-light: #fdecef;

  /* Colores temáticos para las marcas */
  --jv-coffee: #5c2c16;
  --jv-bg: #fdf8f4;
  --cr-orange: #e05a00;
  --cr-bg: #fff9f2;

  /* WhatsApp */
  --whatsapp: #25d366;
  --whatsapp-dark: #1ebe57;

  /* Neutrales */
  --bg-page: #ffffff;
  --bg-subtle: #f8fafc;
  --text-main: #0f172a;
  --text-muted: #475569;
  --border-color: #e2e8f0;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 12px 32px -8px rgba(10, 82, 156, 0.12);
  --shadow-lg: 0 20px 45px -12px rgba(15, 23, 42, 0.14);
  --radius-md: 14px;
  --radius-lg: 22px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-page);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-center {
  text-align: center;
}

.col-text {
  color: var(--colven-blue);
}

.ven-text {
  color: var(--colven-red);
}

.text-gradient {
  background: linear-gradient(90deg, var(--colven-blue) 0%, var(--colven-red) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Barra superior */
.topbar {
  background: linear-gradient(90deg, var(--colven-blue-dark) 0%, var(--colven-blue) 55%, var(--colven-red) 100%);
  color: #ffffff;
  font-size: 0.85rem;
  padding: 0.55rem 0;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  text-align: center;
}

.topbar-badge {
  background: rgba(255, 255, 255, 0.2);
  padding: 0.15rem 0.65rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.topbar-link {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: box-shadow 0.25s ease;
}

.navbar.scrolled {
  box-shadow: var(--shadow-sm);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

.brand-logo img {
  height: 46px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--colven-blue);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-actions-mobile {
  display: none;
}

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.68rem 1.25rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.93rem;
  cursor: pointer;
  transition: all 0.22s ease;
  border: 2px solid transparent;
}

.btn .icon {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
}

.btn-lg {
  padding: 0.9rem 1.65rem;
  font-size: 1rem;
  border-radius: 14px;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  border-radius: 10px;
}

.btn-full {
  width: 100%;
}

.btn-primary {
  background: var(--colven-red);
  color: #ffffff;
  box-shadow: 0 8px 20px -6px rgba(220, 27, 46, 0.45);
}

.btn-primary:hover {
  background: var(--colven-red-dark);
  transform: translateY(-2px);
}

.btn-outline-primary {
  border-color: var(--colven-blue);
  color: var(--colven-blue);
  background: transparent;
}

.btn-outline-primary:hover {
  background: var(--colven-blue);
  color: #ffffff;
}

.btn-outline-dark {
  border-color: #cbd5e1;
  color: var(--text-main);
  background: #ffffff;
}

.btn-outline-dark:hover {
  border-color: var(--text-main);
  background: var(--bg-subtle);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #ffffff;
  box-shadow: 0 8px 20px -6px rgba(37, 211, 102, 0.45);
}

.btn-whatsapp:hover {
  background: var(--whatsapp-dark);
  transform: translateY(-2px);
}

.btn-light {
  background: #ffffff;
  color: var(--colven-blue-dark);
}

.btn-light:hover {
  background: #f1f5f9;
  transform: translateY(-2px);
}

.btn-jv {
  background: var(--jv-coffee);
  color: #ffffff;
}

.btn-jv:hover {
  background: #421e0e;
  transform: translateY(-2px);
}

.btn-cr {
  background: var(--cr-orange);
  color: #ffffff;
}

.btn-cr:hover {
  background: #bd4b00;
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  position: relative;
  padding: 4.5rem 0 5rem;
  overflow: hidden;
  background: radial-gradient(circle at 10% 10%, rgba(10, 82, 156, 0.06), transparent 45%),
              radial-gradient(circle at 90% 80%, rgba(220, 27, 46, 0.06), transparent 45%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--colven-blue-light);
  color: var(--colven-blue);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.pill-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--colven-red);
}

.hero-title {
  font-size: clamp(2.1rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.2rem;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.2rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border-color);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
}

.trust-item svg {
  width: 18px;
  height: 18px;
  color: var(--colven-blue);
}

/* Tarjeta Showcase en Hero */
.showcase-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.85rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  position: relative;
}

.showcase-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: linear-gradient(90deg, var(--colven-blue) 50%, var(--colven-red) 50%);
}

.showcase-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.showcase-logo {
  height: 36px;
  width: auto;
}

.status-pill {
  background: #dcfce7;
  color: #15803d;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
}

.showcase-caption {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.15rem;
}

.mini-brands-grid {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.4rem;
}

.mini-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mini-brand:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

.mini-jv {
  background: var(--jv-bg);
  border-color: #eedcd0;
}

.mini-cr {
  background: var(--cr-bg);
  border-color: #f6dec6;
}

.mini-brand-icon {
  font-size: 1.85rem;
  width: 48px;
  height: 48px;
  background: #ffffff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.mini-brand-info h3 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 0.15rem;
}

.mini-brand-info p {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.mini-brand-arrow {
  margin-left: auto;
  font-weight: 800;
  color: var(--colven-blue);
  font-size: 1.1rem;
}

.showcase-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--bg-subtle);
  padding: 0.95rem 1.1rem;
  border-radius: var(--radius-md);
  border: 1px dashed #cbd5e1;
}

.kyte-callout {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.kyte-icon-box {
  font-size: 1.35rem;
}

.kyte-callout strong {
  display: block;
  font-size: 0.88rem;
  color: var(--text-main);
}

.kyte-callout span {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Secciones Generales */
.section {
  padding: 5rem 0;
}

.section-header {
  max-width: 700px;
  margin: 0 auto 3.2rem;
}

.section-eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--colven-blue);
  background: var(--colven-blue-light);
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 0.8rem;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 0.85rem;
  letter-spacing: -0.015em;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.04rem;
}

/* Sección Nosotros */
.about-section {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.feature-card {
  background: #ffffff;
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.feature-icon svg {
  width: 26px;
  height: 26px;
}

.icon-blue {
  background: var(--colven-blue-light);
  color: var(--colven-blue);
}

.icon-red {
  background: var(--colven-red-light);
  color: var(--colven-red);
}

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.65rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Sección Nuestras Marcas */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.brand-card {
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.brand-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.brand-jv {
  background: linear-gradient(145deg, #ffffff 0%, var(--jv-bg) 100%);
  border-top: 6px solid var(--jv-coffee);
}

.brand-cr {
  background: linear-gradient(145deg, #ffffff 0%, var(--cr-bg) 100%);
  border-top: 6px solid var(--cr-orange);
}

.brand-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.brand-tag {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
}

.brand-emblem {
  font-size: 2.2rem;
  width: 58px;
  height: 58px;
  background: #ffffff;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.brand-name {
  font-size: 1.65rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.brand-description {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  font-size: 0.98rem;
}

.brand-highlights {
  margin-bottom: 1.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.brand-highlights li {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
}

.brand-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.more-brands-banner {
  background: var(--colven-blue-light);
  border: 1px solid #cfe2f7;
  border-radius: var(--radius-lg);
  padding: 1.75rem 2.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.more-brands-text h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--colven-blue-dark);
  margin-bottom: 0.25rem;
}

.more-brands-text p {
  font-size: 0.94rem;
  color: var(--text-muted);
}

/* Sección Pasos (¿Cómo Comprar?) */
.steps-section {
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-subtle) 100%);
}

.steps-grid {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 2.75rem;
}

.step-card {
  flex: 1;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--colven-blue), var(--colven-red));
  color: #ffffff;
  font-weight: 800;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.15rem;
}

.step-card h3 {
  font-size: 1.18rem;
  font-weight: 800;
  margin-bottom: 0.65rem;
}

.step-card p {
  color: var(--text-muted);
  font-size: 0.94rem;
}

.step-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--colven-blue);
}

/* Cobertura y Envíos */
.delivery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.delivery-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.delivery-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.delivery-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.65rem;
}

.delivery-card p {
  color: var(--text-muted);
  font-size: 0.94rem;
  margin-bottom: 1.1rem;
}

.delivery-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.delivery-list li {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--colven-blue-dark);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.delivery-list li::before {
  content: '✓';
  color: var(--colven-red);
  font-weight: 800;
}

/* CTA Banner Final */
.cta-banner-section {
  padding: 2rem 0 5rem;
}

.cta-banner {
  background: linear-gradient(125deg, var(--colven-blue-dark) 0%, var(--colven-blue) 55%, var(--colven-red) 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 3.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  box-shadow: var(--shadow-lg);
}

.cta-banner-content {
  max-width: 580px;
}

.cta-banner-content h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.cta-banner-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.02rem;
}

.cta-banner-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Footer */
.footer {
  background: #0b132b;
  color: #cbd5e1;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  height: 44px;
  width: auto;
  background: #ffffff;
  padding: 0.35rem 0.75rem;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.footer-brand p {
  max-width: 340px;
  font-size: 0.93rem;
  color: #94a3b8;
}

.footer h4 {
  color: #ffffff;
  font-size: 1.02rem;
  margin-bottom: 1rem;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-links a {
  font-size: 0.92rem;
  color: #94a3b8;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-contact p {
  font-size: 0.92rem;
  color: #94a3b8;
  margin-bottom: 1rem;
}

.footer-cta-stack {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  padding: 0.6rem 1rem;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.2s ease;
}

.footer-pill:hover {
  background: rgba(255, 255, 255, 0.16);
}

.footer-bottom {
  padding-top: 1.75rem;
  text-align: center;
  font-size: 0.86rem;
  color: #64748b;
}

/* Botón Flotante de WhatsApp */
.whatsapp-float {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--whatsapp);
  color: #ffffff;
  padding: 0.85rem 1.15rem;
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45);
  transition: transform 0.22s ease, background 0.22s ease;
}

.whatsapp-float:hover {
  background: var(--whatsapp-dark);
  transform: translateY(-3px) scale(1.02);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
}

.wa-tooltip {
  font-weight: 700;
  font-size: 0.9rem;
}

/* Botón Menú Móvil */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: var(--text-main);
  border-radius: 3px;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid,
  .features-grid,
  .brands-grid,
  .delivery-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    flex-direction: column;
  }

  .step-connector {
    transform: rotate(90deg);
  }

  .nav-actions {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-actions-mobile {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-color);
  }

  .cta-banner {
    padding: 2.25rem 1.75rem;
  }
}

@media (max-width: 540px) {
  .wa-tooltip {
    display: none;
  }

  .whatsapp-float {
    padding: 0.9rem;
  }
}
