/* =============================================
   Lácteos Portal — Premium Brand Styles
   Color Palette:
     Espresso:    #1C0800
     Dark Brown:  #3D1E0A
     Med Brown:   #6B3A1F
     Amber:       #D4940A
     Golden:      #F5C842
     Cream:       #FFF8F0
     Light Cream: #FEFBF5
     White:       #FFFFFF
   ============================================= */

/* =============================================
   1. CSS CUSTOM PROPERTIES
   ============================================= */
:root {
  --espresso:      #1C0800;
  --dark-brown:    #3D1E0A;
  --med-brown:     #6B3A1F;
  --amber:         #D4940A;
  --golden:        #F5C842;
  --cream:         #FFF8F0;
  --cream-light:   #FEFBF5;
  --white:         #FFFFFF;
  --text-dark:     #1C0800;
  --text-mid:      #6B3A1F;
  --text-muted:    #9B7B5A;

  --grad-dark:     linear-gradient(135deg, #1C0800 0%, #3D1E0A 50%, #6B3A1F 100%);
  --grad-amber:    linear-gradient(135deg, #D4940A 0%, #F5C842 100%);
  --grad-golden:   linear-gradient(135deg, #F5C842 0%, #D4940A 100%);
  --grad-espresso: linear-gradient(135deg, #0F0400 0%, #1C0800 50%, #3D1E0A 100%);

  --shadow-sm:  0 2px 10px rgba(28,8,0,0.08);
  --shadow-md:  0 6px 30px rgba(28,8,0,0.14);
  --shadow-lg:  0 16px 60px rgba(28,8,0,0.22);
  --shadow-xl:  0 30px 100px rgba(28,8,0,0.30);
  --shadow-glow: 0 0 40px rgba(212,148,10,0.35);

  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-xl:  32px;
  --radius-full: 9999px;

  --transition-fast:   all 0.18s ease;
  --transition:        all 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow:   all 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

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

body {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--espresso);
}

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

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

/* =============================================
   3. CUSTOM SCROLLBAR
   ============================================= */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb {
  background: var(--grad-amber);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover { background: var(--amber); }

/* =============================================
   4. KEYFRAME ANIMATIONS
   ============================================= */

/* Slow border rotation */
@keyframes rotateBorder {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Float up/down */
@keyframes floatCard {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-12px); }
}

/* Pulse blob */
@keyframes pulsBlob {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50%       { transform: scale(1.12); opacity: 0.75; }
}

/* Shimmer */
@keyframes shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}

/* WhatsApp pulse */
@keyframes waPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  50%       { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
}

/* Badge shimmer */
@keyframes badgeShimmer {
  0%   { background-position: 200% center; }
  100% { background-position: -200% center; }
}

/* Slide dots blink */
@keyframes dotBlink {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.4); }
}

/* Fade in up */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Number counter pop */
@keyframes statPop {
  0%   { transform: scale(0.8); opacity: 0; }
  70%  { transform: scale(1.06); }
  100% { transform: scale(1); opacity: 1; }
}

/* =============================================
   5. UTILITY CLASSES
   ============================================= */
.text-primary-custom { color: var(--amber) !important; }

.btn-primary-custom {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  background: var(--grad-amber);
  color: var(--espresso);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition-bounce);
  box-shadow: 0 8px 28px rgba(212,148,10,0.40);
  letter-spacing: 0.3px;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}
.btn-primary-custom::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.25), transparent 60%);
  opacity: 0;
  transition: var(--transition-fast);
}
.btn-primary-custom:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 14px 42px rgba(212,148,10,0.55);
  color: var(--espresso);
}
.btn-primary-custom:hover::before { opacity: 1; }

.section-padding { padding: 90px 0; }

/* =============================================
   6. SECTION HEADER
   ============================================= */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 52px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 20px;
  background: linear-gradient(
    270deg,
    rgba(245,200,66,0.18),
    rgba(212,148,10,0.25),
    rgba(245,200,66,0.18)
  );
  background-size: 400% auto;
  border: 1.5px solid rgba(212,148,10,0.45);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 16px;
  animation: badgeShimmer 4s linear infinite;
}

.section-line {
  width: 56px;
  height: 3px;
  background: var(--grad-amber);
  border-radius: var(--radius-full);
  margin: 12px auto 18px;
}

.section-title {
  font-size: 2.62rem;
  font-weight: 900;
  color: var(--espresso);
  margin-bottom: 14px;
  line-height: 1.15;
}

.section-subtitle {
  font-size: 1.06rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-weight: 400;
}

/* =============================================
   7. NAVBAR
   ============================================= */
.navbar-portal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1050;
  padding: 18px 0;
  background: transparent;
  transition: var(--transition);
}

.navbar-portal .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: nowrap;
}

.navbar-portal.scrolled {
  background: var(--white);
  padding: 10px 0;
  box-shadow: 0 4px 30px rgba(28,8,0,0.14);
}

/* Brand */
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--white);
  text-decoration: none;
  transition: var(--transition-fast);
  flex-shrink: 0;
}
.navbar-portal.scrolled .navbar-brand { color: var(--espresso); }
.navbar-brand:hover { opacity: 0.88; color: inherit; }

.navbar-logo {
  width: 42px;
  height: 42px;
  background: var(--grad-amber);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  box-shadow: 0 4px 16px rgba(212,148,10,0.45);
  flex-shrink: 0;
  transition: var(--transition-bounce);
}
.navbar-logo:hover { transform: rotate(-8deg) scale(1.1); }

/* Nav links */
.navbar-portal .navbar-nav { gap: 4px; }

.navbar-portal .nav-link {
  font-weight: 600;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.92) !important;
  padding: 6px 14px !important;
  position: relative;
  transition: var(--transition-fast);
  letter-spacing: 0.2px;
}
.navbar-portal.scrolled .nav-link { color: var(--med-brown) !important; }

.navbar-portal .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--grad-amber);
  border-radius: var(--radius-full);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.navbar-portal .nav-link:hover::after,
.navbar-portal .nav-link.active::after { transform: scaleX(1); }
.navbar-portal .nav-link:hover { color: var(--golden) !important; }
.navbar-portal.scrolled .nav-link:hover { color: var(--amber) !important; }

/* Cart button */
.cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: rgba(212,148,10,0.18);
  border: 1.5px solid rgba(212,148,10,0.45);
  border-radius: 50%;
  color: var(--golden);
  font-size: 1.05rem;
  cursor: pointer;
  transition: var(--transition-bounce);
  flex-shrink: 0;
  text-decoration: none;
}
.cart-btn:hover {
  background: var(--grad-amber);
  color: var(--espresso);
  border-color: transparent;
  transform: scale(1.12);
  box-shadow: var(--shadow-glow);
}
.navbar-portal.scrolled .cart-btn {
  background: rgba(212,148,10,0.12);
  color: var(--amber);
}

.cart-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  background: var(--grad-amber);
  color: var(--espresso);
  font-size: 0.62rem;
  font-weight: 800;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--white);
  line-height: 1;
}

/* Intranet / Login buttons */
.btn-intranet {
  padding: 8px 20px;
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.45);
  border-radius: var(--radius-full);
  color: rgba(255,255,255,0.9) !important;
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
}
.btn-intranet:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.75);
  color: var(--white) !important;
}
.navbar-portal.scrolled .btn-intranet {
  border-color: rgba(28,8,0,0.30);
  color: var(--med-brown) !important;
}
.navbar-portal.scrolled .btn-intranet:hover {
  background: var(--cream);
  border-color: var(--amber);
  color: var(--amber) !important;
}

.btn-login-nav {
  padding: 6px 14px;
  background: var(--grad-amber);
  border: none;
  border-radius: var(--radius-full);
  color: var(--espresso) !important;
  font-size: 0.78rem;
  font-weight: 700;
  transition: var(--transition-bounce);
  text-decoration: none;
  box-shadow: 0 3px 12px rgba(212,148,10,0.35);
  white-space: nowrap;
}
.btn-login-nav:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 20px rgba(212,148,10,0.52);
  color: var(--espresso) !important;
}
@media (max-width: 991px) {
  .btn-login-nav .btn-login-text { display: none; }
  .btn-login-nav i { margin-right: 0 !important; }
  .btn-login-nav { padding: 7px 10px; }
}

/* Toggler */
.navbar-toggler {
  border: 1.5px solid rgba(255,255,255,0.45) !important;
  border-radius: var(--radius-sm) !important;
  padding: 6px 10px !important;
  background: transparent !important;
  transition: var(--transition-fast) !important;
  flex-shrink: 0;
}
.navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(212,148,10,0.35) !important; }
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255%2C255%2C255%2C0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}
.navbar-portal.scrolled .navbar-toggler {
  border-color: rgba(28,8,0,0.30) !important;
}
.navbar-portal.scrolled .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2828%2C8%2C0%2C0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* =============================================
   7b. MOBILE SIDEBAR DRAWER
   ============================================= */

/* Overlay backdrop */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 2000;
  transition: opacity 0.3s;
  opacity: 0;
}
.mobile-nav-overlay.open {
  display: block;
  opacity: 1;
}

/* Sidebar panel */
.mobile-nav-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 280px;
  max-width: 85vw;
  background: var(--espresso);
  z-index: 2100;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(0.4,0,0.2,1);
  display: flex;
  flex-direction: column;
  box-shadow: 6px 0 30px rgba(0,0,0,0.35);
}
.mobile-nav-sidebar.open {
  transform: translateX(0);
}

/* Sidebar header */
.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  flex-shrink: 0;
}
.mobile-nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.mobile-nav-brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(212,148,10,0.18);
  border: 1px solid rgba(212,148,10,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--golden);
  font-size: 1rem;
  flex-shrink: 0;
}
.mobile-nav-brand img {
  height: 36px;
  width: auto;
  object-fit: contain;
  border-radius: 8px;
}
.mobile-nav-brand-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  color: #fff;
  line-height: 1.2;
}
.mobile-nav-brand-sub {
  font-size: 0.68rem;
  color: var(--golden);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.mobile-nav-close {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.75);
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  transition: var(--transition-fast);
  flex-shrink: 0;
}
.mobile-nav-close:hover {
  background: rgba(212,148,10,0.2);
  color: var(--golden);
  border-color: rgba(212,148,10,0.4);
}

