:root {
  --color-primary: #b5384d;
  --color-primary-dark: #8f2c3d;
  --color-whatsapp: #25d366;
  --color-whatsapp-dark: #1ebc59;
  --color-text: #2e2622;
  --color-muted: #6b625c;
  --color-bg: #fffaf7;
  --color-surface: #ffffff;
  --color-border: #ece2dc;
  font-size: 16px;
}

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

body {
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

a { text-decoration: none; color: inherit; }

h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.2;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  transition: background 0.2s ease, transform 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--color-primary);
  color: #fff;
}
.btn-primary:hover { background: var(--color-primary-dark); }

.btn-whatsapp {
  background: var(--color-whatsapp);
  color: #fff;
}
.btn-whatsapp:hover { background: var(--color-whatsapp-dark); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
  gap: 1.5rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: Georgia, serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-primary);
  white-space: nowrap;
}
.logo-img {
  width: 96px;
  height: 96px;
  border-radius: 14px;
  object-fit: cover;
}
.nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.nav a {
  font-weight: 500;
  color: var(--color-text);
}
.nav a:hover { color: var(--color-primary); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.lang-toggle {
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
}
.lang-toggle:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* Hero */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(46,38,34,0.55), rgba(46,38,34,0.35));
}
.hero-content {
  position: relative;
  color: #fff;
  max-width: 640px;
  padding-top: 4rem;
  padding-bottom: 4rem;
}
.hero-content h1 {
  font-size: 2.75rem;
  margin-bottom: 1rem;
}
.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 1.75rem;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Benefits */
.benefits {
  padding: 3rem 0;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  text-align: center;
}
.benefit h3 {
  color: var(--color-primary);
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
}
.benefit p { color: var(--color-muted); }

/* Products */
.products {
  padding: 4rem 0;
}
.products h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2.5rem;
  color: var(--color-primary);
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}
.product-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 14px rgba(46,38,34,0.06);
}
.product-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.4s ease;
  cursor: pointer;
}
.product-card:hover img {
  transform: scale(1.05);
}

/* Lightbox */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 16, 14, 0.88);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
  padding: 2rem;
}
.lightbox-overlay.is-open {
  opacity: 1;
  visibility: visible;
}
.lightbox-image {
  max-width: min(90vw, 900px);
  max-height: 85vh;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
}
.lightbox-close:hover {
  background: rgba(255,255,255,0.28);
}
.product-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.product-body h3 { font-size: 1.15rem; }
.price {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 1.1rem;
}
.product-body .btn { align-self: flex-start; margin-top: 0.5rem; }

/* CTA occasion */
.cta-occasion {
  background: var(--color-primary);
  color: #fff;
  text-align: center;
  padding: 3.5rem 0;
}
.cta-occasion h2 { margin-bottom: 0.75rem; font-size: 1.9rem; }
.cta-occasion p { margin-bottom: 1.5rem; opacity: 0.9; }

/* Footer */
.site-footer {
  background: #221b18;
  color: #e8ddd6;
  padding-top: 3rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  padding-bottom: 2rem;
}
.footer-grid h3 { color: #fff; margin-bottom: 0.5rem; }
.footer-grid h4 { color: #fff; margin-bottom: 0.75rem; font-size: 1rem; }
.footer-grid a { color: #e8ddd6; }
.footer-grid a:hover { color: var(--color-whatsapp); }
.footer-grid p { margin-bottom: 0.4rem; color: #c9bdb5; }
.footer-bottom {
  border-top: 1px solid #3a312c;
  padding: 1.25rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: #a89c93;
}

.nav a.active { color: var(--color-primary); }

/* Page header (inner pages) */
.page-header {
  text-align: center;
  padding: 3.5rem 0 1rem;
}
.page-header .eyebrow {
  color: var(--color-primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.85rem;
}
.page-header h1 {
  margin-top: 0.75rem;
  font-size: 2.5rem;
}
.page-header p {
  max-width: 640px;
  margin: 1rem auto 0;
  color: var(--color-muted);
}

/* Sobre nosotros */
.about-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 0 4rem;
}
.about-content p {
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
}
.about-quote {
  margin-top: 2rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 1.75rem;
  text-align: center;
}
.about-quote p:first-child {
  font-family: Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.about-quote p:last-child {
  color: var(--color-muted);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* Como pedir - steps */
.steps {
  padding: 2rem 0 3rem;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.step {
  display: flex;
  gap: 1rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 1.5rem;
}
.step-number {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Georgia, serif;
  font-weight: 700;
  font-size: 1.1rem;
}
.step h2 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}
.step p {
  color: var(--color-muted);
  font-size: 0.9rem;
  margin-bottom: 0;
}

.delivery-info {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 1.75rem;
  margin-bottom: 3rem;
}
.delivery-info h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.delivery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.delivery-grid h3 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}
.delivery-grid p {
  color: var(--color-muted);
  font-size: 0.9rem;
}
.delivery-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}
.delivery-facts .label {
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.75rem;
  color: var(--color-muted);
  font-weight: 600;
}
.delivery-facts .value {
  margin-top: 0.25rem;
}
.payment-logo {
  height: 48px;
  margin-top: 0.5rem;
}
.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  padding-bottom: 3rem;
}

/* Contacto */
.contact-section {
  padding: 2rem 0 4rem;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.contact-form {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 1.75rem;
}
.contact-form h2 { font-size: 1.25rem; }
.contact-form > p {
  color: var(--color-muted);
  font-size: 0.9rem;
  margin: 0.25rem 0 1.25rem;
}
.contact-form label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 1px;
}
.contact-form .btn { width: 100%; text-align: center; border: none; cursor: pointer; }

.contact-cards { display: flex; flex-direction: column; gap: 1rem; }
.contact-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 1.5rem;
}
.contact-card h3 { font-size: 1.05rem; margin-bottom: 0.35rem; }
.contact-card a { color: var(--color-primary); font-weight: 600; }
.contact-card p { margin-bottom: 0; }
.contact-card .muted { color: var(--color-muted); font-size: 0.9rem; }

/* Catalogo page extras */
.catalog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin: 0 0 2.5rem;
}
.catalog-filters button {
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
}
.catalog-filters button.active {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}
.product-category {
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.75rem;
  color: var(--color-muted);
  font-weight: 600;
}
.catalog-note {
  text-align: center;
  color: var(--color-muted);
  font-size: 0.9rem;
  margin-top: 2.5rem;
}
.catalog-note a { color: var(--color-primary); font-weight: 600; }

/* Floating WhatsApp button */
.whatsapp-float {
  position: fixed;
  bottom: 4.5rem;
  right: 1.25rem;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-whatsapp);
  color: #fff;
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
  transition: transform 0.2s ease, background 0.2s ease;
}
.whatsapp-float:hover {
  background: var(--color-whatsapp-dark);
  transform: scale(1.05);
}
.whatsapp-float svg {
  width: 24px;
  height: 24px;
}
.whatsapp-float span {
  font-weight: 600;
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .header-inner { flex-direction: column; align-items: flex-start; }
  .nav { gap: 1rem; }
}

@media (max-width: 720px) {
  .whatsapp-float span { display: none; }
  .hero-content h1 { font-size: 2rem; }
}
