/* ============================================================
   CALZADO BUCARÁ — styles.css
   ============================================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  --brown:    #6F4E37;
  --brown-dk: #2C1810;
  --beige:    #EFE3D0;
  --beige-lt: #FAF6F0;
  --mustard:  #D9A14B;
  --mustard-dk: #B8862E;
  --white:    #ffffff;
  --gray-100: #f8f4ef;
  --gray-200: #e8e0d5;
  --gray-400: #9c8872;
  --gray-600: #6b5a48;
  --text-dark: #2C1810;
  --text-mid:  #5a4030;
  --text-soft: #8a7060;

  --ff-head: 'Playfair Display', Georgia, serif;
  --ff-body: 'Inter', system-ui, sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --shadow-sm: 0 2px 8px rgba(111,78,55,.10);
  --shadow-md: 0 6px 24px rgba(111,78,55,.15);
  --shadow-lg: 0 16px 48px rgba(111,78,55,.20);

  --transition: .25s ease;
  --nav-h: 70px;
}

/* ---------- Skip link (accessibility) ---------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 9999;
  padding: 8px 16px;
  background: var(--brown);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-size: .875rem;
  font-weight: 600;
  transition: top .2s;
}
.skip-link:focus { top: 8px; }

/* ---------- Scroll progress bar ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--brown), var(--mustard));
  z-index: 1200;
  transition: width .1s linear;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ff-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ---------- Utility ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section    { padding: 80px 0; }
.section-sm { padding: 50px 0; }
.text-center { text-align: center; }
.visually-hidden { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); }

.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mustard);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--ff-head);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--brown-dk);
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-sub {
  color: var(--text-soft);
  max-width: 560px;
  margin: 0 auto 48px;
  font-size: 1.05rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .95rem;
  transition: all var(--transition);
  cursor: pointer;
}
.btn-primary {
  background: var(--brown);
  color: var(--white);
  border: 2px solid var(--brown);
}
.btn-primary:hover {
  background: var(--brown-dk);
  border-color: var(--brown-dk);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  color: var(--brown);
  border: 2px solid var(--brown);
}
.btn-outline:hover {
  background: var(--brown);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-mustard {
  background: var(--mustard);
  color: var(--white);
  border: 2px solid var(--mustard);
}
.btn-mustard:hover {
  background: var(--mustard-dk);
  border-color: var(--mustard-dk);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-sm { padding: 9px 20px; font-size: .875rem; }
.btn-full { width: 100%; justify-content: center; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow-md); }
.navbar.scrolled .nav-logo { font-size: 1.32rem; transition: font-size var(--transition); }
.nav-logo { transition: font-size var(--transition); }

/* Animated underline on nav links */
.nav-links a { position: relative; }
.nav-links a::after {
  content: '';
  position: absolute;
  left: 14px; right: 14px; bottom: 3px;
  height: 2px;
  background: var(--mustard);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.nav-logo {
  font-family: var(--ff-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brown);
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo span { color: var(--mustard); }
.nav-logo-icon { font-size: 1.6rem; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: .92rem;
  font-weight: 500;
  color: var(--text-mid);
  transition: all var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--brown);
  background: var(--beige);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cart-btn {
  position: relative;
  padding: 8px;
  border-radius: var(--radius-sm);
  color: var(--text-mid);
  font-size: 1.3rem;
  transition: all var(--transition);
}
.cart-btn:hover { color: var(--brown); background: var(--beige); }
.cart-count {
  position: absolute;
  top: 0; right: 0;
  background: var(--mustard);
  color: var(--white);
  font-size: .65rem;
  font-weight: 700;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transform: translate(4px, -4px);
  opacity: 0;
  transition: opacity var(--transition);
}
.cart-count.visible { opacity: 1; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--transition);
}
.hamburger:hover { background: var(--beige); }
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--brown);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: var(--shadow-md);
  padding: 20px;
  z-index: 999;
  flex-direction: column;
  gap: 4px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  color: var(--text-mid);
  transition: all var(--transition);
}
.mobile-nav a:hover { color: var(--brown); background: var(--beige); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--brown-dk);
  color: var(--beige);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand .nav-logo { color: var(--beige); margin-bottom: 16px; }
