/* =========================================
   BONNE FARMA — MAQUETA REDISEÑO 2026
   Design System & Styles
   ========================================= */

/* ---- CSS Variables / Design Tokens ---- */
:root {
  --primary-900: #061e3e;
  --primary-800: #0a2d5c;
  --primary-700: #0d3d7a;
  --primary-600: #0a5299;
  --primary-500: #0a6ebd;
  --primary-400: #1a84d4;
  --primary-300: #3fa0e8;
  --primary-200: #90c8f4;
  --primary-100: #daeeff;

  --accent-500: #00c6ff;
  --accent-400: #33d4ff;
  --accent-glow: rgba(0, 198, 255, 0.3);

  --gold-500: #f0c040;
  --gold-400: #f5d060;

  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;

  --neutral-900: #0f172a;
  --neutral-800: #1e293b;
  --neutral-700: #334155;
  --neutral-600: #475569;
  --neutral-400: #94a3b8;
  --neutral-200: #e2e8f0;
  --neutral-100: #f1f5f9;
  --neutral-50: #f8fafc;
  --white: #ffffff;

  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 999px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.07);
  --shadow-md: 0 4px 16px rgba(10,46,125,0.12), 0 2px 6px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 40px rgba(10,46,125,0.18), 0 4px 12px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 60px rgba(10,46,125,0.22), 0 8px 24px rgba(0,0,0,0.12);
  --shadow-blue: 0 0 30px rgba(10,110,189,0.35);

  --glass-bg: rgba(255,255,255,0.07);
  --glass-border: rgba(255,255,255,0.15);
  --glass-bg-light: rgba(255,255,255,0.85);
  --glass-border-light: rgba(10,110,189,0.15);

  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--neutral-800);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

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

.glass-card {
  background: var(--glass-bg-light);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* ---- TOP BAR ---- */
.topbar {
  background: var(--primary-900);
  color: rgba(255,255,255,0.75);
  font-size: 0.78rem;
  font-family: var(--font-body);
  padding: 8px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: transform var(--transition);
}

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

.topbar a {
  color: rgba(255,255,255,0.75);
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 5px;
}
.topbar a:hover { color: var(--accent-400); }
.topbar-icon { display: inline-flex; align-items: center; }

.topbar-label {
  color: var(--white);
  font-weight: 600;
}

.topbar-left, .topbar-right {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.topbar-social {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-left: 14px;
  border-left: 1px solid rgba(255,255,255,0.18);
}
.topbar-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  transition: color var(--transition), background var(--transition);
}
.topbar-social a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.12);
}
@media (max-width: 1300px) {
  .topbar { font-size: 0.62rem; }
  .topbar-inner { gap: 8px; }
  .topbar-left, .topbar-right { gap: 6px; }
  .topbar-social { padding-left: 6px; }
}

/* ---- NAVBAR ---- */
.navbar {
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--neutral-200);
  position: sticky;
  top: 42px;
  z-index: 999;
  transition: box-shadow var(--transition), top var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
  top: 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
  gap: 24px;
}

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

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

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--primary-700);
  letter-spacing: -0.3px;
}
.logo-sub {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.65rem;
  letter-spacing: 3px;
  color: var(--primary-500);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--neutral-700);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  transition: all var(--transition);
  position: relative;
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
  color: var(--primary-500);
  background: var(--primary-100);
}
.nav-link.active {
  font-weight: 600;
}

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

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: linear-gradient(135deg, var(--primary-500), var(--primary-700));
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 4px 14px rgba(10,110,189,0.35);
  white-space: nowrap;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(10,110,189,0.45);
  background: linear-gradient(135deg, var(--primary-400), var(--primary-600));
}
.btn-primary.large { padding: 16px 32px; font-size: 1rem; }
.btn-primary.full-width { width: 100%; justify-content: center; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: rgba(255,255,255,0.12);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius-full);
  border: 1.5px solid rgba(255,255,255,0.3);
  cursor: pointer;
  transition: all var(--transition);
  backdrop-filter: blur(10px);
  white-space: nowrap;
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.6);
  transform: translateY(-2px);
}

.btn-outline-light {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  padding: 14px 32px;
  background: transparent;
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  border: 2px solid rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all var(--transition);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.15);
  border-color: white;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: var(--radius-full);
  transition: all var(--transition);
  box-shadow: 0 4px 12px rgba(37,211,102,0.35);
  white-space: nowrap;
}
.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37,211,102,0.45);
}

.btn-whatsapp-large {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-full);
  transition: all var(--transition);
  box-shadow: 0 4px 14px rgba(37,211,102,0.35);
}
.btn-whatsapp-large:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,0.5);
}

/* ---- HAMBURGER ---- */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary-700);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ---- PAGE SYSTEM ---- */
.page { display: none; }
.page.active { display: block; }

/* ---- PAGE HERO SYSTEM ---- */
.page-hero {
  position: relative;
  min-height: 290px;
  background: #040d1f;
  padding: 130px 0 64px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(4, 13, 31, 0.96) 0%,
    rgba(4, 13, 31, 0.82) 48%,
    rgba(4, 13, 31, 0.45) 100%
  );
  z-index: 2;
  pointer-events: none;
}

.page-hero-img-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.page-hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.65;
  filter: brightness(0.85);
}

.page-hero .container {
  position: relative;
  z-index: 3;
}

.page-hero-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2.1rem, 3.8vw, 3rem);
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.page-hero-sub {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 640px;
  line-height: 1.65;
}


/* ---- SECTIONS ---- */
.section {
  padding: 96px 0;
  position: relative;
}

.section-dark {
  background: linear-gradient(135deg, var(--primary-900) 0%, var(--primary-800) 60%, var(--primary-700) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.section-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(0,198,255,0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 20%, rgba(10,110,189,0.15) 0%, transparent 60%);
}

/* ---- TYPOGRAPHY ---- */
.section-eyebrow {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--primary-500);
  margin-bottom: 12px;
}
.section-eyebrow.light { color: var(--accent-400); }

.section-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.2;
  color: var(--primary-900);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
.section-title.light { color: var(--white); }
.section-title.center { text-align: center; }

.section-desc {
  font-size: 1.05rem;
  color: var(--neutral-600);
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 600px;
}
.section-desc.light { color: rgba(255,255,255,0.8); }
.section-desc.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ---- LAYOUT HELPERS ---- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }

/* ---- ANIMATIONS ---- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
@keyframes truck-move {
  0% { left: 0%; }
  100% { left: calc(100% - 24px); }
}
@keyframes spin-slow {
  to { transform: rotate(360deg); }
}
@keyframes count-up {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-in {
  opacity: 0;
  animation: fadeInUp 0.7s ease forwards;
  animation-delay: var(--delay, 0s);
}

/* =====================
   HERO
   ===================== */