/* Sidebar links */
.mobile-nav-links {
  flex: 1;
  overflow-y: auto;
  padding: 12px 0;
}
.mobile-nav-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 20px;
  color: rgba(255,255,255,0.82) !important;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  transition: var(--transition-fast);
  border-left: 3px solid transparent;
}
.mobile-nav-links a:hover {
  background: rgba(212,148,10,0.12);
  color: var(--golden) !important;
  border-left-color: var(--golden);
}
.mobile-nav-links a i {
  width: 20px;
  text-align: center;
  color: var(--golden);
  font-size: 0.85rem;
}
.mobile-nav-divider {
  height: 1px;
  background: rgba(255,255,255,0.10);
  margin: 10px 20px;
}

/* Sidebar footer */
.mobile-nav-footer {
  padding: 16px 20px;
  border-top: 1px solid rgba(255,255,255,0.12);
  flex-shrink: 0;
}
.mobile-nav-footer a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  background: var(--grad-amber);
  color: var(--espresso) !important;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  box-shadow: 0 3px 12px rgba(212,148,10,0.35);
  transition: var(--transition-bounce);
}
.mobile-nav-footer a:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212,148,10,0.52);
}

/* =============================================
   8. HERO SECTION
   ============================================= */
#hero,
.hero-section {
  position: relative;
  background: var(--grad-dark);
  overflow: hidden;
  padding-top: 90px;
  padding-bottom: 80px;
  display: block;
}

/* Texture overlay */
.hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(245,200,66,0.08) 1px, transparent 1px),
    radial-gradient(circle, rgba(212,148,10,0.05) 1px, transparent 1px);
  background-size: 40px 40px, 80px 80px;
  background-position: 0 0, 20px 20px;
  pointer-events: none;
  z-index: 0;
}

/* Decorative blobs */
.hero-shape-1,
.hero-shape-2,
.hero-shape-3 {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  animation: pulsBlob 6s ease-in-out infinite;
  z-index: 0;
}
.hero-shape-1 {
  width: 520px; height: 520px;
  top: -120px; left: -160px;
  background: radial-gradient(circle, rgba(212,148,10,0.20) 0%, transparent 70%);
  animation-delay: 0s;
}
.hero-shape-2 {
  width: 400px; height: 400px;
  bottom: -80px; right: -100px;
  background: radial-gradient(circle, rgba(245,200,66,0.15) 0%, transparent 70%);
  animation-delay: 2.5s;
}
.hero-shape-3 {
  width: 300px; height: 300px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(107,58,31,0.25) 0%, transparent 70%);
  animation-delay: 1.2s;
}

.hero-section .container,
#hero .container { position: relative; z-index: 2; }

/* Hero badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 22px;
  border: 1.5px solid rgba(245,200,66,0.55);
  background: rgba(245,200,66,0.10);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--golden);
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: fadeInUp 0.7s ease both;
}
.hero-badge i { color: var(--golden); font-size: 0.85rem; }

/* Hero title */
.hero-title {
  font-size: 4.5rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 22px;
  letter-spacing: -1.5px;
  animation: fadeInUp 0.8s ease 0.15s both;
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--golden) 0%, var(--amber) 50%, var(--golden) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Hero subtitle */
.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 520px;
  animation: fadeInUp 0.8s ease 0.3s both;
  font-weight: 400;
}

/* Hero buttons */
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  animation: fadeInUp 0.8s ease 0.45s both;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 38px;
  background: var(--grad-amber);
  color: var(--espresso);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition-bounce);
  box-shadow: 0 10px 36px rgba(212,148,10,0.50);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.2px;
}
.btn-hero-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.28), transparent 60%);
  opacity: 0;
  transition: var(--transition-fast);
}
.btn-hero-primary:hover {
  transform: translateY(-5px) scale(1.04);
  box-shadow: 0 20px 56px rgba(212,148,10,0.65);
  color: var(--espresso);
}
.btn-hero-primary:hover::before { opacity: 1; }

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 36px;
  background: rgba(255,255,255,0.08);
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border: 1.5px solid rgba(255,255,255,0.30);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition-bounce);
  text-decoration: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  letter-spacing: 0.2px;
}
.btn-hero-secondary:hover {
  background: rgba(255,255,255,0.16);
  border-color: rgba(245,200,66,0.65);
  color: var(--golden);
  transform: translateY(-4px);
}

/* Hero visual — contenedor full-width */
.hero-visual-full {
  position: relative;
  width: 100%;
  margin-bottom: 0;
  animation: fadeInUp 0.7s ease 0.1s both;
}

/* Main image banner (full-width rectangle) */
.hero-circle-main {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 6.5;
  min-height: 290px;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero-circle-main::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--golden), var(--amber), var(--golden));
  z-index: 3;
}
.hero-circle-main::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 40%, rgba(61,30,10,0.6) 0%, rgba(28,8,0,0.85) 100%);
  z-index: 1;
}

/* Slide track / slide fallback (llenan todo el rectángulo) */
.hero-slide-track,
.hero-slide-fallback {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
}

/* Cada slide ocupa todo el espacio y se oculta por defecto */
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
  z-index: 1;
}
.hero-slide.active {
  opacity: 1;
  z-index: 2;
}
.hero-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Título del slide */
.hero-slide-title {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 14px 20px;
  background: linear-gradient(to top, rgba(28,8,0,0.75) 0%, transparent 100%);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  z-index: 3;
}

/* Fallback (icono queso cuando no hay imágenes) */
.hero-slide-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-slide-fallback.hidden { display: none; }

.hero-slide-fallback img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Fallback icon */
.hero-icon-main {
  position: relative;
  z-index: 2;
  font-size: 8rem;
  color: rgba(245,200,66,0.75);
  filter: drop-shadow(0 0 40px rgba(245,200,66,0.50));
}

/* Slide dots */
.hero-slide-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}
.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.40);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}
.hero-dot.active {
  background: var(--golden);
  transform: scale(1.35);
}

/* Floating cards */
.hero-floating-card {
  position: absolute;
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 32px rgba(28,8,0,0.30);
  z-index: 4;
  animation: floatCard 4s ease-in-out infinite;
  min-width: 160px;
}
.hero-floating-card .fc-icon {
  width: 40px; height: 40px;
  background: var(--grad-amber);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}
.hero-floating-card .fc-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
  line-height: 1.3;
}
.hero-floating-card .fc-value {
  font-size: 0.95rem;
  color: var(--white);
  font-weight: 700;
  line-height: 1;
}

.card-1 { top: 20%; left: 32px; animation-delay: 0s; }
.card-2 { top: 20%; right: 32px; animation-delay: 1.4s; }
.card-3 { bottom: 20%; right: 32px; animation-delay: 0.8s; }

/* Texto debajo del rectángulo */
.hero-text-below {
  text-align: center;
  padding: 48px 16px 16px;
}
.hero-text-below .hero-badge {
  justify-content: center;
  margin: 0 auto 18px;
}
.hero-text-below .hero-title {
  margin-bottom: 16px;
}
.hero-text-below .hero-subtitle {
  max-width: 620px;
  margin: 0 auto 28px;
}
.hero-text-below .hero-buttons {
  justify-content: center;
}

/* =============================================
   8b. HERO TIPOS 1 extra / 2 / 3 / 4
   ============================================= */

/* ─────────────────────────────────────────────
   HERO 1 extra: stats inline + overline
───────────────────────────────────────────── */
.h1-overline { display: none; } /* solo decorativo, oculto — el badge lo reemplaza */

.h1-inline-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.10);
}
.h1-istat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 32px;
}
.h1-istat:first-child { padding-left: 0; }
.h1-istat:last-child  { padding-right: 0; }
.h1-istat-num {
  font-family: 'Poppins', sans-serif;
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--golden);
  line-height: 1;
  letter-spacing: -1px;
}
.h1-istat-lbl {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.5);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-top: 4px;
  white-space: nowrap;
}
.h1-istat-sep {
  width: 1px; height: 40px;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
}

/* ─────────────────────────────────────────────
   HERO 2 — Split: Texto izquierda | Imagen derecha
───────────────────────────────────────────── */
.hero-tipo-2 { padding-bottom: 80px; }

/* Barra vertical decorativa izquierda */
.h2-accent-bar {
  position: absolute;
  left: 0; top: 15%; bottom: 15%;
  width: 4px;
  background: linear-gradient(to bottom, transparent, var(--amber) 35%, var(--golden) 65%, transparent);
  border-radius: 2px;
  z-index: 1;
  opacity: 0.65;
}

.h2-row {
  display: flex;
  align-items: center;
  gap: 64px;
  min-height: 620px;
  padding: 64px 0 48px;
}
.h2-text  { flex: 1; min-width: 0; }
.h2-media { flex: 1; min-width: 0; position: relative; }

/* Overline */
.h2-overline {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--amber);
  text-transform: uppercase;
  letter-spacing: 2.5px;
  margin-bottom: 18px;
}
.h2-overline span {
  flex: 1;
  height: 1.5px;
  background: linear-gradient(to right, var(--amber), transparent);
  max-width: 40px;
}

/* Title */
.h2-title { font-size: 3.8rem; line-height: 1.05; margin-bottom: 22px; }

/* Stats row */
.h2-stats-row {
  display: flex;
  align-items: center;
  margin-top: 44px;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.10);
}
.h2-stat { display: flex; flex-direction: column; flex: 1; }
.h2-stat-num {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--golden);
  line-height: 1;
  letter-spacing: -1px;
}
.h2-stat-lbl {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.45);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 5px;
}
.h2-stat-sep { width: 1px; height: 44px; background: rgba(255,255,255,0.12); margin: 0 20px; flex-shrink: 0; }

/* Imagen wrap */
.h2-img-wrap { position: relative; overflow: visible; }

.h2-img-glow {
  position: absolute;
  inset: -28px;
  border-radius: 36px;
  background: radial-gradient(ellipse at 60% 50%, rgba(212,148,10,0.28) 0%, transparent 68%);
  pointer-events: none;
  z-index: 0;
}

.h2-img-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 5 !important;
  min-height: unset !important;
  border-radius: 28px !important;
  overflow: hidden;
  box-shadow: 0 40px 90px rgba(0,0,0,0.55), 0 0 0 1.5px rgba(212,148,10,0.30);
}