.footer-brand .nav-logo span { color: var(--mustard); }
.footer-brand p { color: var(--gray-400); font-size: .9rem; line-height: 1.7; margin-bottom: 20px; }
.footer-socials { display: flex; gap: 12px; }
.footer-socials a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--gray-600);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  color: var(--gray-400);
  transition: all var(--transition);
}
.footer-socials a:hover { border-color: var(--mustard); color: var(--mustard); background: rgba(217,161,75,.1); }

.footer-col h4 {
  font-family: var(--ff-head);
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--gray-600);
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a {
  color: var(--gray-400);
  font-size: .9rem;
  transition: color var(--transition);
}
.footer-col ul a:hover { color: var(--mustard); }

.footer-contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--gray-400);
  font-size: .9rem;
  margin-bottom: 12px;
}
.footer-contact-item .icon { color: var(--mustard); font-size: 1rem; margin-top: 2px; flex-shrink: 0; }

.footer-bottom {
  border-top: 1px solid var(--gray-600);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p { color: var(--gray-400); font-size: .85rem; }
.footer-bottom a { color: var(--mustard); }
.footer-bottom a:hover { text-decoration: underline; }

/* ============================================================
   HERO — INDEX
   ============================================================ */
.hero {
  min-height: calc(100vh - var(--nav-h));
  background: linear-gradient(135deg, var(--beige) 0%, var(--beige-lt) 60%, #f0e6d3 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 50%, rgba(111,78,55,.07) 0%, transparent 70%);
  pointer-events: none;
}
/* Faint animated grid-line texture, masked into a soft pool of light */
.hero-grid-lines {
  position: absolute;
  inset: -2px;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(111,78,55,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(111,78,55,.07) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(circle at 75% 35%, #000 0%, transparent 68%);
  mask-image: radial-gradient(circle at 75% 35%, #000 0%, transparent 68%);
}
/* Radial spotlight that follows the cursor (JS sets --mx/--my) */
.hero-spotlight {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(360px circle at var(--mx,50%) var(--my,20%), rgba(217,161,75,.16), transparent 60%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-content { z-index: 1; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(111,78,55,.08);
  color: var(--brown);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 24px;
}
.hero-title {
  font-family: var(--ff-head);
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--brown-dk);
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero-title em { color: var(--brown); font-style: italic; }
.hero-sub {
  font-size: 1.15rem;
  color: var(--text-soft);
  margin-bottom: 12px;
  line-height: 1.6;
}
.hero-desc {
  font-size: .95rem;
  color: var(--text-soft);
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid var(--gray-200);
}
.hero-stat-num {
  font-family: var(--ff-head);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--brown);
}
.hero-stat-label { font-size: .8rem; color: var(--text-soft); }

.hero-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  transform-style: preserve-3d;
  transition: transform .3s ease, box-shadow .3s ease;
}
.hero-image-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.hero-image-wrap:hover img { transform: scale(1.06); }
.hero-badge {
  position: absolute;
  bottom: 24px; left: 24px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 12px;
}
.hero-badge-icon { font-size: 1.6rem; }
.hero-badge-text strong { display: block; font-size: .95rem; color: var(--brown-dk); }
.hero-badge-text span { font-size: .8rem; color: var(--text-soft); }

/* ---------- Category Cards ---------- */
.categories { background: var(--white); }
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.cat-card {
  border-radius: var(--radius-md);
  padding: 36px 24px;
  background: var(--beige-lt);
  border: 1px solid var(--gray-200);
  text-align: center;
  transition: all var(--transition);
  cursor: pointer;
}
.cat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--brown);
  background: var(--beige);
}
.cat-icon { font-size: 3rem; margin-bottom: 16px; }
.cat-title {
  font-family: var(--ff-head);
  font-size: 1.2rem;
  color: var(--brown-dk);
  margin-bottom: 8px;
}
.cat-desc { font-size: .85rem; color: var(--text-soft); line-height: 1.5; }

/* ---------- Why Us ---------- */
.why-us { background: var(--beige); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.why-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}
.why-card:hover { box-shadow: var(--shadow-md); }
.why-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--beige);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 16px;
}
.why-card h3 { font-size: 1rem; font-weight: 600; color: var(--brown-dk); margin-bottom: 8px; }
.why-card p { font-size: .875rem; color: var(--text-soft); line-height: 1.6; }

/* ============================================================
   CATALOG PAGE
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--beige) 0%, var(--beige-lt) 100%);
  padding: 60px 0 40px;
  text-align: center;
}
.page-hero .section-title { margin-bottom: 8px; }
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: .875rem;
  color: var(--text-soft);
  margin-top: 12px;
}
.breadcrumb a { color: var(--brown); }
.breadcrumb a:hover { text-decoration: underline; }

.catalog-section { padding: 50px 0 80px; }
.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.filter-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.filter-btn {
  padding: 9px 20px;
  border-radius: 30px;
  border: 1.5px solid var(--gray-200);
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-mid);
  background: var(--white);
  transition: all var(--transition);
}
.filter-btn:hover { border-color: var(--brown); color: var(--brown); }
.filter-btn.active { background: var(--brown); color: var(--white); border-color: var(--brown); }

.filter-right { display: flex; align-items: center; gap: 12px; }
.price-filter select, .sort-filter select {
  padding: 9px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: .875rem;
  color: var(--text-mid);
  background: var(--white);
  cursor: pointer;
  outline: none;
  transition: border-color var(--transition);
}
.price-filter select:focus, .sort-filter select:focus { border-color: var(--brown); }

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.product-card.hidden { display: none; }
.product-img-wrap {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--gray-100);
}
.product-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.product-card:hover .product-img-wrap img { transform: scale(1.06); }
/* Scan-line sweep on hover (premium e-commerce feel) */
.product-img-wrap::before {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  top: -10%;
  z-index: 2;
  background: linear-gradient(90deg, transparent, var(--mustard), transparent);
  opacity: 0;
}
.product-card:hover .product-img-wrap::before {
  opacity: .9;
  animation: prodScan 1.6s ease-in-out infinite;
}
@keyframes prodScan {
  0%   { top: 0; }
  100% { top: 100%; }
}
/* "Ver detalle" affordance that rises on hover */
.product-img-wrap::after {
  content: 'Ver detalle 👁';
  position: absolute;
  left: 50%; bottom: 12px;
  transform: translate(-50%, 12px);
  opacity: 0;
  background: var(--white);
  color: var(--brown-dk);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .02em;
  padding: 8px 16px;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  white-space: nowrap;
  pointer-events: none;
  z-index: 3;
  transition: opacity .25s ease, transform .25s ease;
}
.product-card:hover .product-img-wrap::after {
  opacity: 1;
  transform: translate(-50%, 0);
}
.product-price { transition: color .2s ease, transform .2s ease; display: inline-block; }
.product-card:hover .product-price { color: var(--mustard-dk); transform: scale(1.06); }
.product-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--mustard);
  color: var(--white);
  font-size: .7rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.product-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.product-name {
  font-family: var(--ff-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--brown-dk);
  margin-bottom: 6px;
}
.product-desc { font-size: .8rem; color: var(--text-soft); margin-bottom: 14px; flex: 1; line-height: 1.5; }
.product-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; }
.product-price {
  font-family: var(--ff-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brown);
}
.add-to-cart {
  padding: 8px 16px;
  background: var(--brown);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-size: .8rem;
  font-weight: 600;
  transition: all var(--transition);
}
.add-to-cart:hover { background: var(--brown-dk); transform: scale(1.05); }
.add-to-cart.added { background: #4a9e6b; }

/* ---------- Cart Sidebar ---------- */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.cart-overlay.open { opacity: 1; pointer-events: all; }

.cart-sidebar {
  position: fixed;
  top: 0; right: 0;
  width: 380px;
  height: 100vh;
  background: var(--white);
  z-index: 1101;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  box-shadow: var(--shadow-lg);
}
.cart-sidebar.open { transform: translateX(0); }
.cart-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cart-header h3 { font-family: var(--ff-head); font-size: 1.2rem; color: var(--brown-dk); }
.cart-close {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  color: var(--text-soft);
  transition: all var(--transition);
}
.cart-close:hover { background: var(--beige); color: var(--brown); }

.cart-items { flex: 1; overflow-y: auto; padding: 16px 24px; }
.cart-empty {
  text-align: center;
  padding: 60px 0;
  color: var(--text-soft);
}
.cart-empty-icon { font-size: 3rem; margin-bottom: 12px; }
.cart-empty p { font-size: .95rem; }

.cart-item {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-200);
}
.cart-item-img {
  width: 70px; height: 70px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: var(--gray-100);
  flex-shrink: 0;
}
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-weight: 600; font-size: .9rem; color: var(--brown-dk); margin-bottom: 4px; }
.cart-item-price { color: var(--brown); font-weight: 600; font-size: .9rem; }
.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}
.qty-btn {
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1px solid var(--gray-200);
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem;
  color: var(--text-mid);
  transition: all var(--transition);
}
.qty-btn:hover { border-color: var(--brown); color: var(--brown); }
.qty-num { font-weight: 600; font-size: .9rem; min-width: 20px; text-align: center; }
.cart-item-remove {
  color: var(--text-soft);
  font-size: .8rem;
  align-self: flex-start;
  padding: 4px;
  border-radius: 4px;
  transition: color var(--transition);
}
.cart-item-remove:hover { color: #c0392b; }

.cart-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--gray-200);
}
.cart-subtotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  font-size: .9rem;
  color: var(--text-soft);
}
.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--brown-dk);
}
.cart-payment-note {
  font-size: .75rem;
  color: var(--text-soft);
  text-align: center;
  margin-top: 10px;
}

