/* ==========================================================================
   EPACAL GROUP — 2026 MODERN B2B/B2C E-COMMERCE & SANITATION DESIGN SYSTEM
   Clean, organized, high-conversion layout (Cart -> WhatsApp, No Prices)
   ========================================================================== */

:root {
  /* Modern Biosecurity & E-Commerce Palette */
  --primary: #059669;
  /* Emerald 600 - Clean, trustworthy biosecurity green */
  --primary-dark: #047857;
  /* Emerald 700 */
  --primary-light: #10b981;
  /* Emerald 500 */
  --primary-soft: #ecfdf5;
  /* Emerald 50 */
  --primary-border: #a7f3d0;
  /* Emerald 200 */

  --secondary: #0f172a;
  /* Slate 900 - Deep crisp authority */
  --secondary-light: #1e293b;
  /* Slate 800 */
  --accent: #0284c7;
  /* Sky 600 - Technical clinical accent */
  --whatsapp: #16a34a;
  /* Clean vibrant green for WhatsApp CTAs */
  --whatsapp-hover: #15803d;

  /* Neutrals & Surfaces */
  --bg-main: #ffffff;
  --bg-surface: #f8fafc;
  /* Slate 50 */
  --bg-muted: #f1f5f9;
  /* Slate 100 */
  --text-main: #0f172a;
  /* Slate 900 */
  --text-body: #334155;
  /* Slate 700 */
  --text-muted: #64748b;
  /* Slate 500 */
  --text-dim: #94a3b8;
  /* Slate 400 */
  --border-light: #e2e8f0;
  /* Slate 200 */
  --border-hover: #cbd5e1;
  /* Slate 300 */

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout & Geometry */
  --container-max: 1280px;
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Refined Shadows */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 2px 8px -2px rgba(15, 23, 42, 0.06), 0 1px 3px -1px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.07), 0 4px 10px -3px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 40px -12px rgba(15, 23, 42, 0.12);
  --shadow-emerald: 0 10px 25px -5px rgba(5, 150, 105, 0.28);

  --transition: 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background-color: #ecf4f2;
  background-image:
    radial-gradient(circle at 86% 12%, rgba(16, 185, 129, 0.09) 0%, transparent 46%),
    radial-gradient(circle at 12% 78%, rgba(2, 132, 199, 0.07) 0%, transparent 48%),
    linear-gradient(135deg, #eaf1f8 0%, #f2f8f5 52%, #e6f4ee 100%);
  line-height: 1.6;
  overflow-x: hidden;
  font-size: 15px;
}

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

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

ul,
ol {
  list-style: none;
}

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

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
}

/* ==========================================================================
   UTILITIES & BUTTONS
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 72px 0;
  position: relative;
  background:
    radial-gradient(circle at 14% 22%, rgba(16, 185, 129, 0.10) 0%, transparent 46%),
    radial-gradient(circle at 88% 78%, rgba(2, 132, 199, 0.07) 0%, transparent 50%),
    linear-gradient(135deg, #f1f6fa 0%, #eaf5f0 50%, #ebf2f8 100%);
}

.section-padding.section-tint-alt {
  background:
    radial-gradient(circle at 85% 16%, rgba(16, 185, 129, 0.12) 0%, transparent 48%),
    radial-gradient(circle at 10% 82%, rgba(15, 23, 42, 0.045) 0%, transparent 50%),
    linear-gradient(135deg, #e8f0f7 0%, #f1f8f5 52%, #e4f3ec 100%);
  border-bottom: 1px solid rgba(5, 150, 105, 0.10);
}

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

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  background: var(--primary-soft);
  border: 1px solid var(--primary-border);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 12px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--primary);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14.5px;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-emerald);
  transition: var(--transition);
}

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

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #ffffff;
  color: var(--secondary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14.5px;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #ffffff;
  color: var(--secondary);
  border: 1.5px solid var(--border-light);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-soft);
}

/* ==========================================================================
   TOP BAR & MODERN STICKY HEADER
   ========================================================================== */
.top-bar {
  background: var(--secondary);
  color: #cbd5e1;
  font-size: 12.5px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

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

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 7px;
}

.top-bar-item .dot {
  width: 7px;
  height: 7px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
}

.top-bar a:hover {
  color: #ffffff;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-main-row {
  padding: 14px 0;
}

.header-main-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-logo img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.brand-logo-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.brand-subtitle {
  font-size: 11px;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 2px;
}

/* Smart Search Bar */
.header-search-wrap {
  flex: 1;
  max-width: 520px;
  position: relative;
}

.header-search-form {
  display: flex;
  align-items: center;
  width: 100%;
  background: var(--bg-surface);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-full);
  padding: 4px 6px 4px 18px;
  transition: var(--transition);
}

.header-search-form:focus-within {
  background: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.1);
}

.header-search-input {
  flex: 1;
  padding: 7px 0;
  font-size: 13.5px;
  color: var(--text-main);
  background: transparent;
}

.header-search-input::placeholder {
  color: var(--text-dim);
}

.header-search-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.header-search-btn:hover {
  background: var(--primary-dark);
}

