/* ==========================================================================
   KEINER.CL 2.0 - SISTEMA DE DISEÑO CORPORATIVO (Rojo, Negro & Blanco)
   Diseño de alta fidelidad basado en especificaciones exactas.
   ========================================================================== */

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

:root {
  /* Color Palette */
  --brand-red: #E31B23;
  --brand-red-hover: #C7141C;
  --bg-black: #0D0D0D;
  --bg-dark-card: #161616;
  --bg-dark-elevated: #202020;
  --border-dark: #282828;
  --bg-light: #F5F5F7;
  --bg-white-card: #FFFFFF;
  --border-light: #EAEAEA;

  /* Typography Colors */
  --text-white: #FFFFFF;
  --text-dark: #111111;
  --text-muted-dark: #8E8E93;
  --text-muted-light: #6E6E73;
  --text-red: #E31B23;

  /* Fonts & Spacing */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --container-max: 1200px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Skip Link para navegacion por teclado accesibles (A11y) */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--brand-red);
  color: var(--text-white);
  padding: 12px 20px;
  z-index: 10000;
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: top 0.2s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.skip-link:focus {
  top: 16px;
  outline: 3px solid #FFFFFF;
}

/* Screen Reader Only utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-black);
  color: var(--text-white);
  line-height: 1.5;
  overflow-x: hidden;
}

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

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

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

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--bg-black);
  border-bottom: 1px solid var(--border-dark);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-white);
}

.brand-logo-img {
  height: 38px;
  width: auto;
  max-height: 42px;
  border-radius: 6px;
  display: block;
  object-fit: contain;
  transition: var(--transition);
}

.brand-logo-img:hover {
  opacity: 0.9;
  transform: scale(1.02);
}

.brand-logo span.dot {
  color: var(--brand-red);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: #A0A0A0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-white);
}

.header-cta {
  display: flex;
  align-items: center;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--text-white);
  transition: var(--transition);
}

/* Sub-header / Breadcrumb bar */
.breadcrumb-bar {
  background-color: #121212;
  border-bottom: 1px solid var(--border-dark);
  padding: 12px 0;
  font-size: 0.8125rem;
  color: var(--text-muted-dark);
}

.breadcrumb-inner {
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb-inner a {
  color: var(--text-muted-dark);
}

.breadcrumb-inner a:hover {
  color: var(--text-white);
}

.breadcrumb-inner span.sep {
  color: #444;
}

.breadcrumb-inner span.current {
  color: var(--text-white);
}

/* ==========================================================================
   BUTTONS & BADGES / TAGS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-red {
  background-color: var(--brand-red);
  color: var(--text-white);
}

.btn-red:hover {
  background-color: var(--brand-red-hover);
  transform: translateY(-1px);
}

.btn-black {
  background-color: var(--bg-black);
  color: var(--text-white);
}

.btn-black:hover {
  background-color: #1a1a1a;
  transform: translateY(-1px);
}

.btn-outline {
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--text-white);
}

.btn-outline:hover {
  border-color: var(--text-white);
  background-color: rgba(255, 255, 255, 0.05);
}

.btn-outline-dark {
  background-color: transparent;
  border-color: #D1D1D6;
  color: var(--text-dark);
}

.btn-outline-dark:hover {
  border-color: var(--text-dark);
  background-color: rgba(0, 0, 0, 0.04);
}

.tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted-dark);
  margin-bottom: 12px;
}

.tag-badge.light {
  color: var(--text-muted-light);
}

.tag-badge::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 2px;
  background-color: var(--brand-red);
}

/* ==========================================================================
   SECTION LIFESTYLES & CONTAINERS
   ========================================================================== */

.section-dark {
  background-color: var(--bg-black);
  color: var(--text-white);
  padding: 80px 0;
}

.section-light {
  background-color: var(--bg-light);
  color: var(--text-dark);
  padding: 80px 0;
}

/* ==========================================================================
   PAGE 1: INICIO (HERO & SECTIONS)
   ========================================================================== */

.hero-section {
  position: relative;
  background-color: var(--bg-black);
  padding: 30px 0 40px;
  min-height: calc(100vh - 90px);
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: center;
  gap: 48px;
  width: 100%;
  background-color: var(--bg-black);
}

.hero-left {
  padding: 10px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-title {
  font-size: clamp(2.3rem, 3.5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: var(--text-white);
}

.hero-subtitle {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: #A0A0A0;
  margin-bottom: 30px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-right {
  position: relative;
  background-color: #050505;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  width: 100%;
  max-width: 380px;
  height: 480px;
  margin: 0 auto;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  padding: 0;
}

.hero-full-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 20px;
}

/* SECTION: LÍNEAS DE NEGOCIO */
.section-header-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
  align-items: flex-end;
}

.section-header-split .title {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section-header-split .desc {
  font-size: 1.0625rem;
  color: var(--text-muted-light);
  line-height: 1.6;
}

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

.card-business {
  padding: 40px;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 320px;
  transition: var(--transition);
}

.card-business.light {
  background-color: var(--bg-white-card);
  color: var(--text-dark);
  border: 1px solid var(--border-light);
}

.card-business.dark {
  background-color: var(--bg-dark-card);
  color: var(--text-white);
  border: 1px solid var(--border-dark);
}

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

.card-business-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.25rem;
}

.card-business.light .card-business-icon {
  background-color: #F0F0F2;
  color: var(--text-dark);
}

.card-business.dark .card-business-icon {
  background-color: #242424;
  color: var(--text-white);
}

.card-business-num {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-muted-dark);
}

.card-business-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.card-business-desc {
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 32px;
}

.card-business.light .card-business-desc {
  color: var(--text-muted-light);
}

.card-business.dark .card-business-desc {
  color: var(--text-muted-dark);
}

.card-business-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.875rem;
}

