/* ============================================================
   MALTA Y MIGA — Style Sheet (Redesign 2026)
   Paleta: verde oscuro elegante + beige/crema
   Tipografia: Cormorant Garamond (serif) + DM Sans (sans-serif)
   ============================================================ */

/* ---------- TOKENS ---------- */
:root {
  /* Colores principales */
  --color-green-deep: #1A2F23;
  /* verde oscuro principal - fondo */
  --color-green-mid: #243D2E;
  /* verde medio - secciones alternadas */
  --color-green-light: #2E5040;
  /* verde claro - hover, acentos */
  --color-green-accent: #3D6B52;
  /* verde acento suave */

  /* Crema / beige */
  --color-cream: #F5EDD8;
  /* beige claro - texto principal sobre verde */
  --color-cream-mid: #E8D9BE;
  /* beige medio */
  --color-cream-dark: #D4BC8C;
  /* dorado/beige oscuro - acentos */
  --color-cream-muted: rgba(245, 237, 216, 0.65);
  /* texto secundario */

  /* Dorado para CTAs y acentos */
  --color-gold: #C8A96E;
  /* dorado calido CTA */
  --color-gold-hover: #B8954F;
  /* hover CTA */
  --color-gold-light: rgba(200, 169, 110, 0.15);
  /* fondo suave dorado */

  /* Texto */
  --color-text: #F5EDD8;
  --color-text-muted: rgba(245, 237, 216, 0.65);
  --color-text-subtle: rgba(245, 237, 216, 0.4);

  /* Bordes */
  --color-border: rgba(245, 237, 216, 0.12);
  --color-border-mid: rgba(245, 237, 216, 0.2);

  /* Tipografia */
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'DM Sans', system-ui, sans-serif;

  /* Espaciado */
  --section-pad: clamp(5rem, 9vw, 8rem);
  --container-w: 1200px;
  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 28px;
  --radius-xl: 40px;

  /* Sombras */
  --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 8px 40px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 24px 80px rgba(0, 0, 0, 0.4);

  /* Transiciones */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --duration: 0.4s;

  /* Altura de la barra de notificacion sticky */
  --banner-h: 46px;
}

/* ---------- RESET ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: #0E1F16;
  /* Patron geometrico de sello - replica el motivo del logo Malta y Miga */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Crect width='100' height='100' fill='%230E1F16'/%3E%3Cg fill='none' stroke='%231A3325' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3C!-- Outer diamond --%3E%3Cpolygon points='50,3 97,50 50,97 3,50'/%3E%3C!-- Square grid --%3E%3Crect x='22' y='22' width='56' height='56'/%3E%3C!-- Inner diamond --%3E%3Cpolygon points='50,28 72,50 50,72 28,50'/%3E%3C!-- Corner connectors --%3E%3Cline x1='0' y1='0' x2='22' y2='22'/%3E%3Cline x1='100' y1='0' x2='78' y2='22'/%3E%3Cline x1='0' y1='100' x2='22' y2='78'/%3E%3Cline x1='100' y1='100' x2='78' y2='78'/%3E%3C!-- Center cross --%3E%3Cline x1='50' y1='3' x2='50' y2='28'/%3E%3Cline x1='97' y1='50' x2='72' y2='50'/%3E%3Cline x1='50' y1='97' x2='50' y2='72'/%3E%3Cline x1='3' y1='50' x2='28' y2='50'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 100px 100px;
  color: var(--color-cream);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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;
}

/* ---------- STICKY BANNER ---------- */
.sticky-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--banner-h);
  background: linear-gradient(90deg, var(--color-green-light) 0%, var(--color-green-mid) 100%);
  border-bottom: 1px solid rgba(200, 169, 110, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.8rem, 3vw, 2rem);
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  flex-wrap: wrap;
}

.sticky-banner-text {
  font-size: clamp(0.75rem, 1.6vw, 0.88rem);
  color: var(--color-cream-mid);
  font-weight: 400;
  text-align: center;
  line-height: 1.3;
  letter-spacing: 0.01em;
}

