/* ============================================================
   CarpinteriaZonaSur – styles.css
   Diseño moderno artesanal premium · 2026
   ============================================================ */

/* ─────────────────────────────────────────
   1. TOKENS / VARIABLES
───────────────────────────────────────── */
:root {
  /* Paleta */
  --oak:          #2C1A0E;
  --oak-mid:      #5C3D1E;
  --oak-light:    #8B5E3C;
  --amber:        #C8873A;
  --amber-light:  #E4A855;
  --amber-glow:   #F0C070;
  --leaf:         #4A7C59;
  --leaf-light:   #6DA87A;
  --cream:        #FAF6F0;
  --sand:         #EDE3D3;
  --sand-light:   #F5EFE4;
  --sand-dark:    #C9B89A;
  --white:        #FFFFFF;
  --text-primary: #1C1008;
  --text-secondary:#4A3728;
  --text-muted:   #8A7060;
  --wa-green:     #25D366;
  --wa-dark:      #128C7E;

  /* Sombras */
  --shadow-sm:    0 2px 8px rgba(44,26,14,.08);
  --shadow-md:    0 6px 24px rgba(44,26,14,.12);
  --shadow-lg:    0 16px 48px rgba(44,26,14,.16);
  --shadow-xl:    0 32px 80px rgba(44,26,14,.20);

  /* Tipografías */
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  /* Radios */
  --radius-sm:    8px;
  --radius-md:    14px;
  --radius-lg:    22px;
  --radius-xl:    32px;
  --radius-full:  9999px;

  /* Transiciones */
  --ease:         cubic-bezier(.25,.46,.45,.94);
  --ease-spring:  cubic-bezier(.34,1.56,.64,1);
  --duration:     .28s;
  --duration-md:  .45s;
}

/* ─────────────────────────────────────────
   2. RESET & BASE
───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ─────────────────────────────────────────
   3. TOPBAR
───────────────────────────────────────── */
.topbar {
  background: var(--oak);
  color: var(--amber-glow);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .04em;
  padding: 9px 0;
  text-align: center;
  position: relative;
  z-index: 100;
}

.topbar i { margin-right: 4px; }

.topbar a {
  color: var(--amber-light);
  transition: color var(--duration) var(--ease);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: transparent;
}
.topbar a:hover {
  color: var(--amber-glow);
  text-decoration-color: var(--amber-glow);
}

/* ─────────────────────────────────────────
   4. NAVBAR — agrandado
───────────────────────────────────────── */
.navbar {
  background: var(--white);
  border-bottom: 1px solid var(--sand);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow var(--duration-md) var(--ease), background var(--duration-md) var(--ease);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(16px);
}

.navbar .container {
  height: 106px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* ── Brand ── */
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-logo {
  width: 46px;
  height: 46px;
  background: var(--oak);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--duration) var(--ease-spring);
}
.brand-logo:hover { transform: rotate(-4deg) scale(1.06); }
.brand-logo svg   { width: 30px; height: 30px; }

.brand-text { display: flex; flex-direction: column; line-height: 1.2; }

.brand-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--oak);
  letter-spacing: -.01em;
}

.brand-sub {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--amber);
}

/* ── Nav categories ── */
.nav-categories {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: center;
}

.nav-cat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: background var(--duration) var(--ease), transform var(--duration) var(--ease-spring);
  position: relative;
}

.nav-cat-item:hover {
  background: var(--sand-light);
  transform: translateY(-2px);
}

/* ── Nav icon circles — GRANDES para que las imágenes se vean bien ── */
.nav-cat-icon {
  width: 80px;
  height: 80px;
  background: var(--sand-light);
  border: 2px solid var(--sand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  color: var(--oak-mid);
  transition:
    background var(--duration) var(--ease),
    border-color var(--duration) var(--ease),
    box-shadow var(--duration) var(--ease),
    transform var(--duration) var(--ease-spring),
    color var(--duration) var(--ease);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.nav-cat-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.nav-cat-item:hover .nav-cat-icon {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(200,135,58,.35);
  transform: scale(1.1);
}

.nav-cat-label {
  font-size: .67rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--duration) var(--ease);
  white-space: nowrap;
}
.nav-cat-item:hover .nav-cat-label { color: var(--oak); }

/* ── Nav icons right ── */
.nav-icons { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.whatsapp-nav {
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--wa-green);
  color: var(--white);
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: .84rem;
  letter-spacing: .02em;
  transition: background var(--duration) var(--ease), box-shadow var(--duration) var(--ease), transform var(--duration) var(--ease-spring);
  box-shadow: 0 3px 12px rgba(37,211,102,.3);
}
.whatsapp-nav:hover {
  background: #1ebe5d;
  box-shadow: 0 6px 20px rgba(37,211,102,.45);
  transform: translateY(-1px);
  color: var(--white);
}

.nav-icon-btn {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--oak);
  transition: background var(--duration) var(--ease);
}
.nav-icon-btn:hover { background: var(--sand-light); }