/* Badge flotante rating */
.h2-float-badge {
  position: absolute;
  bottom: -22px;
  left: -28px;
  background: rgba(15,4,0,0.88);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(212,148,10,0.38);
  border-radius: 18px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 13px;
  z-index: 5;
  box-shadow: 0 20px 56px rgba(0,0,0,0.45);
  min-width: 165px;
  animation: floatCard 4s ease-in-out infinite;
}
.h2-fb-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, #D4940A 0%, #F5C842 100%);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem; color: #1C0800; flex-shrink: 0;
}
.h2-fb-val { font-family:'Poppins',sans-serif; font-size:0.95rem; font-weight:800; color:#fff; line-height:1.1; }
.h2-fb-lbl { font-size:0.68rem; color:rgba(255,255,255,0.5); font-weight:500; margin-top:2px; }

/* Etiqueta superior sobre imagen */
.h2-img-tag {
  position: absolute;
  top: -16px;
  right: -16px;
  background: linear-gradient(135deg, #D4940A, #F5C842);
  color: #1C0800;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 7px 16px;
  border-radius: 20px;
  z-index: 5;
  box-shadow: 0 8px 24px rgba(212,148,10,0.45);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Patrón puntos decorativo */
.h2-deco-dots {
  position: absolute;
  bottom: -36px;
  right: -36px;
  width: 130px;
  height: 130px;
  background-image: radial-gradient(circle, rgba(212,148,10,0.30) 1.5px, transparent 1.5px);
  background-size: 16px 16px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

/* ─────────────────────────────────────────────
   HERO 3 — Épico: Pantalla completa
───────────────────────────────────────────── */
.hero-tipo-3 {
  padding: 0 !important;
  overflow: hidden;
  position: relative;
}

/* Fondo de imagen — z-index: 1 crea su propio stacking context
   para que las fotos queden detrás de los overlays (z:2) */
.h3-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.h3-bg .hero-slide-track,
.h3-bg .hero-slide-fallback {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.h3-bg .hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
  z-index: 1;
}
.h3-bg .hero-slide.active { opacity: 1; z-index: 2; }
.h3-bg .hero-slide img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.h3-bg .hero-slide-fallback {
  display: flex; align-items: center; justify-content: center;
  background: var(--grad-dark);
}
/* Dots fuera de .h3-bg — z:10, por encima de overlays (z:2) e inner (z:5) */
.hero-tipo-3 > .hero-slide-dots {
  position: absolute;
  bottom: 130px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 8px;
}

/* Capas de oscurecimiento — z:2, encima del fondo (.h3-bg z:1) */
.h3-overlay-top {
  position: absolute;
  top: 0; left: 0; right: 0; height: 240px;
  background: linear-gradient(to bottom, rgba(15,4,0,0.85) 0%, transparent 100%);
  z-index: 2; pointer-events: none;
}
.h3-overlay-vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(0,0,0,0.55) 100%);
  z-index: 2; pointer-events: none;
}
.h3-overlay-bottom {
  position: absolute;
  bottom: 0; left: 0; right: 0; height: 65%;
  background: linear-gradient(to top, rgba(15,4,0,0.95) 0%, rgba(15,4,0,0.55) 40%, transparent 100%);
  z-index: 2; pointer-events: none;
}

/* Wrapper flex que ocupa toda la pantalla */
.h3-inner {
  position: relative;
  z-index: 5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding-top: 110px;
}

/* Contenido central */
.h3-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px 32px;
  max-width: 860px;
  width: 100%;
}
.h3-badge { justify-content: center; margin: 0 auto 28px; }
.h3-title { font-size: 5rem !important; letter-spacing: -2px; line-height: 1.04; }
.h3-subtitle { font-size: 1.2rem; max-width: 580px; margin: 0 auto 36px; }
.h3-btns { justify-content: center; }

/* Barra stats glass abajo */
.h3-stats-bar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 0;
  padding: 22px 24px 32px;
  border-top: 1px solid rgba(255,255,255,0.12);
  background: linear-gradient(to top, rgba(15,4,0,0.80), transparent);
}
.h3-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  padding: 0 20px;
}
.h3-stat-num {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem; font-weight: 800;
  color: var(--golden); line-height: 1;
  letter-spacing: -0.5px;
}
.h3-stat-lbl {
  font-size: 0.68rem; color: rgba(255,255,255,0.5);
  font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.8px; margin-top: 5px; white-space: nowrap;
}
.h3-sep { width: 1px; height: 44px; background: rgba(255,255,255,0.14); flex-shrink: 0; }

/* Scroll down */
.h3-scroll-down {
  position: absolute;
  bottom: 32px; right: 40px;
  z-index: 6;
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  text-decoration: none;
  color: rgba(255,255,255,0.45);
  font-size: 0.65rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2px;
  transition: color 0.2s;
  animation: floatCard 3s ease-in-out infinite;
}
.h3-scroll-down:hover { color: var(--golden); }
.h3-scroll-down i { font-size: 1.1rem; }

/* ─────────────────────────────────────────────
   HERO 4 — Feature: Imagen izquierda | Texto derecha
───────────────────────────────────────────── */
.hero-tipo-4 { padding-bottom: 80px; }

.h4-row {
  display: flex;
  align-items: center;
  gap: 64px;
  min-height: 620px;
  padding: 64px 0 48px;
}
.h4-media { flex: 1; min-width: 0; position: relative; }
.h4-text  { flex: 1; min-width: 0; position: relative; }

/* Imagen wrap */
.h4-img-wrap { position: relative; overflow: visible; }

.h4-img-frame {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 40px 90px rgba(0,0,0,0.55), 0 0 0 1.5px rgba(212,148,10,0.30);
}
.h4-img-inner {
  width: 100%;
  aspect-ratio: 4 / 5 !important;
  min-height: unset !important;
  border-radius: 0 !important;
  overflow: hidden;
}

/* Card flotante */
.h4-float-card {
  position: absolute;
  bottom: -22px; right: -28px;
  background: rgba(15,4,0,0.88);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(212,148,10,0.38);
  border-radius: 18px;
  padding: 14px 20px;
  display: flex; align-items: center; gap: 13px;
  z-index: 5;
  box-shadow: 0 20px 56px rgba(0,0,0,0.45);
  min-width: 170px;
  animation: floatCard 4s ease-in-out infinite 0.8s;
}
.h4-fc-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, #D4940A 0%, #F5C842 100%);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem; color: #1C0800; flex-shrink: 0;
}
.h4-fc-val { font-family:'Poppins',sans-serif; font-size:0.95rem; font-weight:800; color:#fff; line-height:1.1; }
.h4-fc-lbl { font-size:0.68rem; color:rgba(255,255,255,0.5); font-weight:500; margin-top:2px; }

/* Anillo decorativo */
.h4-deco-ring {
  position: absolute;
  top: -22px; left: -22px;
  width: 88px; height: 88px;
  border-radius: 50%;
  border: 2.5px solid rgba(212,148,10,0.28);
  z-index: 0; pointer-events: none;
}
.h4-deco-ring::after {
  content: '';
  position: absolute; inset: 8px;
  border-radius: 50%;
  border: 1.5px dashed rgba(212,148,10,0.18);
}

/* Puntos decorativos */
.h4-deco-dots {
  position: absolute;
  top: -24px; left: -24px;
  width: 110px; height: 110px;
  background-image: radial-gradient(circle, rgba(212,148,10,0.28) 1.5px, transparent 1.5px);
  background-size: 15px 15px;
  pointer-events: none; z-index: 0;
}

/* Número decorativo de fondo */
.h4-bg-num {
  position: absolute;
  top: -30px; right: -10px;
  font-family: 'Poppins', sans-serif;
  font-size: 9rem; font-weight: 900;
  color: rgba(212,148,10,0.055);
  line-height: 1; pointer-events: none; z-index: 0;
  letter-spacing: -5px; user-select: none;
}

/* Title */
.h4-title { font-size: 3.8rem; line-height: 1.05; margin-bottom: 22px; position: relative; z-index: 1; }
.h4-text .hero-badge,
.h4-text .hero-subtitle,
.h4-text .hero-buttons { position: relative; z-index: 1; }

/* Lista features */
.h4-features {
  display: flex; flex-direction: column; gap: 13px;
  margin-bottom: 34px;
  position: relative; z-index: 1;
}
.h4-feat {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.92rem; color: rgba(255,255,255,0.75); font-weight: 500;
}
.h4-feat i { color: var(--golden); font-size: 1.05rem; flex-shrink: 0; }

/* ─────────────────────────────────────────────
   RESPONSIVE — Todos los heroes
───────────────────────────────────────────── */
@media (max-width: 1100px) {
  .h2-title, .h4-title { font-size: 3.2rem; }
  .h3-title { font-size: 4.2rem !important; }
  .h2-row, .h4-row { gap: 44px; }
}

@media (max-width: 991px) {
  /* Stack columns */
  .h2-row { flex-direction: column; min-height: auto; gap: 36px; padding: 44px 0 32px; }
  .h4-row { flex-direction: column-reverse; min-height: auto; gap: 36px; padding: 44px 0 32px; }

  /* Imágenes en tablet: proporción ancho */
  .h2-img-inner, .h4-img-inner { aspect-ratio: 16 / 9 !important; }

  .h2-title, .h4-title { font-size: 2.8rem; }
  .h2-float-badge { bottom: auto; top: -18px; left: auto; right: -12px; }
  .h4-float-card  { right: -12px; }
  .h4-bg-num { display: none; }
  .h2-accent-bar { display: none; }

  /* Hero 3 responsive */
  .h3-title { font-size: 3.4rem !important; }
  .h3-content { padding-bottom: 20px; }
  .h3-stats-bar { flex-wrap: wrap; gap: 4px 0; }
  .h3-stat { min-width: 45%; padding: 10px 12px; }
  .h3-sep:nth-child(4) { display: none; }
  .h3-scroll-down { display: none; }

  /* Hero 1 stats */
  .h1-inline-stats { gap: 0; }
  .h1-istat { padding: 0 20px; }
}

@media (max-width: 767px) {
  .h2-img-inner, .h4-img-inner { aspect-ratio: 4 / 3 !important; }
  .h2-title, .h4-title { font-size: 2.2rem; }
  .h2-float-badge, .h4-float-card { display: none; }
  .h2-img-tag { top: -12px; right: -8px; font-size: 0.65rem; padding: 5px 12px; }
  .h2-stat-num { font-size: 1.55rem; }
  .h2-stat-sep { margin: 0 12px; }

  .h3-title { font-size: 2.6rem !important; }
  .h3-inner { padding-top: 90px; }
  .h3-stat-num { font-size: 1.55rem; }
  .h3-stat { min-width: 50%; }

  .h1-inline-stats { flex-wrap: wrap; }
  .h1-istat { flex: 1 0 45%; padding: 10px 12px; border-top: 1px solid rgba(255,255,255,0.07); margin-top: 0; }
  .h1-istat-sep { display: none; }
}

@media (max-width: 480px) {
  .h2-title, .h4-title { font-size: 1.85rem; }
  .h3-title { font-size: 2rem !important; }
  .h3-btns { flex-direction: column; }
  .h4-deco-dots, .h4-deco-ring, .h2-deco-dots { display: none; }
}

/* =============================================
   9. HERO STATS BAR
   ============================================= */
.hero-stats {
  background: linear-gradient(135deg, #1C0800 0%, #2a1006 50%, #1C0800 100%);
  padding: 32px 0;
  position: relative;
  z-index: 3;
  border-top: 1px solid rgba(212,148,10,0.2);
  border-bottom: 1px solid rgba(212,148,10,0.12);
}
.hero-stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(212,148,10,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  position: relative;
}

.stat-item {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 10px 28px;
  animation: statPop 0.7s ease both;
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(212,148,10,0.15);
  border: 1px solid rgba(212,148,10,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--golden);
  flex-shrink: 0;
}

.stat-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.stat-number {
  display: block;
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--golden);
  line-height: 1;
  font-family: 'Poppins', sans-serif;
  letter-spacing: -1px;
}
.stat-suffix {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--amber);
}