.hero {
  min-height: calc(100vh - 130px);
  background: #040d1f;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  padding: 80px 24px;
  max-width: 100%;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 10% 20%, rgba(0,198,255,0.08) 0%, transparent 45%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Ccircle cx='30' cy='30' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 2;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-left: clamp(24px, 5vw, 80px);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(0,198,255,0.12);
  border: 1px solid rgba(0,198,255,0.3);
  border-radius: var(--radius-full);
  color: var(--accent-400);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
}
.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-400);
  border-radius: 50%;
  animation: pulse-dot 2s ease infinite;
}

.hero-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-gradient-text {
  background: linear-gradient(90deg, var(--accent-400), var(--gold-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 520px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding-right: clamp(24px, 5vw, 80px);
  animation: float 6s ease-in-out infinite;
}

.hero-card {
  background: rgba(4, 13, 31, 0.5) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.35) !important;
  border-radius: var(--radius-xl) !important;
  padding: 32px !important;
  width: 100%;
  max-width: 400px;
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

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

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2.4rem;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
  letter-spacing: 0.3px;
}

.hero-badges-float {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.float-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 16px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-full);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.82rem;
  backdrop-filter: blur(10px);
}

/* ---- CLIENTS ---- */
.section-clients { padding: 56px 0; background: var(--white); border-bottom: 1px solid var(--neutral-200); }
.section-clients .section-title { text-align: center; margin-bottom: 40px; }
.section-clients .section-eyebrow { text-align: center; }

.clients-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
}

.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 0;
  border-radius: 0;
  height: auto;
  padding: 0;
  box-shadow: none;
  transition: transform var(--transition);
}
.client-logo:hover {
  transform: translateY(-2px);
}
.client-logo img { height: 80px; max-width: 320px; object-fit: contain; }

.client-generic {
  flex-direction: column;
  gap: 4px;
  color: var(--primary-700);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.15;
  text-align: center;
  white-space: nowrap;
}
.client-generic svg { width: 34px; height: 34px; color: var(--primary-500); flex-shrink: 0; }
.client-fallback {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  background: var(--primary-100);
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary-700);
  height: 44px;
}

/* ---- VALUE SECTION ---- */
.section-value {
  background:
    radial-gradient(900px 420px at 92% 0%, rgba(10, 110, 189, 0.06), transparent 70%),
    var(--white);
  overflow: hidden;
}

.value-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 48px;
}
.value-header-text { max-width: 760px; }
.value-header .section-title { text-wrap: balance; }
.value-header .section-desc { margin-bottom: 0; }
.value-cta { flex-shrink: 0; margin-bottom: 4px; }

.value-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 32px;
  align-items: stretch;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.value-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 26px 62px;
  background: var(--white);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 8px rgba(6, 30, 62, 0.04);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.value-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-500), var(--accent-400));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.value-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-200);
  box-shadow: var(--shadow-lg);
}
.value-card:hover::before { transform: scaleX(1); }

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

.value-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--primary-100), #eaf7ff);
  border: 1px solid rgba(10, 110, 189, 0.14);
  color: var(--primary-600);
}
.value-icon svg { width: 26px; height: 26px; }

.value-highlight {
  padding: 6px 12px;
  border-radius: var(--radius-full);
  background: rgba(10, 110, 189, 0.08);
  color: var(--primary-700);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.4px;
  white-space: nowrap;
}

.value-card h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.3;
  color: var(--primary-900);
  margin-bottom: 8px;
}
.value-card p {
  font-size: 0.88rem;
  color: var(--neutral-600);
  line-height: 1.6;
}
.value-num {
  position: absolute;
  right: 22px;
  bottom: 14px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2.6rem;
  line-height: 1;
  letter-spacing: -1px;
  color: rgba(10, 110, 189, 0.09);
  pointer-events: none;
  user-select: none;
  transition: color var(--transition);
}
.value-card:hover .value-num { color: rgba(10, 110, 189, 0.16); }

/* ---- CERTIFICATION PANEL ---- */
.cert-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 36px 34px;
  border-radius: var(--radius-xl);
  background: var(--primary-900);
  color: var(--white);
  box-shadow: 0 24px 60px rgba(6, 30, 62, 0.28);
}
.cert-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(420px 260px at 88% 0%, rgba(0, 198, 255, 0.22), transparent 70%),
    linear-gradient(160deg, var(--primary-700) 0%, var(--primary-800) 50%, var(--primary-900) 100%);
}

.cert-panel-content {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.cert-panel-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--gold-400);
}
.cert-panel-eyebrow::before {
  content: '';
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold-400);
}

.cert-panel-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  line-height: 1.2;
  letter-spacing: -0.3px;
  margin-bottom: 10px;
}
.cert-panel-desc {
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 26px;
}

.cert-seals {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 26px;
}
.cert-seal {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.cert-seal-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 168px;
  aspect-ratio: 1;
  padding: 10px;
  margin-bottom: 12px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--white);
  box-shadow:
    0 0 0 1px rgba(245, 208, 96, 0.55),
    0 0 0 6px rgba(255, 255, 255, 0.05),
    0 12px 28px rgba(0, 0, 0, 0.28);
  transition: transform var(--transition), box-shadow var(--transition);
}
.cert-seal:hover .cert-seal-badge {
  transform: translateY(-3px);
  box-shadow:
    0 0 0 1px rgba(245, 208, 96, 0.95),
    0 0 0 6px rgba(245, 208, 96, 0.12),
    0 16px 32px rgba(0, 0, 0, 0.32);
}
.cert-seal-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}
.cert-seal figcaption strong {
  display: block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 1.5px;
  color: var(--gold-400);
}
.cert-seal figcaption span {
  display: block;
  margin-top: 2px;
  font-size: 0.72rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.62);
}

.cert-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 26px;
}
.cert-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.86rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.86);
}
.cert-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid rgba(245, 208, 96, 0.45);
  background: rgba(245, 208, 96, 0.15);
  color: var(--gold-400);
}
.cert-check svg { width: 11px; height: 11px; }

.cert-footer {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.cert-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(245, 208, 96, 0.35);
  background: rgba(245, 208, 96, 0.12);
  color: var(--gold-400);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}
.cert-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.18);
  animation: pulse-dot 2s infinite;
}
.cert-note {
  margin-top: 10px;
  font-size: 0.72rem;
  letter-spacing: 0.2px;
  color: rgba(255, 255, 255, 0.52);
}

/* ---- PRODUCT CATEGORIES / LINES SECTION ---- */
.section-lines {
  position: relative;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(10, 110, 189, 0.28) 0%, transparent 60%),
    radial-gradient(ellipse at 85% 100%, rgba(0, 198, 255, 0.12) 0%, transparent 55%),
    linear-gradient(180deg, #040d1f 0%, #061835 50%, #040d1f 100%);
  overflow: hidden;
  padding: 88px 0;
}
.lines-bg-glow {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 280px;
  background: radial-gradient(circle, rgba(0, 198, 255, 0.18) 0%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
}
.lines-header {
  max-width: 780px;
  margin: 0 auto 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lines-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(0, 198, 255, 0.10);
  border: 1px solid rgba(0, 198, 255, 0.25);
  border-radius: var(--radius-full);
  color: var(--accent-400);
  font-family: var(--font-heading);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 18px;
}
.lines-badge .badge-dot {
  width: 7px;
  height: 7px;
  background: var(--accent-400);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-400);
}