/* Live Search Results Dropdown */
.live-search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  max-height: 400px;
  overflow-y: auto;
  z-index: 1200;
  display: none;
}

.live-search-dropdown.active {
  display: block;
}

.live-search-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--bg-muted);
  cursor: pointer;
  transition: var(--transition);
}

.live-search-item:hover {
  background: var(--bg-surface);
}

.live-search-item img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xs);
  padding: 3px;
  flex-shrink: 0;
}

.live-search-item-info {
  flex: 1;
  min-width: 0;
}

.live-search-item-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.live-search-item-cat {
  font-size: 11.5px;
  color: var(--text-muted);
}

.live-search-item-btn {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-soft);
  border: 1px solid var(--primary-border);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  transition: var(--transition);
}

.live-search-item-btn:hover {
  background: var(--primary);
  color: #ffffff;
}

/* Header Right Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.btn-reclamaciones-header {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-body);
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
}

.btn-reclamaciones-header:hover {
  border-color: var(--border-hover);
  color: var(--secondary);
}

.btn-quote-cart {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  background: var(--secondary);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.btn-quote-cart:hover {
  background: var(--primary);
  transform: translateY(-1px);
}

.cart-badge {
  background: var(--primary);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 800;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-quote-cart:hover .cart-badge {
  background: #ffffff;
  color: var(--primary);
}

/* Clean Secondary Navigation Bar */
.header-nav-bar {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-light);
}

.header-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 11px 15px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-body);
  border-radius: var(--radius-xs);
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active,
.nav-item:hover>.nav-link {
  color: var(--primary);
  background: rgba(5, 150, 105, 0.07);
}

.nav-link svg {
  width: 14px;
  height: 14px;
  opacity: 0.7;
  transition: transform 0.2s ease;
}

.nav-item:hover>.nav-link svg {
  transform: rotate(180deg);
}

/* Dropdown Menu */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--transition);
  z-index: 1100;
}

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

.nav-dropdown a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-body);
  border-radius: var(--radius-xs);
  transition: var(--transition);
}

.nav-dropdown a:hover {
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 600;
}

.header-social-list {
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  background: #ffffff;
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.social-circle:hover {
  color: #ffffff;
  background: var(--primary);
  border-color: var(--primary);
}

.btn-mobile-toggle {
  display: none;
  padding: 8px;
  color: var(--secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xs);
}

/* ==========================================================================
   MODERN HERO SECTION + 3-STEP BUYING GUIDE
   ========================================================================== */
.hero-modern {
  position: relative;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #064e3b 100%);
  color: #ffffff;
  padding: 28px 0 46px 0;
  overflow: hidden;
}

.hero-modern::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.22), transparent 55%);
  pointer-events: none;
}

.hero-modern-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #6ee7b7;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 18px;
}

.hero-badge span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
}

.hero-title {
  font-size: clamp(32px, 4.2vw, 50px);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.12;
  margin-bottom: 18px;
}

.hero-title span {
  color: #34d399;
}

.hero-subtitle {
  font-size: 16.5px;
  color: #cbd5e1;
  margin-bottom: 28px;
  max-width: 580px;
  line-height: 1.65;
}

.hero-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 32px;
}

.hero-quick-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-quick-tags span {
  font-size: 12px;
  color: #94a3b8;
  margin-right: 4px;
}

.hero-tag-pill {
  font-size: 12px;
  font-weight: 600;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 5px 12px;
  border-radius: var(--radius-full);
}

.hero-tag-pill:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

/* Right Hero Visual Card */
.hero-visual-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
}

.hero-visual-img-wrap {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 240px;
  margin-bottom: 20px;
}

.hero-visual-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-steps-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #34d399;
  margin-bottom: 12px;
}

.hero-steps-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.hero-step-box {
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 12px;
}

.hero-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 6px;
}

.hero-step-box h4 {
  font-size: 13px;
  color: #ffffff;
  margin-bottom: 2px;
}

.hero-step-box p {
  font-size: 11.5px;
  color: #94a3b8;
  line-height: 1.35;
}

/* ==========================================================================
   TRUST & BENEFITS BAR (CLEAN FLOATING STRIP)
   ========================================================================== */
.trust-strip {
  background:
    radial-gradient(circle at 82% 50%, rgba(16, 185, 129, 0.10) 0%, transparent 55%),
    linear-gradient(90deg, #eef4fa 0%, #eaf7f1 52%, #ecf4fa 100%);
  border-bottom: 1px solid rgba(5, 150, 105, 0.14);
  padding: 22px 0;
}

.trust-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.trust-strip-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: var(--radius-md);
  box-shadow: 0 2px 10px -2px rgba(15, 23, 42, 0.04);
}

.trust-strip-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-strip-item h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 2px;
}

.trust-strip-item p {
  font-size: 12.5px;
  color: var(--text-muted);
}