.card-business.light .card-business-link {
  color: var(--text-dark);
}

.card-business.dark .card-business-link {
  color: var(--text-white);
}

/* MARCAS & CLIENTES SLIDER / GRID */
.slider-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
}

.slider-header .title {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.slider-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.slider-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #D1D1D6;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.section-dark .slider-arrow {
  border-color: var(--border-dark);
  color: var(--text-white);
}

.section-light .slider-arrow {
  border-color: #D1D1D6;
  color: var(--text-dark);
}

.slider-arrow:hover {
  background-color: rgba(227, 27, 35, 0.1);
  border-color: var(--brand-red);
  color: var(--brand-red);
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.brand-card-light {
  background-color: var(--bg-white-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  color: #8E8E93;
  transition: var(--transition);
}

.brand-card-light:hover {
  border-color: var(--brand-red);
  color: var(--text-dark);
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.client-card-dark {
  background-color: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8125rem;
  color: var(--text-muted-dark);
  transition: var(--transition);
}

.client-card-dark:hover {
  border-color: var(--brand-red);
  color: var(--text-white);
}

/* BANNER CTA ROJO */
.cta-banner-red {
  background-color: var(--brand-red);
  color: var(--text-white);
  padding: 64px 0;
}

.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cta-banner-title {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 8px;
}

.cta-banner-subtitle {
  font-size: 1.125rem;
  opacity: 0.9;
}

/* ==========================================================================
   PAGE 2: NOSOTROS (ACERCA DE NOSOTROS)
   ========================================================================== */

.about-hero {
  padding: 60px 0 40px 0;
}

.about-header-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 48px;
}

.about-main-title {
  font-size: 3.5rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--text-white);
}

.about-statement-box {
  background-color: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 24px 32px;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--text-white);
}

/* QUIÉNES SOMOS BOX */
.quienes-somos-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  margin-bottom: 64px;
}

.quienes-content-card {
  background-color: var(--bg-white-card);
  color: var(--text-dark);
  border-radius: var(--radius-lg);
  padding: 48px;
  border: 1px solid var(--border-light);
}

.quienes-title {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.quienes-desc {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-muted-light);
  margin-bottom: 40px;
}

.quienes-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  border-top: 1px solid var(--border-light);
  padding-top: 28px;
}

.stat-item-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.stat-item-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted-light);
}

.quienes-media-card {
  background-color: #121212;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-dark);
  position: relative;
  min-height: 380px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 24px;
}

.accent-square-red {
  width: 48px;
  height: 48px;
  background-color: var(--brand-red);
  position: relative;
  z-index: 2;
}

