/* ==========================================================================
   ALCOFRESH · SISTEMA DE DISEÑO VISUAL CORPORATIVO Y E-COMMERCE
   Modo Claro / Modo Oscuro nativo · Cítricos Vibrantes · Vanilla CSS Avanzado
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* Paleta Cítrica Vibrante & Luminosa (Light Mode) */
  --color-orange-primary: #ff5722;
  --color-orange-hover: #f4511e;
  --color-orange-gradient: linear-gradient(135deg, #ff5722 0%, #ff8f00 100%);
  --color-orange-gradient-glow: linear-gradient(135deg, rgba(255, 87, 34, 0.15) 0%, rgba(255, 143, 0, 0.25) 100%);
  --color-orange-light: #fff3e0;
  --color-orange-subtle: #ffe0b2;

  --color-leaf-green: #059669;
  --color-leaf-dark: #047857;
  --color-leaf-light: #ecfdf5;
  --color-leaf-gradient: linear-gradient(135deg, #059669 0%, #10b981 100%);

  --color-lemon-yellow: #f59e0b;
  --color-lemon-light: #fef3c7;

  /* Superficies y Fondos */
  --color-bg-main: #f8fafc;
  --color-bg-surface: #ffffff;
  --color-bg-card: #ffffff;
  --color-bg-card-alt: #f1f5f9;
  --color-bg-glass: rgba(255, 255, 255, 0.85);

  /* Textos y Contrastes */
  --color-text-primary: #0f172a;
  --color-text-secondary: #334155;
  --color-text-muted: #64748b;
  --color-text-light: #94a3b8;

  /* Bordes e Interfaces */
  --color-border: #e2e8f0;
  --color-border-hover: #cbd5e1;
  --color-border-focus: #ff5722;

  /* Estados de Pedidos */
  --status-reservado: #d97706;
  --status-reservado-bg: #fef3c7;
  --status-corte: #ea580c;
  --status-corte-bg: #ffedd5;
  --status-pagado: #0284c7;
  --status-pagado-bg: #e0f2fe;
  --status-entrega: #7c3aed;
  --status-entrega-bg: #f3e8ff;
  --status-entregado: #059669;
  --status-entregado-bg: #d1fae5;
  --status-cancelado: #dc2626;
  --status-cancelado-bg: #fee2e2;

  /* WhatsApp Oficial */
  --color-whatsapp: #25d366;
  --color-whatsapp-hover: #20ba5a;
  --color-whatsapp-bg: #dcf8c6;

  /* Tipografías */
  --font-family-base: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-family-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Medidas y Elevaciones */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 6px 16px -2px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 16px 32px -4px rgba(15, 23, 42, 0.12);
  --shadow-glow: 0 8px 24px rgba(255, 87, 34, 0.35);
  --shadow-glow-leaf: 0 8px 24px rgba(5, 150, 105, 0.3);

  --transition-fast: 0.18s ease;
  --transition-smooth: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   MODO OSCURO (DARK MODE) · ESTILO PREMIUM CÍTRICO ELEGANTE
   ========================================================================== */
[data-theme="dark"] {
  --color-orange-primary: #ff6e40;
  --color-orange-hover: #ff8a65;
  --color-orange-gradient: linear-gradient(135deg, #ff6e40 0%, #ffa726 100%);
  --color-orange-gradient-glow: linear-gradient(135deg, rgba(255, 110, 64, 0.25) 0%, rgba(255, 167, 38, 0.35) 100%);
  --color-orange-light: #2b170c;
  --color-orange-subtle: #3d2112;

  --color-leaf-green: #10b981;
  --color-leaf-dark: #059669;
  --color-leaf-light: #064e3b;
  --color-leaf-gradient: linear-gradient(135deg, #10b981 0%, #34d399 100%);

  --color-lemon-yellow: #fbbf24;
  --color-lemon-light: #3f2f0a;

  --color-bg-main: #0b0f17;
  --color-bg-surface: #121926;
  --color-bg-card: #151e2e;
  --color-bg-card-alt: #1c273a;
  --color-bg-glass: rgba(18, 25, 38, 0.88);

  --color-text-primary: #f8fafc;
  --color-text-secondary: #cbd5e1;
  --color-text-muted: #94a3b8;
  --color-text-light: #64748b;

  --color-border: #223044;
  --color-border-hover: #334460;
  --color-border-focus: #ff6e40;

  --status-reservado: #fbbf24;
  --status-reservado-bg: #3d2c0b;
  --status-corte: #fb923c;
  --status-corte-bg: #43210d;
  --status-pagado: #38bdf8;
  --status-pagado-bg: #0c3349;
  --status-entrega: #a78bfa;
  --status-entrega-bg: #311e5a;
  --status-entregado: #34d399;
  --status-entregado-bg: #093c2a;
  --status-cancelado: #f87171;
  --status-cancelado-bg: #451010;

  --color-whatsapp: #25d366;
  --color-whatsapp-hover: #2ee272;
  --color-whatsapp-bg: #0a3318;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 20px -2px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 20px 40px -4px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 8px 26px rgba(255, 110, 64, 0.4);
  --shadow-glow-leaf: 0 8px 26px rgba(16, 185, 129, 0.35);
}

/* Base y Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family-base);
  background-color: var(--color-bg-main);
  color: var(--color-text-primary);
  line-height: 1.6;
  transition: background-color var(--transition-smooth), color var(--transition-smooth);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   CINTILLO SUPERIOR EN VIVO · HUERTA EN DIRECTO (TICKER)
   ========================================================================== */
.orchard-live-ticker {
  background: linear-gradient(90deg, #064e3b 0%, #059669 50%, #047857 100%);
  color: #ffffff;
  padding: 6px 0;
  font-size: 0.8rem;
  font-weight: 600;
  position: relative;
  z-index: 10; /* Muy por debajo del navbar sticky (1000) para evitar que se solapen al hacer scroll */
  letter-spacing: 0.2px;
}

.ticker-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ticker-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ticker-pulse {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.2);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  flex-shrink: 0;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background: #34d399;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7);
  animation: pulse-animation 1.8s infinite;
}

@keyframes pulse-animation {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 5px rgba(52, 211, 153, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.ticker-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ticker-right {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  flex-shrink: 0;
  font-size: 0.78rem;
}

.ticker-link {
  color: #ffffff;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.ticker-link:hover {
  color: #a7f3d0;
  text-decoration: underline;
}

.ticker-sep {
  opacity: 0.4;
}

.ticker-lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.76rem;
  font-weight: 700;
}

.ticker-lang-toggle a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.ticker-lang-toggle a:hover,
.ticker-lang-toggle a.ticker-lang-active {
  color: #ffedd5;
  font-weight: 900;
  text-decoration: underline;
}

/* ==========================================================================
   BARRA DE NAVEGACIÓN (HEADER) & LOGO CORPORATIVO
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000; /* Siempre por encima del ticker y del contenido */
  background-color: var(--color-bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
  transition: background-color var(--transition-smooth), border-color var(--transition-smooth);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding-top: 6px;
  padding-bottom: 6px;
  gap: 16px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.citrus-icon-badge {
  width: 42px;
  height: 42px;
  background: var(--color-orange-gradient);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  box-shadow: var(--shadow-glow);
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.brand-logo:hover .citrus-icon-badge {
  transform: rotate(-8deg) scale(1.05);
}

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.2;
}

.brand-name {
  font-family: var(--font-family-heading);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.4px;
  color: var(--color-text-primary);
  white-space: nowrap;
}

.brand-sub {
  font-size: 0.72rem;
  color: var(--color-leaf-green);
  font-weight: 700;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--color-text-secondary);
  white-space: nowrap;
  padding: 6px 2px;
  transition: color var(--transition-fast);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-orange-primary);
}

.nav-links .link-highlight {
  color: var(--color-orange-primary) !important;
  font-weight: 700;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Theme Toggle Button (Sol / Luna) */
.theme-toggle-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-bg-card);
  color: var(--color-text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.theme-toggle-btn:hover {
  background: var(--color-orange-light);
  border-color: var(--color-orange-primary);
  color: var(--color-orange-primary);
  transform: scale(1.05);
}

.theme-icon-sun,
.theme-icon-moon {
  font-size: 1.15rem;
  line-height: 1;
}

[data-theme="dark"] .theme-icon-sun { display: block; }
[data-theme="dark"] .theme-icon-moon { display: none; }
:root:not([data-theme="dark"]) .theme-icon-sun { display: none; }
:root:not([data-theme="dark"]) .theme-icon-moon { display: block; }

/* Selector de Idioma Corporativo (Píldora Moderna) */
.lang-selector-nav {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--color-bg-card);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: 3px 8px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.lang-selector-nav:hover {
  border-color: var(--color-orange-primary);
}

.lang-opt {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.lang-opt:hover {
  color: var(--color-orange-primary);
  background: var(--color-orange-light);
}

.lang-opt.active {
  background: var(--color-orange-gradient);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(255, 87, 34, 0.35);
}

.lang-divider {
  color: var(--color-border);
  font-size: 0.8rem;
  user-select: none;
}

.flag-icon {
  font-size: 0.95rem;
  line-height: 1;
}

.lang-code {
  letter-spacing: 0.5px;
}

/* Utilidad Degradado de Texto */
.text-gradient {
  background: var(--color-orange-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

/* Botones de Navegación Armonizados */
.btn-nav-login {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-text-primary);
  padding: 8px 12px;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-nav-login:hover {
  color: var(--color-orange-primary);
  background: var(--color-orange-light);
}

.btn-nav-register {
  background: var(--color-bg-card);
  color: var(--color-text-primary);
  border: 1.5px solid var(--color-border);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 7px 15px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-nav-register:hover {
  border-color: var(--color-orange-primary);
  color: var(--color-orange-primary);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-nav-tracking {
  background: var(--color-orange-gradient);
  color: #ffffff !important;
  border: none;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-glow);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-nav-tracking:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(255, 87, 34, 0.45);
}

.btn-nav-user {
  background: #e0f2fe;
  color: #0369a1 !important;
  border: 1px solid #bae6fd;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-text-primary);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* ==========================================================================
   SISTEMA DE BOTONES MODERNOS & LLAMATIVOS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  border-radius: var(--radius-full);
  padding: 12px 26px;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  font-size: 0.96rem;
  text-align: center;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--color-orange-gradient);
  color: #ffffff !important;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(255, 87, 34, 0.45);
}

.btn-secondary {
  background: var(--color-bg-card);
  color: var(--color-text-primary) !important;
  border: 1.5px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--color-orange-primary);
  color: var(--color-orange-primary) !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-success {
  background: var(--color-leaf-gradient);
  color: #ffffff !important;
  box-shadow: var(--shadow-glow-leaf);
}

.btn-success:hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25d366;
  color: #ffffff !important;
  font-weight: 700;
}
.btn-whatsapp:hover {
  background: #20ba5a;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transform: translateY(-2px);
}

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

.btn-block {
  width: 100%;
}

/* ==========================================================================
   HERO SECTION EMPRESARIAL MODERNO
   ========================================================================== */
.hero-corporate {
  padding: 60px 0 50px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 80% 20%, rgba(255, 87, 34, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 10% 80%, rgba(5, 150, 105, 0.08) 0%, transparent 50%);
}

.hero-corporate-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-orange-light);
  color: var(--color-orange-primary);
  border: 1px solid rgba(255, 87, 34, 0.2);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.hero-corporate h1 {
  font-family: var(--font-family-heading);
  font-size: 3.4rem;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 22px;
  color: var(--color-text-primary);
}

.hero-corporate h1 .highlight-orange {
  background: var(--color-orange-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: 1.18rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: 30px;
}

.hero-badges-row {
  display: flex;
  gap: 24px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--color-border);
  flex-wrap: wrap;
}

.hero-badge-feature {
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-icon-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-leaf-light);
  color: var(--color-leaf-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
}

.feature-text strong {
  display: block;
  font-size: 0.92rem;
  color: var(--color-text-primary);
}

.feature-text span {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* Tarjeta Interactiva del Hero (Card de Compra & Rastreo) */
.hero-action-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.hero-action-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-border);
}

.live-order-badge {
  background: #dcfce7;
  color: #15803d;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

[data-theme="dark"] .live-order-badge {
  background: #093c2a;
  color: #34d399;
}

/* ==========================================================================
   CATÁLOGO DE PRODUCTO INTERACTIVO Y VIBRANTE
   ========================================================================== */
.catalog-section {
  padding: 80px 0;
  position: relative;
}

.section-head-corporate {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px;
}

.section-tag {
  color: var(--color-orange-primary);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.84rem;
  letter-spacing: 1px;
  margin-bottom: 12px;
  display: block;
}

.section-head-corporate h2 {
  font-family: var(--font-family-heading);
  font-size: 2.7rem;
  font-weight: 800;
  letter-spacing: -0.8px;
  margin-bottom: 14px;
  color: var(--color-text-primary);
}

.section-head-corporate p {
  color: var(--color-text-muted);
  font-size: 1.12rem;
}

/* Rejilla de Cajas */
.boxes-modern-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 30px;
}

.box-card-modern {
  background: var(--color-bg-card);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  position: relative;
}

.box-card-modern:hover {
  transform: translateY(-8px);
  border-color: var(--color-orange-primary);
  box-shadow: 0 20px 40px -8px rgba(255, 87, 34, 0.25);
}

.box-ribbon {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 10;
  background: var(--color-orange-gradient);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.78rem;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  letter-spacing: 0.3px;
}

.box-card-img-wrapper {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--color-bg-card-alt);
}

.box-card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.box-card-modern:hover .box-card-img-wrapper img {
  transform: scale(1.08);
}

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

.box-origin-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  color: var(--color-leaf-green);
  font-weight: 700;
  margin-bottom: 8px;
}

.box-card-title {
  font-family: var(--font-family-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-text-primary);
  margin-bottom: 6px;
}

.box-card-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 18px;
  min-height: 54px;
}

/* Indicadores de Sabor y Zumo */
.taste-meters {
  background: var(--color-bg-card-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.meter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px; /* Separación amplia para que la barra NUNCA toque las letras */
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-text-secondary);
}

.meter-row .meter-label,
.meter-row span:first-child {
  white-space: nowrap;
  flex-shrink: 0;
}

.meter-bar {
  flex: 1;
  max-width: 110px; /* Ancho acotado para dar todo el protagonismo y aire al texto */
  min-width: 50px;
  height: 7px;
  background: var(--color-border);
  border-radius: 99px;
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);
}

.meter-fill {
  height: 100%;
  background: var(--color-orange-gradient);
  border-radius: 99px;
  transition: width 0.35s ease;
}


/* Selector de Kilos Interactivo */
.weight-selector-row {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.btn-weight-pill {
  flex: 1;
  padding: 8px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--color-border);
  background: var(--color-bg-card);
  color: var(--color-text-primary);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
}

.btn-weight-pill.active,
.btn-weight-pill:hover {
  border-color: var(--color-orange-primary);
  background: var(--color-orange-light);
  color: var(--color-orange-primary);
}

/* Precios y CTA */
.box-price-row {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

.box-price-display {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.box-price-current {
  font-family: var(--font-family-heading);
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--color-orange-primary);
  line-height: 1;
}

.box-price-super {
  font-size: 0.78rem;
  color: var(--color-text-light);
  text-decoration: line-through;
  margin-top: 4px;
}

.btn-reservar-caja {
  width: 100%;
  margin-top: 16px;
  padding: 13px 20px;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.28);
}

.btn-reservar-caja:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(234, 88, 12, 0.42);
}

