:root {
  --negro: #0a0804;
  --dorado: #c9a84c;
  --dorado-claro: #e8c97a;
  --dorado-oscuro: #8a6f2e;
  --rojo: #8b1a1a;
  --rojo-vino: #5c1010;
  --crema: #f5efe4;
  --crema-oscura: #e8dcc8;
  --gris-carne: #2a2018;
  --celeste: #74acdf;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--negro);
  color: var(--crema);
  font-family: 'Archivo', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
}

a { color: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
img { max-width: 100%; display: block; }

.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--dorado);
  margin-bottom: 0.8rem;
}

.section-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  color: var(--crema);
  margin-bottom: 1.5rem;
}

.section-title em { font-style: italic; color: var(--dorado); }

.divider {
  width: 60px;
  height: 1px;
  background: var(--dorado);
  margin-bottom: 2rem;
}

section { padding: 6rem 0; }

/* ── NAVBAR ── */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  padding: 1rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(10,8,4,0.95) 0%, transparent 100%);
  border-bottom: 0.5px solid rgba(201,168,76,0.15);
  transition: background 0.3s, border-color 0.3s;
}

nav.scrolled {
  background: rgba(10,8,4,0.97) !important;
  border-bottom-color: rgba(201,168,76,0.2) !important;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.nav-logo-img { width: 42px; height: 42px; border-radius: 50%; }

.nav-logo-text {
  font-family: 'Fraunces', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--dorado);
  letter-spacing: 0.08em;
}

.nav-logo-text span { font-weight: 300; font-style: italic; color: var(--crema); }

.nav-links { display: flex; gap: 2.2rem; list-style: none; }

.nav-links a {
  color: var(--crema-oscura);
  text-decoration: none;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: color 0.3s;
}

.nav-links a:hover { color: var(--dorado); }

.nav-cta {
  background: transparent;
  border: 1px solid var(--dorado);
  color: var(--dorado);
  padding: 0.55rem 1.3rem;
  font-family: 'Archivo', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  white-space: nowrap;
}

.nav-cta:hover { background: var(--dorado); color: var(--negro); }

@media (max-width: 900px) {
  nav { padding: 1rem 1.2rem; }
  .nav-links { display: none; }
  .nav-cta { font-size: 0.6rem; padding: 0.5rem 0.9rem; }
}

/* ── HERO ── */
#hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 6rem;
}

.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(139,26,26,0.2) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 30%, rgba(201,168,76,0.06) 0%, transparent 50%);
  z-index: 1;
}

.hero-image-bg {
  position: absolute; inset: 0;
  background-image: url('/assets/img/hero-bg-crop.jpg');
  background-size: cover;
  background-position: 75% center;
  z-index: 0;
}

.hero-image-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,8,4,0.92) 0%, rgba(10,8,4,0.55) 42%, rgba(10,8,4,0.2) 70%, rgba(10,8,4,0.15) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
  padding: 0 2rem;
  margin-left: 3rem;
}

@media (max-width: 900px) {
  .hero-content { margin-left: 0; max-width: 100%; text-align: center; }
}

.hero-eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--dorado);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

@media (max-width: 900px) { .hero-eyebrow { justify-content: center; } }

.hero-eyebrow::before { content: ''; display: block; width: 40px; height: 0.5px; background: var(--dorado); }

.hero-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.8rem, 6vw, 4.6rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--crema);
  margin-bottom: 0.3rem;
}

.hero-title em { font-style: italic; color: var(--dorado); }

.hero-tagline {
  font-family: 'Fraunces', serif;
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-style: italic;
  color: var(--crema-oscura);
  margin: 1.3rem 0 2.2rem;
}

.hero-actions { display: flex; gap: 1.1rem; flex-wrap: wrap; }
@media (max-width: 900px) { .hero-actions { justify-content: center; } }

.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 0.9rem 1.9rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s;
}

.btn-primary {
  background: var(--dorado);
  color: var(--negro);
  border: 1px solid var(--dorado);
}
.btn-primary:hover { background: transparent; color: var(--dorado); }