/* ==========================================================================
   CLEAN VISUAL CATEGORY BENTO GRID (EASY TO UNDERSTAND & BROWSE)
   ========================================================================== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.category-card-clean {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 14px -4px rgba(15, 23, 42, 0.05);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.category-card-clean:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.category-card-info {
  flex: 1;
}

.category-card-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
}

.category-card-clean h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 6px;
}

.category-card-clean p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1.45;
}

.category-card-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
}

.category-card-img {
  width: 96px;
  height: 96px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.category-card-img img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.category-card-clean:hover .category-card-img img {
  transform: scale(1.08);
}

/* ==========================================================================
   PRODUCT CARDS & GRID (CLEAN, MODERN, ZERO PRICES, EASY CART)
   ========================================================================== */
.home-catalog-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.home-tab-btn {
  padding: 9px 18px;
  border-radius: var(--radius-full);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-body);
  background: #ffffff;
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.home-tab-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.home-tab-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: var(--shadow-emerald);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.product-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 14px -4px rgba(15, 23, 42, 0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-border);
}

.product-img-box {
  position: relative;
  height: 205px;
  background: #ffffff;
  border-bottom: 1px solid var(--bg-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  cursor: pointer;
}

.product-img-box img {
  max-height: 165px;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.product-card:hover .product-img-box img {
  transform: scale(1.05);
}

.product-badge-digesa {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  border: 1px solid var(--primary-border);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  letter-spacing: 0.03em;
}

.product-badge-cat {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--bg-muted);
  color: var(--text-body);
  font-size: 10px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: var(--radius-full);
}

.product-info {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-cat-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
  margin-bottom: 4px;
}

.product-title {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 8px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 40px;
  cursor: pointer;
}

.product-title:hover {
  color: var(--primary);
}

.product-active-ing {
  font-size: 12px;
  color: var(--text-muted);
  background: var(--bg-surface);
  padding: 5px 10px;
  border-radius: var(--radius-xs);
  margin-bottom: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-actions-row {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.btn-add-quote {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--primary);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  padding: 10px 14px;
  border-radius: var(--radius-xs);
  transition: var(--transition);
}

.btn-add-quote:hover {
  background: var(--primary-dark);
}

.btn-quick-view {
  height: 38px;
  padding: 0 12px;
  border-radius: var(--radius-xs);
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  color: var(--text-body);
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.btn-quick-view:hover {
  border-color: var(--secondary);
  color: var(--secondary);
  background: var(--bg-muted);
}

.btn-direct-wa {
  margin-top: 8px;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
  font-size: 12.5px;
  font-weight: 700;
  padding: 8px 10px;
  border-radius: var(--radius-xs);
  transition: var(--transition);
}

.btn-direct-wa:hover {
  background: var(--whatsapp);
  color: #ffffff;
  border-color: var(--whatsapp);
}

/* ==========================================================================
   SERVICES SHOWCASE CARDS (CLEAN & ORGANIZED)
   ========================================================================== */
.services-clean-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-clean-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.service-clean-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--primary-border);
}

.service-clean-img {
  height: 190px;
  overflow: hidden;
  position: relative;
}

.service-clean-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-clean-card:hover .service-clean-img img {
  transform: scale(1.05);
}

.service-clean-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-clean-body h3 {
  font-size: 19px;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 8px;
}

.service-clean-body p {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 16px;
  flex: 1;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 18px;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-body);
}

.service-features li::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
}

/* ==========================================================================
   SPLIT CONTACT & WHY EPACAL SECTION
   ========================================================================== */
.dacorp-split-contact-why {
  padding: 72px 0;
  position: relative;
  background:
    radial-gradient(circle at 82% 24%, rgba(16, 185, 129, 0.13) 0%, transparent 50%),
    radial-gradient(circle at 14% 80%, rgba(2, 132, 199, 0.08) 0%, transparent 48%),
    linear-gradient(135deg, #e6eff7 0%, #edf7f3 54%, #e3f2eb 100%);
  border-top: 1px solid rgba(5, 150, 105, 0.14);
}

.dacorp-split-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.dacorp-contact-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
}

.dacorp-contact-card-header {
  background: var(--secondary);
  color: #ffffff;
  padding: 24px 28px;
}

.dacorp-contact-card-header h3 {
  color: #ffffff;
  font-size: 22px;
  margin-bottom: 4px;
}

.dacorp-contact-card-header p {
  font-size: 13.5px;
  color: #94a3b8;
}

.dacorp-contact-card-body {
  padding: 28px;
}

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

.form-label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 11px 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xs);
  font-size: 14px;
  color: var(--text-main);
  transition: var(--transition);
}

.form-control:focus {
  background: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.12);
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.btn-submit-red {
  width: 100%;
  padding: 14px 20px;
  background: var(--primary);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-emerald);
  transition: var(--transition);
}

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

/* Right Column: Why Epacal */
.dacorp-why-col h2 {
  font-size: 32px;
  color: var(--secondary);
  margin-bottom: 10px;
}

.dacorp-why-col h2 span {
  color: var(--primary);
}