/* Line Grid */
.line-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 40px 0 48px;
}
.line-tile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: 24px 22px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.line-tile::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-400), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.line-tile:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(0, 198, 255, 0.40);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35), 0 0 24px rgba(0, 198, 255, 0.15);
}
.line-tile:hover::before { opacity: 1; }

.line-tile-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 16px;
}
.line-tile-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0, 198, 255, 0.15), rgba(10, 110, 189, 0.25));
  border: 1px solid rgba(0, 198, 255, 0.30);
  color: var(--accent-400);
  transition: all var(--transition);
}
.line-tile-icon svg { width: 22px; height: 22px; }
.tile-emoji { font-size: 1.35rem; line-height: 1; }
.line-tile:hover .line-tile-icon {
  background: linear-gradient(135deg, var(--accent-500), var(--primary-500));
  color: var(--white);
  border-color: var(--accent-400);
  box-shadow: 0 6px 18px rgba(0, 198, 255, 0.4);
  transform: scale(1.05);
}

.line-tag {
  font-family: var(--font-heading);
  font-size: 0.70rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.85);
}
.line-tag.gold {
  background: rgba(245, 208, 96, 0.18);
  border-color: rgba(245, 208, 96, 0.45);
  color: var(--gold-400);
}

.line-tile-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 6px;
  letter-spacing: -0.2px;
}
.line-tile-desc {
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 16px;
  flex-grow: 1;
}
.line-tile-action {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-400);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition);
}
.line-tile-action svg {
  transition: transform var(--transition);
}
.line-tile:hover .line-tile-action {
  color: var(--white);
}
.line-tile:hover .line-tile-action svg {
  transform: translateX(4px);
}
.line-tile-action.gold {
  color: var(--gold-400);
}

/* Featured Tile */
.line-tile-featured {
  background: linear-gradient(145deg, rgba(245, 208, 96, 0.12) 0%, rgba(10, 110, 189, 0.12) 100%);
  border-color: rgba(245, 208, 96, 0.35);
}
.line-tile-featured:hover {
  border-color: var(--gold-400);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35), 0 0 24px rgba(245, 208, 96, 0.2);
}
.line-tile-featured .line-tile-icon {
  background: rgba(245, 208, 96, 0.15);
  border-color: rgba(245, 208, 96, 0.35);
  color: var(--gold-400);
}
.line-tile-featured:hover .line-tile-icon {
  background: linear-gradient(135deg, var(--gold-400), #eab308);
  color: var(--primary-900);
}

/* Lines CTA Action Bar */
.lines-cta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 28px 36px;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: var(--radius-xl);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  text-align: left;
}
.lines-cta-info {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 620px;
}
.lines-cta-icon {
  font-size: 2.2rem;
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(0, 198, 255, 0.12);
  border: 1px solid rgba(0, 198, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lines-cta-info h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 4px;
}
.lines-cta-info p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
}
.lines-cta-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.btn-whatsapp-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  color: #25d366;
  border: 1.5px solid rgba(37, 211, 102, 0.4);
  background: rgba(37, 211, 102, 0.08);
  text-decoration: none;
  transition: all var(--transition);
}
.btn-whatsapp-outline:hover {
  background: #25d366;
  color: var(--white);
  border-color: #25d366;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transform: translateY(-2px);
}

/* ---- XPRESS TEASER ---- */
.xpress-logo-text {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 16px;
}
.xpress-label, .xpress-label-lg {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--primary-500);
  letter-spacing: 2px;
}
.xpress-x, .xpress-x-lg {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.6rem;
  background: linear-gradient(90deg, var(--primary-500), var(--accent-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 3px;
}
.xpress-label-lg { font-size: 1.6rem; }
.xpress-x-lg { font-size: 2.4rem; }

.xpress-visual { display: flex; justify-content: center; }
.xpress-card { padding: 32px; max-width: 360px; width: 100%; }

.route-map {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}
.route-node {
  display: flex;
  align-items: center;
  gap: 12px;
}
.node-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 3px solid var(--primary-500);
  background: var(--white);
  flex-shrink: 0;
}
.node-dest .node-dot { background: var(--primary-500); }
.route-node span {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--primary-900);
}
.route-node small {
  display: block;
  color: var(--neutral-600);
  font-size: 0.75rem;
  font-weight: 400;
}
.route-line {
  margin-left: 7px;
  height: 48px;
  border-left: 2px dashed var(--primary-300);
  position: relative;
  display: flex;
  align-items: center;
}
.route-truck {
  position: absolute;
  font-size: 1.1rem;
  left: -8px;
  animation: float 3s ease-in-out infinite;
}

.temp-badges {
  display: flex;
  gap: 10px;
}
.temp-badge {
  flex: 1;
  text-align: center;
  padding: 10px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.88rem;
}
.temp-badge.cold { background: #e0f2fe; color: #0369a1; border: 1px solid #bae6fd; }
.temp-badge.ambient { background: #fef3c7; color: #b45309; border: 1px solid #fde68a; }

.service-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 28px;
}
.pill {
  padding: 8px 16px;
  background: var(--primary-100);
  color: var(--primary-700);
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.82rem;
}

/* ---- CTA SECTION ---- */
.section-cta { background: var(--neutral-50); }
.cta-box {
  text-align: center;
  padding: 60px;
  background: linear-gradient(135deg, var(--primary-900), var(--primary-800)) !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
}
.cta-box h2 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
.cta-box p {
  color: rgba(255,255,255,0.72);
  font-size: 1.05rem;
  margin-bottom: 36px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.75;
}
.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* =====================
   NOSOTROS PAGE
   ===================== */
.page-hero {
  background: linear-gradient(135deg, var(--primary-900) 0%, var(--primary-700) 100%);
  padding: 80px 24px 100px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(0,198,255,0.1) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 20%, rgba(10,80,160,0.2) 0%, transparent 60%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}
.page-hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  max-width: 560px;
  line-height: 1.7;
}

/* Timeline */
.timeline { display: flex; flex-direction: column; gap: 0; }
.timeline-item {
  display: flex;
  gap: 20px;
  position: relative;
  padding-bottom: 28px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: 52px;
  top: 32px;
  bottom: 0;
  width: 2px;
  background: var(--primary-200);
}
.timeline-item:last-child::before { display: none; }
.timeline-year {
  width: 64px;
  height: 32px;
  background: linear-gradient(135deg, var(--primary-500), var(--primary-700));
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--white);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.timeline-content h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary-900);
  margin-bottom: 4px;
  margin-top: 4px;
}
.timeline-content p { font-size: 0.85rem; color: var(--neutral-600); }