.sticky-banner-btn {
  flex-shrink: 0;
  display: inline-block;
  background: var(--color-gold);
  color: var(--color-green-deep);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.38rem 1.1rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: background var(--duration) var(--ease),
    transform var(--duration) var(--ease);
}

.sticky-banner-btn:hover {
  background: var(--color-gold-hover);
  transform: translateY(-1px);
}

/* ---------- UTILIDADES ---------- */
.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 3rem);
}

.section-tag {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 1rem;
  position: relative;
  padding-left: 2rem;
}

.section-tag::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1.3rem;
  height: 1px;
  background: var(--color-gold);
}

.section-tag.centered {
  display: block;
  text-align: center;
  padding-left: 0;
}

.section-tag.centered::before {
  display: none;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--color-cream);
  margin-bottom: 1.5rem;
}

.section-title em {
  font-style: italic;
  color: var(--color-gold);
}

.section-title.centered {
  text-align: center;
}

.section-intro {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 620px;
  line-height: 1.8;
  margin-bottom: 3.5rem;
}

.section-intro.centered {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- BOTONES ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2.4rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background var(--duration) var(--ease),
    transform var(--duration) var(--ease),
    box-shadow var(--duration) var(--ease);
}

.btn-primary {
  background: var(--color-gold);
  color: var(--color-green-deep);
  box-shadow: 0 4px 24px rgba(200, 169, 110, 0.3);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--color-gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 36px rgba(200, 169, 110, 0.45);
  outline: none;
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ---------- NAVBAR ---------- */
.navbar {
  position: fixed;
  top: var(--banner-h);
  left: 0;
  right: 0;
  z-index: 900;
  background: rgba(26, 47, 35, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--duration) var(--ease),
    box-shadow var(--duration) var(--ease),
    background var(--duration) var(--ease);
}

.navbar.scrolled {
  border-color: var(--color-border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  background: rgba(26, 47, 35, 0.98);
}

.nav-inner {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 3rem);
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 54px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--color-cream-mid);
  position: relative;
  padding-bottom: 3px;
  transition: color var(--duration) var(--ease);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--color-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration) var(--ease);
}

.nav-links a:hover {
  color: var(--color-cream);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-links .nav-cta {
  background: var(--color-gold);
  color: var(--color-green-deep);
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  letter-spacing: 0.06em;
  transition: background var(--duration) var(--ease),
    transform var(--duration) var(--ease);
}

.nav-links .nav-cta::after {
  display: none;
}

.nav-links .nav-cta:hover {
  background: var(--color-gold-hover);
  color: var(--color-green-deep);
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--color-cream);
  border-radius: 2px;
  transition: transform var(--duration) var(--ease), opacity var(--duration) var(--ease);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--color-green-mid);
  border-top: 1px solid var(--color-border);
  padding: 1rem clamp(1.5rem, 5vw, 3rem) 1.5rem;
  gap: 0;
}

.mobile-menu a {
  padding: 0.85rem 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-cream-mid);
  border-bottom: 1px solid var(--color-border);
  transition: color var(--duration) var(--ease);
}

.mobile-menu a:last-child {
  border-bottom: none;
}

.mobile-menu a:hover {
  color: var(--color-gold);
}

.mobile-menu.open {
  display: flex;
}

/* ---------- HERO ---------- */
.hero {
  min-height: 100svh;
  background: rgba(14, 31, 22, 0.78);
  display: flex;
  align-items: center;
  position: relative;
  /* banner-h + nav height */
  padding-top: calc(var(--banner-h) + 76px);
  overflow: hidden;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 70% at 70% 40%, rgba(61, 107, 82, 0.28) 0%, transparent 65%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(200, 169, 110, 0.07) 0%, transparent 60%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: var(--section-pad) clamp(1.5rem, 5vw, 3rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  width: 100%;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 1.4rem;
  padding-left: 2rem;
  position: relative;
}

.hero-eyebrow::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1.3rem;
  height: 1px;
  background: var(--color-gold);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3.5rem, 8vw, 6rem);
  font-weight: 700;
  line-height: 1.0;
  color: var(--color-cream);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.hero-subtitle {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  font-style: italic;
  color: var(--color-gold);
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

.hero-body {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  max-width: 480px;
  margin-bottom: 2.8rem;
}

/* Hero image */
.hero-image-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 520px;
}