.dacorp-why-col p.lead {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.dacorp-why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.dacorp-why-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #ffffff;
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.dacorp-why-item:hover {
  border-color: var(--primary-border);
  box-shadow: var(--shadow-sm);
}

.dacorp-why-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dacorp-why-icon svg {
  width: 22px;
  height: 22px;
}

.dacorp-why-item h4 {
  font-size: 15px;
  color: var(--secondary);
  margin-bottom: 4px;
}

.dacorp-why-item p {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.45;
}

/* ==========================================================================
   CATALOG PAGE LAYOUT (SIDEBAR + MAIN PRODUCT AREA)
   ========================================================================== */
.catalog-layout-grid {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 28px;
  align-items: start;
}

.catalog-sidebar {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.catalog-sidebar-box {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.catalog-sidebar-header {
  background: var(--secondary);
  color: #ffffff;
  padding: 15px 18px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
}

.catalog-sidebar-list li {
  border-bottom: 1px solid var(--bg-muted);
}

.catalog-sidebar-list li:last-child {
  border-bottom: none;
}

.sidebar-cat-btn {
  width: 100%;
  text-align: left;
  padding: 11px 18px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-body);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
}

.sidebar-cat-btn:hover,
.sidebar-cat-btn.active {
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 700;
}

.sidebar-cat-btn .count {
  font-size: 11px;
  background: var(--bg-muted);
  color: var(--text-muted);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.sidebar-cat-btn.active .count {
  background: var(--primary);
  color: #ffffff;
}

.catalog-main-col .products-grid {
  grid-template-columns: repeat(3, 1fr);
}

.catalog-toolbar {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px solid var(--border-light);
  margin-bottom: 20px;
}

.catalog-top-controls {
  display: flex;
  gap: 14px;
  margin-bottom: 16px;
}

.search-input-wrap {
  flex: 1;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 11px 40px 11px 42px;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text-main);
  transition: var(--transition);
}

.search-input:focus {
  background: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
}

.search-clear-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  display: none;
}

.search-clear-btn.active {
  display: block;
}

.sort-select {
  padding: 11px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-body);
}

.category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-pill {
  padding: 7px 14px;
  border-radius: var(--radius-full);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-body);
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.filter-pill:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.filter-pill.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.catalog-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  font-size: 13.5px;
  color: var(--text-muted);
}

.load-more-wrap {
  text-align: center;
  margin-top: 36px;
}

/* ==========================================================================
   FLOATING SIDE-CART BASKET & SLIDE-OUT CART DRAWER
   ========================================================================== */
.floating-cart-basket {
  position: fixed;
  bottom: 24px;
  right: 92px;
  z-index: 1500;
  height: 54px;
  padding: 0 20px;
  border-radius: var(--radius-full);
  background: var(--secondary);
  color: #ffffff;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  transition: var(--transition);
}

.floating-cart-basket:hover {
  transform: translateY(-3px);
  background: var(--primary);
}

.floating-cart-count {
  background: var(--primary);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-cart-basket:hover .floating-cart-count {
  background: #ffffff;
  color: var(--primary);
}

/* Slide-out Cart Drawer */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.cart-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 430px;
  background: #ffffff;
  z-index: 2001;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -10px 0 30px rgba(15, 23, 42, 0.15);
}

.cart-drawer.active {
  transform: translateX(0);
}

.cart-drawer-header {
  padding: 20px 24px;
  background: var(--secondary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-drawer-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
}

.cart-close-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.cart-close-btn:hover {
  background: var(--primary);
}

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}

.cart-empty-state {
  text-align: center;
  padding: 48px 16px;
}

.cart-empty-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--bg-surface);
  color: var(--text-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px auto;
}

.cart-item-row {
  display: flex;
  gap: 12px;
  padding: 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  margin-bottom: 12px;
  background: #ffffff;
  align-items: center;
}

.cart-item-thumb {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-xs);
  object-fit: contain;
  background: var(--bg-surface);
  padding: 4px;
  border: 1px solid var(--border-light);
  flex-shrink: 0;
}

.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-meta {
  font-size: 11.5px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 6px;
}

.cart-item-qty-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty-btn {
  width: 26px;
  height: 26px;
  border-radius: var(--radius-xs);
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.qty-btn:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.qty-display {
  font-size: 13px;
  font-weight: 700;
  min-width: 22px;
  text-align: center;
}

.cart-item-remove-btn {
  color: var(--text-dim);
  padding: 6px;
}

.cart-item-remove-btn:hover {
  color: #dc2626;
}

.cart-drawer-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border-light);
  background: var(--bg-surface);
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.cart-summary-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.cart-summary-total {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
  color: var(--secondary);
}

.cart-actions-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-send-whatsapp {
  width: 100%;
  padding: 13px 18px;
  background: var(--whatsapp);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14.5px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
}

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

