/* ============================================
   MUEBLES CHEKELON - Premium CSS
   Paleta: Verde #4CAF50 / #2E7D32, Blanco #FFFFFF, Gris #37474F
   ============================================ */

:root {
  --green-primary: #5cb85c;
  --green-dark: #2E7D32;
  --green-light: #81C784;
  --green-accent: #4CAF50;
  --white: #FFFFFF;
  --off-white: #F8F9FA;
  --gray-light: #ECEFF1;
  --gray-mid: #90A4AE;
  --gray-dark: #37474F;
  --gray-deep: #263238;
  --black: #1A1A1A;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.12);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.18);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --font-main: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
}

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-main);
  color: var(--gray-dark);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--gray-light); }
::-webkit-scrollbar-thumb { background: var(--green-primary); border-radius: 3px; }

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; color: var(--gray-deep); }
h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
p { color: var(--gray-dark); line-height: 1.75; }

/* ---- UTILITY ---- */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section-pad { padding: 100px 0; }
.section-pad-sm { padding: 60px 0; }
.text-center { text-align: center; }
.text-green { color: var(--green-primary); }
.bg-dark { background: var(--gray-deep); }
.bg-light { background: var(--off-white); }
.bg-green { background: var(--green-primary); }

/* ---- SECTION HEADER ---- */
.section-header { margin-bottom: 64px; }
.section-header .tag {
  display: inline-block;
  background: rgba(92,184,92,0.12);
  color: var(--green-dark);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.section-header h2 { margin-bottom: 16px; }
.section-header p { max-width: 560px; color: var(--gray-mid); font-size: 1.05rem; }
.section-header.centered { text-align: center; }
.section-header.centered p { margin: 0 auto; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  letter-spacing: 0.02em;
  text-decoration: none;
}
.btn-primary {
  background: var(--green-primary);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(92,184,92,0.4);
}
.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(92,184,92,0.5);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}
.btn-dark {
  background: var(--gray-deep);
  color: var(--white);
}
.btn-dark:hover {
  background: var(--black);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--green-primary);
  border: 2px solid var(--green-primary);
}
.btn-ghost:hover {
  background: var(--green-primary);
  color: var(--white);
}
.btn-lg { padding: 18px 44px; font-size: 1.05rem; }
.btn-sm { padding: 10px 22px; font-size: 0.85rem; }