/* Mission/Vision/Values */
.mv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  z-index: 2;
}
.mv-card {
  padding: 36px 28px;
  background: rgba(255,255,255,0.06) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  text-align: center;
  transition: all var(--transition);
}
.mv-card:hover { transform: translateY(-4px); background: rgba(255,255,255,0.1) !important; }
.mv-icon { font-size: 2.4rem; margin-bottom: 16px; }
.mv-card h3 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 16px;
}
.mv-card p { color: rgba(255,255,255,0.75); font-size: 0.9rem; line-height: 1.7; }
.values-list {
  list-style: none;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.values-list li {
  color: rgba(255,255,255,0.8);
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Certif Row */
.certif-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.certif-card {
  text-align: center;
  padding: 40px 28px;
  background: var(--neutral-50);
  border: 2px solid var(--neutral-200);
  border-radius: var(--radius-xl);
  transition: all var(--transition);
}
.certif-card:hover {
  border-color: var(--primary-300);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.certif-img {
  display: block;
  height: 110px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  margin: 0 auto 16px;
}
.certif-card h3 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--primary-700);
  margin-bottom: 8px;
}
.certif-card p { font-size: 0.88rem; color: var(--neutral-600); margin-bottom: 16px; }
.certif-status {
  display: inline-block;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.75rem;
}
.certif-status.active { background: #dcfce7; color: #166534; }

/* Why Grid */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.why-card {
  padding: 32px 24px;
  background: var(--white);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-500), var(--accent-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.why-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.why-card:hover::before { transform: scaleX(1); }
.why-num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2rem;
  color: var(--primary-100);
  margin-bottom: 12px;
}
.why-card h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary-900);
  margin-bottom: 10px;
}
.why-card p { font-size: 0.85rem; color: var(--neutral-600); line-height: 1.65; }

/* =====================
   PRODUCTOS PAGE
   ===================== */
.catalog-toolbar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 44px;
}

.catalog-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.search-box {
  position: relative;
  flex: 1;
  max-width: 580px;
  min-width: 280px;
}
.search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary-500);
}
.search-box input {
  width: 100%;
  padding: 14px 44px 14px 50px;
  border: 1.5px solid var(--neutral-300);
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--neutral-800);
  background: var(--white);
  outline: none;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.search-box input:focus {
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px rgba(10, 110, 189, 0.15);
}
.search-clear-btn {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--neutral-200);
  border: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: var(--neutral-600);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  transition: all var(--transition);
}
.search-clear-btn:hover { background: var(--neutral-300); color: var(--neutral-800); }

.catalog-stats-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: var(--primary-50);
  border: 1px solid var(--primary-200);
  border-radius: var(--radius-full);
  color: var(--primary-700);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 500;
}
.catalog-stats-pill .pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-500);
  border-radius: 50%;
  display: inline-block;
}

.filter-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border: 1.5px solid var(--neutral-200);
  border-radius: var(--radius-full);
  background: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--neutral-700);
  cursor: pointer;
  transition: all var(--transition);
}
.filter-chip[class*='cat-']::before {
  content: '';
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--cat-fg, var(--primary-500));
  transition: background 0.3s ease;
}
.filter-chip[class*='cat-'].active::before {
  background: rgba(255, 255, 255, 0.9);
}
.filter-chip:hover {
  border-color: var(--primary-400);
  color: var(--primary-600);
  transform: translateY(-1px);
}
.filter-chip.active {
  background: linear-gradient(135deg, var(--primary-600), var(--primary-800));
  border-color: var(--primary-700);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(10, 61, 128, 0.25);
}
.filter-chip[class*='cat-'].active {
  background: var(--cat-fg, var(--primary-700));
  border-color: var(--cat-fg, var(--primary-700));
  box-shadow: 0 4px 14px color-mix(in srgb, var(--cat-fg, #0a3d80) 35%, transparent);
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 60px;
}

.product-card {
  background: var(--white);
  border: 1.5px solid var(--neutral-200);
  border-radius: var(--radius-xl);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(10, 61, 128, 0.05);
}
.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-500), var(--accent-400));
  opacity: 0;
  transition: opacity 0.3s ease;
}
.product-card:hover {
  border-color: var(--primary-300);
  box-shadow: 0 16px 36px rgba(10, 61, 128, 0.12);
  transform: translateY(-5px);
}
.product-card:hover::before { opacity: 1; }

.product-card.cold-product {
  border-color: rgba(3, 105, 161, 0.25);
}
.product-card.cold-product:hover {
  border-color: #38bdf8;
  box-shadow: 0 16px 36px rgba(3, 105, 161, 0.15);
}

.product-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.product-status-badge {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}
.product-status-badge.cold {
  background: #e0f2fe;
  color: #0369a1;
  border: 1px solid #bae6fd;
}
.product-status-badge.ambient {
  background: var(--primary-50);
  color: var(--primary-700);
  border: 1px solid var(--primary-100);
}
.product-digemid-pill {
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--neutral-600);
  background: var(--neutral-100);
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.5px;
}

.product-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary-50), var(--primary-100));
  border: 1px solid var(--primary-200);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: all var(--transition);
}
.product-card:hover .product-icon-wrap {
  background: linear-gradient(135deg, var(--primary-500), var(--primary-700));
  border-color: var(--primary-600);
  transform: scale(1.05);
}
.product-icon-glyph {
  font-size: 1.8rem;
  line-height: 1;
}

.product-card-info {
  flex-grow: 1;
  margin-bottom: 16px;
}
.product-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--primary-900);
  margin-bottom: 8px;
  line-height: 1.3;
  letter-spacing: -0.2px;
  /* Reserva 2 líneas: evita que filas de la grilla queden con alturas distintas */
  min-height: 2.6em;
}
.product-desc {
  font-size: 0.84rem;
  color: var(--neutral-600);
  line-height: 1.55;
  /* Altura FIJA de 2 líneas: todas las tarjetas quedan con la misma estructura */
  height: 3.1em;
  margin-bottom: 14px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.product-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px dashed var(--neutral-200);
  margin-bottom: 16px;
  font-size: 0.76rem;
  font-family: var(--font-heading);
}
.meta-item {
  color: var(--primary-700);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}
.meta-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-500);
}
.meta-stock {
  color: #166534;
  background: #dcfce7;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.68rem;
}

.product-card-cta {
  margin-top: auto;
}
.btn-product-quote {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--primary-50);
  color: var(--primary-700);
  border: 1px solid var(--primary-200);
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.82rem;
  transition: all var(--transition);
}
.product-card:hover .btn-product-quote {
  background: linear-gradient(135deg, var(--primary-600), var(--primary-800));
  color: var(--white);
  border-color: var(--primary-700);
  box-shadow: 0 4px 12px rgba(10, 61, 128, 0.25);
}