.btn-download-pdf {
  width: 100%;
  padding: 10px 14px;
  background: #ffffff;
  color: var(--secondary);
  border: 1px solid var(--border-light);
  font-weight: 600;
  font-size: 13px;
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-download-pdf:hover {
  border-color: var(--secondary);
}

/* ==========================================================================
   PRODUCT QUICK-VIEW MODAL (FICHA TÉCNICA - NO PRICES)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.product-modal {
  background: #ffffff;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 780px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  position: relative;
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.modal-close-btn:hover {
  background: var(--secondary);
  color: #ffffff;
}

.modal-img-col {
  background: var(--bg-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  border-right: 1px solid var(--border-light);
}

.modal-img-col img {
  max-height: 290px;
  object-fit: contain;
}

.modal-info-col {
  padding: 32px;
  display: flex;
  flex-direction: column;
}

.modal-cat-badge {
  display: inline-block;
  align-self: flex-start;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
}

.modal-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 4px;
}

.modal-sku {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.modal-Availability-banner {
  background: var(--primary-soft);
  border: 1px solid var(--primary-border);
  color: var(--primary-dark);
  padding: 10px 14px;
  border-radius: var(--radius-xs);
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-desc {
  font-size: 13.5px;
  color: var(--text-body);
  margin-bottom: 16px;
}

.modal-specs-box {
  background: var(--bg-surface);
  border-radius: var(--radius-xs);
  padding: 12px 14px;
  border: 1px solid var(--border-light);
  margin-bottom: 20px;
  font-size: 12.5px;
}

.modal-spec-row {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  border-bottom: 1px dashed var(--border-light);
}

.modal-spec-row:last-child {
  border-bottom: none;
}

.modal-spec-label {
  color: var(--text-muted);
}

.modal-spec-val {
  font-weight: 600;
  color: var(--secondary);
}

.modal-actions-row {
  margin-top: auto;
  display: flex;
  gap: 10px;
}

.modal-qty-picker {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xs);
}

.modal-qty-picker button {
  width: 36px;
  height: 42px;
  font-weight: 700;
}

.modal-qty-picker input {
  width: 40px;
  text-align: center;
  font-weight: 700;
}

/* ==========================================================================
   PEST LIBRARY & INNER PAGES
   ========================================================================== */
.page-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  padding: 48px 0;
  color: #ffffff;
}

.page-hero-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: #94a3b8;
  margin-bottom: 10px;
}

.page-hero h1 {
  color: #ffffff;
  font-size: clamp(28px, 3.6vw, 40px);
  margin-bottom: 8px;
}

.page-hero p {
  color: #cbd5e1;
  font-size: 15.5px;
  max-width: 680px;
}

.pest-library-layout {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 28px;
}

.pest-tabs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pest-tab-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: #ffffff;
  border: 1px solid var(--border-light);
  text-align: left;
  font-weight: 600;
  color: var(--text-body);
  transition: var(--transition);
}

.pest-tab-btn:hover,
.pest-tab-btn.active {
  border-color: var(--primary);
  background: var(--primary-soft);
  color: var(--secondary);
}

.pest-detail-panel {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 32px;
}

.pest-detail-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
}

.pest-detail-title {
  font-size: 26px;
}

.pest-scientific {
  font-style: italic;
  color: var(--text-muted);
  font-size: 13.5px;
}

.pest-danger-badge {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 11.5px;
  font-weight: 700;
}

.pest-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.pest-info-box {
  background: var(--bg-surface);
  padding: 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
}

.pest-info-box h5 {
  font-size: 12px;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 6px;
}

.pest-products-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.pest-product-pill-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-soft);
  border: 1px solid var(--primary-border);
  padding: 7px 14px;
  border-radius: var(--radius-full);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--primary-dark);
}

.pest-product-pill-link:hover {
  background: var(--primary);
  color: #ffffff;
}

/* ==========================================================================
   FOOTER (DARK SLATE NAVY)
   ========================================================================== */
.site-footer {
  background: var(--secondary);
  color: #94a3b8;
  font-size: 13.5px;
}

.footer-contact-strip {
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
}

.footer-contact-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: center;
}

.footer-strip-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-strip-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer-strip-item span {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94a3b8;
}

.footer-strip-item strong {
  font-family: var(--font-heading);
  font-size: 16px;
  color: #ffffff;
}

.footer-reclamaciones-card {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-weight: 700;
  font-size: 13px;
}

.footer-reclamaciones-card:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  padding: 48px 0 36px 0;
}

.footer-brand .brand-title {
  color: #ffffff;
}

.footer-desc {
  margin: 14px 0 18px 0;
  line-height: 1.6;
}

.footer-col-title {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

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

.footer-bottom {
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
}

/* ==========================================================================
   FLOATING WHATSAPP WIDGET & TOAST
   ========================================================================== */
.whatsapp-float-wrap {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1500;
}

.whatsapp-main-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.whatsapp-main-btn:hover {
  transform: scale(1.06);
}

.whatsapp-popover {
  position: absolute;
  bottom: 68px;
  right: 0;
  width: 310px;
  background: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
}

.whatsapp-popover.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.wa-popover-header {
  background: #075e54;
  color: #ffffff;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.wa-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.wa-header-info h4 {
  color: #ffffff;
  font-size: 14.5px;
}

.wa-header-info p {
  font-size: 11.5px;
  color: #d1fae5;
}

.wa-popover-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wa-agent-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: var(--radius-xs);
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
}

.wa-agent-link:hover {
  border-color: #25d366;
  background: #f0fdf4;
}

.wa-agent-info h5 {
  font-size: 13px;
  color: var(--secondary);
}

.wa-agent-info p {
  font-size: 11px;
  color: var(--text-muted);
}