.stat-label {
  display: block;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.50);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 52px;
  background: linear-gradient(to bottom, transparent, rgba(245,200,66,0.50), transparent);
  flex-shrink: 0;
}

/* =============================================
   10. ABOUT SECTION
   ============================================= */
.about-section {
  background: linear-gradient(160deg, #fffdf8 0%, #fdf5e6 50%, #fffaf2 100%);
  position: relative;
  overflow: hidden;
}

/* Decorative shapes */
.about-shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.about-shape-1 {
  width: 500px; height: 500px;
  top: -180px; left: -160px;
  background: radial-gradient(circle, rgba(212,148,10,0.07) 0%, transparent 70%);
}
.about-shape-2 {
  width: 350px; height: 350px;
  bottom: -120px; right: -80px;
  background: radial-gradient(circle, rgba(245,200,66,0.06) 0%, transparent 70%);
}

/* ── Columna izquierda ── */
.about-visual {
  padding-right: 20px;
}

.about-visual-badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(212,148,10,0.10);
  border: 1px solid rgba(212,148,10,0.28);
  color: var(--amber);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 16px; border-radius: var(--radius-full);
  margin-bottom: 20px;
}
.about-badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--amber);
  display: inline-block;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.about-title {
  font-size: 3.2rem;
  font-weight: 900;
  color: var(--espresso);
  line-height: 1.05;
  margin-bottom: 0;
  letter-spacing: -1.5px;
  font-family: 'Poppins', sans-serif;
}
.about-title span {
  background: linear-gradient(135deg, var(--amber), var(--golden));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-title-line {
  width: 56px; height: 4px;
  background: var(--grad-amber);
  border-radius: var(--radius-full);
  margin: 18px 0 20px;
}

.about-desc {
  font-size: 0.97rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 32px;
}

/* ── Highlights ── */
.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 32px;
  border: 1px solid rgba(212,148,10,0.14);
  border-radius: 16px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 4px 20px rgba(28,8,0,0.06);
}
.about-hl {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(212,148,10,0.10);
  transition: var(--transition-fast);
}
.about-hl:last-child { border-bottom: none; }
.about-hl:hover { background: rgba(212,148,10,0.04); }

.about-hl-icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--amber), var(--golden));
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 1rem;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(212,148,10,0.32);
}
.about-hl-body {
  display: flex; flex-direction: column; gap: 2px;
}
.about-hl-body strong {
  font-size: 0.88rem; font-weight: 700; color: var(--espresso);
}
.about-hl-body span {
  font-size: 0.78rem; color: var(--text-muted); line-height: 1.4;
}

/* ── Mini stats ── */
.about-mini-stats {
  display: flex;
  align-items: center;
  gap: 0;
  background: linear-gradient(135deg, #1C0800, #3D1E0A);
  border-radius: 14px;
  padding: 18px 22px;
  box-shadow: 0 8px 28px rgba(28,8,0,0.18);
}
.about-mini-stat {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  text-align: center;
}
.about-mini-num {
  font-size: 1.6rem; font-weight: 900;
  color: var(--golden);
  font-family: 'Poppins', sans-serif;
  line-height: 1;
}
.about-mini-label {
  font-size: 0.67rem; font-weight: 600;
  color: rgba(255,255,255,0.50);
  text-transform: uppercase; letter-spacing: 0.8px;
  line-height: 1.3;
  text-align: center;
}
.about-mini-sep {
  width: 1px; height: 36px;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
}

/* ── Tarjetas derecha ── */
.about-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.about-card-row {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: var(--white);
  border-radius: 18px;
  padding: 24px 26px;
  box-shadow: 0 4px 20px rgba(28,8,0,0.07);
  border: 1px solid rgba(212,148,10,0.10);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
/* Top accent bar */
.about-card-row::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: 18px 18px 0 0;
}
.about-card-row.historia::before { background: linear-gradient(90deg, var(--amber), var(--golden)); }
.about-card-row.mision::before   { background: linear-gradient(90deg, #b89400, var(--amber)); }
.about-card-row.vision::before   { background: linear-gradient(90deg, var(--dark-brown), #7a3e16); }
.about-card-row:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 44px rgba(28,8,0,0.12);
  border-color: rgba(212,148,10,0.24);
}

/* Number label */
.about-card-row-num {
  position: absolute;
  top: 14px; right: 20px;
  font-size: 2.2rem; font-weight: 900;
  color: rgba(212,148,10,0.08);
  font-family: 'Poppins', sans-serif;
  line-height: 1;
  letter-spacing: -2px;
  pointer-events: none;
  transition: var(--transition-fast);
}
.about-card-row:hover .about-card-row-num {
  color: rgba(212,148,10,0.14);
}

/* Icons */
.about-card-row-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  transition: var(--transition-fast);
}
.historia .about-card-row-icon {
  background: linear-gradient(135deg, rgba(212,148,10,0.18), rgba(212,148,10,0.08));
  color: var(--amber);
  border: 1px solid rgba(212,148,10,0.20);
}
.mision .about-card-row-icon {
  background: linear-gradient(135deg, rgba(184,148,0,0.18), rgba(184,148,0,0.07));
  color: #b89400;
  border: 1px solid rgba(184,148,0,0.20);
}
.vision .about-card-row-icon {
  background: linear-gradient(135deg, rgba(61,30,10,0.16), rgba(61,30,10,0.06));
  color: var(--dark-brown);
  border: 1px solid rgba(61,30,10,0.14);
}
.about-card-row:hover .about-card-row-icon {
  transform: scale(1.10) rotate(-3deg);
}

.about-card-row-body { flex: 1; }
.about-card-row-body h4 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--espresso);
  margin-bottom: 7px;
  font-family: 'Poppins', sans-serif;
}
.about-card-row-body p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.72;
  margin: 0;
}

/* =============================================
   11. TEAM SECTION
   ============================================= */
.team-section {
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-light) 100%);
  position: relative;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 24px 28px;
  text-align: center;
  box-shadow: 0 2px 16px rgba(61,30,10,0.08);
  border: 1px solid rgba(212,148,10,0.12);
  transition: var(--transition);
  height: 100%;
  position: relative;
  overflow: hidden;
}
.team-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--amber), var(--golden), var(--amber));
  transform: scaleX(0);
  transition: transform 0.35s ease;
  transform-origin: left;
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(61,30,10,0.14);
  border-color: rgba(212,148,10,0.3);
}
.team-card:hover::after { transform: scaleX(1); }

/* Avatar con iniciales */
.team-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--dark-brown), var(--amber));
  color: #fff;
  font-size: 1.5rem;
  font-weight: 900;
  font-family: 'Poppins', sans-serif;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  box-shadow: 0 6px 20px rgba(212,148,10,0.35);
  position: relative;
}
.team-avatar::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--golden), var(--amber), transparent 60%, var(--golden));
  z-index: -1;
  animation: rotateBorder 5s linear infinite;
}

/* Nombre */
.team-card h5 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--espresso);
  margin-bottom: 6px;
  line-height: 1.3;
}

/* Cargo */
.team-cargo {
  display: inline-block;
  background: rgba(212,148,10,0.1);
  border: 1px solid rgba(212,148,10,0.25);
  color: var(--amber);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 14px;
  border-radius: var(--radius-full);
}

/* =============================================
   12. PRODUCTS SECTION
   ============================================= */
.productos-section {
  background: var(--cream);
  position: relative;
}
.productos-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(212,148,10,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

/* ── Filter buttons ── */
.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 44px;
}
.filter-btn {
  padding: 8px 22px;
  background: var(--white);
  border: 1.5px solid rgba(212,148,10,0.25);
  border-radius: var(--radius-full);
  color: var(--med-brown);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-bounce);
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
.filter-btn:hover {
  background: rgba(212,148,10,0.08);
  border-color: var(--amber);
  color: var(--amber);
  transform: translateY(-2px);
}
.filter-btn.active {
  background: linear-gradient(135deg, var(--dark-brown), var(--amber));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 6px 18px rgba(212,148,10,0.40);
  transform: translateY(-2px);
}

/* ── Tarjetas de producto ── */
.producto-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(61,30,10,0.08);
  border: 1.5px solid rgba(212,148,10,0.10);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}
.producto-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 20px 50px rgba(61,30,10,0.16);
  border-color: rgba(212,148,10,0.30);
}

/* Imagen */
.producto-img-wrapper {
  overflow: hidden;
  height: 200px;
  background: linear-gradient(135deg, #fdf8f3, #fdf0d8);
  position: relative;
  flex-shrink: 0;
}
.producto-img-wrapper img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}
.producto-card:hover .producto-img-wrapper img { transform: scale(1.07); }

/* Placeholder sin imagen */
.producto-img-placeholder {
  width: 100%; height: 200px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #fdf0d8, #fce8bc);
}
.producto-img-placeholder .initial {
  font-size: 3.5rem;
  font-weight: 900;
  font-family: 'Poppins', sans-serif;
  color: var(--amber);
  opacity: 0.55;
}

/* Badge categoría */
.producto-badge-cat {
  position: absolute;
  top: 10px; left: 10px;
  padding: 3px 12px;
  background: rgba(28,8,0,0.72);
  color: var(--golden);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(245,200,66,0.25);
  z-index: 2;
}

