:root {
  --color-bg:          #FDF6E3;
  --color-bg-alt:      #F5EDD5;
  --color-gold:        #C8882A;
  --color-gold-dark:   #A6701F;
  --color-brown:       #3D2B1A;
  --color-brown-light: #6B4C30;
  --color-muted:       #7A5C3D;
  --color-white:       #FFFFFF;

  --font-heading: 'Lora', serif;
  --font-body:    'Inter', sans-serif;

  --page-padding:     clamp(20px, 5vw, 72px);
  --section-padding:  88px var(--page-padding);
  --radius:           8px;
  --shadow:           0 4px 20px rgba(61, 43, 26, 0.12);
  --transition:       0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-brown);
  line-height: 1.6;
}
img { display: block; width: 100%; }
.product-img img, .about-img-wrap img { height: 100%; object-fit: cover; }
a { text-decoration: none; color: inherit; }

.container {
  width: 100%;
  margin: 0 auto;
}

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

.section { padding: var(--section-padding); }
.section-divider {
  width: 60px; height: 3px;
  background: var(--color-gold);
  border-radius: 2px;
  margin: 0 auto 16px;
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  text-align: center;
  color: var(--color-brown);
  margin-bottom: 12px;
}
.section-subtitle {
  text-align: center;
  color: var(--color-muted);
  font-size: 1rem;
  margin-bottom: 48px;
}

.btn-primary {
  background: var(--color-gold);
  color: var(--color-white);
  padding: 14px 28px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid var(--color-gold);
  transition: background var(--transition), transform var(--transition);
  display: inline-block;
}
.btn-primary:hover { background: var(--color-gold-dark); border-color: var(--color-gold-dark); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--color-white);
  padding: 14px 28px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid rgba(255,255,255,0.7);
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
  display: inline-block;
}
.btn-outline:hover { border-color: var(--color-white); background: rgba(255,255,255,0.1); transform: translateY(-2px); }

.btn-white {
  background: var(--color-white);
  color: var(--color-gold);
  padding: 16px 36px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  transition: transform var(--transition), box-shadow var(--transition);
}
.btn-white:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px var(--page-padding);
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}
.site-header.scrolled {
  background: var(--color-bg);
  box-shadow: 0 2px 12px rgba(61, 43, 26, 0.1);
  padding: 12px var(--page-padding);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-toggle { display: none; }
.brand {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-white);
  transition: color var(--transition);
}
.site-header.scrolled .brand { color: var(--color-brown); }
.site-nav { display: flex; gap: 28px; }
.site-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-white);
  opacity: 0.9;
  transition: opacity var(--transition), color var(--transition);
}
.site-nav a:hover { opacity: 1; }
.site-header.scrolled .site-nav a { color: var(--color-brown); }

.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1509440159596-0249088772ff?w=1600&auto=format&fit=crop&q=80');
  background-size: cover;
  background-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(25,10,2,0.55) 0%, rgba(25,10,2,0.68) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  color: var(--color-white);
  max-width: 680px;
  padding: 20px;
}
.hero-pretitle {
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: 16px;
}
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 7vw, 4.5rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
}
.hero-tagline {
  font-size: 1.15rem;
  opacity: 0.85;
  margin-bottom: 40px;
}
.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

#productos { background: var(--color-bg); }
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.product-card {
  background: var(--color-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(61,43,26,0.18);
}
.product-img { height: 200px; overflow: hidden; }
.product-info { padding: 20px; }
.product-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-brown);
  margin-bottom: 4px;
}
.product-desc { font-size: 0.85rem; color: var(--color-muted); margin-bottom: 12px; }
.product-price { font-size: 1rem; font-weight: 600; color: var(--color-gold); }

#nosotros { background: var(--color-bg-alt); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-text .section-title,
.about-text .section-subtitle { text-align: left; }
.about-text .section-divider { margin: 0 0 16px; }
.about-text .section-subtitle { margin-bottom: 20px; }
.about-body { color: var(--color-muted); line-height: 1.85; font-size: 1rem; }
.about-img-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  height: 420px;
  box-shadow: var(--shadow);
}