.hero-image-frame {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.hero-image-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(26, 47, 35, 0.3) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  object-position: center;
  transition: transform 0.9s var(--ease);
}

.hero-image-frame:hover .hero-img {
  transform: scale(1.03);
}

/* Artisan Seal */
.hero-artisan-seal {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 115px;
  height: 115px;
  z-index: 5;
  animation: sealRotate 35s linear infinite;
  filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.5));
}

@keyframes sealRotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.hero-artisan-seal .seal-svg {
  width: 100%;
  height: 100%;
}

/* Producto seal */
.producto-seal {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  width: 115px;
  height: 115px;
  z-index: 5;
  animation: sealRotate 35s linear infinite;
  filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.5));
}

.producto-seal .seal-svg {
  width: 100%;
  height: 100%;
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--color-gold), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}

@keyframes scrollPulse {

  0%,
  100% {
    opacity: 0.2;
    transform: scaleY(0.6) translateY(-10px);
  }

  50% {
    opacity: 0.8;
    transform: scaleY(1) translateY(0);
  }
}

/* ---------- HISTORIA ---------- */
.historia {
  padding: var(--section-pad) 0;
  background: rgba(26, 47, 35, 0.9);
  position: relative;
  overflow: hidden;
}

.historia::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--color-border-mid), transparent);
}

.historia::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 90% 50%, rgba(61, 107, 82, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.historia-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.historia-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: visible;
}

.historia-img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transition: transform 0.7s var(--ease);
}

.historia-img-wrap:hover .historia-img {
  transform: scale(1.02);
}

.historia-img-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--color-green-deep);
  border: 1px solid var(--color-border-mid);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  box-shadow: var(--shadow-md);
}

.historia-img-badge span {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-subtle);
}

.historia-img-badge strong {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-gold);
  line-height: 1.1;
}

.historia-body {
  padding-right: 1rem;
}

.historia-text {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
  margin-bottom: 2.5rem;
}

.historia-text p {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.85;
}

.historia-firma {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.firma-deco {
  width: 48px;
  height: 1px;
  background: linear-gradient(to right, var(--color-gold), transparent);
  flex-shrink: 0;
}

.firma-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.firma-nombres {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-style: italic;
  color: var(--color-cream);
  font-weight: 500;
}

.firma-cargo {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-subtle);
}

/* ---------- FILOSOFIA ---------- */
.filosofia {
  padding: var(--section-pad) 0;
  background: rgba(14, 31, 22, 0.82);
  position: relative;
}

.filosofia::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--color-border-mid), transparent);
}

.filosofia-header {
  text-align: center;
  margin-bottom: 0;
}

.filosofia-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.filo-card {
  background: rgba(26, 47, 35, 0.92);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: background var(--duration) var(--ease);
  position: relative;
  overflow: hidden;
}

.filo-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(200, 169, 110, 0.05) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--duration) var(--ease);
}

.filo-card:hover {
  background: var(--color-green-light);
}

.filo-card:hover::before {
  opacity: 1;
}

.filo-icon {
  width: 48px;
  height: 48px;
  background: var(--color-gold-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  transition: background var(--duration) var(--ease),
    transform var(--duration) var(--ease);
  flex-shrink: 0;
}

.filo-icon svg {
  width: 22px;
  height: 22px;
}

.filo-card:hover .filo-icon {
  background: var(--color-gold);
  color: var(--color-green-deep);
  transform: scale(1.08);
}

.filo-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-cream);
  line-height: 1.2;
}

.filo-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ---------- PRODUCTO ---------- */
.producto {
  padding: var(--section-pad) 0;
  background: rgba(26, 47, 35, 0.9);
  position: relative;
  overflow: hidden;
}