/* ============================================================
   NOSOTROS PAGE
   ============================================================ */
.story-section { background: var(--white); }
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.story-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.story-img img { width: 100%; height: 400px; object-fit: cover; }
.story-text .section-title { margin-bottom: 20px; }
.story-text p {
  color: var(--text-soft);
  line-height: 1.8;
  margin-bottom: 16px;
}

/* Timeline */
.timeline-section { background: var(--beige); }
.timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 2px;
  background: var(--gray-200);
  transform: translateX(-50%);
}
/* Connecting line that draws in from 0 to 100% once scrolled into view */
.timeline::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  width: 2px;
  height: 0;
  background: var(--mustard);
  transform: translateX(-50%);
  transition: height 1.4s ease;
  z-index: 1;
}
.timeline.in-view::after { height: 100%; }
@media (max-width: 768px) {
  .timeline::after { left: 20px; transform: none; }
}
.timeline-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 48px;
  position: relative;
}
.timeline-item:nth-child(even) .timeline-content { order: -1; text-align: right; }
.timeline-item:nth-child(even) .timeline-year { text-align: left; }
.timeline-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 16px; height: 16px;
  background: var(--mustard);
  border: 3px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--mustard);
  z-index: 1;
}
.timeline-year {
  font-family: var(--ff-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--mustard);
}
.timeline-content h3 { font-size: 1rem; font-weight: 600; color: var(--brown-dk); margin-bottom: 6px; }
.timeline-content p { font-size: .875rem; color: var(--text-soft); line-height: 1.6; }