/* ==========================================================================
   SECCIÓN: CALENDARIO DE MADURACIÓN CÍTRICA MARCELINO
   ========================================================================== */
.calendar-section {
  padding: 70px 0;
  background: var(--color-bg-card-alt);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.calendar-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-md);
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 6px;
  margin-top: 24px;
}

.cal-month-col {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 8px 0;
  color: var(--color-text-secondary);
  border-bottom: 2px solid var(--color-border);
}

.cal-month-col.current-month {
  color: var(--color-orange-primary);
  border-color: var(--color-orange-primary);
}

.cal-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  align-items: center;
  margin-top: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--color-border);
}

.cal-variety-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-text-primary);
}

.cal-bars {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 6px;
  height: 24px;
}

.cal-bar-cell {
  border-radius: 4px;
  background: rgba(0,0,0,0.03);
}

.cal-bar-cell.active-harvest {
  background: var(--color-orange-gradient);
}
.cal-bar-cell.active-lemon {
  background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
}

/* Banner de Invitación a la Finca (debajo del cuadro de calendario) */
.calendar-invitation-box {
  margin-top: 24px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-orange-primary);
  border-radius: var(--radius-lg);
  padding: 22px 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.calendar-invitation-box:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-border-hover);
  border-left-color: var(--color-orange-primary);
  transform: translateY(-2px);
}