/* ─────────────────────────────────────────
   5. GRASS DIVIDER — oculto
───────────────────────────────────────── */
.grass-divider {
  display: none !important;
  height: 0 !important;
  overflow: hidden !important;
}

/* ─────────────────────────────────────────
   6. OFFCANVAS
───────────────────────────────────────── */
.offcanvas { font-family: var(--font-body); }

.offcanvas-cat-list { padding: 8px 0; }

.offcanvas-cat-list li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-weight: 500;
  font-size: .93rem;
  transition: background var(--duration) var(--ease), color var(--duration) var(--ease);
}
.offcanvas-cat-list li a:hover {
  background: var(--sand-light);
  color: var(--oak);
}
.offcanvas-cat-list li a i {
  width: 24px; text-align: center;
  color: var(--amber);
  font-size: 1rem;
}

/* ─────────────────────────────────────────
   7. BUTTONS
───────────────────────────────────────── */

/* WhatsApp */
.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--wa-green);
  color: var(--white);
  padding: 13px 26px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: .92rem;
  letter-spacing: .02em;
  transition: background var(--duration) var(--ease), box-shadow var(--duration) var(--ease), transform var(--duration) var(--ease-spring);
  box-shadow: 0 4px 16px rgba(37,211,102,.3);
}
.btn-wa:hover {
  background: #1ebe5d;
  box-shadow: 0 8px 28px rgba(37,211,102,.45);
  transform: translateY(-2px);
  color: var(--white);
}

/* Ámbar */
.btn-amber {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--amber);
  color: var(--white);
  padding: 13px 26px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: .92rem;
  letter-spacing: .02em;
  transition: background var(--duration) var(--ease), box-shadow var(--duration) var(--ease), transform var(--duration) var(--ease-spring);
  box-shadow: 0 4px 16px rgba(200,135,58,.3);
}
.btn-amber:hover {
  background: var(--oak-light);
  box-shadow: 0 8px 28px rgba(200,135,58,.4);
  transform: translateY(-2px);
  color: var(--white);
}

/* Primary CZ */
.btn-primary-cz {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--oak);
  color: var(--amber-light);
  padding: 13px 26px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: .92rem;
  letter-spacing: .02em;
  transition: background var(--duration) var(--ease), box-shadow var(--duration) var(--ease), transform var(--duration) var(--ease-spring);
  box-shadow: 0 4px 16px rgba(44,26,14,.25);
}
.btn-primary-cz:hover {
  background: var(--oak-mid);
  box-shadow: 0 8px 28px rgba(44,26,14,.35);
  transform: translateY(-2px);
  color: var(--amber-glow);
}

/* Outline */
.btn-outline-cz {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--oak);
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: .92rem;
  letter-spacing: .02em;
  border: 2px solid var(--oak);
  transition: background var(--duration) var(--ease), color var(--duration) var(--ease), box-shadow var(--duration) var(--ease), transform var(--duration) var(--ease-spring);
}
.btn-outline-cz:hover {
  background: var(--oak);
  color: var(--amber-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* ─────────────────────────────────────────
   8. HERO SLIDER
───────────────────────────────────────── */
.hero-slider {
  position: relative;
  overflow: hidden;
  background: var(--oak);
  min-height: 520px;
}

.hero-slide {
  display: none;
  padding: 72px 0 80px;
  opacity: 0;
  transform: translateX(32px);
  transition: opacity var(--duration-md) var(--ease), transform var(--duration-md) var(--ease);
}
.hero-slide.active {
  display: block;
  opacity: 1;
  transform: translateX(0);
  animation: heroIn .6s var(--ease) forwards;
}

@keyframes heroIn {
  from { opacity: 0; transform: translateX(32px); }
  to   { opacity: 1; transform: translateX(0);    }
}

.hero-slide-inner {
  display: flex;
  align-items: center;
  gap: 48px;
}

.hero-content {
  flex: 1;
  color: var(--cream);
}

.hero-eyebrow {
  display: inline-block;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--amber-light);
  background: rgba(228,168,85,.12);
  border: 1px solid rgba(228,168,85,.3);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 18px;
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--cream);
  margin-bottom: 18px;
}

.hero-content h1 em {
  color: var(--amber-light);
  font-style: italic;
}

.hero-content p {
  font-size: 1.05rem;
  color: rgba(250,246,240,.75);
  margin-bottom: 32px;
  max-width: 440px;
  line-height: 1.7;
}

.hero-image-wrap {
  flex: 0 0 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-frame {
  width: 380px;
  height: 280px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: rgba(255,255,255,.06);
  border: 2px solid rgba(228,168,85,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-xl);
}

.hero-image-frame .hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-img-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  color: rgba(228,168,85,.4);
}

/* Slider controls */
.slider-arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px;
  background: rgba(255,255,255,.1);
  color: var(--cream);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.15);
  transition: background var(--duration) var(--ease), transform var(--duration) var(--ease-spring);
  z-index: 10;
}
.slider-arrow.prev { left: 24px; }
.slider-arrow.next { right: 24px; }
.slider-arrow:hover {
  background: var(--amber);
  transform: translateY(-50%) scale(1.1);
}