.btn-secondary {
  background: transparent;
  color: var(--crema);
  border: 1px solid rgba(245,239,228,0.35);
}
.btn-secondary:hover { border-color: var(--dorado); color: var(--dorado); }

/* ── PILARES / ORIGEN ── */
.pilares-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
@media (max-width: 800px) { .pilares-grid { grid-template-columns: 1fr; } }

.pilar {
  border: 1px solid rgba(201,168,76,0.2);
  padding: 2.2rem 1.6rem;
  text-align: center;
}
.pilar-num {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 2.6rem;
  color: var(--dorado);
  line-height: 1;
  margin-bottom: 0.8rem;
}
.pilar-title { font-family: 'Fraunces', serif; font-size: 1.3rem; color: var(--crema); margin-bottom: 0.6rem; }
.pilar-text { font-size: 0.85rem; color: rgba(245,239,228,0.55); line-height: 1.7; }

/* ── CATALOGO / TARJETAS DE PRODUCTO ── */
.cortes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
  margin-top: 3rem;
}
@media (max-width: 950px) { .cortes-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cortes-grid { grid-template-columns: 1fr; } }

.corte-card {
  background: var(--gris-carne);
  border: 1px solid rgba(201,168,76,0.15);
  overflow: hidden;
  text-decoration: none;
  display: block;
  transition: transform 0.35s, border-color 0.35s;
}
.corte-card:hover { transform: translateY(-6px); border-color: rgba(201,168,76,0.5); }

.corte-img-wrap { aspect-ratio: 1/1; overflow: hidden; background: #000; }
.corte-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.corte-card:hover .corte-img-wrap img { transform: scale(1.06); }

.corte-body { padding: 1.5rem; }
.corte-cat { font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--dorado); margin-bottom: 0.5rem; }
.corte-nombre { font-family: 'Fraunces', serif; font-size: 1.5rem; color: var(--crema); margin-bottom: 0.3rem; }
.corte-en { font-size: 0.75rem; color: rgba(245,239,228,0.45); margin-bottom: 0.9rem; }
.corte-resumen { font-size: 0.85rem; color: rgba(245,239,228,0.6); line-height: 1.6; margin-bottom: 1.2rem; }
.corte-link { font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dorado); }

/* ── PAGINA INDIVIDUAL DE PRODUCTO ── */
.producto-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  padding-top: 8rem;
}
@media (max-width: 900px) { .producto-hero { grid-template-columns: 1fr; padding-top: 7rem; gap: 2rem; } }

.producto-img-wrap { border: 1px solid rgba(201,168,76,0.2); overflow: hidden; }
.producto-img-wrap img { width: 100%; }

.producto-breadcrumb { font-size: 0.7rem; color: rgba(245,239,228,0.4); margin-bottom: 1.5rem; letter-spacing: 0.05em; }
.producto-breadcrumb a { color: rgba(245,239,228,0.6); text-decoration: none; }
.producto-breadcrumb a:hover { color: var(--dorado); }

.producto-nombre {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: var(--crema);
  line-height: 1.05;
}
.producto-en { font-size: 0.9rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dorado); margin: 0.8rem 0 1.5rem; }
.producto-peso { display: inline-block; border: 1px solid rgba(201,168,76,0.3); padding: 0.4rem 1rem; font-size: 0.75rem; color: var(--crema-oscura); margin-bottom: 1.8rem; }