.calendar-invitation-icon-wrapper {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  background: var(--color-orange-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  flex-shrink: 0;
  border: 1px solid rgba(255, 87, 34, 0.2);
}

[data-theme="dark"] .calendar-invitation-icon-wrapper {
  background: rgba(255, 110, 64, 0.15);
  border-color: rgba(255, 110, 64, 0.3);
}

.calendar-invitation-content {
  flex: 1;
}

.calendar-invitation-text {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--color-orange-primary);
  font-weight: 700;
}

@media (max-width: 768px) {
  .calendar-invitation-box {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 20px;
    gap: 14px;
    margin-top: 18px;
  }
  .calendar-invitation-text {
    font-size: 0.98rem;
  }
}

/* Scroll Offset para no tapar títulos con la barra fija al navegar por anclas */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 105px;
}

section[id], div[id] {
  scroll-margin-top: 105px;
}

/* ==========================================================================
   ENCABEZADOS DE SECCIÓN CORPORATIVOS Y TAGS
   ========================================================================== */
.section-head-corporate {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 46px;
  padding: 0 16px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-orange-light);
  color: var(--color-orange-primary);
  border: 1px solid rgba(255, 87, 34, 0.2);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}

[data-theme="dark"] .section-tag {
  background: rgba(255, 110, 64, 0.14);
  color: #ff8a65;
}