/* ---- WHATSAPP FLOAT ---- */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 9999;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.5);
  transition: var(--transition);
  animation: pulse-wa 2.5s infinite;
}
.whatsapp-float:hover { transform: scale(1.12); box-shadow: 0 10px 36px rgba(37,211,102,0.6); }
.whatsapp-float svg { width: 30px; height: 30px; fill: white; }
@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 6px 24px rgba(37,211,102,0.5); }
  50% { box-shadow: 0 6px 40px rgba(37,211,102,0.8), 0 0 0 10px rgba(37,211,102,0.1); }
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0;
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
  padding: 0;
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  padding: 0 40px;
  max-width: 1280px;
  margin: 0 auto;
}
.navbar-logo img { height: 70px; width: auto; transition: var(--transition); }
.navbar-logo img:hover { opacity: 0.85; }
.navbar-nav { display: flex; align-items: center; gap: 8px; }
.navbar-nav a {
  padding: 10px 18px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--white);
  transition: var(--transition);
  letter-spacing: 0.01em;
}
.navbar.scrolled .navbar-nav a { color: var(--gray-deep); }
.navbar-nav a:hover,
.navbar-nav a.active {
  background: var(--green-primary);
  color: var(--white) !important;
}
.navbar-cta {
  background: var(--green-primary) !important;
  color: var(--white) !important;
  padding: 10px 22px !important;
  box-shadow: 0 4px 16px rgba(92,184,92,0.4);
}
.navbar-cta:hover { background: var(--green-dark) !important; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.navbar.scrolled .hamburger span { background: var(--gray-deep); }
.mobile-menu {
  display: none;
  position: fixed;
  top: 80px; left: 0; right: 0;
  background: var(--white);
  padding: 20px 24px 32px;
  box-shadow: var(--shadow-md);
  z-index: 999;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  color: var(--gray-deep);
  transition: var(--transition);
  font-size: 1rem;
}
.mobile-menu a:hover { background: var(--gray-light); color: var(--green-primary); }
.mobile-menu .btn { margin-top: 12px; justify-content: center; }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
/* Hero centrado */
.hero.hero-centered {
  justify-content: center;
}
.hero.hero-centered .hero-center-content {
  position: relative;
  z-index: 3;
  text-align: center;
  width: 100%;
  max-width: 900px;
  padding: 140px 32px 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  margin: 0 auto;
}
.hero.hero-centered > .container {
  display: none !important;
}
.hero.hero-centered .hero-content {
  display: none !important;
}
.hero-logo-big {
  width: clamp(240px, 42vw, 500px);
  height: auto;
  display: block;
  filter: drop-shadow(0 4px 28px rgba(0,0,0,0.6));
  margin-bottom: 4px;
}
.hero.hero-centered h1 {
  color: var(--white);
  text-align: center;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
  margin: 0;
}
.hero.hero-centered h1 span { color: var(--green-light); }
.hero.hero-centered p {
  color: rgba(255,255,255,0.88);
  font-size: 1.1rem;
  max-width: 600px;
  text-align: center;
  margin: 0;
  line-height: 1.8;
}
.hero.hero-centered .hero-badge { margin: 0; }
.hero.hero-centered .hero-actions {
  justify-content: center;
  flex-wrap: wrap;
}
.hero.hero-centered .hero-stats {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}
/* Ocultar estilos viejos */
.hero-logo-center { display: none !important; }
.hero-logo-img { display: none !important; }
@media (max-width: 768px) {
  .hero-logo-big { width: clamp(180px, 70vw, 300px); }
  .hero.hero-centered .hero-center-content { padding: 110px 20px 140px; gap: 16px; }
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('/static/images/hero.jpg');
  background-size: cover;
  background-position: center 30%;
  transform: scale(1.05);
  animation: heroZoom 20s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1.05); }
  to { transform: scale(1.12); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26,26,26,0.82) 0%,
    rgba(38,50,56,0.65) 50%,
    rgba(46,125,50,0.45) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 140px 40px 100px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(92,184,92,0.2);
  border: 1px solid rgba(92,184,92,0.4);
  color: var(--green-light);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
}
.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--green-light);
  border-radius: 50%;
  animation: blink 1.5s infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.hero h1 {
  color: var(--white);
  margin-bottom: 24px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.hero h1 span { color: var(--green-light); }
.hero p {
  color: rgba(255,255,255,0.85);
  font-size: 1.15rem;
  margin-bottom: 44px;
  max-width: 560px;
  line-height: 1.8;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  position: absolute;
  bottom: 48px;
  right: 60px;
  display: flex;
  gap: 32px;
  z-index: 2;
}
.hero-stat {
  text-align: center;
  color: var(--white);
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 20px 28px;
  border-radius: var(--radius-md);
}
.hero-stat .num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--green-light);
  line-height: 1;
  display: block;
}
.hero-stat .label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.75;
  margin-top: 4px;
}
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: scrollBounce 2s infinite;
}
.hero-scroll::after {
  content: '';
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================
   ABOUT / EMPRESA
   ============================================ */
.about-section { padding: 120px 0; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-images {
  position: relative;
  height: 520px;
}
.about-img-main {
  position: absolute;
  top: 0; left: 0;
  width: 75%;
  height: 80%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.about-img-secondary {
  position: absolute;
  bottom: 0; right: 0;
  width: 55%;
  height: 55%;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 4px solid var(--white);
}
.about-badge-float {
  position: absolute;
  top: 50%;
  right: -20px;
  transform: translateY(-50%);
  background: var(--green-primary);
  color: var(--white);
  padding: 20px 24px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-md);
  z-index: 2;
}
.about-badge-float .num { font-size: 2rem; font-weight: 800; line-height: 1; display: block; }
.about-badge-float .txt { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.9; }
.about-content { }
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}
.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: var(--off-white);
  border-radius: var(--radius-md);
  transition: var(--transition);
}
.about-feature:hover { background: var(--gray-light); transform: translateY(-2px); }
.about-feature-icon {
  width: 44px;
  height: 44px;
  background: rgba(92,184,92,0.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--green-primary);
  font-size: 1.2rem;
}
.about-feature h4 { font-size: 0.9rem; margin-bottom: 4px; }
.about-feature p { font-size: 0.82rem; color: var(--gray-mid); }