/* MISIÓN Y VISIÓN GRID */
.mision-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 80px;
}

.mv-card {
  padding: 44px;
  border-radius: var(--radius-lg);
}

.mv-card.dark {
  background-color: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  color: var(--text-white);
}

.mv-card.light {
  background-color: var(--bg-white-card);
  border: 1px solid var(--border-light);
  color: var(--text-dark);
}

.mv-title {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.35;
  margin-top: 16px;
}

/* VALORES GRID */
.valores-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.valor-card {
  background-color: var(--bg-white-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px 24px;
}

.valor-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.valor-desc {
  font-size: 0.875rem;
  color: var(--text-muted-light);
  line-height: 1.5;
}

/* PASOS GRID */
.pasos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.paso-card {
  border-top: 2px solid var(--border-dark);
  padding-top: 24px;
}

.paso-num {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--brand-red);
  margin-bottom: 12px;
}

.paso-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 8px;
}

.paso-desc {
  font-size: 0.875rem;
  color: var(--text-muted-dark);
  line-height: 1.5;
}

/* ==========================================================================
   PAGE 3: CONTACTO
   ========================================================================== */

.contact-hero {
  padding: 60px 0 40px 0;
}

.contact-hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.contact-hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted-dark);
  max-width: 600px;
  margin-bottom: 48px;
}

.contact-main-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 32px;
  align-items: start;
}

.contact-form-card {
  background-color: var(--bg-white-card);
  color: var(--text-dark);
  border-radius: var(--radius-lg);
  padding: 48px;
  border: 1px solid var(--border-light);
}

.contact-form-title {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 32px;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.form-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #444;
}

.form-input, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid #D1D1D6;
  background-color: #FAFAFA;
  color: var(--text-dark);
  outline: none;
  transition: var(--transition);
}

.form-input:focus, .form-textarea:focus {
  border-color: var(--brand-red);
  background-color: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(227, 27, 35, 0.1);
}

.topic-pills-container {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.topic-pill {
  padding: 8px 16px;
  border-radius: var(--radius-full);
  border: 1px solid #D1D1D6;
  background-color: #FFFFFF;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #444;
  cursor: pointer;
  transition: var(--transition);
}

.topic-pill:hover,
.topic-pill.active {
  background-color: var(--text-dark);
  border-color: var(--text-dark);
  color: var(--text-white);
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
}

.checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--brand-red);
  cursor: pointer;
}

.checkbox-group label {
  font-size: 0.8125rem;
  color: var(--text-muted-light);
  cursor: pointer;
}

.contact-info-card {
  background-color: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 40px;
  color: var(--text-white);
}

.contact-info-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 32px;
}

.info-item {
  margin-bottom: 28px;
}

.info-item-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-red);
  margin-bottom: 6px;
}

.info-item-value {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--text-white);
}

.map-box-container {
  margin-top: 32px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-dark);
  height: 200px;
  background-color: #1A1A1A;
  position: relative;
}

.map-placeholder-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

.map-pin-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--brand-red);
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(227, 27, 35, 0.4);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  background-color: var(--bg-black);
  color: var(--text-white);
  border-top: 1px solid var(--border-dark);
  padding: 80px 0 40px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 64px;
}

.footer-brand .logo {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 16px;
  display: block;
}

.footer-logo-img {
  height: 42px;
  width: auto;
  border-radius: 6px;
  display: block;
  object-fit: contain;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--text-muted-dark);
  line-height: 1.6;
  max-width: 280px;
}

.footer-col-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.footer-links a:hover {
  color: var(--text-white);
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.875rem;
  color: var(--text-muted-dark);
}

.footer-bottom {
  border-top: 1px solid var(--border-dark);
  padding-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--text-muted-dark);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */

/* ==========================================================================
   OPTIMIZACIÓN RESPONSIVA 100% PARA DISPOSITIVOS MÓVILES (320px - 1024px)
   ========================================================================== */

/* Prevenir overflow horizontal global en moviles */
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
  position: relative;
}