.producto::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--color-border-mid), transparent);
}

.producto::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 70% at 10% 50%, rgba(61, 107, 82, 0.2) 0%, transparent 65%);
  pointer-events: none;
}

.producto-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.producto-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: visible;
}

.producto-img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transition: transform 0.7s var(--ease);
}

.producto-img-wrap:hover .producto-img {
  transform: scale(1.02);
}

.producto-info {
  padding-left: 1rem;
}

/* Nutri badges */
.producto-nutri {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.nutri-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--color-gold-light);
  border: 1px solid rgba(200, 169, 110, 0.3);
  border-radius: 100px;
  padding: 0.5rem 1.1rem 0.5rem 0.7rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-gold);
  letter-spacing: 0.03em;
}

.nutri-badge svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--color-gold);
}

/* Ingredientes */
.producto-ingredientes {
  background: rgba(26, 47, 35, 0.5);
  border: 1px solid var(--color-border-mid);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  margin-bottom: 2rem;
}

.ingredientes-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-cream);
  margin-bottom: 0.8rem;
  letter-spacing: 0.02em;
}

.ingredientes-texto {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.ingredientes-texto strong {
  color: var(--color-cream);
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* Chips */
.producto-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.chip {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border-mid);
  border-radius: 100px;
  padding: 0.4rem 1rem;
  transition: border-color var(--duration) var(--ease),
    color var(--duration) var(--ease);
}

.chip:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

/* ---------- PROCESO ---------- */
.proceso {
  padding: var(--section-pad) 0;
  background: rgba(14, 31, 22, 0.82);
  position: relative;
}

.proceso::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--color-border-mid), transparent);
}

.proceso-header {
  text-align: center;
}

.proceso-steps {
  max-width: 700px;
  margin: 0 auto 5rem;
  display: flex;
  flex-direction: column;
}

.step-row {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 0 2rem;
  align-items: start;
  position: relative;
}

.step-row--alt {
  /* offset alternado sutil */
}

.step-number {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(200, 169, 110, 0.15);
  line-height: 1;
  text-align: right;
  padding-top: 0.6rem;
  letter-spacing: -0.02em;
  transition: color var(--duration) var(--ease);
}

.step-row:hover .step-number {
  color: rgba(200, 169, 110, 0.35);
}

.step-content {
  background: rgba(26, 47, 35, 0.95);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.8rem 2rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  transition: border-color var(--duration) var(--ease),
    box-shadow var(--duration) var(--ease),
    transform var(--duration) var(--ease);
}

.step-row:hover .step-content {
  border-color: var(--color-border-mid);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.step-row--alt .step-content {
  transform-origin: right;
}

.step-row--alt:hover .step-content {
  transform: translateX(-4px);
}

.step-icon {
  width: 44px;
  height: 44px;
  background: var(--color-gold-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  flex-shrink: 0;
  transition: background var(--duration) var(--ease),
    color var(--duration) var(--ease),
    transform var(--duration) var(--ease);
}

.step-icon svg {
  width: 20px;
  height: 20px;
}

.step-row:hover .step-icon {
  background: var(--color-gold);
  color: var(--color-green-deep);
  transform: scale(1.1);
}

.step-text {
  flex: 1;
}

.step-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-cream);
  margin-bottom: 0.4rem;
  line-height: 1.2;
}

.step-desc {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

.step-connector {
  display: flex;
  justify-content: flex-start;
  padding-left: calc(60px + 2rem + 2rem);
  /* align with step-content */
  height: 2.5rem;
  align-items: center;
}

.step-connector::before {
  content: '';
  display: block;
  width: 1px;
  height: 2.5rem;
  background: linear-gradient(to bottom, var(--color-border-mid), transparent);
  margin-left: -1px;
}

/* Proceso imagen */
.proceso-imagen-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-height: 440px;
  box-shadow: var(--shadow-lg);
}

.proceso-img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  object-position: center 30%;
  transition: transform 0.9s var(--ease);
}