/* ============================================
   FEATURED PRODUCTS
   ============================================ */
.featured-section { padding: 100px 0; background: var(--off-white); }
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.product-card-img {
  position: relative;
  height: 260px;
  overflow: hidden;
}
.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.product-card:hover .product-card-img img { transform: scale(1.08); }
.product-card-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--green-primary);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 50px;
}
.product-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,26,26,0.7) 0%, transparent 50%);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 24px;
}
.product-card:hover .product-card-overlay { opacity: 1; }
.product-card-body { padding: 24px; }
.product-card-body h3 { font-size: 1.1rem; margin-bottom: 8px; }
.product-card-body p { font-size: 0.88rem; color: var(--gray-mid); margin-bottom: 20px; line-height: 1.6; }
.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.product-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: var(--white);
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}
.product-wa-btn:hover { background: #128C7E; transform: translateY(-1px); }
.product-wa-btn svg { width: 16px; height: 16px; fill: white; }
.product-expand-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gray-light);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: var(--gray-dark);
}
.product-expand-btn:hover { background: var(--green-primary); color: var(--white); }

/* ============================================
   HOW WE WORK
   ============================================ */
.how-section { padding: 100px 0; background: var(--gray-deep); }
.how-section .section-header .tag { background: rgba(92,184,92,0.2); color: var(--green-light); }
.how-section .section-header h2 { color: var(--white); }
.how-section .section-header p { color: rgba(255,255,255,0.6); }
.how-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  position: relative;
  margin-top: 16px;
}
.how-step {
  padding: 40px 32px;
  position: relative;
  transition: var(--transition);
}
.how-step:hover { background: rgba(255,255,255,0.04); border-radius: var(--radius-md); }
.how-step-num {
  font-size: 5rem;
  font-weight: 900;
  color: rgba(92,184,92,0.12);
  line-height: 1;
  margin-bottom: -16px;
  font-family: var(--font-display);
}
.how-step-icon {
  width: 56px;
  height: 56px;
  background: rgba(92,184,92,0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--green-light);
  font-size: 1.5rem;
  transition: var(--transition);
}
.how-step:hover .how-step-icon { background: var(--green-primary); color: var(--white); }
.how-step h3 { color: var(--white); font-size: 1.1rem; margin-bottom: 12px; }
.how-step p { color: rgba(255,255,255,0.55); font-size: 0.9rem; line-height: 1.7; }
.how-divider {
  position: absolute;
  top: 50%;
  right: -1px;
  width: 1px;
  height: 60%;
  background: rgba(255,255,255,0.08);
  transform: translateY(-50%);
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-primary) 100%);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
}
.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 300px;
  height: 300px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
}
.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-text h2 { color: var(--white); margin-bottom: 12px; }
.cta-text p { color: rgba(255,255,255,0.8); font-size: 1.05rem; }
.cta-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ============================================
   PRODUCTS PAGE
   ============================================ */