.section-head-corporate h2 {
  font-family: var(--font-family-heading);
  font-size: 2.35rem;
  font-weight: 800;
  color: var(--color-text-primary);
  letter-spacing: -0.8px;
  margin-bottom: 12px;
  line-height: 1.2;
}

.section-head-corporate p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* ==========================================================================
   SECCIÓN: CÓMO FUNCIONA EN 4 PASOS (ACORDEÓN INTERACTIVO RESPONSIVE)
   ========================================================================== */
.how-it-works-section {
  padding: 80px 0;
  background: var(--color-bg-surface);
  position: relative;
}

.accordion-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 920px;
  margin: 0 auto 20px;
  padding: 0 6px;
  flex-wrap: wrap;
  gap: 12px;
}

.accordion-toolbar-info {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-text-muted);
}

.btn-accordion-toggle-all {
  background: var(--color-bg-card);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: 7px 18px;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--color-text-primary);
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.btn-accordion-toggle-all:hover {
  border-color: var(--color-orange-primary);
  color: var(--color-orange-primary);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.steps-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 920px;
  margin: 0 auto;
}

.accordion-step-card {
  background: var(--color-bg-card);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
  overflow: hidden;
}

.accordion-step-card:hover {
  border-color: var(--color-orange-primary);
  box-shadow: var(--shadow-md);
}