/* Toast */
.toast-container {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast {
  background: var(--secondary);
  color: #ffffff;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  font-size: 13.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  border-left: 4px solid var(--primary-light);
  transform: translateY(16px);
  opacity: 0;
  transition: var(--transition);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Mobile Nav Drawer */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  z-index: 1998;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 290px;
  background: #ffffff;
  z-index: 1999;
  padding: 22px;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.mobile-nav-drawer.active {
  transform: translateX(0);
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 16px;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-nav-links a {
  padding: 11px 14px;
  border-radius: var(--radius-xs);
  font-weight: 600;
  font-size: 14px;
  color: var(--secondary);
}

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

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1100px) {
  .hero-modern-grid {
    grid-template-columns: 1fr;
  }

  .categories-grid,
  .services-clean-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .catalog-layout-grid {
    grid-template-columns: 1fr;
  }

  .catalog-sidebar {
    position: static;
  }

  .dacorp-split-grid,
  .pest-library-layout {
    grid-template-columns: 1fr !important;
  }

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

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

  .header-nav-bar {
    display: none;
  }

  .btn-reclamaciones-header {
    display: none;
  }

  .btn-mobile-toggle {
    display: inline-flex;
  }

  .header-main-inner {
    flex-wrap: wrap;
    gap: 12px;
  }

  .header-search-wrap {
    order: 3;
    max-width: 100%;
    flex: 1 1 100%;
  }

  .products-grid,
  .catalog-main-col .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-modal {
    grid-template-columns: 1fr;
    max-height: 90vh;
    overflow-y: auto;
  }

  .dacorp-why-grid,
  .form-row-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 540px) {

  .categories-grid,
  .services-clean-grid,
  .products-grid,
  .catalog-main-col .products-grid,
  .trust-strip-grid,
  .hero-steps-list,
  .footer-contact-strip-grid,
  .footer-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ==========================================================================
   GRAN SORTEO EPACAL MIP 2026 - VENTANA FLOTANTE & BOTÓN FLOTANTE
   ========================================================================== */
.sorteo-fab {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 1550;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #0f172a 0%, #059669 100%);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 13.5px;
  box-shadow: 0 10px 26px rgba(5, 150, 105, 0.38);
  border: 2px solid #34d399;
  cursor: pointer;
  transition: var(--transition);
}

.sorteo-fab:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 30px rgba(5, 150, 105, 0.5);
}

.sorteo-fab-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.3);
  animation: sorteoPulse 1.8s infinite;
}

@keyframes sorteoPulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.3);
    opacity: 0.75;
  }
}

.sorteo-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.76);
  backdrop-filter: blur(6px);
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.sorteo-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.sorteo-modal-card {
  position: relative;
  width: 100%;
  max-width: 900px;
  max-height: 92vh;
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.45);
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  transform: translateY(16px) scale(0.98);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.sorteo-modal-overlay.active .sorteo-modal-card {
  transform: translateY(0) scale(1);
}

.sorteo-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 10;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.85);
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  cursor: pointer;
  transition: var(--transition);
}

.sorteo-close-btn:hover {
  background: #dc2626;
  transform: rotate(90deg);
}

.sorteo-poster-col {
  background: #061831;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.sorteo-poster-col img {
  width: 100%;
  height: 100%;
  max-height: 92vh;
  object-fit: contain;
  display: block;
  cursor: pointer;
}

.sorteo-form-col {
  padding: 28px 30px;
  overflow-y: auto;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
}

.sorteo-badge-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.sorteo-form-col h3 {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
  margin-bottom: 6px;
}

.sorteo-form-col p.sorteo-sub {
  font-size: 13.5px;
  color: #475569;
  margin-bottom: 16px;
}

.sorteo-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.sorteo-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sorteo-field.full {
  grid-column: 1 / -1;
}

.sorteo-field label {
  font-size: 12px;
  font-weight: 700;
  color: #1e293b;
}

.sorteo-field input,
.sorteo-field select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 13.5px;
  color: #0f172a;
  background: #f8fafc;
  transition: var(--transition);
}

.sorteo-field input:focus,
.sorteo-field select:focus {
  outline: none;
  border-color: #059669;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.14);
}

.sorteo-submit-btn {
  margin-top: 14px;
  width: 100%;
  padding: 13px 18px;
  border-radius: 10px;
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 8px 20px rgba(5, 150, 105, 0.3);
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.sorteo-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(5, 150, 105, 0.4);
}

.sorteo-submit-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.sorteo-Secondary-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #e2e8f0;
  font-size: 12.5px;
}

.sorteo-link-fullpage {
  color: #059669;
  font-weight: 700;
}

.sorteo-link-fullpage:hover {
  text-decoration: underline;
}

.sorteo-dismiss-text {
  color: #64748b;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 12.5px;
}

.sorteo-dismiss-text:hover {
  color: #0f172a;
  text-decoration: underline;
}

.sorteo-ticket-box {
  background: #f0fdf4;
  border: 2px dashed #059669;
  border-radius: 14px;
  padding: 22px;
  text-align: center;
  margin-top: 8px;
}

.sorteo-ticket-number {
  display: inline-block;
  background: #0f172a;
  color: #4ade80;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 10px 22px;
  border-radius: 10px;
  margin: 10px 0;
}