.page-hero {
  padding: 160px 0 80px;
  background: linear-gradient(135deg, var(--gray-deep) 0%, var(--gray-dark) 100%);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 80px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.page-hero h1 { color: var(--white); }
.page-hero p { color: rgba(255,255,255,0.7); font-size: 1.1rem; margin-top: 16px; }
.page-hero .tag { background: rgba(92,184,92,0.2); color: var(--green-light); }

/* FILTER TABS */
.filter-section { padding: 48px 0 32px; }
.filter-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.filter-tab {
  padding: 10px 24px;
  border-radius: 50px;
  border: 2px solid var(--gray-light);
  background: var(--white);
  color: var(--gray-dark);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.filter-tab:hover { border-color: var(--green-primary); color: var(--green-primary); }
.filter-tab.active {
  background: var(--green-primary);
  border-color: var(--green-primary);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(92,184,92,0.4);
}

/* GALLERY GRID */
.gallery-section { padding: 20px 0 100px; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.gallery-item.hidden { display: none; }
.gallery-img-wrap {
  position: relative;
  height: 280px;
  overflow: hidden;
  cursor: pointer;
}
.gallery-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery-item:hover .gallery-img-wrap img { transform: scale(1.06); }
.gallery-img-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,26,26,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}
.gallery-item:hover .gallery-img-overlay { opacity: 1; }
.gallery-img-overlay svg { width: 40px; height: 40px; fill: white; }
.gallery-cat-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(26,26,26,0.75);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: 50px;
  backdrop-filter: blur(8px);
}
.gallery-body { padding: 20px 24px 24px; }
.gallery-body h3 { font-size: 1rem; margin-bottom: 6px; }
.gallery-body p { font-size: 0.84rem; color: var(--gray-mid); margin-bottom: 16px; }
.gallery-body .product-wa-btn { width: 100%; justify-content: center; }

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(0,0,0,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}
.lightbox.open .lightbox-img { transform: scale(1); }
.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.1);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); }
.lightbox-caption {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  text-align: center;
  background: rgba(0,0,0,0.5);
  padding: 10px 24px;
  border-radius: 50px;
  backdrop-filter: blur(8px);
}

/* ============================================
   CATALOGOS PAGE
   ============================================ */