/* ---- Principales Productos (productos individuales) ---- */
.featured-products {
  margin-bottom: 48px;
}
.featured-products-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  padding-top: 8px;
}
.featured-products-head .section-eyebrow {
  margin-bottom: 8px;
}
.featured-products-head .section-title {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  margin-bottom: 6px;
}
.featured-products-sub {
  color: var(--neutral-600);
  font-size: 0.92rem;
  line-height: 1.55;
  max-width: 560px;
}
.featured-products .products-grid {
  margin-bottom: 0;
}
/* ---- Tarjeta estilo tienda ---- */
.product-item-media {
  position: relative;
  height: 150px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  overflow: hidden;
  background:
    radial-gradient(120% 120% at 15% -15%, #ffffff 0%, rgba(255, 255, 255, 0) 55%),
    linear-gradient(145deg, var(--cat-bg, var(--neutral-100)) 0%, var(--white) 165%);
  border: 1px solid var(--cat-bd, var(--neutral-200));
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
}
/* Marcas de registro editoriales en las esquinas */
.product-item-media::before,
.product-item-media::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  opacity: 0.22;
  border: 0 solid var(--cat-fg, var(--neutral-500));
  transition: opacity 0.35s ease, inset 0.35s ease;
  pointer-events: none;
}
.product-item-media::before {
  top: 12px;
  left: 12px;
  border-top-width: 1px;
  border-left-width: 1px;
}
.product-item-media::after {
  bottom: 12px;
  right: 12px;
  border-bottom-width: 1px;
  border-right-width: 1px;
}
.product-card:hover .product-item-media {
  border-color: var(--cat-fg, var(--neutral-400));
  box-shadow: 0 8px 22px -12px color-mix(in srgb, var(--cat-fg, #334155) 45%, transparent);
}
.product-card:hover .product-item-media::before,
.product-card:hover .product-item-media::after {
  opacity: 0.5;
}
/* Monograma: capitular serif tipo editorial */
.monogram {
  display: flex;
  align-items: baseline;
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  color: var(--cat-fg, var(--neutral-700));
  line-height: 0.78;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.monogram-lead {
  font-size: 4.4rem;
  font-weight: 600;
  letter-spacing: -0.05em;
}
.monogram-tail {
  font-size: 1.72rem;
  font-weight: 500;
  margin-left: 4px;
  opacity: 0.5;
  letter-spacing: 0.02em;
  transform: translateY(-3px);
}
.product-card:hover .monogram {
  transform: scale(1.06);
}
.product-item-icon {
  font-size: 3.2rem;
  line-height: 1;
  transition: transform 0.3s ease;
}
.product-card:hover .product-item-icon {
  transform: scale(1.1);
}

.product-item-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.cat-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: var(--cat-bg, var(--neutral-100));
  color: var(--cat-fg, var(--neutral-700));
  border: 1px solid var(--cat-bd, var(--neutral-200));
}
.cat-dot {
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: var(--cat-fg, var(--neutral-500));
}

.product-dose {
  font-family: var(--font-heading);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--primary-500);
  letter-spacing: 0.2px;
  margin-top: -2px;
}

/* ---- Colores por familia terapéutica ---- */
.cat-inmuno        { --cat-bg: #dbeafe; --cat-fg: #1e40af; --cat-bd: #bfdbfe; }
.cat-hemato        { --cat-bg: #fee2e2; --cat-fg: #991b1b; --cat-bd: #fecaca; }
.cat-oncologico    { --cat-bg: #ede9fe; --cat-fg: #5b21b6; --cat-bd: #ddd6fe; }
.cat-oftalmologico { --cat-bg: #ccfbf1; --cat-fg: #115e59; --cat-bd: #99f6e4; }
.cat-endocri       { --cat-bg: #ecfccb; --cat-fg: #3f6212; --cat-bd: #d9f99d; }
.cat-neurologico   { --cat-bg: #e0e7ff; --cat-fg: #3730a3; --cat-bd: #c7d2fe; }
.cat-hormonal      { --cat-bg: #fef3c7; --cat-fg: #92400e; --cat-bd: #fde68a; }
.cat-otros         { --cat-bg: #f3f4f6; --cat-fg: #374151; --cat-bd: #e5e7eb; }
.cat-analgesico    { --cat-bg: #ffedd5; --cat-fg: #9a3412; --cat-bd: #fed7aa; }
.cat-quirurgico    { --cat-bg: #e2e8f0; --cat-fg: #334155; --cat-bd: #cbd5e1; }
.cat-anestesico    { --cat-bg: #cffafe; --cat-fg: #155e75; --cat-bd: #a5f3fc; }
.cat-cardiovascular{ --cat-bg: #ffe4e6; --cat-fg: #9f1239; --cat-bd: #fecdd3; }
.cat-dispositivos  { --cat-bg: #e0f2fe; --cat-fg: #075985; --cat-bd: #bae6fd; }
.cat-respiratorio  { --cat-bg: #d1fae5; --cat-fg: #065f46; --cat-bd: #a7f3d0; }
.cat-digestivo     { --cat-bg: #fef9c3; --cat-fg: #854d0e; --cat-bd: #fef08a; }
.cat-nefrourologia { --cat-bg: #fae8ff; --cat-fg: #86198f; --cat-bd: #f5d0fe; }
.product-item-ctas {
  display: flex;
  align-items: stretch;
  gap: 10px;
  margin-top: auto;
}
.product-item-ctas .btn-product-quote {
  width: auto;
  flex: 1;
  white-space: nowrap;
}
.product-item-ctas .btn-whatsapp-outline {
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  white-space: nowrap;
}

/* ---- Layout: filtros a la izquierda, productos a la derecha ---- */
.catalog-layout {
  display: grid;
  grid-template-columns: 264px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}
.catalog-sidebar {
  position: sticky;
  top: 88px;
  background: var(--white);
  border: 1.5px solid var(--neutral-200);
  border-radius: var(--radius-xl);
  box-shadow: 0 4px 20px rgba(10, 61, 128, 0.05);
  padding: 22px 18px;
}
.sidebar-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-900);
  margin-bottom: 16px;
}
.catalog-sidebar .catalog-toolbar { margin-bottom: 0; gap: 16px; }
.catalog-sidebar .catalog-header-bar {
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
}
.catalog-sidebar .search-box { max-width: none; min-width: 0; }
.catalog-sidebar .search-box input { padding: 12px 38px 12px 44px; font-size: 0.88rem; }
.catalog-sidebar .catalog-stats-pill { justify-content: center; }
.catalog-sidebar .filter-chips { flex-direction: column; gap: 8px; }
.catalog-sidebar .filter-chip {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: var(--radius-lg);
  text-align: left;
}
.catalog-main .featured-products { margin-bottom: 28px; }
.catalog-main .products-grid {
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 24px;
}
/* CTAs apilados: la tarjeta de 4 por fila es angosta para dos botones en fila */
.catalog-main .product-item-ctas { flex-direction: column; gap: 8px; }
.catalog-main .product-item-ctas .btn-product-quote,
.catalog-main .product-item-ctas .btn-whatsapp-outline {
  width: 100%;
  justify-content: center;
}

/* Tablet y móvil: filtros arriba, productos abajo */
@media (max-width: 1024px) {
  .catalog-layout { grid-template-columns: 1fr; gap: 24px; }
  .catalog-sidebar { position: static; }
  .catalog-sidebar .catalog-header-bar {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
  }
  .catalog-sidebar .filter-chips { flex-direction: row; }
  .catalog-sidebar .filter-chip { width: auto; }
  .catalog-main .products-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
}

/* Más ancho en Productos: se aprovecha el espacio lateral de la sección */
#productos .container {
  max-width: 1440px;
  padding: 0 20px;
}

.catalog-cta { margin-top: 16px; }
.catalog-cta-box {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px 36px;
  flex-wrap: wrap;
}
.cta-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  flex: none;
  border-radius: 14px;
  background: var(--primary-50);
  border: 1px solid var(--primary-100);
  color: var(--primary-600);
}
.catalog-cta-box h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--primary-900);
  margin-bottom: 4px;
}
.catalog-cta-box p { font-size: 0.88rem; color: var(--neutral-600); }
.catalog-cta-box .btn-primary { margin-left: auto; white-space: nowrap; }

/* =====================
   FARMA XPRESS PAGE
   ===================== */
.xpress-hero { background: linear-gradient(135deg, #040d1f 0%, #061835 40%, var(--primary-900) 100%); }
.xpress-bg {
  background: linear-gradient(135deg, #040d1f 0%, var(--primary-900) 100%) !important;
}
.xpress-hero-logo {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 20px;
}

.section-intro {
  text-align: center;
  margin-bottom: 12px;
  position: relative;
  z-index: 2; /* por encima del velo del fondo (cold-storage-bg) */
}
.section-intro .section-desc { max-width: 760px; }

.xpress-services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.xpress-service-card {
  padding: 36px 24px;
  background: var(--white);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-sm);
  text-align: center;
  transition: all var(--transition);
  overflow: hidden;
}
.xpress-service-card:hover {
  border-color: var(--primary-300);
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}
.xs-image {
  display: block;
  width: calc(100% + 48px);
  max-width: none;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  object-position: center;
  margin: -36px -24px 20px;
}
.xpress-service-card h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary-900);
  margin-bottom: 10px;
}
.xpress-service-card p { font-size: 0.88rem; color: var(--neutral-600); line-height: 1.7; }

.temp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 0;
  position: relative;
  z-index: 2;
}
/* ---- Tarjetas de temperatura ---- */
.temp-card {
  padding: 36px 30px;
  text-align: left;
  position: relative;
  overflow: hidden;
  background: rgba(255,255,255,0.07) !important;
  border-color: rgba(255,255,255,0.12) !important;
  transition: all var(--transition);
}
.temp-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}
.cold-card::before { background: linear-gradient(90deg, #38bdf8, #7dd3fc); }
.ambient-card::before { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.temp-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.28);
}
.temp-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.temp-big {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-bottom: 0;
}
.cold-card .temp-big {
  background: rgba(56,189,248,0.14);
  border: 1px solid rgba(56,189,248,0.45);
}
.ambient-card .temp-big {
  background: rgba(251,191,36,0.14);
  border: 1px solid rgba(251,191,36,0.45);
}
.temp-range {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.5px;
  line-height: 1;
  padding: 9px 16px;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  margin-bottom: 0;
}
.cold-card .temp-range {
  color: #7dd3fc;
  background: rgba(56,189,248,0.12);
  border-color: rgba(56,189,248,0.45);
}
.ambient-card .temp-range {
  color: #fbbf24;
  background: rgba(251,191,36,0.12);
  border-color: rgba(251,191,36,0.45);
}
.temp-card h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 10px;
}
.temp-card p { color: rgba(255,255,255,0.72); font-size: 0.9rem; margin-bottom: 22px; }
.temp-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.temp-list li {
  padding: 7px 14px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.88);
}
.cold-card .temp-list li {
  background: rgba(56,189,248,0.12);
  border: 1px solid rgba(56,189,248,0.30);
}
.ambient-card .temp-list li {
  background: rgba(251,191,36,0.12);
  border: 1px solid rgba(251,191,36,0.30);
}

.coverage-map {
  margin-top: 48px;
  padding: 20px;
  text-align: center;
}
.coverage-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
}
.coverage-zones { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.zone-badge {
  padding: 8px 16px;
  background: var(--primary-100);
  color: var(--primary-700);
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.82rem;
}

/* ---- CTAs en hero de página (Farma Xpress) ---- */
.page-hero-ctas { margin-top: 28px; }

/* ---- Contacto ventas Farma Xpress ---- */
.section-xpress-contact { scroll-margin-top: 96px; }
.xpress-contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  align-items: start;
  margin-top: 44px;
}
.xpress-contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.xpress-contact-info .contact-card { margin-bottom: 0; }
.xpress-wa-btn { justify-content: center; margin-top: 4px; }

.fleet-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.fleet-card {
  padding: 36px 28px;
  text-align: center;
  transition: all var(--transition);
  overflow: hidden;
}
.fleet-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.fleet-img {
  display: block;
  width: calc(100% + 56px);
  max-width: none;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  object-position: center;
  margin: -36px -28px 20px;
}
.fleet-icon { font-size: 2.8rem; margin-bottom: 16px; }
.fleet-card h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary-900);
  margin-bottom: 10px;
}
.fleet-card p { font-size: 0.85rem; color: var(--neutral-600); line-height: 1.65; }

/* =====================
   CONTACTO PAGE
   ===================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 28px 0;
}
.contact-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  transition: all var(--transition);
}
.contact-card:hover { transform: translateX(4px); }
.cc-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.contact-card h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--primary-900);
  margin-bottom: 6px;
}
.contact-card a {
  display: block;
  color: var(--primary-500);
  font-size: 0.85rem;
  transition: color var(--transition);
}
.contact-card a:hover { color: var(--primary-700); }
.contact-card p { font-size: 0.85rem; color: var(--neutral-600); }

.social-links {
  display: flex;
  gap: 12px;
}
.social-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.82rem;
  transition: all var(--transition);
}
.social-btn.fb { background: #1877f2; color: var(--white); }
.social-btn.fb:hover { background: #166fe5; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(24,119,242,0.4); }
.social-btn.ig { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); color: var(--white); }
.social-btn.ig:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(220,39,67,0.4); }

/* Contact Form */
.contact-form-card {
  padding: 40px;
}
.contact-form-card h3 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--primary-900);
  margin-bottom: 6px;
}
.form-subtitle { font-size: 0.9rem; color: var(--neutral-500); margin-bottom: 28px; }

.cotiz-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }

.form-group label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--neutral-700);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--neutral-200);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--neutral-800);
  background: var(--white);
  outline: none;
  transition: all var(--transition);
  resize: vertical;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-400);
  box-shadow: 0 0 0 3px rgba(10,110,189,0.1);
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 16px;
  background: var(--neutral-50);
  border-radius: var(--radius-md);
  border: 1.5px solid var(--neutral-200);
}
.check-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--neutral-700);
  cursor: pointer;
  padding: 4px 0;
  transition: color var(--transition);
}
.check-item:hover { color: var(--primary-600); }
.check-item input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--primary-500);
  cursor: pointer;
  padding: 0;
  border: none;
  box-shadow: none;
}