@media (max-width: 820px) {
  .sorteo-modal-card {
    grid-template-columns: 1fr;
    max-width: 480px;
    overflow-y: auto;
  }

  .sorteo-poster-col img {
    max-height: 360px;
    object-fit: contain;
  }

  .sorteo-form-col {
    max-height: none;
    overflow-y: visible;
    padding: 22px 20px;
  }

  .sorteo-form-grid {
    grid-template-columns: 1fr;
  }

  .sorteo-fab {
    bottom: 18px;
    left: 16px;
    padding: 9px 14px;
    font-size: 12.5px;
  }
}

/* ==========================================================================
   TRANSMISIÓN EN VIVO 4:00 PM - CUENTA REGRESIVA & BOTÓN FACEBOOK LIVE
   ========================================================================== */
.live-top-strip {
  background: linear-gradient(90deg, #061831 0%, #0f172a 50%, #061831 100%);
  border-bottom: 2px solid #22c55e;
  color: #ffffff;
  padding: 10px 16px;
  position: relative;
  z-index: 1050;
}

.live-top-strip-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  text-align: center;
}

.live-red-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.35);
  display: inline-block;
  animation: sorteoPulse 1.2s infinite;
}

.live-countdown-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 14px 0 18px 0;
}

.live-countdown-box {
  background: #061831;
  border: 2px solid #22c55e;
  border-radius: 12px;
  padding: 14px 8px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(6, 24, 49, 0.18);
}

.live-countdown-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  color: #4ade80;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
}

.live-countdown-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #cbd5e1;
  margin-top: 4px;
}

.btn-fb-live {
  width: 100%;
  padding: 15px 20px;
  border-radius: 12px;
  background: linear-gradient(135deg, #1877f2 0%, #0d5bd9 100%);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 15.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(24, 119, 242, 0.38);
  transition: var(--transition);
}

.btn-fb-live:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(24, 119, 242, 0.5);
  color: #ffffff;
}

.btn-fb-live.is-live-now {
  background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
  box-shadow: 0 10px 28px rgba(220, 38, 38, 0.48);
  animation: liveBtnPulse 1.6s infinite;
}

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

/* ==========================================================================
   SLIDER / CARRUSEL GRANDE DE PORTADA (ESTILO DIAPOSITIVAS PPT WIDESCREEN)
   ========================================================================== */
.hero-visual-card.hero-visual-card--wide {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
}

.hero-slider-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  background: #061831;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 24px 60px rgba(2, 6, 23, 0.48);
}

.hero-slide-item {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.55s ease, visibility 0.55s ease;
  z-index: 1;
}

.hero-slide-item.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hero-slide-link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 2;
}

.hero-slide-item img.hero-slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(22px) brightness(0.68);
  transform: scale(1.1);
  z-index: 1;
  pointer-events: none;
  border-radius: 0;
}

.hero-slide-item img.hero-slide-fg {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 0;
}

.hero-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.76);
  backdrop-filter: blur(6px);
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.38);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 6;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.38);
  transition: var(--transition);
}

.hero-slider-arrow:hover {
  background: #059669;
  border-color: #ffffff;
  transform: translateY(-50%) scale(1.06);
}

.hero-slider-arrow.prev {
  left: 18px;
}

.hero-slider-arrow.next {
  right: 18px;
}

.hero-slider-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  margin-top: 14px;
  min-height: 10px;
}

.hero-slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.25s ease;
}

.hero-slider-dot:hover {
  background: rgba(255, 255, 255, 0.68);
}

.hero-slider-dot.active {
  width: 32px;
  background: #34d399;
  box-shadow: 0 0 12px rgba(52, 211, 153, 0.55);
}

.hero-slider-counter {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 999px;
  z-index: 6;
}

.hero-below-bar {
  margin-top: 28px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
}

.hero-below-bar .hero-badge {
  margin-bottom: 12px;
}

.hero-below-bar .hero-title {
  font-size: clamp(24px, 2.8vw, 36px);
  margin-bottom: 10px;
}

.hero-below-bar .hero-subtitle {
  font-size: 15px;
  margin-bottom: 0;
  max-width: 640px;
}

.hero-below-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.hero-below-actions .hero-btn-group {
  margin-bottom: 0;
}

@media (max-width: 992px) {
  .hero-below-bar {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 22px;
    padding-top: 20px;
  }
}

@media (max-width: 640px) {
  .hero-modern {
    padding: 16px 0 34px 0;
  }

  .hero-slider-viewport {
    border-radius: 12px;
  }

  .hero-slider-arrow {
    width: 36px;
    height: 36px;
  }

  .hero-slider-arrow.prev {
    left: 8px;
  }

  .hero-slider-arrow.next {
    right: 8px;
  }

  .hero-slider-counter {
    top: 10px;
    right: 10px;
    font-size: 11px;
    padding: 3px 9px;
  }

  .hero-slider-dots {
    margin-top: 10px;
  }
}

/* ==========================================================================
   BANNER EMERGENTE DE PROMOCIÓN (GESTIONADO DESDE ADMIN.HTML)
   ========================================================================== */