/* Badge promoción por vencimiento */
.producto-badge-promo {
  position: absolute;
  bottom: 10px; left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  padding: 4px 14px;
  background: linear-gradient(135deg, #e53935, #ff7043);
  color: #fff;
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 8px rgba(229,57,53,0.45);
  z-index: 3;
}

/* Precio en promoción */
.promo-price {
  color: #e53935;
  font-weight: 800;
}

/* Borde sutil en cards con promo */
.producto-card-promo {
  border: 2px solid rgba(229,57,53,0.25) !important;
  box-shadow: 0 4px 18px rgba(229,57,53,0.12) !important;
}

/* Cuerpo */
.producto-body {
  padding: 18px 18px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.producto-name {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--espresso);
  margin-bottom: 4px;
  line-height: 1.3;
}
.producto-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.55;
  flex: 1;
  margin-bottom: 12px;
}

/* Precio simple */
.producto-price {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--amber);
  font-family: 'Poppins', sans-serif;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}
.producto-price small {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* Selector de unidades */
.producto-unidad-selector { margin-bottom: 12px; }
.btn-unidad {
  flex: 1;
  padding: 6px 8px !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  line-height: 1.4;
  border-color: rgba(212,148,10,0.35) !important;
  color: var(--med-brown) !important;
  background: var(--white) !important;
  transition: var(--transition-fast) !important;
}
.btn-unidad.active {
  background: linear-gradient(135deg, var(--dark-brown), var(--amber)) !important;
  border-color: transparent !important;
  color: #fff !important;
}
.btn-unidad:hover:not(.active) {
  background: rgba(212,148,10,0.08) !important;
  border-color: var(--amber) !important;
  color: var(--amber) !important;
}

/* Botón agregar */
.btn-add-cart {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  padding: 10px 16px;
  background: linear-gradient(135deg, var(--dark-brown), var(--amber));
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition-bounce);
  box-shadow: 0 4px 14px rgba(212,148,10,0.30);
  margin-top: auto;
}
.btn-add-cart:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212,148,10,0.50);
}

/* Ver más */
.btn-ver-mas {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 40px;
  background: var(--white);
  border: 2px solid rgba(212,148,10,0.35);
  border-radius: var(--radius-full);
  color: var(--dark-brown);
  font-size: 0.92rem;
  font-weight: 800;
  cursor: pointer;
  transition: var(--transition-bounce);
  letter-spacing: 0.3px;
  box-shadow: var(--shadow-sm);
}
.btn-ver-mas:hover {
  background: linear-gradient(135deg, var(--dark-brown), var(--amber));
  border-color: transparent;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(212,148,10,0.35);
}

/* =============================================
   14. GALLERY SECTION
   ============================================= */
.galeria-section {
  background: linear-gradient(160deg, #0F0400 0%, #1C0800 50%, #2a1006 100%);
  position: relative;
  overflow: hidden;
}
.galeria-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(212,148,10,0.05) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}

/* Orbs decorativos */
.galeria-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(90px);
  z-index: 0;
}
.galeria-orb-1 {
  width: 500px; height: 500px;
  top: -120px; left: -120px;
  background: radial-gradient(circle, rgba(212,148,10,0.12) 0%, transparent 70%);
}
.galeria-orb-2 {
  width: 380px; height: 380px;
  bottom: -80px; right: -80px;
  background: radial-gradient(circle, rgba(245,200,66,0.10) 0%, transparent 70%);
}
.galeria-orb-3 {
  width: 300px; height: 300px;
  top: 40%; left: 55%;
  background: radial-gradient(circle, rgba(107,58,31,0.20) 0%, transparent 70%);
}

.galeria-section .section-title { color: var(--white); }
.galeria-section .section-subtitle { color: rgba(255,255,255,0.50); }
.galeria-section .section-badge {
  background: rgba(212,148,10,0.15);
  border-color: rgba(212,148,10,0.30);
  color: var(--golden);
}
.galeria-section .section-line { background: rgba(212,148,10,0.30); }
.galeria-section .container { position: relative; z-index: 1; }

/* ── Filtros ── */
.galeria-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 44px;
}
.galeria-filter-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 26px;
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(245,200,66,0.20);
  border-radius: var(--radius-full);
  color: rgba(255,255,255,0.60);
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-bounce);
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
.galeria-filter-btn i { font-size: 0.8rem; }
.galeria-filter-btn:hover {
  background: rgba(212,148,10,0.12);
  border-color: var(--amber);
  color: var(--golden);
  transform: translateY(-2px);
}
.galeria-filter-btn.active {
  background: linear-gradient(135deg, var(--amber), var(--golden));
  border-color: transparent;
  color: var(--espresso);
  box-shadow: 0 6px 22px rgba(212,148,10,0.45);
  transform: translateY(-2px);
}

/* ── Grid bento ── */
.galeria-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 14px;
}

/* Clases bento del JS */
.galeria-item.g-large { grid-column: span 2; grid-row: span 2; }
.galeria-item.g-tall  { grid-row: span 2; }
.galeria-item.g-wide  { grid-column: span 2; }

/* Cada item */
.galeria-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.06);
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.4s ease, transform 0.4s ease, box-shadow 0.3s ease;
}
.galeria-item.g-visible {
  opacity: 1;
  transform: scale(1);
}
.galeria-item:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.45);
  border-color: rgba(212,148,10,0.30);
  z-index: 2;
}
.galeria-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.galeria-item:hover img { transform: scale(1.08); }

/* Badge "Destacado" */
.galeria-featured-tag {
  position: absolute;
  top: 12px; left: 12px;
  display: inline-flex; align-items: center; gap: 5px;
  background: linear-gradient(135deg, var(--amber), var(--golden));
  color: var(--espresso);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  z-index: 3;
  box-shadow: 0 3px 10px rgba(212,148,10,0.45);
}

/* Overlay hover */
.galeria-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28,8,0,0.85) 0%, rgba(28,8,0,0.20) 55%, transparent 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px;
}
.galeria-item:hover .galeria-overlay { opacity: 1; }

/* Icono zoom */
.galeria-overlay-zoom {
  width: 52px; height: 52px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(12px);
  border: 1.5px solid rgba(255,255,255,0.30);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  color: var(--white);
  transform: scale(0.5);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.galeria-item:hover .galeria-overlay-zoom { transform: scale(1); }

/* Badge tipo producto */
.galeria-type-badge {
  position: absolute;
  bottom: 40px; right: 12px;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}
.tipo-producto { background: rgba(212,148,10,0.85); color: #fff; }

/* Nombre en overlay */
.galeria-overlay-caption {
  position: absolute;
  bottom: 12px; left: 12px; right: 12px;
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(255,255,255,0.90);
  line-height: 1.3;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

/* =============================================
   15. LIGHTBOX
   ============================================= */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,3,0,0.95);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  z-index: 9000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.lightbox-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox-topbar {
  position: absolute;
  top: 0; left: 0; right: 0;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(to bottom, rgba(10,3,0,0.80), transparent);
  z-index: 2;
}

.lightbox-counter {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  font-weight: 600;
  letter-spacing: 1px;
}

.lightbox-close {
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.20);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition-bounce);
}
.lightbox-close:hover {
  background: var(--amber);
  border-color: transparent;
  color: var(--espresso);
  transform: rotate(90deg) scale(1.1);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px; height: 52px;
  background: rgba(255,255,255,0.10);
  border: 1.5px solid rgba(255,255,255,0.22);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition-bounce);
  z-index: 2;
}
.lightbox-nav:hover {
  background: var(--grad-amber);
  border-color: transparent;
  color: var(--espresso);
  transform: translateY(-50%) scale(1.12);
}
.lightbox-nav.prev { left: 28px; }
.lightbox-nav.next { right: 28px; }

.lightbox-content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 88vw;
  max-height: 78vh;
  z-index: 1;
}

.lightbox-img {
  max-width: 88vw;
  max-height: 78vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  display: block;
}

.lightbox-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  text-align: center;
  padding: 18px 28px;
  background: linear-gradient(to top, rgba(10,3,0,0.80), transparent);
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  font-weight: 500;
}

/* =============================================
   16. LOCATION SECTION
   ============================================= */
.ubicacion-section {
  background: var(--cream);
  position: relative;
  overflow: hidden;
}
.ubicacion-section::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,148,10,0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* ── Mapa ── */
.map-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(212,148,10,0.18);
  box-shadow: 0 8px 40px rgba(28,8,0,0.10);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.map-header {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 20px;
  background: linear-gradient(135deg, #1F0C03, #3D1E0A);
  border-bottom: 3px solid var(--amber);
}
.map-header-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(212,148,10,0.20);
  border: 1px solid rgba(212,148,10,0.35);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--golden); flex-shrink: 0;
}
.map-header-title { font-size: 0.9rem; font-weight: 800; color: #fff; line-height: 1.2; }
.map-header-sub   { font-size: 0.72rem; color: rgba(255,220,160,0.55); }
.map-wrapper iframe {
  display: block; width: 100%; flex: 1;
  border: none; min-height: 340px;
}

/* ── Panel sedes ── */
.sedes-panel {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(212,148,10,0.18);
  box-shadow: 0 8px 40px rgba(28,8,0,0.10);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.sedes-panel-header {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 20px;
  background: linear-gradient(135deg, #1F0C03, #3D1E0A);
  border-bottom: 3px solid var(--amber);
}
.sedes-panel-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(212,148,10,0.20);
  border: 1px solid rgba(212,148,10,0.35);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--golden); flex-shrink: 0;
}
.sedes-panel-title { font-size: 0.9rem; font-weight: 800; color: #fff; line-height: 1.2; }
.sedes-panel-sub   { font-size: 0.72rem; color: rgba(255,220,160,0.55); }
.sedes-list {
  padding: 16px; flex: 1;
  overflow-y: auto;
  display: flex; flex-direction: column; gap: 12px;
}

/* Tarjetas de sede — clases del JS */
#sedesContainer .sede-card,
.sede-card {
  background: #fdf8f3;
  border-radius: var(--radius-md);
  padding: 16px 18px;
  border: 1px solid rgba(212,148,10,0.12);
  border-left: 4px solid rgba(212,148,10,0.25);
  transition: var(--transition);
  display: flex;
  gap: 14px;
  align-items: flex-start;
  height: auto;
}
.sede-card.principal {
  border-left-color: var(--amber);
  background: linear-gradient(135deg, #fffbf2, #fff8e8);
}
.sede-card:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
  border-left-color: var(--amber);
}
.sede-card.activa {
  border-left-color: var(--primary);
  background: linear-gradient(135deg, #f0fdf4, #e8f5e9);
  box-shadow: 0 0 0 2px rgba(26,107,60,.2);
  transform: translateX(4px);
}
.sede-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--amber), var(--golden));
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: #fff; flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(212,148,10,0.28);
}
.sede-card.principal .sede-icon {
  background: linear-gradient(135deg, #1F0C03, var(--amber));
}
.sede-card h6 {
  font-size: 0.92rem; font-weight: 800;
  color: var(--espresso); margin-bottom: 6px;
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.sede-badge {
  display: inline-flex; align-items: center;
  background: linear-gradient(135deg, var(--amber), var(--golden));
  color: var(--espresso); font-size: 0.62rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.5px;
  padding: 2px 9px; border-radius: var(--radius-full);
}
.sede-card p {
  font-size: 0.80rem; color: var(--text-muted);
  line-height: 1.5; margin-bottom: 3px;
  display: flex; align-items: flex-start; gap: 6px;
}
.sede-card p i { color: var(--amber); margin-top: 2px; flex-shrink: 0; width: 12px; }

/* =============================================
   17. CONTACT SECTION
   ============================================= */
.contacto-section {
  background: var(--cream-light);
  position: relative;
  overflow: hidden;
}
.contacto-section::before {
  content: '';
  position: absolute;
  bottom: -100px; left: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,148,10,0.07) 0%, transparent 70%);
  pointer-events: none;
}