.producto-caract { display: flex; gap: 1.8rem; margin: 1.8rem 0 2.2rem; flex-wrap: wrap; }
.pcaract-item { text-align: left; max-width: 130px; }
.pcaract-num {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 1.7rem;
  color: var(--dorado);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.pcaract-text { font-size: 0.66rem; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(245,239,228,0.55); line-height: 1.4; }

.producto-desc { font-size: 0.95rem; line-height: 1.9; color: rgba(245,239,228,0.7); margin-bottom: 2.2rem; }

.producto-related { margin-top: 5rem; }

/* ── TIPS DE PARRILLA ── */
.parrilla-tips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
@media (max-width: 950px) { .parrilla-tips { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .parrilla-tips { grid-template-columns: 1fr; } }

.tip-card { border: 1px solid rgba(201,168,76,0.18); padding: 1.6rem; }
.tip-corte { font-family: 'Fraunces', serif; font-size: 1.25rem; color: var(--dorado); margin-bottom: 1rem; }
.tip-row { display: flex; justify-content: space-between; gap: 1rem; padding: 0.5rem 0; border-bottom: 1px solid rgba(245,239,228,0.08); font-size: 0.8rem; }
.tip-row:last-child { border-bottom: none; }
.tip-label { color: rgba(245,239,228,0.45); text-transform: uppercase; font-size: 0.65rem; letter-spacing: 0.06em; white-space: nowrap; }
.tip-val { color: var(--crema-oscura); text-align: right; }

.tip-cta {
  display: inline-block;
  margin-top: 1.1rem;
  background: none;
  border: none;
  color: var(--dorado);
  font-family: 'Archivo', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0;
  text-align: left;
}
.tip-cta:hover { text-decoration: underline; }

/* ── MODAL: CÓMO COCINAR ── */
.coccion-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.2rem;
}
.coccion-modal.open { display: flex; }

.coccion-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10,8,4,0.92);
}

.coccion-modal-panel {
  position: relative;
  background: var(--negro);
  border: 1px solid rgba(201,168,76,0.25);
  max-width: 1000px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  padding: 2.8rem;
}
@media (max-width: 700px) { .coccion-modal-panel { padding: 2rem 1.3rem; } }

.coccion-modal-close {
  position: absolute;
  top: 1.1rem;
  right: 1.2rem;
  background: none;
  border: none;
  color: rgba(245,239,228,0.6);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  width: 36px;
  height: 36px;
}
.coccion-modal-close:hover { color: var(--dorado); }

.coccion-modal-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--crema);
  margin-bottom: 2.2rem;
}

.coccion-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.4rem;
}
@media (max-width: 900px) { .coccion-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .coccion-steps { grid-template-columns: 1fr; } }

.coccion-step-num {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 1.5rem;
  color: var(--dorado);
  margin-bottom: 0.6rem;
  line-height: 1;
}
.coccion-step-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  margin-bottom: 0.8rem;
  border: 1px solid rgba(201,168,76,0.15);
}
.coccion-step-img img { width: 100%; height: 100%; object-fit: cover; }
.coccion-step-title { font-size: 0.82rem; color: var(--crema); margin-bottom: 0.4rem; font-weight: 500; }
.coccion-step-text { font-size: 0.76rem; color: rgba(245,239,228,0.6); line-height: 1.6; }

/* ── EXPERIENCIAS A DOMICILIO ── */
.dom-hero { text-align: center; margin-bottom: 3.5rem; }
.dom-hero.hero-quote {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-style: italic;
  color: var(--dorado);
  margin: 1rem 0;
}

.dom-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.8rem; margin-bottom: 4rem; }
@media (max-width: 800px) { .dom-grid { grid-template-columns: 1fr; } }

.dom-card { border: 1px solid rgba(201,168,76,0.18); padding: 2.2rem; }
.dom-num {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 2.2rem;
  color: var(--dorado);
  display: block;
  line-height: 1;
  margin-bottom: 1rem;
}
.dom-title { font-family: 'Fraunces', serif; font-size: 1.5rem; color: var(--crema); margin-bottom: 0.4rem; }
.dom-type { font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dorado); margin-bottom: 1rem; }
.dom-desc { font-size: 0.85rem; line-height: 1.7; color: rgba(245,239,228,0.6); margin-bottom: 1.2rem; }
.dom-personas { font-size: 0.75rem; color: var(--crema-oscura); border-top: 1px solid rgba(245,239,228,0.1); padding-top: 1rem; }