.accordion-step-card.active {
  border-color: var(--color-orange-primary);
  box-shadow: 0 10px 28px -4px rgba(255, 87, 34, 0.15), var(--shadow-md);
}

.accordion-step-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  cursor: pointer;
  user-select: none;
  background: var(--color-bg-card);
  transition: background var(--transition-fast);
  gap: 16px;
}

.accordion-step-card.active .accordion-step-header {
  background: var(--color-orange-gradient-glow);
  border-bottom: 1px solid var(--color-border);
}

.step-header-left {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  flex: 1;
}

.step-number-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-orange-gradient);
  color: #ffffff;
  font-family: var(--font-family-heading);
  font-size: 1.15rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(255, 87, 34, 0.35);
  letter-spacing: -0.5px;
}

.step-icon-badge {
  font-size: 1.5rem;
  line-height: 1;
  flex-shrink: 0;
}

.step-header-text {
  min-width: 0;
  flex: 1;
}

.step-header-text h3 {
  font-family: var(--font-family-heading);
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--color-text-primary);
  margin: 0 0 2px;
  line-height: 1.25;
}

.step-header-sub {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-leaf-green);
  display: none;
}

.step-header-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.step-badge-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: var(--color-orange-light);
  color: var(--color-orange-primary);
  letter-spacing: 0.3px;
  white-space: nowrap;
}

[data-theme="dark"] .step-badge-tag {
  background: rgba(255, 110, 64, 0.16);
  color: #ff8a65;
}