/* =====================
   FOOTER
   ===================== */
.footer { background: var(--primary-900); color: rgba(255,255,255,0.75); }

.footer-main { padding: 72px 0 48px; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}
.footer-brand .footer-logo .logo-img {
  height: 64px;
  width: auto;
  display: block;
}
.footer-brand .logo-name { color: var(--white); }
.footer-brand .logo-sub { color: var(--accent-400); }
.footer-brand > p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  color: rgba(255,255,255,0.7);
  transition: all var(--transition);
}
.footer-social a:hover { background: var(--primary-500); color: var(--white); transform: translateY(-2px); }

.footer-col h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
  cursor: pointer;
}
.footer-col ul li a:hover { color: var(--accent-400); }

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
}
.footer-contact li > span[aria-hidden] {
  display: flex;
  flex: none;
  padding-top: 3px;
  color: var(--accent-400);
}
.footer-contact a { color: rgba(255,255,255,0.6); transition: color var(--transition); white-space: nowrap; }
.footer-contact a:hover { color: var(--accent-400); }
.footer-contact-all { margin-top: 4px; }
.footer-col .footer-contact-all a { color: var(--accent-400); font-weight: 600; }
.footer-col .footer-contact-all a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  text-align: center;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.8;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 100px;
  right: 28px;
  background: var(--neutral-900);
  color: var(--white);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 500;
  z-index: 9999;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
  pointer-events: none;
}
.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* =====================
   IMAGE & MEDIA ENHANCEMENTS
   ===================== */
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}
.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  opacity: 1;
  filter: brightness(1.02) contrast(1.05) saturate(1.05);
  transform: scale(1.01);
  display: block;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(4, 13, 31, 0.98) 0%,
    rgba(4, 13, 31, 0.93) 35%,
    rgba(4, 13, 31, 0.70) 50%,
    rgba(4, 13, 31, 0.18) 66%,
    rgba(0, 0, 0, 0) 80%,
    rgba(0, 0, 0, 0) 100%
  );
  pointer-events: none;
}