.slider-dots {
  position: absolute;
  bottom: 22px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 8px;
  z-index: 10;
}

.slider-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.3);
  transition: background var(--duration) var(--ease), width .3s var(--ease), border-radius .3s var(--ease);
}
.slider-dot.active {
  background: var(--amber-light);
  width: 24px;
  border-radius: var(--radius-full);
}

/* ─────────────────────────────────────────
   9. WELCOME SECTION
───────────────────────────────────────── */
.welcome-section {
  padding: 100px 0;
  background: var(--cream);
  position: relative;
}

.welcome-section::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 40%;
  height: 100%;
  background: radial-gradient(ellipse at 80% 50%, rgba(200,135,58,.06) 0%, transparent 70%);
  pointer-events: none;
}

.section-eyebrow {
  display: inline-block;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 400;
  color: var(--oak);
  line-height: 1.2;
  margin-bottom: 14px;
}

.section-title em { font-style: italic; color: var(--amber); }

.section-divider {
  width: 48px; height: 3px;
  background: linear-gradient(90deg, var(--amber), var(--amber-light));
  border-radius: var(--radius-full);
  margin-bottom: 28px;
}
.section-divider.centered { margin: 0 auto 28px; }

.section-sub {
  color: var(--text-muted);
  font-size: .96rem;
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
}

.welcome-text {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.75;
}

.welcome-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.feature-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--sand-light);
  color: var(--oak-mid);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: .8rem;
  font-weight: 600;
  border: 1px solid var(--sand);
  transition: background var(--duration) var(--ease), border-color var(--duration) var(--ease);
}
.feature-chip:hover {
  background: var(--sand);
  border-color: var(--sand-dark);
}
.feature-chip i { color: var(--amber); }

.welcome-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}

.welcome-img-placeholder {
  width: 100%;
  height: 420px;
  background: linear-gradient(135deg, var(--sand-light), var(--sand));
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  color: var(--sand-dark);
}

/* ─────────────────────────────────────────
   10. PRODUCTS SECTION (HOME)
───────────────────────────────────────── */
.products-section {
  padding: 90px 0;
  background: var(--sand-light);
  position: relative;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.cat-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--sand);
  border: 1px solid var(--sand);
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 320px;
  cursor: pointer;
  transition: transform var(--duration) var(--ease-spring), box-shadow var(--duration) var(--ease);
  box-shadow: var(--shadow-sm);
}

.cat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

/* Placeholder — siempre visible debajo */
.cat-icon-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 3.2rem;
  color: var(--oak-mid);
  z-index: 1;
  background: linear-gradient(135deg, var(--sand-light), var(--sand));
}

.cat-icon-fallback span {
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Imagen — encima del fallback cuando carga */
.cat-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  transition: transform .5s var(--ease);
  display: block;
}
.cat-card:hover .cat-card-img { transform: scale(1.06); }

/* Overlay degradado — encima de la imagen */
.cat-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(28,16,8,.82) 0%, rgba(28,16,8,.15) 55%, transparent 100%);
  z-index: 3;
  transition: opacity var(--duration-md) var(--ease);
  pointer-events: none;
}
.cat-card:hover::after {
  background: linear-gradient(0deg, rgba(28,16,8,.9) 0%, rgba(28,16,8,.25) 60%, transparent 100%);
}

.cat-card-content {
  position: relative;
  z-index: 4;
  padding: 24px 22px 22px;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.cat-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 6px;
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
}

.cat-card-link {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--amber-light);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--duration) var(--ease);
}
.cat-card:hover .cat-card-link { gap: 10px; }

/* ─────────────────────────────────────────
   11. DIFERENCIAL
───────────────────────────────────────── */
.diferencial-section {
  padding: 90px 0;
  background: var(--cream);
}

.diferencial-card {
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: var(--radius-lg);
  padding: 28px 20px 24px;
  text-align: center;
  transition: transform var(--duration) var(--ease-spring), box-shadow var(--duration) var(--ease), border-color var(--duration) var(--ease);
  height: 100%;
}
.diferencial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--amber);
}

.diferencial-icon {
  width: 58px; height: 58px;
  background: linear-gradient(135deg, var(--sand-light), var(--sand));
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  color: var(--amber);
  margin: 0 auto 16px;
  transition: background var(--duration) var(--ease), transform var(--duration) var(--ease-spring);
}
.diferencial-card:hover .diferencial-icon {
  background: linear-gradient(135deg, var(--amber), var(--amber-light));
  color: var(--white);
  transform: scale(1.1) rotate(-6deg);
}

.diferencial-card h3 {
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 400;
  color: var(--oak);
  margin-bottom: 8px;
}