.catalogs-section { padding: 60px 0 100px; }
.catalogs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 32px;
}
.catalog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--gray-light);
}
.catalog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.catalog-cover {
  height: 220px;
  background: linear-gradient(135deg, var(--gray-deep) 0%, var(--gray-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.catalog-cover-icon {
  font-size: 4rem;
  opacity: 0.3;
  position: absolute;
  right: 24px;
  bottom: 16px;
}
.catalog-cover-content { text-align: center; color: var(--white); z-index: 1; padding: 24px; }
.catalog-cover-content .cat-icon { font-size: 3rem; margin-bottom: 12px; }
.catalog-cover-content h3 { font-size: 1.3rem; color: var(--white); }
.catalog-cover-content p { font-size: 0.85rem; color: rgba(255,255,255,0.6); margin-top: 6px; }
.catalog-cover.green { background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-primary) 100%); }
.catalog-cover.slate { background: linear-gradient(135deg, #37474F 0%, #546E7A 100%); }
.catalog-cover.charcoal { background: linear-gradient(135deg, #1A1A1A 0%, #37474F 100%); }
.catalog-body { padding: 28px; }
.catalog-body h3 { font-size: 1.2rem; margin-bottom: 8px; }
.catalog-body p { font-size: 0.9rem; color: var(--gray-mid); margin-bottom: 24px; line-height: 1.7; }
.catalog-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.catalog-actions .btn { flex: 1; justify-content: center; min-width: 120px; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--gray-deep);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand img { height: 52px; margin-bottom: 20px; filter: brightness(0) invert(1); opacity: 0.9; }
.footer-brand p { font-size: 0.9rem; line-height: 1.8; max-width: 300px; }
.footer-col h4 { color: var(--white); font-size: 0.9rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 20px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 0.88rem; transition: var(--transition); }
.footer-col ul li a:hover { color: var(--green-light); padding-left: 4px; }
.footer-contact { display: flex; flex-direction: column; gap: 14px; }
.footer-contact-item { display: flex; align-items: center; gap: 12px; font-size: 0.88rem; }
.footer-contact-item .icon {
  width: 36px; height: 36px;
  background: rgba(92,184,92,0.15);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--green-light);
  flex-shrink: 0;
  font-size: 0.9rem;
}
.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.82rem; }
.footer-bottom a { color: var(--green-light); }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
}
.footer-social a:hover { background: var(--green-primary); color: var(--white); }

/* ============================================
   ANIMATIONS (AOS-like)
   ============================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal="left"] { transform: translateX(-30px); }
[data-reveal="left"].revealed { transform: translateX(0); }
[data-reveal="right"] { transform: translateX(30px); }
[data-reveal="right"].revealed { transform: translateX(0); }
[data-reveal="scale"] { transform: scale(0.92); }
[data-reveal="scale"].revealed { transform: scale(1); }
[data-delay="1"] { transition-delay: 0.1s; }
[data-delay="2"] { transition-delay: 0.2s; }
[data-delay="3"] { transition-delay: 0.3s; }
[data-delay="4"] { transition-delay: 0.4s; }
[data-delay="5"] { transition-delay: 0.5s; }

/* ============================================
   ADMIN PANEL
   ============================================ */
.admin-login {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--gray-deep) 0%, var(--gray-dark) 100%);
  padding: 24px;
}
.admin-login-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.admin-login-card img { height: 60px; margin: 0 auto 32px; }
.admin-login-card h2 { margin-bottom: 8px; font-size: 1.5rem; }
.admin-login-card p { color: var(--gray-mid); font-size: 0.9rem; margin-bottom: 32px; }
.form-group { margin-bottom: 20px; text-align: left; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--gray-dark); margin-bottom: 8px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--gray-light);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: var(--font-main);
  transition: var(--transition);
  background: var(--white);
  color: var(--gray-deep);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--green-primary);
  box-shadow: 0 0 0 3px rgba(92,184,92,0.15);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-error { color: #e53935; font-size: 0.82rem; margin-top: 8px; display: block; }

/* ADMIN LAYOUT */
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 260px;
  background: var(--gray-deep);
  padding: 0;
  flex-shrink: 0;
  position: fixed;
  top: 0; left: 0; bottom: 0;
  overflow-y: auto;
  z-index: 100;
}
.admin-sidebar-logo {
  padding: 28px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.admin-sidebar-logo img { height: 44px; filter: brightness(0) invert(1); opacity: 0.9; }
.admin-sidebar-logo p { color: rgba(255,255,255,0.4); font-size: 0.75rem; margin-top: 6px; }
.admin-nav { padding: 20px 16px; }
.admin-nav-section { margin-bottom: 28px; }
.admin-nav-section-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  padding: 0 12px;
  margin-bottom: 8px;
}
.admin-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
  margin-bottom: 2px;
}
.admin-nav a:hover { background: rgba(255,255,255,0.06); color: var(--white); }
.admin-nav a.active { background: var(--green-primary); color: var(--white); }
.admin-nav a .nav-icon { width: 18px; text-align: center; }
.admin-main {
  margin-left: 260px;
  flex: 1;
  background: var(--off-white);
  min-height: 100vh;
}
.admin-topbar {
  background: var(--white);
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--gray-light);
  position: sticky;
  top: 0;
  z-index: 50;
}
.admin-topbar h1 { font-size: 1.3rem; }
.admin-topbar-actions { display: flex; align-items: center; gap: 16px; }
.admin-content { padding: 40px; }
.admin-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 28px;
}
.admin-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--gray-light);
}
.admin-card-header h2 { font-size: 1.1rem; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th {
  text-align: left;
  padding: 12px 16px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-mid);
  border-bottom: 2px solid var(--gray-light);
}
.admin-table td {
  padding: 16px;
  border-bottom: 1px solid var(--gray-light);
  font-size: 0.9rem;
  vertical-align: middle;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: var(--off-white); }