/* ── Form card ── */
.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(212,148,10,0.12);
  box-shadow: 0 12px 48px rgba(28,8,0,0.10);
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Form header */
.contact-form-head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 28px;
  background: linear-gradient(135deg, #1A0902 0%, #3D1E0A 60%, #5C2E0F 100%);
  border-bottom: 3px solid var(--amber);
  position: relative;
  overflow: hidden;
}
.contact-form-head::before {
  content: '';
  position: absolute;
  top: -30px; right: -30px;
  width: 100px; height: 100px;
  border-radius: 50%;
  background: rgba(212,148,10,0.10);
  pointer-events: none;
}
.contact-form-head-icon {
  width: 50px; height: 50px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(212,148,10,0.25), rgba(212,148,10,0.12));
  border: 1.5px solid rgba(212,148,10,0.40);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: var(--golden); flex-shrink: 0;
}
.contact-form-head-content { flex: 1; }
.contact-form-head-title {
  font-size: 1rem; font-weight: 800; color: #fff;
  line-height: 1.2; font-family: 'Poppins', sans-serif;
}
.contact-form-head-sub {
  font-size: 0.75rem;
  color: rgba(255,220,160,0.60);
  margin-top: 2px;
}
.contact-form-head-badge {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(37,211,102,0.15);
  border: 1px solid rgba(37,211,102,0.30);
  color: #4ade80;
  font-size: 0.68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.5px;
  padding: 5px 10px; border-radius: var(--radius-full);
  flex-shrink: 0;
}

.cf-body { padding: 28px 28px 24px; flex: 1; }

/* Labels */
.cf-label {
  display: block;
  font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.8px;
  color: var(--med-brown); margin-bottom: 7px;
}
.cf-required { color: var(--amber); font-weight: 700; }
.cf-optional { font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--text-muted); font-size: 0.72rem; }

/* Field wrappers with icon */
.cf-field {
  position: relative;
}
.cf-field-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--amber);
  font-size: 0.85rem;
  pointer-events: none;
  z-index: 1;
  transition: var(--transition-fast);
}
.cf-field-icon-top {
  top: 14px;
  transform: none;
}
.cf-field:focus-within .cf-field-icon {
  color: var(--golden);
}

/* Inputs */
.cf-input {
  width: 100%;
  border: 1.5px solid rgba(212,148,10,0.18);
  border-radius: 10px;
  padding: 11px 14px 11px 38px;
  font-size: 0.9rem;
  color: var(--espresso);
  background: #faf7f3;
  transition: var(--transition-fast);
  font-family: inherit;
  appearance: none;
}
.cf-input:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(212,148,10,0.10);
  background: var(--white);
  outline: none;
}
.cf-input::placeholder { color: #b0a090; }
.cf-select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23d4940a' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; cursor: pointer; }
textarea.cf-input { resize: vertical; min-height: 118px; padding-left: 38px; }
.cf-field-textarea .cf-field-icon { top: 13px; transform: none; }

/* Submit */
.btn-contact-submit {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 15px 22px;
  background: linear-gradient(135deg, #2a0f04, var(--amber));
  color: #fff; border: none; border-radius: 12px;
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 0.97rem;
  cursor: pointer; transition: var(--transition-bounce);
  box-shadow: 0 6px 24px rgba(212,148,10,0.35); margin-top: 4px;
  position: relative; overflow: hidden;
}
.btn-contact-submit::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.08), transparent);
  pointer-events: none;
}
.btn-submit-text { display: flex; align-items: center; gap: 9px; }
.btn-submit-arrow {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,0.18);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; flex-shrink: 0;
  transition: var(--transition-fast);
}
.btn-contact-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(212,148,10,0.50);
}
.btn-contact-submit:hover .btn-submit-arrow {
  background: rgba(255,255,255,0.28);
  transform: translateX(3px);
}
.cf-privacy-note {
  font-size: 0.72rem; color: var(--text-muted);
  text-align: center; margin-top: 10px; margin-bottom: 0;
  display: flex; align-items: center; justify-content: center; gap: 5px;
}
.cf-privacy-note i { color: var(--amber); }

/* ── Info card ── */
.contact-info-card {
  background: linear-gradient(145deg, #150600 0%, #221004 50%, #3D1E0A 100%);
  border-radius: var(--radius-lg);
  height: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(212,148,10,0.12);
}
.contact-info-card::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(245,200,66,0.05) 1px, transparent 1px);
  background-size: 26px 26px; pointer-events: none;
}
.contact-info-intro {
  padding: 30px 28px 22px;
  position: relative; border-bottom: 1px solid rgba(255,255,255,0.07);
}
.contact-info-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(212,148,10,0.18); border: 1px solid rgba(212,148,10,0.30);
  color: var(--golden); font-size: 0.68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.8px;
  padding: 4px 12px; border-radius: var(--radius-full); margin-bottom: 14px;
}
.contact-info-card h3 {
  font-size: 1.3rem; font-weight: 800; color: var(--white);
  margin-bottom: 8px; position: relative; font-family: 'Poppins', sans-serif;
}
.contact-info-card > .contact-info-intro > p {
  font-size: 0.87rem; color: rgba(255,255,255,0.48);
  line-height: 1.7; margin: 0;
}

.contact-info-items {
  padding: 18px 20px; flex: 1; display: flex; flex-direction: column; gap: 8px;
  position: relative;
}

/* Contact items as rows */
.contact-info-item {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: var(--transition-fast);
  text-decoration: none;
  color: inherit;
}
.contact-info-item--link {
  cursor: pointer;
}
.contact-info-item--link:hover {
  background: rgba(212,148,10,0.10);
  border-color: rgba(212,148,10,0.22);
  transform: translateX(4px);
}
.contact-info-item--wa:hover {
  background: rgba(37,211,102,0.10);
  border-color: rgba(37,211,102,0.22);
}
.contact-info-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(212,148,10,0.16); border: 1.5px solid rgba(212,148,10,0.28);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--golden); flex-shrink: 0;
  transition: var(--transition-fast);
}
.contact-info-icon--wa {
  background: rgba(37,211,102,0.16);
  border-color: rgba(37,211,102,0.32);
  color: #25d366;
}
.contact-info-item--link:hover .contact-info-icon {
  background: var(--grad-amber);
  border-color: transparent; color: var(--espresso); transform: scale(1.08);
}
.contact-info-item--wa:hover .contact-info-icon--wa {
  background: #25D366;
  border-color: transparent; color: #fff;
}
.contact-info-arrow {
  margin-left: auto;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.25);
  transition: var(--transition-fast);
  flex-shrink: 0;
}
.contact-info-item--link:hover .contact-info-arrow {
  color: var(--amber);
  transform: translateX(3px);
}
.contact-info-item--wa:hover .contact-info-arrow {
  color: #25d366;
}
.contact-info-divider {
  height: 1px; background: rgba(255,255,255,0.07);
  margin: 0 20px;
}

.contact-info-text {
  display: flex; flex-direction: column; gap: 1px; flex: 1;
}
.contact-info-text strong {
  font-size: 0.68rem; color: rgba(255,255,255,0.42);
  font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
}
.contact-info-text span {
  font-size: 0.92rem; color: var(--white); font-weight: 600; line-height: 1.4;
}
.contact-info-text a {
  font-size: 0.92rem; font-weight: 600; line-height: 1.4; color: var(--white); text-decoration: none;
}

/* Social links */
.social-links {
  padding: 16px 20px 22px;
  position: relative;
}
.social-links-label {
  font-size: 0.68rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.2px; color: rgba(255,255,255,0.30);
  margin-bottom: 12px;
}
.social-links-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.social-link {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(212,148,10,0.18);
  border: 1.5px solid rgba(212,148,10,0.38);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  color: var(--golden);
  transition: var(--transition-bounce);
  text-decoration: none;
}
.social-link:hover {
  background: var(--grad-amber);
  border-color: transparent;
  color: var(--espresso);
  transform: translateY(-4px) scale(1.12);
  box-shadow: 0 8px 24px rgba(212,148,10,0.50);
}
.social-link--wa {
  background: rgba(37,211,102,0.15);
  border-color: rgba(37,211,102,0.32);
  color: #25d366;
}
.social-link--wa:hover {
  background: #25D366;
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 24px rgba(37,211,102,0.40);
}

/* =============================================
   18. FOOTER
   ============================================= */
footer,
.site-footer {
  background: linear-gradient(180deg, #0F0400 0%, #1C0800 60%, #0F0400 100%);
  position: relative;
  overflow: hidden;
}
footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(245,200,66,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

/* CTA Strip */
.footer-cta-strip {
  background: linear-gradient(135deg, rgba(212,148,10,0.18) 0%, rgba(245,200,66,0.10) 100%);
  border-top: 1px solid rgba(212,148,10,0.30);
  border-bottom: 1px solid rgba(212,148,10,0.15);
  padding: 28px 0;
  position: relative;
  z-index: 1;
}
.footer-cta-text h5 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
  font-family: 'Poppins', sans-serif;
}
.footer-cta-text p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 0;
}
.footer-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-bounce);
}
.footer-cta-btn--phone {
  background: rgba(255,255,255,0.10);
  border: 1.5px solid rgba(255,255,255,0.25);
  color: var(--white);
}
.footer-cta-btn--phone:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.45);
  color: var(--white);
  transform: translateY(-2px);
}
.footer-cta-btn--wa {
  background: #25D366;
  border: 1.5px solid #25D366;
  color: #fff;
}
.footer-cta-btn--wa:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37,211,102,0.35);
  color: #fff;
}

