/* ============================================================
   VARIABLES & RESET
   ============================================================ */
:root {
  --green:        #5A7A42;
  --green-dark:   #2D3B1A;
  --green-light:  #EDEFC0;
  --honey:        #D4A853;
  --honey-dark:   #B8902A;
  --rose:         #C47878;
  --cream:        #FAF9F0;
  --earth:        #7A5A18;
  --dark:         #1E1E1E;
  --text:         #3D3D3D;
  --muted:        #6B6B6B;
  --white:        #FFFFFF;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --radius:    12px;
  --radius-lg: 20px;
  --shadow:       0 4px 20px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 32px rgba(0,0,0,0.15);
  --max-width: 1200px;
  --nav-height: 72px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

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

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

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ============================================================
   UTILITIES
   ============================================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--honey);
  color: var(--dark);
}
.btn-primary:hover {
  background: var(--honey-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 168, 83, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}
.btn-secondary:hover {
  background: var(--green);
  color: var(--white);
  transform: translateY(-2px);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
}

h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--dark);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Placeholder image blocks */
.placeholder {
  background: var(--ph-color, #8B9E6E);
  position: relative;
  overflow: hidden;
}
.placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.18);
}
.ph-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: rgba(255, 255, 255, 0.75);
  gap: 10px;
}
.ph-inner i    { font-size: 2.2rem; }
.ph-inner span { font-size: 0.82rem; font-weight: 500; letter-spacing: 0.04em; }

/* ============================================================
   NAVBAR
   ============================================================ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

#navbar.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo-img {
  height: 52px;
  width: 52px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4);
  transition: border-color 0.3s;
}
#navbar.scrolled .nav-logo-img {
  border-color: var(--green-light);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-menu a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.3s;
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--honey);
  transition: width 0.3s;
}
.nav-menu a:hover::after { width: 100%; }

#navbar.scrolled .nav-menu a { color: var(--text); }

.nav-menu a.nav-cta {
  background: var(--honey);
  color: var(--dark) !important;
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 600;
  transition: background 0.3s, transform 0.2s;
}
.nav-menu a.nav-cta::after { display: none; }
.nav-menu a.nav-cta:hover {
  background: var(--honey-dark);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}
#navbar.scrolled .nav-toggle span { background: var(--dark); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, #2D3B1A 0%, #4A5E30 30%, #6A7A40 62%, #8A9A58 83%, #AABC78 100%);
  z-index: 0;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 60%, rgba(196, 120, 120, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 15%, rgba(237, 239, 192, 0.10) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 95%, rgba(0, 0, 0, 0.18) 0%, transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding: 0 24px;
}

.hero-logo {
  width: 200px;
  height: 200px;
  object-fit: contain;
  margin: 0 auto 20px;
  filter: drop-shadow(0 6px 24px rgba(0, 0, 0, 0.35));
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: 20px;
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 7vw, 5rem);
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
}
.hero-content h1 em {
  font-style: italic;
  color: var(--rose);
}

.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.18rem);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 40px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.75;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.hero-scroll-indicator span {
  display: block;
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-radius: 12px;
  position: relative;
}
.hero-scroll-indicator span::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 2px;
  animation: scroll-bounce 2s infinite;
}

@keyframes scroll-bounce {
  0%, 100% { top: 6px;  opacity: 1;   }
  50%       { top: 18px; opacity: 0.3; }
}

/* ============================================================
   BADGES BAR
   ============================================================ */
.badges {
  background: #2D3B1A;
  padding: 26px 0;
}

.badge-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
  font-weight: 500;
}
.badge-item i {
  color: var(--honey);
  font-size: 1.1rem;
}

/* ============================================================
   PRODUCTOS
   ============================================================ */
.productos {
  padding: 100px 0;
  background: var(--cream);
}

.product-categories {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.category-heading {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}
.category-heading::before,
.category-heading::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #D8D0C4;
}
.category-heading span {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--green-dark);
  white-space: nowrap;
}

.products-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}

.products-row--single {
  grid-template-columns: 1fr;
  max-width: 440px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.product-card--featured {
  border: 2px solid var(--honey);
}

.product-image {
  height: 220px;
  width: 100%;
}
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-body { padding: 24px; }

.product-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 50px;
  background: var(--green-light);
  color: var(--green-dark);
}
.tag--gold {
  background: #FEF3CD;
  color: var(--earth);
}