.proceso-imagen-wrap:hover .proceso-img {
  transform: scale(1.04);
}

.proceso-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(26, 47, 35, 0.75) 0%, transparent 55%);
  display: flex;
  align-items: flex-end;
  padding: 2.5rem 3rem;
}

.proceso-img-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-style: italic;
  color: var(--color-cream);
  line-height: 1.3;
}

/* ---------- CONTACTO ---------- */
.contacto-section {
  padding: var(--section-pad) 0;
  background: rgba(26, 47, 35, 0.9);
  position: relative;
}

.contacto-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--color-border-mid), transparent);
}

.contacto-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.contacto-info {
  padding-top: 0.5rem;
}

.contacto-intro {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.contacto-datos {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contacto-dato {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  padding: 1.3rem 0;
  border-bottom: 1px solid var(--color-border);
  transition: background var(--duration) var(--ease);
}

.contacto-dato:last-child {
  border-bottom: none;
}

.contacto-dato-icon {
  width: 42px;
  height: 42px;
  background: var(--color-gold-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  flex-shrink: 0;
  transition: background var(--duration) var(--ease),
    color var(--duration) var(--ease);
}

.contacto-dato-icon svg {
  width: 18px;
  height: 18px;
}

.contacto-dato:hover .contacto-dato-icon {
  background: var(--color-gold);
  color: var(--color-green-deep);
}

.contacto-dato-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-subtle);
  margin-bottom: 0.25rem;
}

.contacto-dato-value {
  font-size: 0.95rem;
  color: var(--color-cream);
  font-weight: 500;
  transition: color var(--duration) var(--ease);
  display: block;
}

a.contacto-dato-value:hover {
  color: var(--color-gold);
}

.contacto-telefonos {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

/* Formulario */
.contacto-form-wrap {
  background: rgba(26, 47, 35, 0.5);
  border: 1px solid var(--color-border-mid);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.form-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--color-cream);
  margin-bottom: 2rem;
}

.contacto-form {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-subtle);
}

.form-input {
  background: rgba(26, 47, 35, 0.7);
  border: 1px solid var(--color-border-mid);
  border-radius: var(--radius-sm);
  color: var(--color-cream);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  padding: 0.85rem 1.1rem;
  transition: border-color var(--duration) var(--ease),
    box-shadow var(--duration) var(--ease);
  width: 100%;
  outline: none;
  -webkit-appearance: none;
}

.form-input::placeholder {
  color: var(--color-text-subtle);
}

.form-input:focus {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(200, 169, 110, 0.12);
}

.form-input.error {
  border-color: #e87070;
}

.form-textarea {
  resize: vertical;
  min-height: 130px;
}

.form-error {
  font-size: 0.78rem;
  color: #e87070;
  min-height: 1rem;
  display: block;
}

.form-privacidad {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.form-checkbox {
  width: 18px;
  height: 18px;
  accent-color: var(--color-gold);
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 2px;
}

.form-checkbox-label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  cursor: pointer;
}

.form-link {
  color: var(--color-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--duration) var(--ease);
}

.form-link:hover {
  color: var(--color-gold-hover);
}

.btn-form {
  width: 100%;
  justify-content: center;
  margin-top: 0.5rem;
}

.form-success {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: rgba(61, 107, 82, 0.3);
  border: 1px solid var(--color-green-accent);
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
  color: var(--color-cream);
  font-size: 0.9rem;
}

.form-success svg {
  width: 20px;
  height: 20px;
  color: var(--color-gold);
  flex-shrink: 0;
}

.form-error-msg {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: rgba(232, 112, 112, 0.12);
  border: 1px solid rgba(232, 112, 112, 0.4);
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
  color: #f5c0c0;
  font-size: 0.9rem;
}

.form-error-msg svg {
  width: 20px;
  height: 20px;
  color: #e87070;
  flex-shrink: 0;
}

/* ---------- FOOTER ---------- */
.footer {
  background: #0F1E16;
  color: var(--color-cream-mid);
  padding: 5rem clamp(1.5rem, 5vw, 3rem) 0;
}