img, svg, video, iframe {
  max-width: 100%;
  height: auto;
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-left {
    padding: 40px 0 20px;
  }

  .hero-right {
    min-height: auto;
  }

  .section-header-split,
  .negocios-grid,
  .quienes-somos-grid,
  .mision-vision-grid,
  .contact-main-grid,
  .about-header-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

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

@media (max-width: 768px) {
  /* iOS Input Auto-Zoom Fix */
  input, select, textarea {
    font-size: 16px !important;
  }

  /* Header & Navigation Menu Drawer */
  .site-header {
    padding: 12px 0;
  }

  .header-inner {
    position: relative;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 66px;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: calc(100vh - 66px);
    background-color: rgba(13, 13, 13, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-dark);
    flex-direction: column;
    padding: 32px 24px;
    gap: 20px;
    z-index: 9999;
    overflow-y: auto;
  }

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

  .nav-link {
    font-size: 1.125rem;
    font-weight: 700;
    padding: 10px 0;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .mobile-toggle {
    display: flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }

  .hero-title {
    font-size: clamp(1.85rem, 7vw, 2.5rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
  }

  .hero-subtitle {
    font-size: 0.9375rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .hero-actions .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 14px 20px;
  }

  .about-main-title,
  .contact-hero-title {
    font-size: 2.125rem;
  }

  .cta-banner-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .form-grid-2,
  .brands-grid,
  .clients-grid,
  .valores-grid,
  .pasos-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  /* Floating Widgets en Movil */
  .whatsapp-float-btn {
    bottom: 16px;
    right: 16px;
    width: 52px;
    height: 52px;
  }

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

  .whatsapp-tooltip {
    display: none !important;
  }

  .meeting-bot-trigger {
    bottom: 78px;
    right: 16px;
    padding: 8px 14px;
    font-size: 0.8125rem;
  }

  .meeting-bot-modal {
    position: fixed;
    bottom: 12px;
    right: 12px;
    left: 12px;
    width: auto;
    max-width: none;
    max-height: 85vh;
    border-radius: 16px;
    z-index: 10001;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .brand-logo-img {
    max-height: 36px;
    width: auto;
  }

  .header-cta .btn {
    padding: 8px 12px;
    font-size: 0.8125rem;
  }

  .hero-section {
    padding: 30px 0 20px;
  }

  .hero-full-img {
    max-height: 260px;
  }

  /* Cinturon Marquee en Pantallas Compactas */
  .brand-marquee-section {
    padding: 12px 0;
  }

  .marquee-circle-badge {
    width: 66px;
    height: 66px;
    padding: 4px;
  }

  .marquee-track {
    gap: 16px;
  }

  .contact-form-card {
    padding: 20px 14px;
  }

  .topic-pills-group {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }

  .topic-pill {
    font-size: 0.78125rem;
    padding: 8px 12px;
  }
}

/* ==========================================================================
   MARCAS PAGE & BRAND SHOWCASE STYLES (ESTILO PROMERCO)
   ========================================================================== */

/* Carrusel Infinito de Marcas (Cinturón Marquee Premium) */
.brand-slider-section {
  background: var(--bg-card);
  padding: 35px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
  position: relative;
}
.brand-slider-section::before,
.brand-slider-section::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}
.brand-slider-section::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-card), transparent);
}
.brand-slider-section::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-card), transparent);
}

.brand-slider-track {
  display: flex;
  width: max-content;
  animation: brandSlide 40s linear infinite;
}
.brand-slider-track:hover {
  animation-play-state: paused;
}
.brand-slider-slide {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-right: 24px;
}

.brand-logo-card {
  height: 64px;
  padding: 8px 20px;
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
  flex-shrink: 0;
}
.brand-logo-card:hover {
  transform: translateY(-4px) scale(1.05);
  border-color: var(--secondary);
  box-shadow: var(--shadow-md);
}
.brand-logo-card img {
  height: 42px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  display: block;
}

@keyframes brandSlide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Selector de Categorías (Pestañas/Tabs) */
.brand-category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 30px;
}
.brand-tab-btn {
  padding: 12px 24px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  background: var(--bg-card);
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}
.brand-tab-btn:hover {
  background: var(--bg-elevated);
  color: var(--text-main);
  border-color: var(--secondary);
}
.brand-tab-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 14px rgba(10, 37, 64, 0.25);
}
[data-theme="dark"] .brand-tab-btn.active {
  background: var(--secondary);
  border-color: var(--secondary);
}