/* Main footer area */
.footer-main {
  padding: 64px 0 48px;
  position: relative;
  z-index: 1;
}

/* Footer brand */
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 0;
}
.footer-logo {
  width: 56px; height: 56px;
  border-radius: 14px;
  object-fit: cover;
  flex-shrink: 0;
}
.footer-logo-icon {
  width: 56px; height: 56px;
  background: var(--grad-amber);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  color: var(--espresso);
  box-shadow: 0 8px 24px rgba(212,148,10,0.40);
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.brand-line1 {
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  line-height: 1;
  letter-spacing: 0.5px;
}
.brand-line2 {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--amber);
  letter-spacing: 0.5px;
}

.footer-tagline {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.48);
  line-height: 1.75;
  max-width: 280px;
  margin: 18px 0 24px;
}

/* Footer social */
.footer-social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.footer-social .social-link {
  width: 40px; height: 40px;
  font-size: 0.9rem;
}

/* Footer section titles */
.footer-section-title {
  font-size: 0.75rem !important;
  font-weight: 700;
  color: var(--golden) !important;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  position: relative;
}
.footer-section-title::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 28px; height: 2px;
  background: var(--grad-amber);
  border-radius: var(--radius-full);
}

/* Footer nav links */
footer ul, .site-footer ul {
  list-style: none;
  padding: 0; margin: 0;
}
footer ul li, .site-footer ul li {
  margin-bottom: 10px;
}
footer ul li a, .site-footer ul li a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.50);
  text-decoration: none;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
footer ul li a:hover, .site-footer ul li a:hover {
  color: var(--amber);
  transform: translateX(5px);
}

/* Footer contact cards */
.footer-contact-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-contact-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  text-decoration: none;
  transition: var(--transition-fast);
}
.footer-contact-card:not(.footer-contact-card--static):hover {
  background: rgba(212,148,10,0.12);
  border-color: rgba(212,148,10,0.30);
  transform: translateX(4px);
}
.footer-contact-card--static {
  cursor: default;
}
.footer-contact-card-icon {
  width: 38px; height: 38px;
  background: rgba(212,148,10,0.15);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem;
  color: var(--amber);
  flex-shrink: 0;
  transition: var(--transition-fast);
}
.footer-contact-card:not(.footer-contact-card--static):hover .footer-contact-card-icon {
  background: var(--grad-amber);
  color: var(--espresso);
}
.footer-contact-card-body {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.footer-contact-card-body strong {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.80);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.footer-contact-card-body span {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.50);
}

/* Footer bottom */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  position: relative;
  z-index: 1;
}
.footer-bottom::before {
  content: '';
  position: absolute;
  top: -1px; left: 0;
  width: 80px; height: 2px;
  background: var(--grad-amber);
  border-radius: var(--radius-full);
}
.footer-bottom p,
.footer-bottom span {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
  margin-bottom: 0;
}
.footer-bottom .text-amber {
  color: var(--amber);
}
.footer-bottom a {
  color: var(--amber);
  text-decoration: none;
}
.footer-bottom a:hover { color: var(--golden); }

/* =============================================
   19. WHATSAPP FLOAT BUTTON
   ============================================= */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 28px;
  z-index: 800;
  display: flex;
  align-items: center;
  gap: 0;
  background: linear-gradient(135deg, #25D366, #128C7E);
  border-radius: var(--radius-full);
  padding: 12px 18px 12px 14px;
  box-shadow: 0 8px 32px rgba(37,211,102,0.45);
  cursor: pointer;
  text-decoration: none;
  overflow: hidden;
  max-width: 56px;
  transition: max-width 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
}
.whatsapp-float:hover {
  max-width: 200px;
  padding: 12px 20px 12px 14px;
}

.wa-icon {
  font-size: 1.5rem;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  animation: waPulse 2.2s ease-in-out infinite;
}

.wa-text {
  overflow: hidden;
  max-width: 0;
  opacity: 0;
  transition: max-width 0.4s cubic-bezier(0.4,0,0.2,1), opacity 0.35s ease 0.1s;
  white-space: nowrap;
  margin-left: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.whatsapp-float:hover .wa-text {
  max-width: 140px;
  opacity: 1;
  margin-left: 10px;
}

.wa-text-top {
  font-size: 0.62rem;
  color: rgba(255,255,255,0.75);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  line-height: 1;
}
.wa-text-bottom {
  font-size: 0.88rem;
  color: var(--white);
  font-weight: 700;
  line-height: 1.2;
}

/* =============================================
   20. CART MODAL
   ============================================= */
.cart-modal-header {
  background: var(--grad-dark);
  padding: 20px 28px;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cart-modal-header .modal-title {
  color: var(--white);
  font-weight: 800;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cart-modal-header .modal-title i { color: var(--golden); }

.cart-modal-header .btn-close {
  filter: invert(1);
  opacity: 0.7;
}
.cart-modal-header .btn-close:hover { opacity: 1; }

.cart-empty-state {
  text-align: center;
  padding: 60px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.cart-empty-state i {
  font-size: 4rem;
  color: var(--amber);
  opacity: 0.60;
}
.cart-empty-state h5 {
  font-weight: 700;
  color: var(--espresso);
  font-size: 1.12rem;
}
.cart-empty-state p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.cart-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  border-top: 2px solid rgba(212,148,10,0.22);
  margin-top: 8px;
}
.cart-total-row .total-label {
  font-size: 1rem;
  font-weight: 700;
  color: var(--espresso);
}
.cart-total-row .total-price {
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--amber);
  font-family: 'Poppins', sans-serif;
  letter-spacing: -0.5px;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(212,148,10,0.12);
}
.cart-item-img {
  width: 60px; height: 60px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 1.5px solid rgba(212,148,10,0.20);
  flex-shrink: 0;
}
.cart-item-info { flex: 1; }
.cart-item-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--espresso);
  margin-bottom: 3px;
}
.cart-item-price {
  font-size: 0.88rem;
  color: var(--amber);
  font-weight: 600;
}
.cart-item-remove {
  width: 30px; height: 30px;
  border: none;
  background: rgba(212,148,10,0.10);
  border-radius: 50%;
  color: var(--amber);
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.cart-item-remove:hover {
  background: #dc2626;
  color: var(--white);
}

/* =============================================
   21. RESPONSIVE — TABLET & MOBILE
   ============================================= */

/* Large tablet */
@media (max-width: 1024px) {
  .hero-title { font-size: 3.6rem; }
  .section-title { font-size: 2.3rem; }
}

/* Tablet */
@media (max-width: 991px) {
  .galeria-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 180px;
  }

  .hero-section { padding-bottom: 70px; }
  .hero-circle-main { aspect-ratio: 16 / 7; min-height: 270px; }
  .hero-title { font-size: 3rem; }
  .hero-subtitle { font-size: 1.02rem; }
  .hero-text-below { padding: 36px 16px 12px; }
  .card-1, .card-2, .card-3 { display: none; }

  .navbar-portal .nav-link { color: rgba(255,255,255,0.88) !important; padding: 10px 0 !important; }
  .navbar-portal.scrolled .nav-link { color: var(--espresso) !important; }
  .navbar-portal .nav-link::after { display: none; }

  .section-padding { padding: 70px 0; }
  .section-title { font-size: 2.1rem; }

  .stat-number { font-size: 1.9rem; }
  .stat-icon { width: 40px; height: 40px; font-size: 1rem; }
  .stat-item { padding: 8px 16px; gap: 12px; }
  .stat-divider { height: 40px; }
}

/* Mobile */
@media (max-width: 767px) {
  html { font-size: 15px; }

  .hero-section { padding-top: 80px; padding-bottom: 60px; }
  .hero-circle-main { aspect-ratio: 3 / 2; min-height: 240px; }
  .hero-title { font-size: 2.25rem; letter-spacing: -0.8px; }
  .hero-subtitle { font-size: 0.97rem; }
  .hero-text-below { padding: 28px 12px 8px; }
  .hero-icon-main { font-size: 5.5rem; }

  .hero-buttons { gap: 12px; }
  .btn-hero-primary, .btn-hero-secondary { padding: 13px 26px; font-size: 0.93rem; }

  .stats-grid { flex-wrap: wrap; gap: 4px; }
  .stat-item { flex: 1 0 45%; justify-content: flex-start; padding: 12px 16px; gap: 12px; }
  .stat-number { font-size: 1.7rem; }
  .stat-label { font-size: 0.7rem; }
  .stat-divider { display: none; }

  .section-title { font-size: 1.75rem; }
  .section-padding { padding: 56px 0; }
  .section-header { margin-bottom: 36px; }

  .about-title { font-size: 2.4rem; letter-spacing: -1px; }
  .about-visual { padding-right: 0; margin-bottom: 8px; }
  .about-mini-stats { padding: 14px 16px; }
  .about-mini-num { font-size: 1.3rem; }
  .about-card-row { padding: 20px 20px; }
  .about-card-row-icon { width: 48px; height: 48px; font-size: 1.25rem; }
  .about-card-row-num { font-size: 1.8rem; }

  .galeria-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    grid-auto-rows: 160px;
  }
  .galeria-item.g-large { grid-column: span 2; grid-row: span 2; }
  .galeria-item.g-wide  { grid-column: span 2; }
  .galeria-item.g-tall  { grid-row: span 2; }

  .contact-form-card { margin-bottom: 24px; }
  .contact-form-head { padding: 18px 20px; }
  .contact-form-head-badge { display: none; }
  .cf-body { padding: 20px 18px; }
  .contact-info-intro { padding: 22px 20px 16px; }
  .contact-info-items { padding: 12px 12px; }
  .contact-info-divider { margin: 0 12px; }
  .social-links { padding: 14px 16px 18px; }
  .social-links { padding: 16px 20px 22px; }

  .footer-cta-strip .d-flex { flex-direction: column; gap: 16px; text-align: center; }
  .footer-cta-strip .d-flex > div:first-child { order: 1; }
  .footer-cta-strip .d-flex > div:last-child { order: 2; justify-content: center; }
  .footer-main { padding: 48px 0 32px; }
  .footer-brand { flex-direction: column; text-align: center; }
  .footer-tagline { margin: 14px auto 20px; text-align: center; }
  .footer-social { justify-content: center; }
  .footer-section-title::after { left: 50%; transform: translateX(-50%); }
  .footer-bottom .d-flex { flex-direction: column; text-align: center; gap: 4px; }

  .lightbox-nav.prev { left: 10px; }
  .lightbox-nav.next { right: 10px; }

  .whatsapp-float { bottom: 20px; right: 16px; }

  .filter-buttons { gap: 8px; }
  .filter-btn { padding: 7px 16px; font-size: 0.82rem; }

  .galeria-tabs { gap: 8px; }
  .galeria-filter-btn { padding: 7px 16px; font-size: 0.82rem; }
}