/* Values */
.values-section { background: var(--white); }
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.value-card {
  border-radius: var(--radius-md);
  padding: 40px 28px;
  background: var(--beige-lt);
  border: 1px solid var(--gray-200);
  text-align: center;
  transition: all var(--transition);
}
.value-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.value-icon { font-size: 2.5rem; margin-bottom: 16px; }
.value-card h3 { font-family: var(--ff-head); font-size: 1.3rem; color: var(--brown-dk); margin-bottom: 12px; }
.value-card p { color: var(--text-soft); font-size: .9rem; line-height: 1.7; }

/* ============================================================
   GALERÍA PAGE
   ============================================================ */
.gallery-section { background: var(--white); }
.gallery-grid {
  columns: 3;
  column-gap: 16px;
}
.gallery-item {
  break-inside: avoid;
  margin-bottom: 16px;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  position: relative;
}
.gallery-item img {
  width: 100%;
  display: block;
  transition: transform .4s ease;
}
.gallery-item::after {
  content: '🔍';
  position: absolute;
  inset: 0;
  background: rgba(44,24,16,.4);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item:hover::after { opacity: 1; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  object-fit: contain;
}
.lightbox-close {
  position: absolute;
  top: 20px; right: 24px;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  transition: color var(--transition);
}
.lightbox-close:hover { color: var(--mustard); }
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  padding: 12px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
  background: rgba(255,255,255,.1);
}
.lightbox-nav:hover { background: rgba(255,255,255,.25); }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.7);
  font-size: .85rem;
}