/* Grid de Tarjetas de Marcas */
.brands-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 40px;
}
.brand-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
  position: relative;
  overflow: hidden;
}
.brand-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-active);
}
.brand-card.hidden {
  display: none !important;
}

.brand-card-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}
.brand-emblem-badge {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}
.brand-category-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--secondary);
  letter-spacing: 0.5px;
}
.brand-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
}
.brand-badge-pill {
  margin-left: auto;
  font-size: 0.6875rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  background: var(--bg-elevated);
  color: var(--text-muted);
  border: 1px solid var(--border-light);
  white-space: nowrap;
}

.brand-description {
  font-size: 0.90rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
}

.brand-products-box {
  background: var(--bg-elevated);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-bottom: 16px;
  border: 1px solid var(--border-light);
}
.brand-products-title {
  font-size: 0.78125rem;
  font-weight: 700;
  color: var(--text-main);
  display: block;
  margin-bottom: 6px;
}
.brand-products-list {
  list-style: none;
  font-size: 0.8125rem;
  color: var(--text-muted);
}
.brand-products-list li {
  margin-bottom: 3px;
}

.brand-channels {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
  margin-top: auto;
}
.channel-chip {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 6px;
  background: var(--bg-subtle);
  color: var(--text-subtle);
}

.brand-card-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}

@media (max-width: 1024px) {
  .brands-showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .brands-showcase-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   FLOATING WIDGETS: WHATSAPP DIRECT & MEETING BOT
   ========================================================================== */

/* 1. Floating WhatsApp Button */
.whatsapp-float-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  background-color: #25D366;
  color: #FFFFFF;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
}

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

.whatsapp-icon-svg {
  width: 32px;
  height: 32px;
  fill: #FFFFFF;
}

.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  background-color: #111111;
  color: #FFFFFF;
  padding: 8px 14px;
  border-radius: var(--radius-md);
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.1);
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition);
}

.whatsapp-float-btn:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* 2. Meeting Bot Floating Trigger */
.meeting-bot-trigger {
  position: fixed;
  bottom: 94px;
  right: 24px;
  z-index: 9998;
  background-color: var(--bg-dark-card);
  color: var(--text-white);
  border: 1px solid var(--border-dark);
  padding: 10px 20px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
}

.meeting-bot-trigger:hover {
  border-color: var(--brand-red);
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(227, 27, 35, 0.25);
}

.meeting-bot-trigger .bot-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #00E676;
  box-shadow: 0 0 10px #00E676;
}

/* 3. Meeting Bot Modal / Drawer */
.meeting-bot-modal {
  position: fixed;
  bottom: 160px;
  right: 24px;
  z-index: 10000;
  width: 380px;
  max-width: calc(100vw - 32px);
  background-color: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(0,0,0,0.8);
  display: none;
  flex-direction: column;
  overflow: hidden;
  transition: var(--transition);
}

.meeting-bot-modal.active {
  display: flex;
  animation: botSlideUp 0.3s ease-out forwards;
}

@keyframes botSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.bot-modal-header {
  background-color: #0D0D0D;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bot-modal-header .title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-white);
  display: flex;
  align-items: center;
  gap: 8px;
}

.bot-modal-close {
  background: none;
  border: none;
  color: var(--text-muted-dark);
  font-size: 1.25rem;
  cursor: pointer;
}

.bot-modal-close:hover {
  color: var(--text-white);
}

.bot-modal-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-height: 480px;
  overflow-y: auto;
}

.bot-step-title {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-red);
}