.admin-table img { width: 64px; height: 48px; object-fit: cover; border-radius: var(--radius-sm); }
.admin-actions { display: flex; gap: 8px; }
.admin-btn-edit {
  padding: 7px 16px;
  background: rgba(92,184,92,0.1);
  color: var(--green-dark);
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.admin-btn-edit:hover { background: var(--green-primary); color: var(--white); }
.admin-btn-delete {
  padding: 7px 16px;
  background: rgba(229,57,53,0.1);
  color: #e53935;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.admin-btn-delete:hover { background: #e53935; color: var(--white); }

/* MODAL */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}
.modal-overlay.open .modal { transform: scale(1); }
.modal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.modal-header h3 { font-size: 1.2rem; }
.modal-close { background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--gray-mid); transition: var(--transition); }
.modal-close:hover { color: var(--gray-deep); }
.modal-footer { display: flex; gap: 12px; justify-content: flex-end; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--gray-light); }

/* Upload zone */
.upload-zone {
  border: 2px dashed var(--gray-light);
  border-radius: var(--radius-md);
  padding: 40px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  background: var(--off-white);
}
.upload-zone:hover, .upload-zone.dragover { border-color: var(--green-primary); background: rgba(92,184,92,0.05); }
.upload-zone p { color: var(--gray-mid); font-size: 0.9rem; margin-top: 12px; }
.upload-zone .upload-icon { font-size: 2.5rem; margin-bottom: 8px; }
.upload-preview { margin-top: 16px; }
.upload-preview img { max-height: 160px; border-radius: var(--radius-sm); margin: 0 auto; }

/* Stats cards */
.admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 32px; }
.admin-stat-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 16px;
}
.admin-stat-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.admin-stat-icon.green { background: rgba(92,184,92,0.15); color: var(--green-primary); }
.admin-stat-icon.blue { background: rgba(33,150,243,0.12); color: #2196F3; }
.admin-stat-icon.orange { background: rgba(255,152,0,0.12); color: #FF9800; }
.admin-stat-icon.red { background: rgba(229,57,53,0.12); color: #e53935; }
.admin-stat-info .num { font-size: 1.8rem; font-weight: 800; color: var(--gray-deep); line-height: 1; }
.admin-stat-info .label { font-size: 0.8rem; color: var(--gray-mid); margin-top: 4px; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-images { height: 360px; }
  .how-steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { display: none; }
}

@media (max-width: 768px) {
  .navbar-nav { display: none; }
  .hamburger { display: flex; }
  .hero-content { padding: 120px 24px 80px; }
  .how-steps { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-actions { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .admin-sidebar { transform: translateX(-100%); transition: transform 0.3s ease; }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-main { margin-left: 0; }
  .admin-content { padding: 24px 16px; }
  .admin-topbar { padding: 16px 20px; }
  .admin-stats { grid-template-columns: 1fr 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .catalogs-grid { grid-template-columns: 1fr; }
  .about-features { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }
  .section-pad { padding: 70px 0; }
  .container { padding: 0 16px; }
}

@media (max-width: 480px) {
  .filter-tabs { gap: 8px; }
  .filter-tab { padding: 8px 16px; font-size: 0.82rem; }
  .admin-stats { grid-template-columns: 1fr; }
}

/* ---- TOAST ---- */
.toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toast {
  background: var(--gray-deep);
  color: var(--white);
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slideInToast 0.3s ease;
  max-width: 320px;
}
.toast.success { border-left: 4px solid var(--green-primary); }
.toast.error { border-left: 4px solid #e53935; }
@keyframes slideInToast {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ---- NO RESULTS ---- */
.no-results {
  grid-column: 1/-1;
  text-align: center;
  padding: 80px 20px;
  color: var(--gray-mid);
}
.no-results svg { width: 64px; height: 64px; fill: var(--gray-light); margin: 0 auto 16px; }
.no-results h3 { color: var(--gray-dark); margin-bottom: 8px; }

/* ---- LOCATION SECTION ---- */
.location-section { background: var(--off-white); }
.location-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: start;
  margin-top: 48px;
}
.location-map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--gray-light);
  min-height: 420px;
}
.location-map-wrapper iframe {
  display: block;
  border-radius: var(--radius-lg);
}
.location-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.location-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.location-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.location-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-light);
  border-radius: var(--radius-sm);
}
.location-card h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green-primary);
  margin-bottom: 4px;
}
.location-card p {
  font-size: 0.95rem;
  color: var(--gray-dark);
  line-height: 1.5;
}

/* ---- BTN WAZE ---- */
.btn-waze {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  background: #33CCFF;
  color: white;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(51, 204, 255, 0.35);
  text-decoration: none;
}
.btn-waze:hover {
  background: #00b8e6;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(51, 204, 255, 0.45);
  color: white;
}

@media (max-width: 900px) {
  .location-grid {
    grid-template-columns: 1fr;
  }
  .location-map-wrapper {
    min-height: 300px;
  }
  .location-map-wrapper iframe {
    height: 300px !important;
  }
}

/* ---- SOCIAL BUTTONS WITH BRAND COLORS ---- */
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
  flex-shrink: 0;
}
.footer-social a:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}
.footer-social .social-fb {
  background: #1877F2;
  color: #fff;
}
.footer-social .social-ig {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  color: #fff;
}
.footer-social .social-wa {
  background: #25D366;
  color: #fff;
}