.diferencial-card p {
  font-size: .82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ─────────────────────────────────────────
   12. TESTIMONIOS
───────────────────────────────────────── */
.testimonios-section {
  padding: 90px 0;
  background: var(--sand-light);
  position: relative;
  overflow: hidden;
}

.testimonios-section::before {
  content: '"';
  position: absolute;
  top: -40px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 20rem;
  color: rgba(200,135,58,.05);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.testimonio-card {
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: var(--radius-lg);
  padding: 32px 28px 28px;
  height: 100%;
  transition: transform var(--duration) var(--ease-spring), box-shadow var(--duration) var(--ease);
  position: relative;
}
.testimonio-card::before {
  content: '';
  position: absolute;
  top: 0; left: 28px; right: 28px;
  height: 3px;
  background: linear-gradient(90deg, var(--amber), var(--amber-light));
  border-radius: 0 0 var(--radius-full) var(--radius-full);
}
.testimonio-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.testimonio-stars {
  color: var(--amber);
  font-size: .9rem;
  margin-bottom: 16px;
  display: flex; gap: 3px;
}

.testimonio-text {
  color: var(--text-secondary);
  font-size: .93rem;
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonio-author {
  font-weight: 700;
  color: var(--oak);
  font-size: .88rem;
}

.testimonio-location {
  font-size: .78rem;
  color: var(--text-muted);
  margin-top: 4px;
}
.testimonio-location i { color: var(--amber); margin-right: 4px; }

/* ─────────────────────────────────────────
   13. CTA BANNER
───────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--oak) 0%, var(--oak-mid) 100%);
  padding: 90px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(200,135,58,.18) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 14px;
  position: relative;
}

.cta-banner p {
  color: rgba(250,246,240,.7);
  font-size: 1.05rem;
  margin-bottom: 36px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
  position: relative;
}

.cta-banner-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* ─────────────────────────────────────────
   14. FOOTER
───────────────────────────────────────── */
footer {
  background: var(--oak);
  color: rgba(250,246,240,.7);
  padding: 70px 0 0;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.footer-logo {
  width: 46px; height: 46px;
  background: rgba(200,135,58,.15);
  border: 1px solid rgba(200,135,58,.25);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  color: var(--amber-light);
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--cream);
  line-height: 1.2;
}

.footer-brand-sub {
  font-size: .7rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--amber);
  font-weight: 600;
}

footer p {
  font-size: .87rem;
  line-height: 1.7;
  color: rgba(250,246,240,.55);
}

.footer-title {
  font-family: var(--font-display);
  font-size: .88rem;
  font-weight: 400;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--amber-light);
  margin-bottom: 16px;
}

.footer-links { display: flex; flex-direction: column; gap: 10px; }

.footer-links li {
  font-size: .85rem;
  color: rgba(250,246,240,.55);
  display: flex;
  align-items: center;
  transition: color var(--duration) var(--ease);
}

.footer-links li a {
  color: rgba(250,246,240,.55);
  transition: color var(--duration) var(--ease);
}
.footer-links li a:hover,
.footer-links li:hover { color: var(--amber-light); }
.footer-links li a:hover { color: var(--amber-light); }

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 38px; height: 38px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: rgba(250,246,240,.6);
  font-size: 1.05rem;
  transition: background var(--duration) var(--ease), color var(--duration) var(--ease), transform var(--duration) var(--ease-spring);
}
.footer-social a:hover {
  background: var(--amber);
  color: var(--white);
  border-color: var(--amber);
  transform: translateY(-3px);
}

.footer-bottom {
  margin-top: 52px;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom p {
  font-size: .78rem;
  color: rgba(250,246,240,.35);
}

.footer-bottom a {
  color: var(--amber);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--duration) var(--ease);
}
.footer-bottom a:hover { color: var(--amber-light); }

/* ─────────────────────────────────────────
   15. WHATSAPP FLOAT
───────────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 58px; height: 58px;
  background: var(--wa-green);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 6px 24px rgba(37,211,102,.45);
  z-index: 999;
  transition: transform var(--duration) var(--ease-spring), box-shadow var(--duration) var(--ease), background var(--duration) var(--ease);
}
.whatsapp-float:hover {
  transform: scale(1.12) translateY(-3px);
  box-shadow: 0 12px 36px rgba(37,211,102,.55);
  background: #1ebe5d;
  color: var(--white);
}
.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(37,211,102,.2);
  animation: waPulse 2s ease-in-out infinite;
}
@keyframes waPulse {
  0%, 100% { opacity: .8; transform: scale(1); }
  50%       { opacity: 0;  transform: scale(1.5); }
}

/* ─────────────────────────────────────────
   16. PRODUCTS PAGE
───────────────────────────────────────── */
.products-hero {
  background: linear-gradient(135deg, var(--oak) 0%, var(--oak-mid) 100%);
  padding: 60px 0 56px;
  position: relative;
  overflow: hidden;
}
.products-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 50%, rgba(200,135,58,.15) 0%, transparent 60%);
  pointer-events: none;
}

.breadcrumb-custom {
  font-size: .78rem;
  font-weight: 500;
  color: rgba(250,246,240,.5);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.breadcrumb-custom a {
  color: rgba(250,246,240,.5);
  transition: color var(--duration) var(--ease);
}
.breadcrumb-custom a:hover { color: var(--amber-light); }
.breadcrumb-custom .sep { opacity: .5; }

.products-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 12px;
  position: relative;
}