/* ============================================================
   BLOG PAGE
   ============================================================ */
.blog-section { background: var(--white); }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: all var(--transition);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.blog-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--gray-100);
}
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.blog-card:hover .blog-card-img img { transform: scale(1.06); }
.blog-card-body { padding: 24px; }
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .75rem;
  color: var(--text-soft);
  margin-bottom: 12px;
}
.blog-tag {
  background: var(--beige);
  color: var(--brown);
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 600;
}
.blog-card-title {
  font-family: var(--ff-head);
  font-size: 1.1rem;
  color: var(--brown-dk);
  margin-bottom: 10px;
  line-height: 1.4;
}
.blog-card-excerpt { font-size: .875rem; color: var(--text-soft); line-height: 1.7; margin-bottom: 16px; }
.blog-article {
  display: none;
  padding: 0 0 16px;
  font-size: .875rem;
  color: var(--text-soft);
  line-height: 1.8;
}
.blog-article.open { display: block; }
.blog-article p { margin-bottom: 12px; }
.blog-article h4 { font-family: var(--ff-head); color: var(--brown-dk); margin: 16px 0 8px; }
.blog-article ul { padding-left: 20px; list-style: disc; }
.blog-article ul li { margin-bottom: 6px; }
.read-more-btn {
  color: var(--brown);
  font-weight: 600;
  font-size: .875rem;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition);
}
.read-more-btn:hover { gap: 8px; }
.read-more-btn .arrow { transition: transform var(--transition); }
.read-more-btn.open .arrow { transform: rotate(90deg); }

/* ============================================================
   CONTACTO PAGE
   ============================================================ */
.contact-section { background: var(--white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
}
.contact-info h3 {
  font-family: var(--ff-head);
  font-size: 1.4rem;
  color: var(--brown-dk);
  margin-bottom: 24px;
}
.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}
.contact-info-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--beige);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-info-text strong { display: block; font-weight: 600; color: var(--brown-dk); margin-bottom: 4px; }
.contact-info-text p, .contact-info-text a { font-size: .9rem; color: var(--text-soft); }
.contact-info-text a:hover { color: var(--brown); }

.contact-form { background: var(--beige-lt); border-radius: var(--radius-lg); padding: 40px; }
.contact-form h3 { font-family: var(--ff-head); font-size: 1.4rem; color: var(--brown-dk); margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  color: var(--text-mid);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: .95rem;
  color: var(--text-dark);
  background: var(--white);
  outline: none;
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--brown); }
.form-group input.error,
.form-group select.error,
.form-group textarea.error { border-color: #c0392b; }
.form-error { color: #c0392b; font-size: .78rem; margin-top: 4px; display: none; }
.form-error.show { display: block; }
.form-group textarea { resize: vertical; min-height: 120px; }

.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}
.form-success.show { display: block; }
.form-success-icon { font-size: 3rem; margin-bottom: 12px; }
.form-success h4 { font-family: var(--ff-head); font-size: 1.3rem; color: var(--brown-dk); margin-bottom: 8px; }
.form-success p { color: var(--text-soft); }

.map-section { background: var(--beige); padding: 0 0 60px; }
.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 380px;
}
.map-wrap iframe { width: 100%; height: 100%; border: none; }