/* ---- HERO LOGO CENTERED ---- */
.hero-logo-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  pointer-events: none;
  text-align: center;
}
.hero-logo-img {
  width: clamp(280px, 45vw, 600px);
  height: auto;
  opacity: 0.18;
  filter: brightness(0) invert(1);
  display: block;
}
@media (max-width: 768px) {
  .hero-logo-img {
    width: clamp(200px, 70vw, 340px);
    opacity: 0.15;
  }
}

/* ---- HERO CENTRADO REDISEÑADO ---- */
.hero.hero-centered .hero-center-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  text-align: center;
  width: 100%;
  max-width: 860px;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.hero-logo-big {
  width: clamp(220px, 38vw, 480px);
  height: auto;
  display: block;
  filter: drop-shadow(0 4px 24px rgba(0,0,0,0.55));
  margin-bottom: 8px;
}
.hero.hero-centered .hero-content {
  display: none;
}
.hero.hero-centered h1 {
  font-size: clamp(2rem, 5vw, 3.6rem);
  text-align: center;
  color: #fff;
  line-height: 1.15;
  margin: 0;
}
.hero.hero-centered h1 span {
  color: #6fcf6f;
}
.hero.hero-centered p {
  color: rgba(255,255,255,0.88);
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  max-width: 600px;
  text-align: center;
  margin: 0;
}
.hero.hero-centered .hero-badge {
  margin: 0 auto;
}
.hero.hero-centered .hero-actions {
  justify-content: center;
  flex-wrap: wrap;
}

/* Quitar estilos viejos del logo flotante */
.hero-logo-center { display: none !important; }
.hero-logo-img { display: none !important; }

/* ---- NAVBAR LOGO MÁS GRANDE ---- */
.navbar-logo img {
  width: 220px !important;
  height: auto !important;
}
@media (max-width: 768px) {
  .navbar-logo img {
    width: 160px !important;
  }
  .hero-logo-big {
    width: clamp(180px, 65vw, 300px);
  }
  .hero.hero-centered h1 {
    font-size: 1.8rem;
  }
}

/* ---- HERO CENTRADO - CORRECCIÓN COMPLETA ---- */
.hero.hero-centered {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero.hero-centered .hero-center-content {
  position: relative;
  top: auto;
  left: auto;
  transform: none;
  z-index: 3;
  text-align: center;
  width: 100%;
  max-width: 860px;
  padding: 120px 24px 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin: 0 auto;
}
/* Ocultar el div .container original del hero centrado */
.hero.hero-centered > .container {
  display: none !important;
}
.hero.hero-centered .hero-stats {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}
@media (max-width: 768px) {
  .hero.hero-centered .hero-center-content {
    padding: 100px 20px 140px;
    gap: 16px;
  }
}