.products-hero p {
  color: rgba(250,246,240,.7);
  font-size: 1rem;
  max-width: 520px;
  line-height: 1.7;
  position: relative;
}

/* Filter bar */
.filter-bar {
  background: var(--white);
  border-bottom: 1px solid var(--sand);
  padding: 16px 0;
  position: sticky;
  top: 106px; /* actualizado para coincidir con la nueva altura del navbar */
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.filter-bar-inner {
  display: flex;
  align-items: center;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}
.filter-bar-inner::-webkit-scrollbar { display: none; }

.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--text-muted);
  background: var(--sand-light);
  border: 1px solid var(--sand);
  white-space: nowrap;
  transition: background var(--duration) var(--ease), color var(--duration) var(--ease), border-color var(--duration) var(--ease), transform var(--duration) var(--ease-spring);
}
.filter-btn:hover {
  background: var(--sand);
  color: var(--oak);
  transform: translateY(-1px);
}
.filter-btn.active-filter {
  background: var(--oak);
  color: var(--amber-light);
  border-color: var(--oak);
  box-shadow: var(--shadow-sm);
}

/* Products grid section */
.products-grid-section {
  padding: 60px 0 80px;
  background: var(--cream);
}

/* ─────────────────────────────────────────
   PRODUCT CARD — imagen única bien visible
───────────────────────────────────────── */
.product-card {
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform var(--duration) var(--ease-spring), box-shadow var(--duration) var(--ease), border-color var(--duration) var(--ease);
  box-shadow: var(--shadow-sm);
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(200,135,58,.3);
}

/* Imagen: altura fija, sin mostrar el fallback icon cuando hay foto */
.product-card-img {
  height: 220px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--sand-light), var(--sand));
  display: flex;
  align-items: center;
  justify-content: center;
}

/* La imagen ocupa todo el espacio disponible */
.product-card-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
  z-index: 1;
}
.product-card:hover .product-card-img img { transform: scale(1.06); }

/* Ícono de fallback — solo visible si la imagen no carga (z-index menor) */
.product-card-img > i {
  position: relative;
  z-index: 0;
  font-size: 3.5rem;
  color: var(--sand-dark);
}

/* Badge sobre la imagen */
.product-card-badge {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(44,26,14,.85);
  color: var(--amber-light);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  gap: 5px;
  z-index: 2;
}

.product-card-body {
  padding: 22px 22px 14px;
  flex: 1;
}

.product-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--oak);
  margin-bottom: 10px;
}

.product-card-body p {
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.product-card-footer {
  padding: 14px 22px 22px;
  display: flex;
  gap: 10px;
  align-items: center;
  border-top: 1px solid var(--sand);
}

.product-card-footer .btn-outline-cz {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: .82rem;
}

.product-card-footer .btn-amber {
  flex: 1;
  justify-content: center;
  padding: 10px 14px;
  font-size: .84rem;
}

/* ─────────────────────────────────────────
   17. PRODUCT DETAIL PAGE
───────────────────────────────────────── */
.product-detail-section {
  padding: 60px 0 80px;
  background: var(--cream);
}

.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.product-gallery-main {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--sand-light), var(--sand));
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--sand);
  box-shadow: var(--shadow-md);
}

.product-gallery-main img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.img-placeholder-icon {
  font-size: 6rem;
  color: var(--sand-dark);
}

.product-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.thumb-slot {
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--sand-light);
  border: 2px solid var(--sand);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  color: var(--sand-dark);
  transition: border-color var(--duration) var(--ease), transform var(--duration) var(--ease-spring);
}
.thumb-slot:hover { transform: scale(1.04); border-color: var(--amber); }
.thumb-slot.active { border-color: var(--amber); }
.thumb-slot img { width: 100%; height: 100%; object-fit: cover; }

/* Product info */
.product-detail-info { display: flex; flex-direction: column; gap: 20px; }

.product-category-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--sand-light);
  color: var(--amber);
  border: 1px solid var(--sand);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.product-detail-info h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 400;
  color: var(--oak);
  line-height: 1.15;
}

.product-desc {
  color: var(--text-secondary);
  font-size: .97rem;
  line-height: 1.75;
}

.product-features-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.product-features-list li i {
  color: var(--leaf);
  margin-top: 2px;
  flex-shrink: 0;
}

.product-custom-box {
  background: var(--sand-light);
  border: 1px solid var(--sand);
  border-radius: var(--radius-md);
  padding: 20px;
}