.accordion-chevron {
  font-size: 1.2rem;
  color: var(--color-text-muted);
  transition: transform var(--transition-fast), color var(--transition-fast);
  display: inline-block;
  line-height: 1;
}

.accordion-step-card.active .accordion-chevron {
  transform: rotate(180deg);
  color: var(--color-orange-primary);
}

/* Contenido colapsable */
.accordion-step-content {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
  background: var(--color-bg-card);
}

.accordion-step-card.active .accordion-step-content {
  max-height: 600px;
  opacity: 1;
}

.step-content-inner {
  padding: 24px 28px 28px;
}

.step-lead-desc {
  font-size: 1.02rem;
  color: var(--color-text-secondary);
  line-height: 1.65;
  margin-bottom: 20px;
}

.step-feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 20px;
}

.step-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--color-text-primary);
  font-weight: 600;
}

.feature-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #dcfce7;
  color: #15803d;
  font-size: 0.75rem;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 2px;
}

[data-theme="dark"] .feature-check {
  background: #093c2a;
  color: #34d399;
}

.step-action-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  padding-top: 6px;
}

.step-guarantee-pill {
  font-size: 0.84rem;
  color: var(--color-leaf-green);
  background: var(--color-leaf-light);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Fallback grid de pasos */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  margin-top: 40px;
}

.step-item {
  background: var(--color-bg-card);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 36px 24px 28px;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
}

.step-number-wrapper {
  position: relative;
  margin-bottom: 20px;
}

.step-number {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--color-orange-gradient);
  color: #ffffff;
  font-family: var(--font-family-heading);
  font-size: 1.45rem;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .section-head-corporate h2 {
    font-size: 1.85rem;
  }
  .section-head-corporate p {
    font-size: 0.95rem;
  }
  .accordion-step-header {
    padding: 16px;
    gap: 10px;
  }
  .step-number-circle {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }
  .step-icon-badge {
    font-size: 1.25rem;
  }
  .step-header-text h3 {
    font-size: 1.05rem;
  }
  .step-header-right .step-badge-tag {
    display: none;
  }
  .step-header-sub {
    display: block;
  }
  .step-content-inner {
    padding: 18px 16px 20px;
  }
  .step-feature-list {
    grid-template-columns: 1fr;
    padding: 12px 14px;
  }
}

/* ==========================================================================
   BOTÓN FLOTANTE DE WHATSAPP CORPORATIVO
   ========================================================================== */
.whatsapp-float-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 12px;
}

.whatsapp-float-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  cursor: pointer;
  border: none;
  transition: all var(--transition-fast);
  position: relative;
}

.whatsapp-float-btn:hover {
  transform: scale(1.08);
  background: #20ba5a;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-badge-online {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.whatsapp-badge-online::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
}

.whatsapp-tooltip {
  background: var(--color-bg-card);
  color: var(--color-text-primary);
  padding: 8px 14px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  font-size: 0.85rem;
  font-weight: 700;
  display: none;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .whatsapp-tooltip {
    display: block;
  }
}

/* ==========================================================================
   MODALES Y FORMULARIOS
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  max-width: 580px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 36px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

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

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 6px;
  color: var(--color-text-secondary);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg-surface);
  color: var(--color-text-primary);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-orange-primary);
  box-shadow: 0 0 0 3px rgba(255, 87, 34, 0.2);
}

/* Footer Corporativo */
footer {
  background: var(--color-bg-card);
  border-top: 1px solid var(--color-border);
  padding: 60px 0 30px;
  margin-top: 60px;
}

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

.footer-brand h4 {
  font-family: var(--font-family-heading);
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--color-text-primary);
}

.footer-brand p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  max-width: 440px;
}

.footer-col h5 {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--color-text-primary);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-links {
  list-style: none;
}

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

.footer-links a {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--color-orange-primary);
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* ==========================================================================
   TARJETAS DE MÉTRICAS Y ESTADÍSTICAS (STATS GRID)
   ========================================================================== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.stat-card {
  background: var(--color-bg-card);
  padding: 22px 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
}

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