.footer-inner {
  max-width: var(--container-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--color-border);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.footer-logo {
  width: 90px;
  height: auto;
  opacity: 0.8;
}

.footer-tagline {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  font-style: italic;
  color: var(--color-text-subtle);
  line-height: 1.5;
}

.footer-instagram {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color var(--duration) var(--ease);
  margin-top: 0.5rem;
}

.footer-instagram svg {
  width: 18px;
  height: 18px;
}

.footer-instagram:hover {
  color: var(--color-gold);
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-col-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 0.3rem;
}

.footer-link {
  font-size: 0.88rem;
  color: var(--color-text-subtle);
  transition: color var(--duration) var(--ease);
  line-height: 1.5;
}

.footer-link:hover {
  color: var(--color-cream);
}

.footer-link-text {
  font-size: 0.88rem;
  color: var(--color-text-subtle);
  line-height: 1.5;
}

.footer-bottom {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 1.5rem 0;
  font-size: 0.75rem;
  color: var(--color-text-subtle);
  text-align: center;
}

/* ---------- COOKIE BANNER ---------- */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  z-index: 1000;
  width: min(640px, calc(100vw - 2rem));
  transition: transform 0.5s var(--ease);
}

.cookie-banner:not([hidden]) {
  transform: translateX(-50%) translateY(0);
}

.cookie-content {
  background: var(--color-green-mid);
  border: 1px solid var(--color-border-mid);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.6rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1;
  min-width: 200px;
}

.cookie-title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-cream);
  margin-bottom: 0.3rem;
}

.cookie-desc {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.cookie-link {
  color: var(--color-gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-actions {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  align-items: center;
  flex-shrink: 0;
}

.cookie-btn {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--duration) var(--ease);
  border: none;
  text-decoration: none;
  display: inline-block;
}

.cookie-btn-accept {
  background: var(--color-gold);
  color: var(--color-green-deep);
}

.cookie-btn-accept:hover {
  background: var(--color-gold-hover);
  transform: translateY(-1px);
}

.cookie-btn-reject {
  background: transparent;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border-mid);
}

.cookie-btn-reject:hover {
  color: var(--color-cream);
  border-color: var(--color-border-mid);
}

.cookie-btn-policy {
  background: transparent;
  color: var(--color-text-subtle);
  font-size: 0.75rem;
}

.cookie-btn-policy:hover {
  color: var(--color-gold);
}

/* ---------- ANIMACIONES DE SCROLL ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.fade-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.fade-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

.delay-4 {
  transition-delay: 0.4s;
}

.delay-5 {
  transition-delay: 0.5s;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {

  .historia-inner,
  .producto-inner,
  .contacto-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .historia-img-wrap {
    order: -1;
  }

  .historia-img {
    height: 380px;
  }

  .historia-img-badge {
    right: 1rem;
    bottom: 1rem;
  }

  .historia-body {
    padding-right: 0;
  }

  .producto-info {
    padding-left: 0;
  }

  .filosofia-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-cols {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero-title {
    font-size: clamp(2.8rem, 10vw, 4rem);
  }

  .hero-img {
    height: 380px;
  }

  .hero-artisan-seal {
    width: 80px;
    height: 80px;
    bottom: 1rem;
    right: -0.5rem;
  }

  .producto-seal {
    width: 80px;
    height: 80px;
    top: 1rem;
    left: -0.5rem;
  }

  .filosofia-grid {
    grid-template-columns: 1fr;
  }

  .proceso-steps {
    max-width: 100%;
  }

  .step-row {
    grid-template-columns: 1fr;
  }

  .step-number {
    display: none;
  }

  .step-connector {
    padding-left: 2rem;
  }

  .contacto-form-wrap {
    padding: 1.8rem;
  }

  .footer-cols {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .cookie-content {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .historia-img {
    height: 300px;
  }

  .producto-img {
    height: 300px;
  }

  .footer-cols {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .filosofia-header .section-title {
    font-size: 2rem;
  }
}