.product-custom-box h4 {
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 400;
  color: var(--oak);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.product-custom-box h4 i { color: var(--amber); }

.product-custom-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.custom-tag {
  background: var(--white);
  border: 1px solid var(--sand);
  color: var(--text-secondary);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: .78rem;
  font-weight: 500;
  transition: background var(--duration) var(--ease), border-color var(--duration) var(--ease);
}
.custom-tag:hover { background: var(--sand); border-color: var(--sand-dark); }

.product-cta-box {
  background: linear-gradient(135deg, var(--oak), var(--oak-mid));
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-cta-box p {
  font-size: .85rem;
  color: rgba(250,246,240,.75);
  line-height: 1.6;
}

/* ─────────────────────────────────────────
   18. NOSOTROS PAGE
───────────────────────────────────────── */
.nosotros-hero {
  background: linear-gradient(135deg, var(--oak) 0%, var(--oak-mid) 100%);
  padding: 72px 0 68px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.nosotros-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(200,135,58,.18) 0%, transparent 65%);
  pointer-events: none;
}

.nosotros-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 14px;
  position: relative;
}

.nosotros-hero p {
  color: rgba(250,246,240,.7);
  font-size: 1.05rem;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.7;
  position: relative;
}

.historia-section {
  padding: 100px 0;
  background: var(--cream);
}

.historia-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}

.historia-img-placeholder {
  width: 100%; height: 480px;
  background: linear-gradient(135deg, var(--sand-light), var(--sand));
  border-radius: var(--radius-xl);
  display: flex; align-items: center; justify-content: center;
  font-size: 6rem;
  color: var(--sand-dark);
}

.historia-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 400;
  color: var(--oak);
  margin-bottom: 20px;
}

.historia-text p {
  color: var(--text-secondary);
  font-size: .97rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

/* Values */
.values-section {
  padding: 90px 0;
  background: var(--sand-light);
}

.value-card {
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  height: 100%;
  transition: transform var(--duration) var(--ease-spring), box-shadow var(--duration) var(--ease), border-color var(--duration) var(--ease);
}
.value-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(200,135,58,.3);
}

.value-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--sand-light), var(--sand));
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  color: var(--amber);
  margin: 0 auto 20px;
  transition: background var(--duration) var(--ease), transform var(--duration) var(--ease-spring);
}
.value-card:hover .value-icon {
  background: linear-gradient(135deg, var(--amber), var(--amber-light));
  color: var(--white);
  transform: rotate(-8deg) scale(1.1);
}

.value-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--oak);
  margin-bottom: 10px;
}

.value-card p {
  font-size: .86rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Proceso */
.proceso-section {
  padding: 90px 0;
  background: var(--cream);
}

.proceso-steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  align-items: start;
  position: relative;
}

.proceso-step {
  text-align: center;
  padding: 24px 16px;
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: var(--radius-lg);
  position: relative;
  transition: transform var(--duration) var(--ease-spring), box-shadow var(--duration) var(--ease);
}
.proceso-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.proceso-step-num {
  width: 44px; height: 44px;
  background: var(--oak);
  color: var(--cream);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  margin: 0 auto 14px;
}

.proceso-step h4 {
  font-family: var(--font-display);
  font-size: .88rem;
  font-weight: 400;
  color: var(--oak);
  margin-bottom: 6px;
}

.proceso-step p {
  font-size: .78rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.proceso-arrow {
  position: absolute;
  right: -14px; top: 30px;
  font-size: 1.5rem;
  color: var(--amber);
  z-index: 1;
  font-family: var(--font-display);
}

/* ─────────────────────────────────────────
   19. CONTACT PAGE
───────────────────────────────────────── */
.contacto-hero {
  background: linear-gradient(135deg, var(--oak) 0%, var(--oak-mid) 100%);
  padding: 72px 0 68px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.contacto-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(200,135,58,.18) 0%, transparent 65%);
  pointer-events: none;
}
.contacto-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 14px;
  position: relative;
}
.contacto-hero p {
  color: rgba(250,246,240,.7);
  font-size: 1.05rem;
  position: relative;
}

.contacto-section { padding: 70px 0 80px; background: var(--cream); }

.contact-whatsapp-card {
  background: linear-gradient(135deg, var(--wa-dark), #075e54);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  margin-bottom: 20px;
  box-shadow: 0 8px 32px rgba(37,211,102,.25);
}

.contact-whatsapp-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 10px;
}

.contact-whatsapp-card p {
  font-size: .88rem;
  opacity: .8;
  margin-bottom: 20px;
  line-height: 1.6;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
}

.contact-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--oak);
  margin-bottom: 20px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--sand);
}

.contact-info-icon {
  width: 42px; height: 42px;
  background: var(--sand-light);
  border: 1px solid var(--sand);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--amber);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-info-text h4 {
  font-size: .82rem;
  font-weight: 700;
  color: var(--oak);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 4px;
}

.contact-info-text p {
  font-size: .86rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.contact-info-text a { color: var(--text-muted); transition: color var(--duration) var(--ease); }
.contact-info-text a:hover { color: var(--amber); }

/* Form */
.form-group { margin-bottom: 0; }

.form-label-custom {
  display: block;
  font-size: .8rem;
  font-weight: 700;
  color: var(--oak);
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 7px;
}
.form-label-custom span { color: var(--amber); }

.form-control-custom {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--sand);
  border-radius: var(--radius-sm);
  background: var(--cream);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: .92rem;
  transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
  outline: none;
  resize: none;
}