/* ── VEN A VISITARNOS ── */
.visit-section { background: var(--beige); padding: 80px 0; }
.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: center;
}
.visit-info { display: flex; flex-direction: column; }
.visit-title {
  font-family: var(--ff-head);
  font-size: 2.4rem;
  color: var(--brown-dk);
  margin: 8px 0 16px;
  line-height: 1.15;
}
.visit-divider {
  width: 48px; height: 3px;
  background: var(--brown);
  border-radius: 2px;
  margin-bottom: 32px;
}
.visit-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}
.visit-icon {
  width: 44px; height: 44px;
  background: var(--brown);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.visit-item-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--brown);
  margin-bottom: 3px;
}
.visit-item-text { font-size: .92rem; color: var(--text-soft); line-height: 1.5; }
.visit-open-badge {
  display: inline-block;
  margin-top: 6px;
  font-size: .78rem;
  color: #2d9e4f;
  background: #e6f7ec;
  border-radius: 20px;
  padding: 2px 10px;
}
.visit-wa-btn { margin-top: 12px; align-self: flex-start; }
.visit-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 480px;
}
.visit-map iframe { width: 100%; height: 100%; display: block; }
@media (max-width: 768px) {
  .visit-grid { grid-template-columns: 1fr; gap: 36px; }
  .visit-map { height: 320px; }
  .visit-title { font-size: 1.9rem; }
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 900;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  transition: all var(--transition);
  animation: pulse-wa 2.5s infinite;
}
.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 28px rgba(37,211,102,.55);
}
@keyframes pulse-wa {
  0%,100% { box-shadow: 0 4px 20px rgba(37,211,102,.4); }
  50%      { box-shadow: 0 4px 32px rgba(37,211,102,.65); }
}

/* ============================================================
   POLÍTICAS PAGE
   ============================================================ */