.bot-option-btn {
  width: 100%;
  padding: 10px 14px;
  background-color: #202020;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  color: var(--text-white);
  font-size: 0.875rem;
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bot-option-btn:hover,
.bot-option-btn.selected {
  border-color: var(--brand-red);
  background-color: rgba(227, 27, 35, 0.1);
  color: var(--text-white);
}

.time-slots-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.time-slot-btn {
  padding: 8px;
  background-color: #202020;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  color: var(--text-white);
  font-size: 0.8125rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.time-slot-btn:hover,
.time-slot-btn.selected {
  border-color: var(--brand-red);
  background-color: var(--brand-red);
  color: #FFFFFF;
}

.bot-confirm-card {
  background-color: #121212;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 16px;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #DDD;
}

/* ==========================================================================
   BRAND CARDS CORPORATE PALETTES
   ========================================================================== */

.brand-card-light.brand-tottus {
  border-left: 4px solid #76BC21;
  color: #559414;
  font-weight: 800;
  background-color: #F6FCF0;
}
.brand-card-light.brand-tottus:hover {
  background-color: #76BC21;
  color: #FFFFFF;
}

.brand-card-light.brand-aldea {
  border-left: 4px solid #6A7B38;
  color: #4D5B25;
  font-weight: 800;
  background-color: #F6F8F0;
}
.brand-card-light.brand-aldea:hover {
  background-color: #6A7B38;
  color: #FFFFFF;
}

.brand-card-light.brand-kios {
  border-left: 4px solid #E31B23;
  color: #E31B23;
  font-weight: 800;
  background-color: #FCF4F4;
}
.brand-card-light.brand-kios:hover {
  background-color: #E31B23;
  color: #FFFFFF;
}

.brand-card-light.brand-delicatto {
  border-left: 4px solid #4A231B;
  color: #4A231B;
  font-weight: 800;
  background-color: #FAF5F4;
}
.brand-card-light.brand-delicatto:hover {
  background-color: #4A231B;
  color: #FFFFFF;
}

.brand-card-light.brand-trebol {
  border-left: 4px solid #00A859;
  color: #00A859;
  font-weight: 800;
  background-color: #F0FCF6;
}
.brand-card-light.brand-trebol:hover {
  background-color: #00A859;
  color: #FFFFFF;
}

.brand-card-light.brand-superofertas {
  border-left: 4px solid #E31B23;
  color: #D11219;
  font-weight: 800;
  background-color: #FCF4F4;
}
.brand-card-light.brand-superofertas:hover {
  background-color: #E31B23;
  color: #FFFFFF;
}

.brand-card-light.brand-ahorraya {
  border-left: 4px solid #0055B8;
  color: #0055B8;
  font-weight: 800;
  background-color: #F2F7FD;
}
.brand-card-light.brand-ahorraya:hover {
  background-color: #0055B8;
  color: #FFFFFF;
}

.brand-card-light.brand-pitachips {
  border-left: 4px solid #D35400;
  color: #D35400;
  font-weight: 800;
  background-color: #FDF6F2;
}
.brand-card-light.brand-pitachips:hover {
  background-color: #D35400;
  color: #FFFFFF;
}

.brand-card-light.brand-michemix {
  border-left: 4px solid #E67E22;
  color: #D35400;
  font-weight: 800;
  background-color: #FDF7F2;
}
.brand-card-light.brand-michemix:hover {
  background-color: #E67E22;
  color: #FFFFFF;
}

.brand-card-light.brand-sourmix {
  border-left: 4px solid #8BC34A;
  color: #689F38;
  font-weight: 800;
  background-color: #F7FCF2;
}
.brand-card-light.brand-sourmix:hover {
  background-color: #8BC34A;
  color: #FFFFFF;
}

.brand-card-light.brand-tetrac {
  border-left: 4px solid #0A2540;
  color: #0A2540;
  font-weight: 800;
  background-color: #F2F5F8;
}
.brand-card-light.brand-tetrac:hover {
  background-color: #0A2540;
  color: #FFFFFF;
}

/* ==========================================================================
   CINTURÓN DE MARCAS EN MOVIMIENTO (INFINITE LOGO MARQUEE)
   ========================================================================== */

.brand-marquee-section {
  background-color: #FFFFFF;
  border-top: 2px solid #E5E5E5;
  border-bottom: 2px solid #E5E5E5;
  padding: 16px 0;
  overflow: hidden;
  position: relative;
  z-index: 10;
  box-shadow: inset 0 2px 8px rgba(0,0,0,0.04);
}

.marquee-track-container {
  display: flex;
  overflow: hidden;
  user-select: none;
  mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 24px;
  width: max-content;
  animation: infiniteMarquee 35s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

@keyframes infiniteMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Insignias Circulares de Marcas */
.marquee-circle-badge {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  font-family: 'Montserrat', sans-serif;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
  padding: 6px;
  box-sizing: border-box;
}

.marquee-circle-badge:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
  z-index: 5;
}

/* 1. Tottus */
.marquee-circle-badge.badge-tottus {
  background: #76BC21;
  color: #FFFFFF;
}
.badge-tottus .tottus-dots {
  display: flex;
  gap: 2px;
  margin-bottom: 2px;
}
.badge-tottus .dot {
  width: 4px;
  height: 4px;
  background: #FFFFFF;
  border-radius: 50%;
}
.badge-tottus .name {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.5px;
}

/* 2. Aldea Nativa */
.marquee-circle-badge.badge-aldea {
  background: #4A5D23;
  color: #FFFFFF;
}
.badge-aldea .leaf {
  font-size: 14px;
  line-height: 1;
}
.badge-aldea .name {
  font-size: 9px;
  font-weight: 700;
  line-height: 1.05;
  text-transform: lowercase;
}

/* 3. Kios Club */
.marquee-circle-badge.badge-kios {
  background: #E31B23;
  color: #FFFFFF;
}
.badge-kios .main {
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.5px;
}
.badge-kios .sub {
  font-size: 9px;
  font-style: italic;
  font-weight: 600;
  line-height: 1;
}
.badge-kios .stars {
  font-size: 7px;
  color: #FFD700;
  line-height: 1;
  margin-top: 2px;
}

/* 4. Delicatto */
.marquee-circle-badge.badge-delicatto {
  background: #3D1C14;
  border: 2px solid #C28574;
  color: #F5D6C6;
}
.badge-delicatto .name {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
}

/* 5. Trébol */
.marquee-circle-badge.badge-trebol {
  background: #009A44;
  color: #FFFFFF;
}
.badge-trebol .clover {
  font-size: 14px;
  line-height: 1;
}
.badge-trebol .name {
  font-size: 11px;
  font-weight: 800;
  text-transform: lowercase;
}

/* 6. Super Ofertas */
.marquee-circle-badge.badge-superofertas {
  background: #D32F2F;
  color: #FFFFFF;
}
.badge-superofertas .cart {
  font-size: 13px;
  line-height: 1;
}
.badge-superofertas .name {
  font-size: 8px;
  font-weight: 900;
  line-height: 1;
  margin-top: 2px;
}

/* 7. Ahorra Ya! */
.marquee-circle-badge.badge-ahorraya {
  background: #0055B8;
  color: #FFFFFF;
}
.badge-ahorraya .name {
  font-size: 8.5px;
  font-weight: 900;
  line-height: 1.05;
}
.badge-ahorraya .smile {
  font-size: 11px;
  color: #FFD700;
  line-height: 1;
}

/* 8. Pita Chips (5 Sabores) */
.pita-badge-content .title {
  font-size: 7.5px;
  font-weight: 900;
  letter-spacing: 0.3px;
  line-height: 1;
  display: block;
}
.pita-badge-content .sub {
  font-size: 7px;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.1;
  margin-top: 2px;
  display: block;
  background: rgba(0,0,0,0.25);
  padding: 1px 4px;
  border-radius: 4px;
}

.badge-pita-orig {
  background: #D35400;
  color: #FFFFFF;
}
.badge-pita-tomate {
  background: #C0392B;
  color: #FFFFFF;
}
.badge-pita-cebolla {
  background: #7D3C98;
  color: #FFFFFF;
}
.badge-pita-curcuma {
  background: #D4AC0D;
  color: #FFFFFF;
}
.badge-pita-jalapeno {
  background: #1E8449;
  color: #FFFFFF;
}

/* 9. Miche Mix */
.marquee-circle-badge.badge-michemix {
  background: #C0392B;
  color: #FFFFFF;
}
.badge-michemix .icon {
  font-size: 13px;
  line-height: 1;
}
.badge-michemix .name {
  font-size: 8.5px;
  font-weight: 900;
  line-height: 1;
}

/* 10. Sour Mix */
.marquee-circle-badge.badge-sourmix {
  background: #7CB342;
  color: #FFFFFF;
}
.badge-sourmix .icon {
  font-size: 13px;
  line-height: 1;
}
.badge-sourmix .name {
  font-size: 8.5px;
  font-weight: 900;
  line-height: 1;
}

/* 11. Tetra-C */
.marquee-circle-badge.badge-tetrac {
  background: #0A192F;
  border: 2px solid #00E5FF;
  color: #00E5FF;
}
.badge-tetrac .cube {
  font-size: 13px;
  line-height: 1;
}
.badge-tetrac .name {
  font-size: 9.5px;
  font-weight: 900;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   BRAND BANNER SHOWCASE SLIDER (SLIDER HORIZONTAL DE MARCAS Y PRODUCTOS)
   ========================================================================== */
.brand-banner-slider {
  position: relative;
  width: 100%;
  height: 460px;
  margin-bottom: 32px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
  background-color: #0B0B0B;
}

.slider-track-container {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.slider-track {
  display: flex;
  height: 100%;
  width: 500%; /* 5 slides x 100% */
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.banner-slide-card {
  width: 20%; /* 100% / 5 */
  height: 100%;
  flex-shrink: 0;
  padding: 16px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0B0B0B;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px;
  box-sizing: border-box;
}

.slide-card-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.4s ease;
  border-radius: var(--radius-sm);
}

.slide-card-img.full-cover {
  object-fit: contain;
}

.slide-card-inner:hover .slide-card-img {
  transform: scale(1.02);
}

/* Badge de Marca en cada Slide */
.slide-card-badge {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(13, 13, 13, 0.85);
  color: var(--text-white);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  border: 1px solid var(--brand-red);
  box-shadow: 0 4px 14px rgba(227, 27, 35, 0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Controls */
.banner-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(13, 13, 13, 0.75);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.banner-slider-btn:hover {
  background: var(--brand-red);
  border-color: var(--brand-red);
  box-shadow: 0 6px 20px rgba(227, 27, 35, 0.5);
  transform: translateY(-50%) scale(1.08);
}

.banner-slider-btn.prev-btn { left: 20px; }
.banner-slider-btn.next-btn { right: 20px; }

/* Dots */
.banner-slider-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 8px;
  background: rgba(13, 13, 13, 0.65);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.banner-slider-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: var(--transition);
}

.banner-slider-dots .dot.active {
  background: var(--brand-red);
  width: 28px;
  border-radius: 6px;
}

@media (max-width: 768px) {
  .brand-banner-slider { height: 340px; }
  .banner-slide-card { padding: 8px; }
  .banner-slider-btn { width: 38px; height: 38px; font-size: 1rem; }
  .banner-slider-btn.prev-btn { left: 10px; }
  .banner-slider-btn.next-btn { right: 10px; }
}

@media (max-width: 480px) {
  .brand-banner-slider { height: 260px; }
  .slide-card-badge { font-size: 0.6875rem; padding: 4px 10px; bottom: 10px; right: 10px; }
}

/* FOOTER BOTTOM & ADMIN ACCESS LINK */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  margin-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-access-link {
  color: #6B7280;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.admin-access-link:hover {
  color: #FF4D4D;
  background: rgba(230, 0, 0, 0.12);
}

/* TOPIC PILLS (SECCIÓN CONTACTO) */
.topic-pills-container {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
  margin-bottom: 12px;
}

.topic-pill {
  background: #FFFFFF;
  border: 1.5px solid #E5E7EB;
  color: #374151;
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  outline: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.topic-pill:hover {
  border-color: #111827;
  color: #111827;
}

.topic-pill.active {
  background: #111827;
  border-color: #111827;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.section-dark .topic-pill {
  background: transparent;
  border: 1.5px solid #333344;
  color: #E5E7EB;
}

.section-dark .topic-pill:hover {
  border-color: #E60000;
  color: #FFFFFF;
}

.section-dark .topic-pill.active {
  background: #000000;
  border-color: #000000;
  color: #FFFFFF;
}

/* Explicit override for light card inside section-dark */
.contact-form-card .topic-pill:not(.active) {
  background: #FFFFFF !important;
  border: 1.5px solid #D1D5DB !important;
  color: #111827 !important;
}

.contact-form-card .topic-pill:hover:not(.active) {
  border-color: #111827 !important;
  color: #111827 !important;
}

.contact-form-card .topic-pill.active {
  background: #111827 !important;
  border-color: #111827 !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