.promo-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.78);
  backdrop-filter: blur(5px);
  z-index: 3200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.promo-popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.promo-popup-box {
  position: relative;
  max-width: min(92vw, 580px);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: scale(0.95);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.promo-popup-overlay.active .promo-popup-box {
  transform: scale(1);
}

.promo-popup-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #0f172a;
  color: #ffffff;
  border: 2px solid #ffffff;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45);
  transition: var(--transition);
}

.promo-popup-close:hover {
  background: #dc2626;
  transform: scale(1.08);
}

.promo-popup-img-wrap {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #0f172a;
}

.promo-popup-img-wrap a {
  display: block;
}

.promo-popup-img-wrap img {
  display: block;
  max-width: 100%;
  max-height: 76vh;
  width: auto;
  height: auto;
  object-fit: contain;
}

.promo-popup-cta {
  margin-top: 12px;
  width: 100%;
  padding: 13px 20px;
  border-radius: 12px;
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 15px;
  text-align: center;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 10px 25px rgba(5, 150, 105, 0.4);
  transition: var(--transition);
}

.promo-popup-cta:hover {
  transform: translateY(-2px);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(5, 150, 105, 0.55);
}

@media (max-width: 640px) {
  .promo-popup-close {
    top: 8px;
    right: 8px;
    width: 36px;
    height: 36px;
    font-size: 20px;
  }
}

/* ==========================================================================
   BLOG DE NOTICIAS, EVENTOS Y GALERÍA FOTOGRÁFICA (NOTICIAS.HTML)
   ========================================================================== */
.blog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}

.blog-cat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.blog-cat-pill {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--border-light);
  background: #ffffff;
  color: var(--text-body);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.blog-cat-pill:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.blog-cat-pill.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(5, 150, 105, 0.25);
}

.blog-search-box {
  position: relative;
  min-width: 260px;
  flex: 0 1 320px;
}

.blog-search-box input {
  width: 100%;
  padding: 10px 16px 10px 38px;
  border-radius: 999px;
  border: 1px solid var(--border-light);
  background: #ffffff;
  font-size: 13.5px;
  color: var(--secondary);
  transition: var(--transition);
}

.blog-search-box input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.12);
}

.blog-search-box svg {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  pointer-events: none;
}

.blog-featured-card {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 36px;
}

.blog-featured-media {
  position: relative;
  background: #0f172a;
  min-height: 320px;
  overflow: hidden;
  cursor: pointer;
}

.blog-featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.blog-featured-card:hover .blog-featured-media img {
  transform: scale(1.03);
}

.blog-photo-count-badge {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(15, 23, 42, 0.84);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.blog-featured-body {
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.blog-cat-badge {
  display: inline-block;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 12px;
  border-radius: 999px;
}

.blog-date {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
}

.blog-featured-title {
  font-family: var(--font-heading);
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 800;
  color: var(--secondary);
  line-height: 1.25;
  margin: 14px 0 12px 0;
  cursor: pointer;
}

.blog-featured-title:hover {
  color: var(--primary);
}

.blog-featured-summary {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 20px;
}

.blog-mini-gallery {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
}

.blog-mini-gallery img {
  width: 58px;
  height: 44px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border-light);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.blog-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.blog-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #0f172a;
  overflow: hidden;
  cursor: pointer;
}

.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.blog-card:hover .blog-card-media img {
  transform: scale(1.04);
}

.blog-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1.35;
  margin: 12px 0 10px 0;
  cursor: pointer;
}

.blog-card-title:hover {
  color: var(--primary);
}

.blog-card-summary {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 18px;
  flex: 1;
}

.blog-read-btn {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 13.5px;
  color: var(--primary);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.blog-read-btn:hover {
  gap: 10px;
}

/* Vista de Artículo Completo */
.blog-article-wrap {
  max-width: 920px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  padding: 40px;
}

.blog-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  color: var(--secondary);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  margin-bottom: 24px;
  transition: var(--transition);
}

.blog-back-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.blog-article-title {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3.2vw, 36px);
  font-weight: 800;
  color: var(--secondary);
  line-height: 1.2;
  margin: 14px 0 24px 0;
}

.blog-article-stage {
  background: #0f172a;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 540px;
}

.blog-article-stage img {
  max-width: 100%;
  max-height: 540px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.blog-gallery-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.blog-gallery-thumb {
  width: 86px;
  height: 62px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  opacity: 0.68;
  cursor: pointer;
  padding: 0;
  background: #0f172a;
  transition: var(--transition);
}

.blog-gallery-thumb:hover,
.blog-gallery-thumb.active {
  opacity: 1;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.28);
}

.blog-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-article-content p {
  font-size: 16.5px;
  line-height: 1.82;
  color: #334155;
  margin-bottom: 18px;
}

.blog-article-footer {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

@media (max-width: 992px) {
  .blog-featured-card {
    grid-template-columns: 1fr;
  }

  .blog-featured-media {
    min-height: 240px;
    aspect-ratio: 16 / 9;
  }

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

@media (max-width: 640px) {
  .blog-featured-body {
    padding: 22px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-article-wrap {
    padding: 22px 18px;
  }

  .blog-search-box {
    flex: 1 1 100%;
  }
}