.policies-section { background: var(--white); }
.policy-tabs { display: flex; gap: 4px; margin-bottom: 36px; border-bottom: 2px solid var(--gray-200); }
.policy-tab-btn {
  padding: 14px 28px;
  font-weight: 600;
  font-size: .95rem;
  color: var(--text-soft);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  margin-bottom: -2px;
  border-bottom: 2px solid transparent;
  transition: all var(--transition);
}
.policy-tab-btn:hover { color: var(--brown); }
.policy-tab-btn.active { color: var(--brown); border-bottom-color: var(--brown); }
.policy-content { display: none; }
.policy-content.active { display: block; }
.policy-content h3 {
  font-family: var(--ff-head);
  font-size: 1.4rem;
  color: var(--brown-dk);
  margin: 28px 0 12px;
}
.policy-content h3:first-child { margin-top: 0; }
.policy-content p {
  color: var(--text-soft);
  line-height: 1.8;
  margin-bottom: 14px;
  font-size: .95rem;
}
.policy-content ul {
  padding-left: 20px;
  list-style: disc;
  margin-bottom: 14px;
}
.policy-content ul li {
  color: var(--text-soft);
  font-size: .95rem;
  line-height: 1.8;
  margin-bottom: 4px;
}
.policy-highlight {
  background: var(--beige);
  border-left: 4px solid var(--mustard);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 14px 18px;
  margin: 20px 0;
  font-size: .9rem;
  color: var(--text-mid);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-grid { gap: 40px; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .story-grid { grid-template-columns: 1fr; gap: 40px; }
  .story-img { max-height: 320px; }
  .story-img img { height: 320px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .gallery-grid { columns: 2; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .section { padding: 60px 0; }

  .nav-links { display: none; }
  .nav-actions .btn { display: none; }
  .hamburger { display: flex; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-image-wrap { aspect-ratio: 16/9; max-height: 300px; }
  .hero-stats { gap: 20px; }

  .categories-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .why-grid { grid-template-columns: 1fr 1fr; gap: 16px; }

  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .catalog-toolbar { flex-direction: column; align-items: flex-start; }

  .cart-sidebar { width: 100%; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .timeline::before { left: 20px; }
  .timeline-item { grid-template-columns: 1fr; gap: 8px; padding-left: 48px; }
  .timeline-item:nth-child(even) .timeline-content { order: unset; text-align: left; }
  .timeline-item:nth-child(even) .timeline-year { text-align: left; }
  .timeline-dot { left: 20px; }

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

  .gallery-grid { columns: 2; }

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

  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }

  .policy-tabs { flex-direction: column; border-bottom: none; }
  .policy-tab-btn { border: 1.5px solid var(--gray-200); border-radius: var(--radius-sm); margin-bottom: 4px; }
  .policy-tab-btn.active { border-color: var(--brown); background: var(--beige); }
}

/* ============================================================
   SIZE SELECTOR
   ============================================================ */
.size-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.size-row label {
  font-size: .78rem;
  font-weight: 600;
  color: var(--text-mid);
  white-space: nowrap;
}
.size-select {
  flex: 1;
  padding: 7px 10px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: .82rem;
  color: var(--text-dark);
  background: var(--white);
  outline: none;
  cursor: pointer;
  transition: border-color var(--transition);
}
.size-select:focus { border-color: var(--brown); }

/* Cart size label */
.cart-item-size {
  font-size: .75rem;
  font-weight: 400;
  color: var(--text-soft);
  margin-left: 4px;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials { background: var(--white); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--beige-lt);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow-md); }
.testimonial-stars { color: var(--mustard); font-size: 1rem; letter-spacing: 2px; }
.testimonial-text {
  font-size: .9rem;
  color: var(--text-soft);
  line-height: 1.7;
  flex: 1;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--gray-200);
}
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--gray-200);
}
.testimonial-name { font-weight: 600; font-size: .88rem; color: var(--brown-dk); }
.testimonial-city { font-size: .78rem; color: var(--text-soft); }

/* ============================================================
   PRODUCT COUNTER + EMPTY STATE
   ============================================================ */
.product-counter {
  font-size: .85rem;
  color: var(--text-soft);
  white-space: nowrap;
}
.no-products-msg {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--text-soft);
}
.no-products-msg span { font-size: 3rem; display: block; margin-bottom: 12px; }
.no-products-msg p { font-size: .95rem; line-height: 1.7; }

/* ============================================================
   SCROLL TO TOP
   ============================================================ */
.scroll-top {
  position: fixed;
  bottom: 96px; right: 28px;
  z-index: 900;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--brown);
  color: var(--white);
  border: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--transition), transform var(--transition);
  pointer-events: none;
}
.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.scroll-top:hover { background: var(--brown-dk); }

@media (max-width: 480px) {
  .categories-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 2rem; }
  .gallery-grid { columns: 1; }
}

/* ============================================================
   SCROLL-REVEAL + ENTRANCE + AMBIENT MOTION
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger cascades for repeating grids */
.categories-grid .reveal:nth-child(2) { transition-delay: .08s; }
.categories-grid .reveal:nth-child(3) { transition-delay: .16s; }
.categories-grid .reveal:nth-child(4) { transition-delay: .24s; }

.products-grid .reveal:nth-child(2) { transition-delay: .08s; }
.products-grid .reveal:nth-child(3) { transition-delay: .16s; }
.products-grid .reveal:nth-child(4) { transition-delay: .24s; }
.products-grid .reveal:nth-child(5) { transition-delay: .32s; }
.products-grid .reveal:nth-child(6) { transition-delay: .4s; }
.products-grid .reveal:nth-child(7) { transition-delay: .46s; }
.products-grid .reveal:nth-child(8) { transition-delay: .5s; }