.stat-card .stat-label {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-card .stat-value {
  font-family: var(--font-family-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-text-primary);
  margin-top: 6px;
  line-height: 1.1;
}

/* ==========================================================================
   INSIGNIAS DE ESTADO DE PEDIDOS (STATUS BADGES)
   ========================================================================== */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.badge-reservado { background: var(--status-reservado-bg); color: var(--status-reservado); }
.badge-corte { background: var(--status-corte-bg); color: var(--status-corte); }
.badge-pagado { background: var(--status-pagado-bg); color: var(--status-pagado); }
.badge-entrega { background: var(--status-entrega-bg); color: var(--status-entrega); }
.badge-entregado { background: var(--status-entregado-bg); color: var(--status-entregado); }
.badge-cancelado { background: var(--status-cancelado-bg); color: var(--status-cancelado); }

/* ==========================================================================
   MENSAJES FLASH Y ALERTAS
   ========================================================================== */
.flash-message {
  padding: 14px 20px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  font-size: 0.94rem;
  box-shadow: var(--shadow-sm);
}

.flash-success {
  background: var(--color-leaf-light);
  color: var(--color-leaf-dark);
  border: 1px solid var(--color-leaf-green);
}

.flash-error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #ef4444;
}

.flash-warning {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #f59e0b;
}

/* Media Queries Responsivos */
.nav-mobile-lang-item {
  display: none;
}

@media (max-width: 1100px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-bg-card);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-lg);
    padding: 20px 24px;
  }
  .nav-menu.active {
    display: block;
  }
  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .nav-links a {
    font-size: 1.05rem;
    display: block;
    width: 100%;
    padding: 8px 0;
  }
  .nav-mobile-lang-item {
    display: block;
    width: 100%;
    padding-top: 14px;
    border-top: 1px solid var(--color-border);
    margin-top: 6px;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

@media (max-width: 960px) {
  .hero-corporate-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hero-corporate h1 {
    font-size: 2.5rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .calendar-grid {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
  }
  .cal-row {
    grid-template-columns: 140px 1fr;
  }
}

@media (max-width: 768px) {
  .ticker-right {
    display: none;
  }
  .brand-sub {
    display: none;
  }
  .btn-nav-register {
    display: none;
  }
  .btn-nav-login {
    display: none;
  }
  .navbar .container {
    min-height: 64px;
    padding-left: 14px;
    padding-right: 14px;
  }
  .lang-selector-nav {
    padding: 2px 6px;
    gap: 2px;
  }
  .lang-opt {
    padding: 2px 6px;
    font-size: 0.74rem;
  }
}

@media (max-width: 480px) {
  .hero-corporate h1 {
    font-size: 2rem;
    letter-spacing: -0.8px;
  }
  .hero-lead {
    font-size: 1.02rem;
  }
  .btn-lg {
    padding: 13px 24px;
    font-size: 0.98rem;
    width: 100%;
  }
  .hero-badges-row {
    flex-direction: column;
    gap: 16px;
  }
  .modal-card {
    padding: 22px 18px;
  }
  .form-control {
    font-size: 16px; /* Evita zoom forzado en móviles iOS/Android */
  }
}

/* ==========================================================================
   SECCIÓN: PARA QUIÉN ES
   ========================================================================== */
.for-whom-section {
  padding: 85px 0;
  background: var(--color-bg-main);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  position: relative;
}

.for-whom-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 48px;
}

.for-whom-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-orange-light);
  color: var(--color-orange-primary);
  border: 1px solid var(--color-orange-subtle);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.for-whom-header h2 {
  font-family: var(--font-family-heading);
  font-size: 2.8rem;
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 14px;
  color: var(--color-text-primary);
}

.for-whom-callout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

.for-whom-pill {
  background: var(--color-orange-gradient);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.96rem;
  padding: 6px 20px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-glow);
  display: inline-block;
  letter-spacing: 0.3px;
  animation: subtlePulse 3s infinite ease-in-out;
}

@keyframes subtlePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

.for-whom-lead {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-text-secondary);
  margin-top: 6px;
}

.for-whom-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.for-whom-card {
  background: var(--color-bg-card);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 32px 26px;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.for-whom-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--card-accent-gradient, var(--color-orange-gradient));
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

.for-whom-card:hover {
  transform: translateY(-6px);
  border-color: var(--card-accent-border, var(--color-orange-primary));
  box-shadow: 0 16px 36px -6px rgba(15, 23, 42, 0.12);
}