.nosotros-img-wrap {
  width: 100%;
  max-height: 280px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(10,61,128,0.12);
  border: 1px solid rgba(10,110,189,0.15);
  position: relative;
}
.nosotros-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.nosotros-img-wrap:hover .nosotros-img {
  transform: scale(1.04);
}

.page-hero-img-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}
.page-hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.16;
  filter: brightness(0.65) contrast(1.2);
}
.page-hero-bg-img.xpress-hero-img {
  opacity: 0.22;
  object-position: center 35%;
}

/* Contact page hero: photo visible, dark layer only on the text side */
.page-hero.contacto-hero {
  min-height: 420px;
  background: #040d1f;
}
.page-hero.contacto-hero::before {
  background:
    linear-gradient(
      180deg,
      rgba(4, 13, 31, 0) 50%,
      rgba(4, 13, 31, 0.18) 68%,
      rgba(4, 13, 31, 0.42) 86%,
      rgba(4, 13, 31, 0.5) 100%
    ),
    linear-gradient(
      90deg,
      rgba(4, 13, 31, 0.86) 0%,
      rgba(4, 13, 31, 0.74) 30%,
      rgba(4, 13, 31, 0.5) 45%,
      rgba(4, 13, 31, 0.24) 60%,
      rgba(4, 13, 31, 0.06) 75%,
      rgba(4, 13, 31, 0) 88%
    );
}
.page-hero.contacto-hero .contacto-hero-img {
  opacity: 1;
  filter: none;
  object-position: center;
  width: 118%;
  max-width: none;
  transform: translateX(6%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.55) 6%, #000 15%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.55) 6%, #000 15%);
}
.page-hero.contacto-hero .container {
  width: 100%;
}
.page-hero.contacto-hero .page-hero-title {
  max-width: 560px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}
.page-hero.contacto-hero .page-hero-sub {
  max-width: 480px;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.55);
}
@media (max-width: 768px) {
  .page-hero.contacto-hero {
    min-height: 0;
  }
  .page-hero.contacto-hero::before {
    background: linear-gradient(
      180deg,
      rgba(4, 13, 31, 0.9) 0%,
      rgba(4, 13, 31, 0.76) 50%,
      rgba(4, 13, 31, 0.55) 100%
    );
  }
  .page-hero.contacto-hero .contacto-hero-img {
    width: 100%;
    transform: none;
    object-position: 58% center;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .page-hero.contacto-hero .page-hero-sub {
    max-width: none;
  }
}

.section-cold-storage {
  position: relative;
  overflow: hidden;
}
.cold-storage-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.cold-storage-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.16;
  filter: brightness(0.55) saturate(1.3);
}
.cold-storage-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(4,13,31,0.6) 0%, var(--primary-900) 90%);
}