#eventos { background: var(--color-bg-alt); }
.eventos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.eventos-img-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 480px;
}
.eventos-list {
  list-style: none;
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.eventos-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.eventos-item-icon {
  color: var(--color-gold);
  flex-shrink: 0;
  margin-top: 4px;
}
.eventos-item-text {
  color: var(--color-muted);
  line-height: 1.5;
}
.eventos-item-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-brown);
  margin-bottom: 4px;
}

#resenas { background: var(--color-bg-alt); }
.resenas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.resena-card {
  background: var(--color-white);
  padding: 32px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform var(--transition);
}
.resena-card:hover { transform: translateY(-4px); }
.resena-stars {
  color: var(--color-gold);
  margin-bottom: 16px;
  display: flex;
  justify-content: center;
  gap: 4px;
}
.resena-text {
  font-style: italic;
  color: var(--color-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
  line-height: 1.7;
}
.resena-author {
  font-weight: 600;
  color: var(--color-brown);
  font-size: 0.9rem;
}

#horarios { background: var(--color-bg); }
.hours-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 720px;
  margin: 0 auto;
}
.hours-block-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-brown);
  margin-bottom: 20px;
}
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td {
  padding: 10px 0;
  border-bottom: 1px solid rgba(61,43,26,0.1);
  font-size: 0.95rem;
}
.hours-table td:first-child { color: var(--color-brown); font-weight: 500; }
.hours-table td:last-child { text-align: right; color: var(--color-muted); }
.hours-table tr:last-child td { border-bottom: none; }
.location-items { display: flex; flex-direction: column; gap: 18px; }
.location-item { display: flex; gap: 12px; align-items: flex-start; }
.location-icon { flex-shrink: 0; color: var(--color-gold); margin-top: 1px; }
.location-text { font-size: 0.95rem; color: var(--color-muted); line-height: 1.5; }

#contacto {
  background: var(--color-gold);
  padding: 88px var(--page-padding);
  text-align: center;
}
.cta-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 12px;
}
.cta-subtitle { color: rgba(255,255,255,0.85); font-size: 1rem; margin-bottom: 36px; }

.site-footer {
  background: var(--color-brown);
  color: rgba(255,255,255,0.7);
  padding: 56px var(--page-padding) 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 8px;
}
.footer-desc { font-size: 0.88rem; opacity: 0.65; line-height: 1.7; }
.footer-col-title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-gold);
  margin-bottom: 16px;
}
.footer-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-list li { font-size: 0.88rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
}
.footer-credit a { color: var(--color-gold); font-weight: 600; }
.footer-credit a:hover { text-decoration: underline; }

.whatsapp-float {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 999;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.45);
  transition: transform var(--transition), box-shadow var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 24px rgba(37,211,102,0.6); }

@media (max-width: 900px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .eventos-grid { grid-template-columns: 1fr; }
  .about-img-wrap, .eventos-img-wrap { height: 280px; }
  .resenas-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  :root { --section-padding: 64px 20px; }
  .site-header { padding: 14px 16px; }
  .site-header.scrolled { padding: 12px 16px; }
  .products-grid, .resenas-grid { grid-template-columns: 1fr; }
  .hours-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .site-nav { display: none; flex-direction: column; gap: 12px; position: absolute; top: 100%; left: 0; right: 0; background: var(--color-bg); padding: 20px; box-shadow: 0 4px 12px rgba(61,43,26,0.12); }
  .site-nav.open { display: flex; }
  .nav-toggle { display: flex; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
  .nav-toggle span { display: block; width: 24px; height: 2px; background: var(--color-white); border-radius: 2px; transition: background var(--transition); }
  .site-header.scrolled .nav-toggle span { background: var(--color-brown); }
  .footer-bottom { flex-direction: column; text-align: center; }
}