[data-theme="dark"] .for-whom-card:hover {
  box-shadow: 0 16px 36px -6px rgba(0, 0, 0, 0.5);
}

.for-whom-card:hover::before {
  opacity: 1;
}

.for-whom-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.for-whom-icon-badge {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--card-accent-light, var(--color-orange-light));
  border: 1px solid var(--card-accent-subtle, var(--color-orange-subtle));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  transition: transform var(--transition-smooth);
}

.for-whom-card:hover .for-whom-icon-badge {
  transform: scale(1.1) rotate(5deg);
}

.for-whom-card-step {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--color-text-light);
  background: var(--color-bg-card-alt);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.for-whom-statement {
  font-family: var(--font-family-heading);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.38;
  color: var(--color-text-primary);
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.for-whom-check {
  color: var(--color-leaf-green);
  font-size: 1.2rem;
  font-weight: 900;
  flex-shrink: 0;
  line-height: 1.35;
}

.for-whom-desc {
  font-size: 0.92rem;
  line-height: 1.58;
  color: var(--color-text-muted);
  margin-top: auto;
  padding-top: 10px;
}

.for-whom-cta-strip {
  margin-top: 40px;
  background: var(--color-bg-card);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: var(--shadow-sm);
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.for-whom-cta-text {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text-secondary);
}

.for-whom-cta-icon {
  font-size: 1.7rem;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .for-whom-header h2 {
    font-size: 2.1rem;
  }
  .for-whom-lead {
    font-size: 1.2rem;
  }
  .for-whom-cta-strip {
    flex-direction: column;
    text-align: center;
    padding: 22px 20px;
  }
  .for-whom-cta-text {
    flex-direction: column;
    gap: 8px;
  }
}

/* ==========================================================================
   CARTA E INVITACIÓN DEL AGRICULTOR (FORMATO ANCHO Y DESTACADO)
   ========================================================================== */
.farmer-letter-card {
  width: 100%;
  max-width: 1240px;
  margin: 42px auto 0;
  background: var(--color-bg-card);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 38px 46px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.farmer-letter-card:hover {
  border-color: rgba(5, 150, 105, 0.4);
  box-shadow: var(--shadow-lg);
}

.farmer-letter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.farmer-letter-badge {
  background: rgba(5, 150, 105, 0.12);
  color: var(--color-leaf-dark);
  font-weight: 800;
  font-size: 0.86rem;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.farmer-letter-location {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.farmer-letter-title {
  font-family: var(--font-family-heading);
  font-size: 1.95rem;
  font-weight: 800;
  color: var(--color-text-primary);
  margin: 0 0 20px 0;
  line-height: 1.25;
  letter-spacing: -0.5px;
}

.farmer-letter-lead {
  font-size: 1.14rem;
  color: var(--color-text-primary);
  line-height: 1.75;
  margin-bottom: 16px;
  font-weight: 600;
}

.farmer-letter-body {
  font-size: 1.02rem;
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin: 0 0 24px 0;
}

.farmer-invitation-highlight {
  background: linear-gradient(135deg, rgba(5, 150, 105, 0.08) 0%, rgba(16, 185, 129, 0.04) 100%);
  border-left: 5px solid var(--color-leaf-green);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 22px 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px;
}

.farmer-highlight-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.farmer-invitation-highlight p {
  font-size: 1.05rem;
  color: var(--color-leaf-dark);
  font-weight: 600;
  line-height: 1.65;
  margin: 0;
}

.farmer-letter-footer {
  border-top: 1px solid var(--color-border);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.farmer-letter-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.farmer-letter-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-orange-light);
  border: 2px solid var(--color-orange-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: var(--shadow-sm);
}

.farmer-letter-name {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text-primary);
}

.farmer-letter-role {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.farmer-letter-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 12px 24px;
}

@media (max-width: 768px) {
  .farmer-letter-card {
    padding: 26px 20px;
    margin-top: 30px;
  }
  .farmer-letter-title {
    font-size: 1.55rem;
  }
  .farmer-letter-lead {
    font-size: 1.05rem;
  }
  .farmer-letter-body {
    font-size: 0.96rem;
  }
  .farmer-invitation-highlight {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 18px;
    gap: 10px;
  }
  .farmer-letter-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .farmer-letter-cta {
    width: 100%;
    justify-content: center;
  }
}