.incluye-section { text-align: center; margin-bottom: 3.5rem; }
.incluye-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
@media (max-width: 900px) { .incluye-grid { grid-template-columns: repeat(2, 1fr); } }

.incluye-item { padding: 1.2rem; }
.incluye-num {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 2rem;
  color: var(--dorado);
  display: block;
  line-height: 1;
  margin-bottom: 0.8rem;
}
.incluye-title { font-size: 0.85rem; color: var(--crema); margin-bottom: 0.4rem; }
.incluye-desc { font-size: 0.75rem; color: rgba(245,239,228,0.5); line-height: 1.5; }

.cta-actions { display: flex; gap: 1.2rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }

/* ── ENVIOS ── */
.envios-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.8rem;
  margin-top: 3rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 750px) { .envios-grid { grid-template-columns: 1fr; } }

.envios-card {
  border: 1px solid rgba(201,168,76,0.2);
  padding: 2.2rem;
  text-align: center;
}
.envios-num {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 2.4rem;
  color: var(--dorado);
  line-height: 1;
  margin-bottom: 1rem;
}
.envios-monto { font-family: 'Fraunces', serif; font-size: 1.3rem; color: var(--crema); margin-bottom: 0.8rem; }
.envios-desc { font-size: 0.85rem; line-height: 1.7; color: rgba(245,239,228,0.6); }
.envios-desc strong { color: var(--dorado); font-weight: 500; }

/* ── FORMULARIO DE COTIZACIÓN ── */
.cotizar-wrap { max-width: 700px; margin: 0 auto; }

.form-alert {
  padding: 1rem 1.4rem;
  margin-bottom: 2rem;
  font-size: 0.85rem;
  border: 1px solid;
  text-align: center;
}
.form-alert-ok { border-color: var(--dorado); color: var(--dorado-claro); background: rgba(201,168,76,0.08); }
.form-alert-error { border-color: var(--rojo); color: #e3a3a3; background: rgba(139,26,26,0.1); }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem 1.6rem;
}
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }

.form-group-full { grid-column: 1 / -1; }

.form-group label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dorado);
  margin-bottom: 0.6rem;
}

.form-optional {
  text-transform: none;
  letter-spacing: 0;
  color: rgba(245,239,228,0.4);
  font-size: 0.7rem;
}

.form-group input {
  width: 100%;
  background: var(--gris-carne);
  border: 1px solid rgba(201,168,76,0.25);
  color: var(--crema);
  padding: 0.85rem 1rem;
  font-family: 'Archivo', sans-serif;
  font-size: 0.85rem;
  transition: border-color 0.3s;
}
.form-group input:focus {
  outline: none;
  border-color: var(--dorado);
}
.form-group input::placeholder { color: rgba(245,239,228,0.3); }

/* Estilo del selector de fecha nativo en fondo oscuro */
.form-group input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(0.7) sepia(1) saturate(3) hue-rotate(5deg);
  cursor: pointer;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ── CTA FINAL ── */
.cta-subtitle { font-size: 0.95rem; color: rgba(245,239,228,0.55); max-width: 500px; margin: 0 auto 2rem; text-align: center; }

/* ── FOOTER ── */
footer {
  padding: 3.5rem 2rem 2.5rem;
  text-align: center;
  border-top: 1px solid rgba(201,168,76,0.12);
}
.footer-logo-wrap { margin-bottom: 1.5rem; }
.footer-logo-img { width: 60px; height: 60px; border-radius: 50%; margin: 0 auto; }
.footer-links { display: flex; gap: 2rem; justify-content: center; margin-bottom: 1.8rem; flex-wrap: wrap; }
.footer-links a { text-decoration: none; color: rgba(245,239,228,0.55); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; }
.footer-links a:hover { color: var(--dorado); }
.footer-copy { font-size: 0.68rem; letter-spacing: 0.05em; color: rgba(245,239,228,0.3); }

/* ── UTILIDADES ── */
.text-center { text-align: center; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