/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding: 60px 24px; text-align: center; }
  .hero-bg::after {
    background: linear-gradient(
      180deg,
      rgba(4, 13, 31, 0.96) 0%,
      rgba(4, 13, 31, 0.88) 50%,
      rgba(4, 13, 31, 0.40) 80%,
      rgba(4, 13, 31, 0.20) 100%
    );
  }
  .hero-content { padding-left: 0; }
  .hero-subtitle, .hero-title { max-width: 100%; }
  .hero-ctas { justify-content: center; }
  .hero-visual { padding-right: 0; animation: none; }
  .hero-card { max-width: 440px; }

  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .two-col.reverse { direction: ltr; }

  .mv-grid { grid-template-columns: 1fr; }
  .certif-row { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .xpress-services-grid { grid-template-columns: repeat(2, 1fr); }
  .temp-grid { grid-template-columns: 1fr; }
  .fleet-grid { grid-template-columns: 1fr; }
  .value-layout { grid-template-columns: 1fr; }
  .line-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lines-cta-bar { flex-direction: column; text-align: center; gap: 20px; }
  .lines-cta-info { flex-direction: column; text-align: center; }
  .lines-cta-actions { width: 100%; justify-content: center; flex-wrap: wrap; }
  .contact-layout { grid-template-columns: 1fr; }
  .xpress-contact-layout { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* Value section: wide certification banner on tablets */
@media (max-width: 1024px) and (min-width: 861px) {
  .cert-panel-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    grid-template-areas:
      "eyebrow seals"
      "title seals"
      "desc seals"
      "list seals"
      "footer seals";
    grid-template-rows: auto auto auto auto auto;
    column-gap: 44px;
    align-content: start;
  }
  .cert-panel-eyebrow { grid-area: eyebrow; }
  .cert-panel-title { grid-area: title; }
  .cert-panel-desc { grid-area: desc; }
  .cert-seals { grid-area: seals; align-self: center; margin-bottom: 0; }
  .cert-list { grid-area: list; }
  .cert-footer { grid-area: footer; margin-top: 0; }
}

/* Value section: stacked certification panel */
@media (max-width: 860px) {
  .cert-panel-content { max-width: 520px; margin: 0 auto; }
}

@media (max-width: 920px) {
  .topbar { display: none; }
  .navbar {
    top: 0;
    background: var(--white);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .nav-logo, .nav-actions { position: relative; z-index: 3; }
  .nav-links {
    position: fixed;
    inset: 88px 0 0;
    background: var(--white);
    flex-direction: column;
    justify-content: flex-start;
    padding: 32px 24px;
    gap: 8px;
    transform: translateY(-100%);
    transition: transform var(--transition);
    z-index: 1;
    border-top: 1px solid var(--neutral-200);
    box-shadow: none;
  }
  .nav-links.open {
    transform: translateY(0);
    box-shadow: var(--shadow-xl);
  }
  .nav-link { padding: 14px 16px; font-size: 1rem; border-radius: var(--radius-md); }
  .hamburger { display: flex; }
  .btn-whatsapp { display: none; }
}

@media (max-width: 768px) {
  .hero { padding: 40px 16px 60px; }
  .hero-title { font-size: 2rem; }
  .section { padding: 64px 0; }

  .value-header { flex-direction: column; align-items: flex-start; gap: 18px; margin-bottom: 36px; }
  .line-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .lines-cta-bar { padding: 24px 18px; }
  .lines-cta-actions { flex-direction: column; width: 100%; }
  .lines-cta-actions .btn-primary,
  .lines-cta-actions .btn-whatsapp-outline { width: 100%; justify-content: center; }

  .why-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .checkbox-grid { grid-template-columns: 1fr; }
  .cta-box { padding: 40px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .xpress-services-grid { grid-template-columns: 1fr; }
  .products-grid, .catalog-main .products-grid { grid-template-columns: repeat(2, 1fr); }
  .catalog-cta-box { flex-direction: column; }
  .catalog-cta-box .btn-primary { margin-left: 0; width: 100%; justify-content: center; }
}

@media (max-width: 560px) {
  .value-grid { grid-template-columns: 1fr; }
  .value-card { padding: 24px 22px 58px; }
  .cert-panel { padding: 30px 22px; border-radius: var(--radius-lg); }
  .cert-panel-content { max-width: 100%; }
  .cert-seal-badge { max-width: 124px; }
  .line-grid { grid-template-columns: 1fr; gap: 12px; }
  .line-tile { padding: 18px 16px; border-radius: 14px; }
  .line-tile-icon { width: 42px; height: 42px; }
  .line-tile-icon svg { width: 21px; height: 21px; }
  .line-tile-name { font-size: 0.78rem; }
}

@media (max-width: 480px) {
  .products-grid, .catalog-main .products-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .hero-ctas { flex-direction: column; }
}

/* =========================================
   CATÁLOGO: tarjetas enlazadas y estado vacío
   ========================================= */
.product-item[hidden] { display: none; }

.product-card-link {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  color: inherit;
}

.product-card-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 6px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary-600);
  transition: gap var(--transition), color var(--transition);
}
.product-card:hover .product-card-more {
  gap: 10px;
  color: var(--primary-800);
}

.catalog-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 56px 28px;
  margin-bottom: 48px;
  background: var(--neutral-50);
  border: 1.5px dashed var(--neutral-200);
  border-radius: var(--radius-xl);
}
.catalog-empty[hidden] { display: none; }
.catalog-empty-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  margin-bottom: 6px;
  color: var(--primary-500);
  background: var(--primary-100);
  border: 1px solid var(--primary-200);
}
.catalog-empty h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--primary-900);
}
.catalog-empty p {
  color: var(--neutral-600);
  font-size: 0.92rem;
  max-width: 380px;
}
.catalog-empty .btn-secondary {
  margin-top: 10px;
  padding: 11px 22px;
  background: var(--white);
  color: var(--primary-700);
  border: 1.5px solid var(--primary-200);
  backdrop-filter: none;
}
.catalog-empty .btn-secondary:hover {
  background: var(--primary-100);
  border-color: var(--primary-300);
  color: var(--primary-800);
}
.btn-teal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  padding: 11px 22px;
  background: #128c7e;
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius-full);
  transition: all var(--transition);
}
.btn-teal:hover {
  background: #0f7a6d;
  transform: translateY(-2px);
}

/* =========================================
   FICHA DE PRODUCTO
   ========================================= */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
}
.breadcrumbs a {
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--transition);
}
.breadcrumbs a:hover { color: var(--white); }
.breadcrumbs span[aria-current] {
  color: var(--white);
  font-weight: 600;
}

.product-hero .page-hero-sub {
  max-width: 720px;
}

.product-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 372px;
  gap: 40px;
  align-items: start;
  margin-bottom: 64px;
}

.product-detail-visual {
  position: relative;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 36px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--cat-bd, var(--neutral-200));
  overflow: hidden;
  background:
    radial-gradient(120% 120% at 15% -15%, #ffffff 0%, rgba(255, 255, 255, 0) 55%),
    linear-gradient(145deg, var(--cat-bg, var(--neutral-100)) 0%, var(--white) 165%);
}
.product-detail-visual .monogram-lead { font-size: 7rem; }
.product-detail-visual .monogram-tail { font-size: 2.6rem; }

.product-detail-main .section-title { margin-bottom: 14px; }
.product-detail-main .section-desc { margin-bottom: 14px; }

.product-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}
.product-spec {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px;
  background: var(--neutral-50);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-md);
}
.product-spec span {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--neutral-600);
}
.product-spec strong {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  color: var(--primary-900);
  line-height: 1.35;
}

.product-detail-note {
  margin-top: 24px;
  padding: 18px 20px;
  border-left: 3px solid var(--primary-400);
  background: var(--primary-100);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--primary-800);
}

.product-detail-side {
  position: sticky;
  top: 96px;
}
.product-quote-card {
  padding: 30px 26px;
}
.product-quote-card .section-eyebrow { margin-bottom: 10px; }
.product-quote-card h2 {
  font-family: var(--font-heading);
  font-size: 1.32rem;
  line-height: 1.3;
  color: var(--primary-900);
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}
.product-quote-card > p {
  font-size: 0.88rem;
  color: var(--neutral-600);
  margin-bottom: 20px;
}
.product-quote-card .btn-primary,
.product-quote-card .btn-whatsapp-outline {
  width: 100%;
  justify-content: center;
  margin-bottom: 10px;
}
.btn-whatsapp-outline.full-width { width: 100%; justify-content: center; }
.product-quote-list {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px dashed var(--neutral-200);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.product-quote-list li {
  position: relative;
  padding-left: 22px;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--neutral-600);
}
.product-quote-list li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-500);
  box-shadow: 0 0 0 3px rgba(0, 198, 255, 0.15);
}

.related-products {
  padding-top: 40px;
  border-top: 1px solid var(--neutral-200);
}
.related-products .section-title { margin-bottom: 26px; }
.related-products .products-grid { margin-bottom: 0; }
.related-products .section-eyebrow { margin-bottom: 8px; }

@media (max-width: 1024px) {
  .product-detail-layout { grid-template-columns: 1fr; gap: 32px; }
  .product-detail-side { position: static; }
}

@media (max-width: 560px) {
  .product-specs-grid { grid-template-columns: 1fr; }
  .product-detail-visual { height: 200px; }
  .product-detail-visual .monogram-lead { font-size: 5.2rem; }
  .product-detail-visual .monogram-tail { font-size: 2rem; }
}