textarea.form-control-custom { min-height: 110px; }

.form-control-custom:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(200,135,58,.12);
  background: var(--white);
}

.form-control-custom::placeholder { color: var(--sand-dark); }

/* Accordion */
.accordion-button:not(.collapsed) {
  color: var(--oak) !important;
  background: var(--sand-light) !important;
  box-shadow: none !important;
}
.accordion-button:focus { box-shadow: none !important; }
.accordion-button::after {
  filter: invert(35%) sepia(40%) saturate(800%) hue-rotate(15deg);
}

/* ─────────────────────────────────────────
   20. RELATED PRODUCTS
───────────────────────────────────────── */
.related-section {
  padding: 70px 0 80px;
  background: var(--sand-light);
}

/* ─────────────────────────────────────────
   21. ANIMATE ON SCROLL
───────────────────────────────────────── */
.animate-fade {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}
.animate-fade.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays */
.animate-fade:nth-child(2) { transition-delay: .08s; }
.animate-fade:nth-child(3) { transition-delay: .16s; }
.animate-fade:nth-child(4) { transition-delay: .24s; }
.animate-fade:nth-child(5) { transition-delay: .32s; }
.animate-fade:nth-child(6) { transition-delay: .40s; }

/* ─────────────────────────────────────────
   22. RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 1199px) {
  .proceso-steps { grid-template-columns: repeat(3, 1fr); }
  .proceso-arrow  { display: none !important; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  /* Íconos un poco más chicos en tablets */
  .nav-cat-icon { width: 66px; height: 66px; }
}

@media (max-width: 991px) {
  .hero-slider    { min-height: auto; }
  .hero-slide     { padding: 52px 0 64px; }
  .hero-content h1{ font-size: 2rem; }
  .welcome-section,
  .products-section,
  .diferencial-section,
  .testimonios-section,
  .historia-section,
  .values-section,
  .proceso-section,
  .cta-banner,
  .products-grid-section,
  .contacto-section { padding: 70px 0; }
}

@media (max-width: 767px) {
  .navbar .container { height: 68px; }
  .filter-bar { top: 68px; }
  .brand-name { font-size: .88rem; }
  .cat-grid { grid-template-columns: 1fr; }
  .proceso-steps { grid-template-columns: repeat(2, 1fr); }
  .hero-slide { padding: 44px 0 56px; }
  .cta-banner-btns { flex-direction: column; align-items: center; }
  .slider-arrow { display: none; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .product-gallery-thumbs { grid-template-columns: repeat(4, 1fr); }
  .contact-card { padding: 24px 20px; }
  .contact-whatsapp-card { padding: 28px 20px; }
}

@media (max-width: 480px) {
  .proceso-steps { grid-template-columns: 1fr; }
  .hero-content h1 { font-size: 1.7rem; }
  .nav-icons { gap: 6px; }
  .feature-chip { font-size: .74rem; padding: 5px 10px; }
  .product-card-footer { flex-direction: column; }
  .product-card-footer .btn-outline-cz,
  .product-card-footer .btn-amber { width: 100%; justify-content: center; }
}

/* ─────────────────────────────────────────
   23. UTILITIES
───────────────────────────────────────── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* Bootstrap override cleanup */
.nav-link:focus { box-shadow: none; }
.accordion-button:focus { box-shadow: none; }
.form-control:focus { box-shadow: none; }
.btn:focus { box-shadow: none; }




.welcome-img {
  width: 100%;
  height: 100%;
  min-height: 560px;   /* 👈 le damos más cuerpo */
  max-height: 620px;   /* límite para que no se descontrole */
  object-fit: cover;
  object-position: center;
  border-radius: 16px;
  display: block;
}

.welcome-section .col-lg-6:last-child {
  display: flex;
  align-items: stretch;
}

@media (min-width: 992px) {
  .welcome-section .row {
    min-height: 580px; /* 👈 acompaña la altura */
  }
}


/* ─────────────────────────────────────────
   AJUSTES DE IMÁGENES
───────────────────────────────────────── */

/* Vista general — productos.html */
.product-card-img {
  position: relative !important;
  overflow: hidden !important;
  height: 220px !important;
}

.product-card-img img {
  position: static !important;
  inset: unset !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
}

/* Vista detalle — producto.html */
.product-gallery-main img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  background: var(--sand-light) !important;
}


/* ═══════════════════════════════════════════════════════════
   GALERÍA CARRUSEL — nuevos estilos (no modifican nada previo)
   ═══════════════════════════════════════════════════════════ */

/* Sección contenedora */
.gallery-carousel-section {
  padding: 90px 0 80px;
  background: var(--sand-light);
  position: relative;
  overflow: hidden;
}

/* Decorativo de fondo — coherente con testimonios-section */
.gallery-carousel-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(200,135,58,.07) 0%, transparent 70%);
  pointer-events: none;
}