.product-body h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--dark);
  margin-bottom: 10px;
  line-height: 1.3;
}

.product-body p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.68;
  margin-bottom: 16px;
}

.product-features {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.product-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.87rem;
  color: var(--text);
}
.product-features li i {
  color: var(--green);
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* ============================================================
   NOSOTROS
   ============================================================ */
.nosotros {
  padding: 100px 0;
  background: var(--white);
}

.nosotros-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.nosotros-image {
  height: 500px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.nosotros-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nosotros-image--logo {
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.nosotros-image--logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nosotros-content .section-eyebrow,
.nosotros-content h2 {
  text-align: left;
}
.nosotros-content h2 { margin-bottom: 24px; }

.nosotros-content p {
  color: var(--muted);
  margin-bottom: 18px;
  font-size: 1rem;
  line-height: 1.82;
}
.nosotros-content .btn { margin-top: 12px; }

/* ============================================================
   DONDE
   ============================================================ */
.donde {
  padding: 100px 0;
  background: var(--green-light);
}

.stores-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 820px;
  margin: 0 auto;
}

.store-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow);
  transition: transform 0.25s;
}
.store-card:hover { transform: translateY(-3px); }

.store-card--dashed {
  border: 2px dashed var(--green);
  background: transparent;
  box-shadow: none;
}
.store-card--dashed:hover { transform: none; }

.store-icon {
  width: 48px;
  height: 48px;
  background: var(--green-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.store-icon i { color: var(--green); font-size: 1.2rem; }

.store-icon--dashed {
  background: transparent;
  border: 2px dashed var(--green);
}

.store-info h4 {
  font-weight: 600;
  color: var(--dark);
  font-size: 0.95rem;
  margin-bottom: 4px;
}
.store-info p {
  font-size: 0.85rem;
  color: var(--muted);
}

/* ============================================================
   CONTACTO
   ============================================================ */
.contacto {
  padding: 100px 0;
  background: var(--white);
}

.contact-buttons {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.contact-btn {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 44px;
  border-radius: var(--radius-lg);
  transition: transform 0.3s, box-shadow 0.3s;
  min-width: 270px;
}
.contact-btn:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.contact-btn i { font-size: 2.2rem; flex-shrink: 0; }

.contact-btn div {
  display: flex;
  flex-direction: column;
}
.btn-label {
  font-size: 0.78rem;
  font-weight: 400;
  opacity: 0.82;
}
.btn-main {
  font-size: 1.3rem;
  font-weight: 700;
}

.contact-btn--whatsapp {
  background: #25D366;
  color: var(--white);
}
.contact-btn--instagram {
  background: linear-gradient(135deg, #E1306C 0%, #833AB4 50%, #405DE6 100%);
  color: var(--white);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.65);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand { display: flex; flex-direction: column; gap: 14px; }

.footer-logo-img {
  height: 72px;
  width: 72px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.15);
}
.footer-brand p { font-size: 0.9rem; line-height: 1.65; }

.footer-links h5,
.footer-social h5 {
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.9rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--honey); }

.social-icons { display: flex; gap: 12px; }
.social-icons a {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.3s;
}
.social-icons a:hover {
  background: var(--honey);
  border-color: var(--honey);
  color: var(--dark);
  transform: translateY(-2px);
}

.footer-bottom {
  text-align: center;
  padding: 20px;
  font-size: 0.83rem;
}

/* ============================================================
   WHATSAPP FLOTANTE
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 999;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: transform 0.3s, box-shadow 0.3s;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.55);
}

/* ============================================================
   RESPONSIVE — TABLET
   ============================================================ */
@media (max-width: 1024px) {
  .nosotros-grid { gap: 48px; }
}

/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav-menu {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 28px 24px;
    gap: 22px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  }
  .nav-menu.active { display: flex; }
  .nav-menu a { color: var(--text) !important; font-size: 1rem; }

  .products-row {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
  .products-row--single {
    max-width: 100%;
  }

  .nosotros-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .nosotros-image { height: 300px; }

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

  .badge-grid { gap: 20px; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-buttons { flex-direction: column; align-items: center; }
  .contact-btn { min-width: unset; width: 100%; max-width: 340px; }

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

@media (max-width: 480px) {
  .hero-content h1 { font-size: 2.4rem; }
  .badge-grid { gap: 16px; }
  .badge-item span { font-size: 0.82rem; }
}