.why-grid .reveal:nth-child(2) { transition-delay: .08s; }
.why-grid .reveal:nth-child(3) { transition-delay: .16s; }
.why-grid .reveal:nth-child(4) { transition-delay: .24s; }

.testimonials-grid .reveal:nth-child(2) { transition-delay: .1s; }
.testimonials-grid .reveal:nth-child(3) { transition-delay: .2s; }

.values-grid .reveal:nth-child(2) { transition-delay: .08s; }
.values-grid .reveal:nth-child(3) { transition-delay: .16s; }
.values-grid .reveal:nth-child(4) { transition-delay: .24s; }

.blog-grid .reveal:nth-child(2) { transition-delay: .08s; }
.blog-grid .reveal:nth-child(3) { transition-delay: .16s; }
.blog-grid .reveal:nth-child(4) { transition-delay: .24s; }
.blog-grid .reveal:nth-child(5) { transition-delay: .32s; }
.blog-grid .reveal:nth-child(6) { transition-delay: .4s; }

.gallery-grid .reveal:nth-child(2) { transition-delay: .06s; }
.gallery-grid .reveal:nth-child(3) { transition-delay: .12s; }
.gallery-grid .reveal:nth-child(4) { transition-delay: .18s; }
.gallery-grid .reveal:nth-child(5) { transition-delay: .24s; }
.gallery-grid .reveal:nth-child(6) { transition-delay: .3s; }
.gallery-grid .reveal:nth-child(7) { transition-delay: .36s; }
.gallery-grid .reveal:nth-child(8) { transition-delay: .42s; }
.gallery-grid .reveal:nth-child(9) { transition-delay: .48s; }
.gallery-grid .reveal:nth-child(10) { transition-delay: .54s; }
.gallery-grid .reveal:nth-child(11) { transition-delay: .6s; }
.gallery-grid .reveal:nth-child(12) { transition-delay: .66s; }

.timeline-item.reveal:nth-child(even) { transition-delay: .1s; }

.team-grid .reveal:nth-child(2) { transition-delay: .08s; }
.team-grid .reveal:nth-child(3) { transition-delay: .16s; }

/* Hero / page-header entrance animation (above the fold, runs on load) */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-eyebrow.hero-anim,
.hero-title.hero-anim,
.hero-sub.hero-anim,
.hero-desc.hero-anim,
.hero-actions.hero-anim,
.hero-stats.hero-anim,
.hero-image-wrap.hero-anim,
.page-hero .hero-anim {
  opacity: 0;
  animation: heroFadeUp .7s ease forwards;
}
.hero-anim.delay-1 { animation-delay: .08s; }
.hero-anim.delay-2 { animation-delay: .16s; }
.hero-anim.delay-3 { animation-delay: .24s; }
.hero-anim.delay-4 { animation-delay: .32s; }
.hero-anim.delay-5 { animation-delay: .4s; }

/* Ambient floating decorative shape (footwear-brand feel) */
.ambient-shape {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217,161,75,.22) 0%, rgba(217,161,75,0) 70%);
  pointer-events: none;
  z-index: 0;
  animation: ambientFloat 9s ease-in-out infinite;
}
@keyframes ambientFloat {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(0, -18px); }
}

/* Slow ambient gradient shift on hero / page-header background */
.hero, .page-hero {
  background-size: 200% 200%;
  animation: ambientGradient 16s ease-in-out infinite;
}
.hero { background-image: linear-gradient(135deg, var(--beige) 0%, var(--beige-lt) 60%, #f0e6d3 100%); }
@keyframes ambientGradient {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* Animated stat counters */
.hero-stat-num, .stat-num {
  display: inline-block;
}
.count-target { font-variant-numeric: tabular-nums; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .hero-anim {
    opacity: 1 !important;
    animation: none !important;
  }
  .ambient-shape,
  .hero, .page-hero,
  .whatsapp-float {
    animation: none !important;
  }
  .timeline::after { transition: none !important; }
  .hero-image-wrap { transition: none !important; }
  * {
    scroll-behavior: auto !important;
  }
}