/* Small mobile */
@media (max-width: 480px) {
  .hero-circle-main { aspect-ratio: 16 / 9; min-height: 200px; }
  .hero-title { font-size: 1.85rem; }
  .hero-icon-main { font-size: 4.5rem; }
  .hero-text-below { padding: 22px 8px 8px; }

  .stat-item { flex: 1 0 45%; }
  .stat-number { font-size: 1.5rem; }
  .stat-icon { width: 36px; height: 36px; font-size: 0.9rem; }

  .team-card, .product-card, .service-card { border-radius: var(--radius-md); }
  .contact-form-card, .contact-info-card { border-radius: var(--radius-lg); }

  .section-title { font-size: 1.55rem; }
}

/* =============================================
   22. MISCELLANEOUS / UTILITIES
   ============================================= */

/* Smooth scroll offset for fixed navbar */
section[id] { scroll-margin-top: 78px; }

/* Bootstrap modal tweaks */
.modal-content {
  border: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.modal-body { padding: 24px 28px; }
.modal-footer {
  border-top: 1px solid rgba(212,148,10,0.15);
  padding: 16px 28px;
  background: var(--cream-light);
}

/* Divider */
.divider-amber {
  height: 3px;
  background: var(--grad-amber);
  border-radius: var(--radius-full);
  border: none;
  opacity: 1;
}

/* Glassmorphism helper */
.glass {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.15);
}

/* Badge overrides */
.badge-amber {
  background: var(--grad-amber);
  color: var(--espresso);
  font-weight: 700;
  border-radius: var(--radius-full);
}

/* Lazy / loading shimmer */
.skeleton {
  background: linear-gradient(90deg,
    rgba(212,148,10,0.08) 25%,
    rgba(245,200,66,0.15) 50%,
    rgba(212,148,10,0.08) 75%
  );
  background-size: 400px 100%;
  animation: shimmer 1.5s infinite linear;
  border-radius: var(--radius-sm);
}

/* Fade-in utility triggered by IntersectionObserver */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── LIBRO DE RECLAMACIONES FLOAT ── */
.reclamo-float {
  position: fixed;
  bottom: 100px;
  left: 20px;
  z-index: 9998;
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #dc2626, #991b1b);
  color: #fff;
  border-radius: 50px;
  padding: 10px 18px 10px 14px;
  box-shadow: 0 4px 18px rgba(220,38,38,.45);
  text-decoration: none;
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.3;
  transition: transform .2s, box-shadow .2s;
  max-width: 44px;
  overflow: hidden;
  white-space: nowrap;
}
.reclamo-float:hover {
  max-width: 200px;
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(220,38,38,.55);
  color: #fff;
}
.reclamo-float i { font-size: 1.2rem; flex-shrink: 0; }
.reclamo-float-label {
  display: inline-block;
  max-width: 0;
  overflow: hidden;
  transition: max-width .3s ease;
  font-size: .73rem;
  line-height: 1.2;
}
.reclamo-float:hover .reclamo-float-label { max-width: 160px; }

/* Print: hide fixed elements */
@media print {
  .navbar-portal,
  .whatsapp-float,
  .reclamo-float,
  .cart-btn { display: none !important; }
  body { background: white; color: black; }
  .nc-marquee { animation: none; }
  .nc-bg-dots, .nc-bg-glow { display: none; }
}

/* =====================================================================
   NUESTROS CLIENTES — Premium Dark Section
   ===================================================================== */

.nc-section {
  position: relative;
  background: linear-gradient(160deg, #0A0200 0%, #1C0800 35%, #2E1206 65%, #3D1E0A 100%);
  padding: 100px 0 80px;
  overflow: hidden;
}
.nc-bg-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(212,148,10,0.07) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}
.nc-bg-glow {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  opacity: .55;
}
.nc-bg-glow--left  { background: radial-gradient(circle, rgba(212,148,10,0.25), transparent 70%); top: -80px; left: -160px; }
.nc-bg-glow--right { background: radial-gradient(circle, rgba(61,30,10,0.60), transparent 70%); bottom: -80px; right: -160px; }
.nc-bg-line {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, #D4940A 30%, #F5C842 50%, #D4940A 70%, transparent 100%);
}

/* Badge */
.nc-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212,148,10,0.12);
  border: 1px solid rgba(212,148,10,0.35);
  color: #F5C842;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 30px;
  margin-bottom: 22px;
  backdrop-filter: blur(8px);
}
.nc-badge-dot {
  width: 7px; height: 7px;
  background: #F5C842;
  border-radius: 50%;
  box-shadow: 0 0 8px #F5C842;
  animation: nc-pulse 2s ease-in-out infinite;
}
@keyframes nc-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(.7); }
}

/* Header */
.nc-header { text-align: center; margin-bottom: 52px; }
.nc-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.18;
  margin: 0 0 16px;
  letter-spacing: -.5px;
}
.nc-title-accent {
  background: linear-gradient(90deg, #D4940A, #F5C842, #D4940A);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: nc-shimmer 3s linear infinite;
}
@keyframes nc-shimmer {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}
.nc-subtitle {
  color: rgba(255,220,160,0.55);
  font-size: .98rem;
  line-height: 1.7;
  margin: 0 0 24px;
}
.nc-count-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(212,148,10,0.18), rgba(245,200,66,0.10));
  border: 1.5px solid rgba(212,148,10,0.40);
  color: #F5C842;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .4px;
  padding: 8px 22px;
  border-radius: 30px;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 20px rgba(212,148,10,0.14);
}
.nc-count-pill i { font-size: .85rem; }
.nc-count-pill strong { font-size: 1.1rem; }

/* Separador */
.nc-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 48px;
}
.nc-divider span {
  flex: 1;
  max-width: 180px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,148,10,0.45));
}
.nc-divider span:last-child { background: linear-gradient(90deg, rgba(212,148,10,0.45), transparent); }
.nc-divider i { color: #D4940A; font-size: .75rem; opacity: .8; }

/* Marquee */
.nc-marquee-wrap {
  overflow: hidden;
  width: 100%;
  position: relative;
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  padding: 16px 0 20px;
}
.nc-marquee {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: nc-scroll 40s linear infinite;
}
.nc-marquee-wrap:hover .nc-marquee { animation-play-state: paused; }
@keyframes nc-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Tarjeta */
.nc-card {
  position: relative;
  flex-shrink: 0;
  width: 270px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(212,148,10,0.18);
  border-radius: 22px;
  padding: 28px 22px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
  transition: border-color .3s, box-shadow .3s, transform .3s;
  cursor: default;
}
.nc-card:hover {
  border-color: rgba(212,148,10,0.55);
  box-shadow: 0 0 40px rgba(212,148,10,0.18), 0 20px 50px rgba(0,0,0,0.40);
  transform: translateY(-6px) scale(1.015);
}
.nc-card-glow {
  position: absolute;
  top: -40px; left: 50%;
  transform: translateX(-50%);
  width: 160px; height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,148,10,0.14), transparent 70%);
  pointer-events: none;
}
.nc-card-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.04) 0%, transparent 60%);
  border-radius: 22px;
  pointer-events: none;
}

/* Ring logo */
.nc-logo-ring {
  position: relative;
  width: 96px; height: 96px;
  border-radius: 50%;
  padding: 3px;
  background: conic-gradient(#D4940A 0deg, #F5C842 90deg, rgba(212,148,10,0.20) 180deg, #D4940A 270deg, #F5C842 360deg);
  animation: nc-ring-spin 8s linear infinite;
  flex-shrink: 0;
}
@keyframes nc-ring-spin { to { transform: rotate(360deg); } }
.nc-logo-inner {
  width: 100%; height: 100%;
  border-radius: 50%;
  background: #1A0600;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.nc-logo-img { width: 78%; height: 78%; object-fit: contain; }
.nc-logo-initials {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-size: 1.55rem;
  font-weight: 900;
  letter-spacing: -1px;
  background: linear-gradient(135deg, #D4940A, #F5C842);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Cuerpo tarjeta */
.nc-card-body {
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.nc-card-name {
  font-family: 'Poppins', sans-serif;
  font-size: .92rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: .3px;
}
.nc-card-address {
  font-size: .74rem;
  color: rgba(255,220,160,0.50);
  line-height: 1.45;
  margin: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 5px;
}
.nc-card-address i { color: #D4940A; margin-top: 2px; flex-shrink: 0; font-size: .68rem; }
.nc-card-ruc {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(212,148,10,0.10);
  border: 1px solid rgba(212,148,10,0.28);
  color: #D4940A;
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
}
.nc-card-ruc i { font-size: .60rem; }

/* CTA */
.nc-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 56px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(212,148,10,0.18);
  border-radius: 18px;
  padding: 24px 32px;
  backdrop-filter: blur(10px);
}
.nc-cta-icon {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #D4940A, #F5C842);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem;
  color: #1C0800;
  flex-shrink: 0;
  box-shadow: 0 0 20px rgba(212,148,10,0.40);
}
.nc-cta-text {
  color: rgba(255,220,160,0.75);
  font-size: .92rem;
  margin: 0;
  flex: 1;
  min-width: 200px;
}
.nc-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #D4940A, #F5C842);
  color: #1C0800 !important;
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: .3px;
  text-decoration: none;
  padding: 11px 26px;
  border-radius: 30px;
  white-space: nowrap;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 6px 20px rgba(212,148,10,0.40);
}
.nc-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(212,148,10,0.55);
  color: #1C0800 !important;
}

/* Responsive */
@media (max-width: 768px) {
  .nc-section { padding: 70px 0 60px; }
  .nc-card { width: 220px; padding: 22px 16px 20px; }
  .nc-logo-ring { width: 76px; height: 76px; }
  .nc-cta { flex-direction: column; text-align: center; }
  .nc-cta-text { min-width: unset; }
}
@media (max-width: 480px) {
  .nc-card { width: 185px; }
  .nc-marquee { gap: 16px; }
  .nc-title { font-size: 1.65rem; }
}