/* ── Wrapper — ventana visible con overflow oculto ── */
.gallery-carousel-wrapper {
  position: relative;
  overflow: hidden;
  /* Sangría negativa para que el carrusel llegue al borde sin alterar el container */
  margin: 0 -12px;
  padding: 8px 0 16px;
  -webkit-user-select: none;
  user-select: none;
  touch-action: pan-y;  /* Permite scroll vertical mientras captura swipe horizontal */
}

/* ── Track deslizante ── */
.gallery-carousel-track {
  display: flex;
  gap: 16px;
  /* El transform se maneja desde JS */
  transition: transform .42s cubic-bezier(.25,.46,.45,.94);
  will-change: transform;
  padding: 0 12px;
}

/* Desactiva transición CSS mientras el usuario arrastra (JS agrega clase .dragging) */
.gallery-carousel-track.dragging {
  transition: none;
  cursor: grabbing;
}

/* ── Cada slide-imagen ── */
.gallery-carousel-slide {
  flex: 0 0 auto;
  /* Ancho base: 3 imágenes visibles en desktop + gap */
  width: calc((100% - 32px) / 3);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--sand);
  border: 1px solid var(--sand);
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--duration) var(--ease-spring),
    box-shadow var(--duration) var(--ease),
    border-color var(--duration) var(--ease);
  cursor: grab;
}

.gallery-carousel-slide:active { cursor: grabbing; }

.gallery-carousel-slide:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: var(--shadow-lg);
  border-color: rgba(200,135,58,.35);
}

/* Imagen dentro del slide */
.gallery-carousel-slide img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  pointer-events: none;  /* Evita drag nativo de imágenes */
  transition: transform .5s var(--ease);
}

.gallery-carousel-slide:hover img {
  transform: scale(1.05);
}

/* ── Flechas de navegación ── */
.gallery-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: var(--white);
  color: var(--oak);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  border: 1px solid var(--sand);
  box-shadow: var(--shadow-md);
  z-index: 10;
  transition:
    background var(--duration) var(--ease),
    color var(--duration) var(--ease),
    box-shadow var(--duration) var(--ease),
    transform var(--duration) var(--ease-spring);
}

.gallery-carousel-prev { left: 20px; }
.gallery-carousel-next { right: 20px; }

.gallery-carousel-arrow:hover {
  background: var(--amber);
  color: var(--white);
  border-color: var(--amber);
  box-shadow: 0 6px 20px rgba(200,135,58,.4);
  transform: translateY(-50%) scale(1.1);
}

.gallery-carousel-arrow:active {
  transform: translateY(-50%) scale(.96);
}

/* ── Dots de navegación ── */
.gallery-carousel-dots {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 24px;
  padding: 0 24px;
}

.gallery-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sand-dark);
  border: none;
  padding: 0;
  cursor: pointer;
  transition:
    background var(--duration) var(--ease),
    width .3s var(--ease),
    border-radius .3s var(--ease),
    transform var(--duration) var(--ease-spring);
  flex-shrink: 0;
}

.gallery-carousel-dot:hover {
  background: var(--amber-light);
  transform: scale(1.2);
}

.gallery-carousel-dot.active {
  background: var(--amber);
  width: 24px;
  border-radius: var(--radius-full);
}

/* ── Responsive del carrusel ── */

/* Tablet: 2 imágenes visibles */
@media (max-width: 991px) {
  .gallery-carousel-slide {
    width: calc((100% - 16px) / 2);
  }
  .gallery-carousel-section {
    padding: 70px 0 60px;
  }
}

/* Mobile: 1.2 imágenes (peek del siguiente) */
@media (max-width: 575px) {
  .gallery-carousel-slide {
    width: calc(100% - 40px);
  }
  .gallery-carousel-arrow {
    width: 38px;
    height: 38px;
    font-size: .9rem;
  }
  .gallery-carousel-prev { left: 10px; }
  .gallery-carousel-next { right: 10px; }
  .gallery-carousel-track { gap: 12px; }
  .gallery-carousel-dots { gap: 5px; }
}

/* ─────────────────────────────────────────
   OPTIMIZACIÓN: Lazy Loading Styles
───────────────────────────────────────── */
img.lazy-gallery {
  background: linear-gradient(135deg, var(--sand-light), var(--sand));
  min-height: 200px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

img.lazy-gallery[src] {
  opacity: 1;
}

/* Placeholder para imágenes mientras cargan */
.gallery-carousel-slide img:not([src]) {
  background: var(--sand-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Optimización de renderizado */
img[loading="lazy"] {
  content-visibility: auto;
}









/* Imagen sección bienvenida - responsive real */
.welcome-img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain; /* 👈 evita que se corte */
  display: block;
  margin: 0 auto;
}

/* Ajuste específico mobile */
@media (max-width: 768px) {
  .welcome-img {
    max-height: 260px; /* más chico para que no rompa layout */
    width: 100%;
    object-fit: contain; /* siempre visible completa */
  }

  .welcome-section .col-lg-6:last-child {
    text-align: center;
  }
}