/* ==========================================================
   PANIFICADORA LA REAL · CRUJIPAN
   Web HTML 2026 — Diseño Premium Artesanal
   ========================================================== */

/* ── CUSTOM PROPERTIES ─────────────────────────────────── */
:root {
  --gold:        #C8922A;
  --gold-light:  #E8B84B;
  --gold-dark:   #9A6E1A;
  --dark:        #130E07;
  --dark-2:      #1E1509;
  --dark-3:      #2A1C0E;
  --brown:       #3D2B1F;
  --cream:       #FDF6EC;
  --cream-2:     #F5EAD6;
  --warm-gray:   #8C7B6B;
  --text:        #2A1C0E;
  --text-light:  #6B5A49;
  --white:       #FFFFFF;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --ease:        cubic-bezier(.4, 0, .2, 1);
  --ease-out:    cubic-bezier(0, 0, .2, 1);
  --t-fast:      .18s;
  --t-med:       .35s;
  --t-slow:      .6s;

  --shadow-sm:   0 2px 8px rgba(0,0,0,.12);
  --shadow-md:   0 8px 32px rgba(0,0,0,.18);
  --shadow-lg:   0 20px 60px rgba(0,0,0,.28);
  --r:           12px;
  --r-lg:        20px;
  --max:         1240px;
}

/* ── RESET ─────────────────────────────────────────────── */
*, *::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(--cream);
  line-height: 1.7;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── UTILITY ────────────────────────────────────────────── */
.wrap  { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); }

/* Section spacing */
.section       { padding: 100px 0; }
.section--dark  { background: var(--dark); color: var(--white); }
.section--dark2 { background: var(--dark-2); color: var(--white); }
.section--cream { background: var(--cream); }
.section--warm  { background: var(--cream-2); }

/* Section labels */
.label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.label::before, .label::after {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--gold);
}

/* Headings */
.h-display {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.02em;
}
.h-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.015em;
}
.h-sub {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  font-weight: 600;
  line-height: 1.2;
}
.h-card {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.2;
}

/* Gold accent */
.accent { color: var(--gold); }
.accent-line {
  width: 48px; height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin: 18px 0 28px;
}
.accent-line--center { margin: 18px auto 28px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 36px;
  border-radius: 60px;
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .5px;
  transition: all var(--t-med) var(--ease);
}
.btn-gold {
  background: var(--gold);
  color: var(--white);
}
.btn-gold:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(200,146,42,.4);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.6);
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--dark);
  border-color: var(--white);
}
.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold);
}
.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--white);
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ── NAVBAR ─────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  transition: background var(--t-med) var(--ease),
              box-shadow var(--t-med) var(--ease),
              padding var(--t-med) var(--ease);
  padding: 0;
}
.nav.scrolled {
  background: rgba(13,9,4,.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px rgba(0,0,0,.4);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.nav-logo img { height: 46px; width: auto; }
.nav-logo-text { line-height: 1.25; }
.nav-logo-text .name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: .5px;
}
.nav-logo-text .tagline {
  display: block;
  font-size: .67rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-item { position: relative; }
.nav-link {
  display: block;
  padding: 9px 15px;
  font-size: .84rem;
  font-weight: 500;
  color: rgba(255,255,255,.8);
  border-radius: 8px;
  transition: color var(--t-fast), background var(--t-fast);
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: var(--gold); }

/* Dropdown */
.nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 210px;
  background: #1A1106;
  border: 1px solid rgba(200,146,42,.2);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  animation: dropIn .2s var(--ease-out);
}
@keyframes dropIn {
  from { opacity:0; transform:translateY(-8px) }
  to   { opacity:1; transform:translateY(0) }
}
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown { display: block; }
.nav-dropdown a {
  display: block;
  padding: 12px 20px;
  font-size: .83rem;
  color: rgba(255,255,255,.75);
  border-bottom: 1px solid rgba(255,255,255,.05);
  transition: background var(--t-fast), color var(--t-fast);
}
.nav-dropdown a:last-child { border: none; }
.nav-dropdown a:hover { background: var(--gold); color: var(--white); }

/* Nav phone */
.nav-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1.5px solid rgba(200,146,42,.5);
  border-radius: 50px;
  font-size: .83rem;
  font-weight: 700;
  color: var(--gold);
  transition: all var(--t-fast);
  white-space: nowrap;
  margin-left: 1px;
}
.nav-phone:hover { background: var(--gold); color: var(--white); border-color: var(--gold); }

/* Hamburger */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  padding: 6px;
  border: 1.5px solid rgba(255,255,255,.25);
  border-radius: 8px;
}
.nav-burger span {
  display: block;
  width: 100%; height: 1.5px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--t-fast);
}
.nav-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

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

/* Slides */
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s var(--ease);
}
.hero-slide.active { opacity: 1; }
.hero-slide-bg {
  position: absolute;
  inset: -8%;
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  transition: transform 7s linear;
}
.hero-slide.active .hero-slide-bg { transform: scale(1); }
.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(13,9,4,.82) 0%,
    rgba(13,9,4,.55) 45%,
    rgba(13,9,4,.15) 80%,
    transparent 100%
  );
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 10;
  max-width: 680px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 22px;
  opacity: 0;
  transform: translateY(20px);
  transition: all .8s var(--ease-out) .3s;
}
.hero-eyebrow::before {
  content: '';
  width: 36px; height: 1px;
  background: var(--gold-light);
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 600;
  line-height: 1.08;
  color: var(--white);
  letter-spacing: -.02em;
  margin-bottom: 24px;
  text-shadow: 0 2px 20px rgba(0,0,0,.3);
  opacity: 0;
  transform: translateY(28px);
  transition: all .8s var(--ease-out) .5s;
}
.hero-title em {
  font-style: italic;
  color: var(--gold-light);
}
.hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,.82);
  max-width: 500px;
  margin-bottom: 38px;
  line-height: 1.75;
  opacity: 0;
  transform: translateY(20px);
  transition: all .8s var(--ease-out) .7s;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  transition: all .8s var(--ease-out) .9s;
}
.hero-slide.active .hero-eyebrow,
.hero-slide.active .hero-title,
.hero-slide.active .hero-desc,
.hero-slide.active .hero-actions {
  opacity: 1;
  transform: translateY(0);
}

/* Hero controls */
.hero-controls {
  position: absolute;
  bottom: 44px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.35);
  border: none;
  cursor: pointer;
  transition: all var(--t-med);
}
.hero-dot.active {
  width: 28px;
  border-radius: 4px;
  background: var(--gold);
}

/* Hero scroll hint */
.hero-scroll {
  position: absolute;
  bottom: 44px;
  right: 48px;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.5);
  font-size: .68rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.hero-scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,.4));
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { opacity: .4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* ── STATS STRIP ─────────────────────────────────────────── */
.stats {
  background: var(--gold);
  padding: 0;
}
.stats-inner {
  display: grid;
  grid-template-columns: repeat(4,1fr);
}
.stat-item {
  padding: 32px 24px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.25);
  position: relative;
}
.stat-item:last-child { border-right: none; }
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label {
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.8);
}

/* ── INTRO / ABOUT ───────────────────────────────────────── */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.intro-media {
  position: relative;
}
.intro-img-main {
  width: 100%;
  height: 560px;
  object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
}
.intro-img-accent {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: var(--r);
  border: 6px solid var(--cream);
  box-shadow: var(--shadow-md);
}
.intro-badge {
  position: absolute;
  top: 28px;
  left: -20px;
  background: var(--gold);
  color: var(--white);
  width: 108px; height: 108px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 8px 28px rgba(200,146,42,.45);
  z-index: 2;
}
.intro-badge .badge-num {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 600;
  line-height: 1;
}
.intro-badge .badge-txt {
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: .9;
  max-width: 70px;
  line-height: 1.3;
}

.intro-body .label { display: inline-flex; }
.intro-body p {
  color: var(--text-light);
  margin-bottom: 1rem;
  font-size: 1.01rem;
}
.intro-feats {
  margin: 28px 0 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.feat {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.feat-icon {
  width: 48px; height: 48px;
  flex-shrink: 0;
  background: rgba(200,146,42,.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}
.feat-text { font-size: .95rem; color: var(--text-light); }
.feat-text strong { display: block; color: var(--text); font-size: 1rem; margin-bottom: 2px; }

/* ── PROCESS ─────────────────────────────────────────────── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 2px;
  background: var(--dark-3);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.process-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/5;
}
.process-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease);
}
.process-card:hover .process-card-img { transform: scale(1.07); }
.process-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,9,4,.88) 0%, rgba(13,9,4,.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px 28px;
}
.process-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 600;
  color: rgba(200,146,42,.3);
  line-height: 1;
  margin-bottom: 8px;
}
.process-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
}
.process-desc { font-size: .84rem; color: rgba(255,255,255,.65); }

/* ── PRODUCTS SECTION ────────────────────────────────────── */
.products-header { text-align: center; margin-bottom: 56px; }
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.product-card {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.product-card-img-wrap {
  position: relative;
  overflow: hidden;
  height: 240px;
}
.product-card-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease);
}
.product-card:hover .product-card-img { transform: scale(1.08); }
.product-card-tag {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--gold);
  color: var(--white);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 40px;
}
.product-card-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.product-card-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}
.product-card-desc { color: var(--text-light); font-size: .92rem; flex: 1; margin-bottom: 22px; }
.product-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold);
  font-size: .88rem;
  font-weight: 700;
  transition: gap var(--t-fast);
}
.product-card-link:hover { gap: 12px; }

/* ── FULL-BLEED PARALLAX CTA ─────────────────────────────── */
.cta-parallax {
  position: relative;
  overflow: hidden;
  padding: 120px 0;
}
.cta-parallax-bg {
  position: absolute;
  inset: -15%;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.cta-parallax::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(13,9,4,.72);
}
.cta-parallax .wrap { position: relative; z-index: 1; }
.cta-inner { max-width: 680px; }
.cta-inner p { color: rgba(255,255,255,.78); font-size: 1.05rem; margin-bottom: 36px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── DISTRIBUTION SPLIT ──────────────────────────────────── */
.distrib-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.distrib-img {
  position: relative;
}
.distrib-img img {
  width: 100%; height: 480px;
  object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
}
.distrib-body p { color: var(--text-light); margin-bottom: 1rem; }
.distrib-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 28px 0 36px;
}
.distrib-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .95rem;
  color: var(--text-light);
}
.distrib-list li::before {
  content: '✓';
  width: 26px; height: 26px;
  flex-shrink: 0;
  background: rgba(200,146,42,.15);
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 700;
}

/* ── QUALITY GRID ────────────────────────────────────────── */
.quality-cards {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
}
.quality-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(200,146,42,.2);
  border-radius: var(--r);
  padding: 36px 28px;
  text-align: center;
  transition: transform var(--t-med), border-color var(--t-med);
}
.quality-card:hover { transform: translateY(-6px); border-color: var(--gold); }
.quality-icon { font-size: 2.4rem; margin-bottom: 14px; }
.quality-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 10px;
}
.quality-card p { color: rgba(255,255,255,.6); font-size: .88rem; }

/* ── IMAGE MOSAIC ────────────────────────────────────────── */
.mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 320px 320px;
  gap: 6px;
}
.mosaic-item {
  overflow: hidden;
  position: relative;
}
.mosaic-item:first-child {
  grid-column: span 2;
  grid-row: span 2;
}
.mosaic-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease);
}
.mosaic-item:hover img { transform: scale(1.06); }

/* ── CRUJIPAN PRODUCTS LIST ──────────────────────────────── */
.crujipan-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 72px;
}
.crujipan-intro img {
  width: 100%; height: 420px;
  object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
}
.crujipan-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
}
.crujipan-card {
  background: var(--white);
  border-radius: var(--r);
  padding: 20px;
  display: flex;
  gap: 16px;
  align-items: center;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--t-med), transform var(--t-med);
}
.crujipan-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.crujipan-card img {
  width: 90px; height: 60px;
  object-fit: contain;
  background: var(--cream-2);
  border-radius: 8px;
  padding: 4px;
  flex-shrink: 0;
}
.crujipan-card-info {}
.crujipan-card-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 3px;
}
.crujipan-card-spec {
  font-size: .73rem;
  font-weight: 700;
  color: var(--gold-dark);
  background: rgba(200,146,42,.1);
  padding: 3px 9px;
  border-radius: 40px;
  display: inline-block;
}

/* ── CONTACT ─────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.contact-info {
  background: var(--dark-2);
  border-radius: var(--r-lg);
  padding: 44px;
}
.contact-info h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 32px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(200,146,42,.25);
}
.contact-detail {
  display: flex;
  gap: 18px;
  margin-bottom: 26px;
}
.c-icon {
  width: 46px; height: 46px;
  flex-shrink: 0;
  background: rgba(200,146,42,.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}
.c-icon svg { width: 20px; height: 20px; }
.c-text strong { display: block; color: var(--white); font-size: .88rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 3px; }
.c-text span { color: rgba(255,255,255,.6); font-size: .9rem; }
.contact-map {
  margin-top: 28px;
  border-radius: var(--r);
  overflow: hidden;
}
.contact-map img { width: 100%; display: block; }

.contact-form-wrap {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 44px;
  box-shadow: var(--shadow-md);
}
.contact-form-wrap h3 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  margin-bottom: 6px;
}
.contact-form-wrap .sub { color: var(--text-light); font-size: .92rem; margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-size: .82rem;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 7px;
}
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid rgba(61,43,31,.15);
  border-radius: var(--r);
  font-size: .95rem;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  transition: border-color var(--t-fast);
  outline: none;
}
.form-field input:focus,
.form-field textarea:focus { border-color: var(--gold); background: var(--white); }
.form-field textarea { resize: vertical; min-height: 130px; }
.form-submit {
  width: 100%;
  padding: 15px;
  background: var(--gold);
  color: var(--white);
  border-radius: 60px;
  font-size: .95rem;
  font-weight: 700;
  font-family: var(--font-body);
  transition: all var(--t-med);
  border: none;
  cursor: pointer;
}
.form-submit:hover { background: var(--gold-dark); box-shadow: 0 8px 24px rgba(200,146,42,.35); }

/* ── PAGE HEADER ─────────────────────────────────────────── */
.page-header {
  position: relative;
  padding: 160px 0 80px;
  overflow: hidden;
}
.page-header-bg {
  position: absolute;
  inset: -10%;
  background-size: cover;
  background-position: center;
  filter: brightness(.35);
}
.page-header-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(13,9,4,.5) 0%, rgba(13,9,4,.8) 100%);
}
.page-header .wrap { position: relative; z-index: 1; }
.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.8rem);
  color: var(--white);
  font-weight: 600;
  margin-bottom: 14px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  color: rgba(255,255,255,.55);
}
.breadcrumb a { color: var(--gold); }
.breadcrumb span { color: rgba(255,255,255,.3); }

/* ── FOOTER ──────────────────────────────────────────────── */
.footer {
  background: var(--dark);
  padding-top: 72px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1.4fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer-brand img { height: 50px; margin-bottom: 18px; }
.footer-brand p { font-size: .87rem; color: rgba(255,255,255,.5); max-width: 280px; line-height: 1.7; }
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1.5px solid var(--gold);
  display: inline-block;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a {
  font-size: .86rem;
  color: rgba(255,255,255,.5);
  transition: color var(--t-fast);
}
.footer-col ul a:hover { color: var(--gold); }
.footer-contact-list { display: flex; flex-direction: column; gap: 16px; }
.f-contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.f-icon {
  width: 32px; height: 32px;
  flex-shrink: 0;
  background: rgba(200,146,42,.15);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
}
.f-icon svg { width: 14px; height: 14px; }
.f-contact-item strong { display: block; color: rgba(255,255,255,.4); font-size: .72rem; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 2px; }
.f-contact-item span { color: rgba(255,255,255,.65); font-size: .85rem; }
.f-contact-item a { color: var(--gold); font-size: .9rem; font-weight: 700; }

.footer-bottom {
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .8rem;
  color: rgba(255,255,255,.35);
}
.footer-bottom a { color: var(--gold); }
.footer-bottom-links { display: flex; gap: 20px; align-items: center; }

/* ── SCROLL ANIMATIONS ───────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.delay-1 { transition-delay: .15s !important; }
.delay-2 { transition-delay: .3s !important; }
.delay-3 { transition-delay: .45s !important; }
.delay-4 { transition-delay: .6s !important; }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1100px) {
  .intro-grid { gap: 50px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .products-grid { grid-template-columns: 1fr 1fr; }
  .crujipan-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { gap: 3px; }
}

@media (max-width: 900px) {
  .intro-grid, .distrib-grid, .crujipan-intro, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .intro-img-accent { display: none; }
  .intro-img-main, .distrib-img img, .crujipan-intro img { height: 320px; }
  .intro-badge { top: 18px; left: 18px; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .quality-cards { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .process-card { aspect-ratio: 16/7; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .mosaic-item:first-child { grid-column: span 2; aspect-ratio: 16/7; }
  .nav-menu, .nav-phone { display: none; }
  .nav-burger { display: flex; }
  .nav-menu.open {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: fixed;
    top: 76px; left: 0; right: 0;
    background: rgba(13,9,4,.97);
    backdrop-filter: blur(16px);
    padding: 16px;
    max-height: calc(100vh - 76px);
    overflow-y: auto;
  }
  .nav-link { padding: 14px 16px; font-size: .92rem; }
  .nav-dropdown {
    position: static;
    display: none;
    box-shadow: none;
    border: none;
    background: rgba(255,255,255,.04);
    border-radius: 8px;
    margin: 4px 0 8px;
  }
  .nav-item.open .nav-dropdown { display: block; }
  .nav-phone {
    display: flex;
    margin: 12px 16px 8px;
    justify-content: center;
  }
  .section { padding: 72px 0; }
  .products-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  :root { --max: 100%; }
  .products-grid { grid-template-columns: 1fr; }
  .crujipan-grid { grid-template-columns: 1fr; }
  .quality-cards { grid-template-columns: 1fr; }
  .mosaic { grid-template-columns: 1fr; }
  .mosaic-item:first-child { grid-column: span 1; aspect-ratio: 4/3; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-scroll { display: none; }
  .contact-info, .contact-form-wrap { padding: 28px 22px; }
  .hero-title { font-size: 2.2rem; }
  .page-header h1 { font-size: 2rem; }
  .cta-parallax { padding: 72px 0; }
}

/* ==========================================================
   BRIDGE & SUPPLEMENTARY STYLES
   Covers all class names used in HTML pages
   ========================================================== */

/* ── CONTAINER ───────────────────────────────────────────── */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

/* ── NAVBAR (alias for .nav) ─────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  transition: background var(--t-med) var(--ease),
              box-shadow var(--t-med) var(--ease);
}
.navbar.scrolled {
  background: rgba(13,9,4,.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px rgba(0,0,0,.4);
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1px;
}
.nav-brand {
  display: block;
  font-family: var(--font-display);
  font-size: 1.01rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: .5px;
}
.nav-tagline {
  display: block;
  font-size: .67rem;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--gold);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}
.nav-links .nav-item { position: relative; }
.nav-links .nav-item > a {
  display: block;
  padding: 9px 12px;
  font-size: .84rem;
  font-weight: 500;
  color: rgba(255,255,255,.8);
  border-radius: 8px;
  transition: color var(--t-fast), background var(--t-fast);
  white-space: nowrap;
}
.nav-links .nav-item > a:hover,
.nav-links .nav-item > a.active,
.nav-links .nav-item.active > a { color: var(--gold); }
.nav-links .dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 210px;
  background: #1A1106;
  border: 1px solid rgba(200,146,42,.2);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  animation: dropIn .2s var(--ease-out);
  list-style: none;
  z-index: 100;
}
.nav-links .nav-item:hover .dropdown,
.nav-links .nav-item.dropdown-open .dropdown { display: block; }
/* Puente invisible que cubre el hueco de 8px entre el enlace y el submenú,
   para que no se pierda el :hover al mover el ratón hacia el desplegable */
.nav-links .has-dropdown:hover::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 10px;
}
.nav-links .dropdown a {
  display: block;
  padding: 12px 20px;
  font-size: .83rem;
  color: rgba(255,255,255,.75);
  border-bottom: 1px solid rgba(255,255,255,.05);
  transition: background var(--t-fast), color var(--t-fast);
}
.nav-links .dropdown li:last-child a { border-bottom: none; }
.nav-links .dropdown a:hover { background: var(--gold); color: var(--white); }

/* Hamburger */
.menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  padding: 6px;
  border: 1.5px solid rgba(255,255,255,.25);
  border-radius: 8px;
  cursor: pointer;
  background: none;
}
.menu-btn span {
  display: block;
  width: 100%; height: 1.5px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--t-fast);
}
.menu-btn.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-btn.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-btn.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── HERO OVERLAY & CONTENT (used in HTML) ───────────────── */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(13,9,4,.82) 0%,
    rgba(13,9,4,.55) 45%,
    rgba(13,9,4,.15) 80%,
    transparent 100%
  );
  z-index: 1;
}
.hero .hero-content {
  position: relative;
  z-index: 10;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 0 28px;
}
.hero-dots {
  position: absolute;
  bottom: 44px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  border: 1.5px solid rgba(255,255,255,.25);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t-fast);
  backdrop-filter: blur(4px);
}
.hero-arrow:hover { background: var(--gold); border-color: var(--gold); }
.hero-arrow-prev { left: 24px; }
.hero-arrow-next { right: 24px; }
.hero-scroll-hint {
  position: absolute;
  bottom: 44px;
  right: 48px;
  z-index: 20;
  color: rgba(255,255,255,.5);
  animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ── BTN EXTRAS ──────────────────────────────────────────── */
.btn-outline { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,.6); }
.btn-outline:hover { background: var(--white); color: var(--dark); border-color: var(--white); }
.btn-outline-light { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,.55); }
.btn-outline-light:hover { background: var(--white); color: var(--dark); }
.btn-outline-dark { background: transparent; color: var(--text); border: 1.5px solid rgba(61,43,31,.35); }
.btn-outline-dark:hover { background: var(--text); color: var(--white); }
.btn-full { width: 100%; justify-content: center; border-radius: 12px; }
.btn-sm { padding: 10px 22px; font-size: .82rem; }
.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold);
  font-size: .88rem;
  font-weight: 700;
  transition: gap var(--t-fast);
}
.btn-link:hover { gap: 12px; }

/* ── RL-SECTION (generic section wrapper) ────────────────── */
.rl-section { padding: 96px 0; }
.rl-section.bg-cream { background: var(--cream); }
.rl-section.bg-wheat { background: var(--cream-2); }
.rl-section.bg-dark  { background: var(--dark); color: var(--white); }

/* ── SECTION TYPOGRAPHY ──────────────────────────────────── */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.section-eyebrow::before, .section-eyebrow::after {
  content: '';
  display: block;
  width: 28px; height: 1px;
  background: var(--gold);
}
.section-eyebrow.light { color: var(--gold-light); }
.section-eyebrow.light::before, .section-eyebrow.light::after { background: var(--gold-light); }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.9rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.015em;
  color: var(--text);
  margin-bottom: 0;
}
.section-title.light { color: var(--white); }
.section-rule {
  width: 52px; height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin: 20px 0 28px;
}
.section-rule.center { margin: 20px auto 28px; }
.section-text { color: var(--text-light); margin-bottom: 1rem; font-size: 1.01rem; }
.section-subtitle { color: var(--text-light); font-size: 1rem; text-align: center; max-width: 540px; margin: 0 auto 3rem; }
.section-header { text-align: center; margin-bottom: 56px; }

/* ── STATS STRIP ─────────────────────────────────────────── */
.stats-strip {
  background: var(--gold);
  padding: 0;
}
.stats-container {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  max-width: var(--max);
  margin: 0 auto;
}
.stats-container .stat-item {
  padding: 32px 24px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.25);
}
.stats-container .stat-item:last-child { border-right: none; }
.stat-divider { display: none; }
.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}

/* ── INTRO GRID ──────────────────────────────────────────── */
.intro-image {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
}
.intro-image img {
  width: 100%; height: 480px;
  object-fit: cover;
  border-radius: var(--r-lg);
  display: block;
}
.intro-image-badge {
  position: absolute;
  bottom: 24px; left: -12px;
  background: var(--gold);
  color: var(--white);
  width: 96px; height: 96px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 8px 28px rgba(200,146,42,.45);
  z-index: 2;
}
.intro-image-badge .badge-year {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1;
}
.intro-image-badge .badge-text {
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: .9;
  line-height: 1.3;
}
.intro-features { margin: 28px 0 0; display: flex; flex-direction: column; gap: 18px; }
.intro-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.feature-icon {
  width: 48px; height: 48px;
  flex-shrink: 0;
  background: rgba(200,146,42,.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.2rem;
}
.intro-feature strong { display: block; color: var(--text); font-weight: 700; margin-bottom: 2px; }
.intro-feature small { color: var(--text-light); font-size: .88rem; }

/* ── PROCESS CARDS (new layout) ──────────────────────────── */
.section-process { padding: 96px 0; background: var(--dark); }
.section-process .section-header { text-align: center; margin-bottom: 56px; }
.section-products { padding: 96px 0; background: var(--cream); }
.section-products .section-header { text-align: center; margin-bottom: 56px; }
.section-intro { padding: 96px 0; background: var(--cream); }

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--dark-3);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.process-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--dark-2);
}
.process-card-img {
  position: relative;
  height: 240px;
  overflow: hidden;
}
.process-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease);
}
.process-card:hover .process-card-img img { transform: scale(1.07); }
.process-card-num {
  position: absolute;
  top: 16px; left: 16px;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 600;
  color: rgba(200,146,42,.55);
  line-height: 1;
}
.process-card-body {
  padding: 28px;
  background: var(--dark-2);
  flex: 1;
}
.process-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
}
.process-card-body p { font-size: .88rem; color: rgba(255,255,255,.6); }

/* ── PRODUCT FEAT CARDS ──────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.product-feat-card {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-med), box-shadow var(--t-med);
  display: flex;
  flex-direction: column;
}
.product-feat-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.product-feat-img {
  height: 220px;
  overflow: hidden;
}
.product-feat-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease);
}
.product-feat-card:hover .product-feat-img img { transform: scale(1.07); }
.product-feat-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.product-feat-tag {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.product-feat-body h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}
.product-feat-body p { color: var(--text-light); font-size: .92rem; flex: 1; margin-bottom: 20px; }

/* ── PARALLAX CTA SECTION ────────────────────────────────── */
.section-parallax-cta {
  position: relative;
  overflow: hidden;
  padding: 120px 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.parallax-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13,9,4,.72);
}
.section-parallax-cta .container { position: relative; z-index: 1; }
.parallax-content { max-width: 680px; }
.parallax-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
}
.parallax-desc { color: rgba(255,255,255,.78); font-size: 1.05rem; margin-bottom: 36px; }
.parallax-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── DISTRIBUTION SECTION ────────────────────────────────── */
.section-distribution { padding: 96px 0; background: var(--cream-2); }
.distribution-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.distribution-content {}
.distribution-map {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.distribution-map img { width: 100%; display: block; }
.distribution-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 24px 0;
}
.distribution-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .95rem;
  color: var(--text-light);
}
.distribution-list li svg { color: var(--gold); flex-shrink: 0; }

/* ── QUALITY DARK SECTION ────────────────────────────────── */
.section-quality-dark { padding: 96px 0; background: var(--dark); }
.quality-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.quality-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(200,146,42,.2);
  border-radius: var(--r);
  padding: 36px 28px;
  text-align: center;
  transition: transform var(--t-med), border-color var(--t-med);
}
.quality-card:hover { transform: translateY(-6px); border-color: var(--gold); }
.quality-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 10px;
}
.quality-card p { color: rgba(255,255,255,.6); font-size: .88rem; }
.quality-card-light {
  background: var(--white);
  border: 1px solid rgba(61,43,31,.08);
  box-shadow: var(--shadow-sm);
}
.quality-card-light:hover { border-color: var(--gold); }
.quality-card-light h3 { color: var(--text); }
.quality-card-light p { color: var(--text-light); }

/* ── IMAGE MOSAIC ────────────────────────────────────────── */
.section-mosaic { }
.mosaic-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 320px 320px;
  gap: 6px;
}
.mosaic-item {
  overflow: hidden;
  position: relative;
}
.mosaic-item.mosaic-tall { grid-row: span 2; }
.mosaic-item.mosaic-wide { grid-column: span 2; }
.mosaic-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease);
}
.mosaic-item:hover img { transform: scale(1.07); }
.mosaic-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13,9,4,.35);
  display: flex;
  align-items: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity var(--t-med);
}
.mosaic-item:hover .mosaic-overlay { opacity: 1; }
.mosaic-overlay span {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--white);
  font-weight: 600;
}

/* ── FOOTER ──────────────────────────────────────────────── */
.footer { background: var(--dark); }
.footer-main { padding: 72px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1.4fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer-brand img { height: 50px; margin-bottom: 18px; }
.footer-brand p { font-size: .87rem; color: rgba(255,255,255,.5); max-width: 280px; line-height: 1.7; }
.footer-badge { margin-top: 16px; }
.footer-badge img { height: 36px; opacity: .7; }
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1.5px solid var(--gold);
  display: inline-block;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: .86rem; color: rgba(255,255,255,.5); transition: color var(--t-fast); }
.footer-col ul a:hover { color: var(--gold); }
.footer-contact-col address { font-style: normal; }
.footer-contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 16px;
}
.footer-contact-item svg {
  flex-shrink: 0;
  color: var(--gold);
  margin-top: 2px;
  width: 18px; height: 18px;
}
.footer-contact-item span,
.footer-contact-item a {
  font-size: .86rem;
  color: rgba(255,255,255,.55);
  line-height: 1.5;
}
.footer-contact-item a:hover { color: var(--gold); }
.footer-bottom {
  padding: 22px 28px;
  max-width: var(--max);
  margin: 0 auto;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .8rem;
  color: rgba(255,255,255,.35);
}
.footer-bottom-inner a { color: var(--gold); }
.footer-bottom-links { display: flex; gap: 20px; align-items: center; }

/* ── PAGE HEADER ─────────────────────────────────────────── */
.page-header {
  position: relative;
  padding: 160px 0 80px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}
.page-header.page-header-short { padding: 130px 0 60px; }
.page-header-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(13,9,4,.5) 0%, rgba(13,9,4,.8) 100%);
}
.page-header-content {
  position: relative;
  z-index: 1;
}
.page-header-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 14px;
}
.page-header-eyebrow::before {
  content: '';
  width: 28px; height: 1px;
  background: var(--gold-light);
}
.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.8rem);
  color: var(--white);
  font-weight: 600;
  margin-bottom: 14px;
}
.page-header .breadcrumb { display: flex; align-items: center; gap: 8px; font-size: .82rem; color: rgba(255,255,255,.55); }
.page-header .breadcrumb a { color: var(--gold); }

/* ── PAN DEL DÍA CARDS ───────────────────────────────────── */
.pan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.pan-card {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-med), box-shadow var(--t-med);
}
.pan-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.pan-card-img {
  height: 200px;
  overflow: hidden;
}
.pan-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow); }
.pan-card:hover .pan-card-img img { transform: scale(1.07); }
.pan-card-body { padding: 24px; }
.pan-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.pan-card-body p { color: var(--text-light); font-size: .9rem; }

/* ── CRUJIPAN GRID (card layout) ─────────────────────────── */
.crujipan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.crujipan-card {
  background: var(--white);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--t-med), transform var(--t-med);
  display: flex;
  flex-direction: column;
}
.crujipan-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.crujipan-card-img {
  height: 160px;
  overflow: hidden;
  background: var(--cream-2);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}
.crujipan-card-img img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: transform var(--t-slow);
}
.crujipan-card:hover .crujipan-card-img img { transform: scale(1.06); }
.crujipan-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.crujipan-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.crujipan-card-body p { color: var(--text-light); font-size: .87rem; flex: 1; margin-bottom: 12px; }
.product-tag {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-dark);
  background: rgba(200,146,42,.12);
  padding: 4px 10px;
  border-radius: 40px;
}

/* ── CONTACT PAGE ────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.contact-info {
  background: var(--dark-2);
  border-radius: var(--r-lg);
  padding: 44px;
}
.contact-info .section-eyebrow { color: var(--gold-light); }
.contact-info .section-eyebrow::before, .contact-info .section-eyebrow::after { background: var(--gold-light); }
.contact-info .section-title { color: var(--white); }
.contact-info .section-rule { background: var(--gold-light); }
.contact-info .section-text { color: rgba(255,255,255,.65); }
.contact-info-items { margin-top: 28px; display: flex; flex-direction: column; gap: 0; }
.contact-info-item {
  display: flex;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  align-items: flex-start;
}
.contact-info-item:last-child { border-bottom: none; }
.contact-info-icon {
  width: 46px; height: 46px;
  flex-shrink: 0;
  background: rgba(200,146,42,.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}
.contact-info-text { flex: 1; }
.contact-info-text strong { display: block; color: var(--white); font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 4px; }
.contact-info-text span, .contact-info-text a { color: rgba(255,255,255,.6); font-size: .9rem; line-height: 1.6; }
.contact-info-text a:hover { color: var(--gold); }
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 44px;
  box-shadow: var(--shadow-md);
}
.contact-form { }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: .82rem;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 7px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid rgba(61,43,31,.15);
  border-radius: var(--r);
  font-size: .95rem;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  transition: border-color var(--t-fast);
  outline: none;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--gold); background: var(--white); }
.form-group input.error, .form-group textarea.error, .form-group select.error { border-color: #c0392b; }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-check { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 20px; font-size: .87rem; color: var(--text-light); }
.form-check input[type="checkbox"] { margin-top: 2px; accent-color: var(--gold); flex-shrink: 0; }
.form-check a { color: var(--gold); }
.required { color: var(--gold); }

/* ── MAP SECTION ─────────────────────────────────────────── */
.map-section { position: relative; }
.map-image { position: relative; max-height: 480px; overflow: hidden; }
.map-image img { width: 100%; height: 480px; object-fit: cover; display: block; }
.map-overlay-card {
  position: absolute;
  bottom: 32px; right: 40px;
  background: var(--dark-2);
  border: 1px solid rgba(200,146,42,.3);
  border-radius: var(--r);
  padding: 28px 32px;
  min-width: 220px;
  box-shadow: var(--shadow-lg);
}
.map-overlay-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 12px;
}
.map-overlay-card p {
  color: rgba(255,255,255,.6);
  font-size: .88rem;
  line-height: 1.7;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 18px;
}
.map-overlay-card p svg { color: var(--gold); flex-shrink: 0; margin-top: 2px; }

/* ── LEGAL PAGE ──────────────────────────────────────────── */
.legal-content { max-width: 820px; margin: 0 auto; }
.legal-intro { color: var(--text-light); font-size: 1rem; margin-bottom: 2rem; }
.legal-data-block {
  background: var(--cream-2);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--r) var(--r) 0;
  padding: 20px 24px;
  margin: 0 0 2rem;
}
.legal-data-item { color: var(--text-light); font-size: .92rem; margin-bottom: 6px; }
.legal-data-item:last-child { margin-bottom: 0; }
.legal-data-item strong { color: var(--text); }
.legal-data-item a { color: var(--gold); }
.legal-content h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--brown);
  margin: 2.5rem 0 1rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid rgba(61,43,31,.1);
}
.legal-content p { color: var(--text-light); margin-bottom: 1rem; font-size: .95rem; }
.legal-content ol { color: var(--text-light); font-size: .93rem; padding-left: 1.5rem; margin-bottom: 1.5rem; }
.legal-content ol li { margin-bottom: .7rem; line-height: 1.7; }
.legal-back { margin-top: 3rem; text-align: center; }

/* ── RESPONSIVE BRIDGE ───────────────────────────────────── */
@media (max-width: 1100px) {
  .distribution-grid { gap: 50px; }
  .crujipan-grid { grid-template-columns: repeat(2,1fr); }
  .quality-grid { grid-template-columns: repeat(2,1fr); }
  .products-grid { grid-template-columns: repeat(2,1fr); }
  .pan-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .process-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .intro-grid { grid-template-columns: 1fr; gap: 40px; }
  .intro-image img { height: 320px; }
  .distribution-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .section-parallax-cta { background-attachment: scroll; }
  .menu-btn { display: flex; }
  .nav-links, .nav-phone { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    position: fixed;
    top: 76px; left: 0; right: 0;
    background: rgba(13,9,4,.97);
    backdrop-filter: blur(16px);
    padding: 12px;
    max-height: calc(100vh - 76px);
    overflow-y: auto;
    z-index: 899;
  }
  .nav-links.open .nav-item > a { padding: 14px 16px; font-size: .92rem; color: rgba(255,255,255,.85); }
  .nav-links.open .dropdown {
    position: static;
    display: none;
    box-shadow: none;
    border: none;
    background: rgba(255,255,255,.04);
    border-radius: 8px;
    margin: 4px 0 8px;
    animation: none;
  }
  .nav-links.open .nav-item.dropdown-open .dropdown { display: block; }
  .stats-container { grid-template-columns: repeat(2,1fr); }
  .rl-section { padding: 64px 0; }
}
@media (max-width: 600px) {
  .crujipan-grid { grid-template-columns: 1fr; }
  .quality-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .pan-grid { grid-template-columns: 1fr; }
  .mosaic-grid { grid-template-columns: 1fr; }
  .mosaic-item.mosaic-tall, .mosaic-item.mosaic-wide { grid-column: span 1; grid-row: span 1; height: 260px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .stats-container { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-info, .contact-form-wrap { padding: 28px 22px; }
  .map-overlay-card { position: static; margin: 0 16px 16px; min-width: auto; }
  .page-header { padding: 120px 0 60px; }
  .section-parallax-cta { padding: 72px 0; }
  .rl-section { padding: 52px 0; }
  .hero-arrow { display: none; }
}

/* ==========================================================
   FIXES: Logo + Hero overlap (rev 2)
   ========================================================== */

/* -- LOGO: bigger, hide duplicate text ------------------- */
.nav-logo img {
  height: 68px !important;
  width: auto !important;
  /* light drop-shadow so the white/transparent parts are visible */
  filter: drop-shadow(0 1px 6px rgba(0,0,0,.55));
}
/* Hide the text labels — the logo image already contains the brand text */
.nav-logo-text {
  display: none !important;
}

/* -- HERO: push content below navbar so it never overlaps -- */
.hero {
  padding-top: 76px !important; /* navbar height */
  box-sizing: border-box !important;
}

/* ==========================================================
   FIX rev 3 – Navbar fondo + Hero texto más abajo
   ========================================================== */

/* 1. NAVBAR – fondo semitransparente permanente
      (el logo necesita algo detrás para ser legible) */
.navbar {
  background: rgba(13, 9, 4, 0.60) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
}
.navbar.scrolled {
  background: rgba(13, 9, 4, 0.96) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
}

/* Más espacio vertical en el navbar para el logo */
.nav-container {
  height: 88px !important;
}
.nav-logo img {
    margin-top: 2px;
    height: 70px !important;
}

/* 2. HERO SLIDES – convertir en flex para controlar
      la posición vertical del contenido */
.hero-slide {
  display: flex !important;
  align-items: flex-end !important;   /* texto pegado a la parte baja */
}

/* 3. HERO CONTENT – empujar hacia abajo, lejos del navbar */
.hero .hero-content {
  padding-top: 0 !important;
  padding-bottom: 110px !important;   /* espacio sobre los dots */
}

/* 4. Compensar el padding-top que pusimos antes en .hero */
.hero {
  padding-top: 0 !important;   /* ya no hace falta; el flex-end se encarga */
}

/* ==========================================================
   FIX rev 4 – Navbar móvil
   ========================================================== */

/* Tablet y móvil: logo más pequeño, navbar más compacta */
@media (max-width: 960px) {
  .nav-container {
    height: 64px !important;
    padding: 0 16px !important;
  }
  .nav-logo img {
    height: 46px !important;
    margin-top: 0 !important;
  }
  /* Ocultar teléfono en la navbar (ya aparece en menú abierto) */
  .nav-phone {
    display: none !important;
  }
  /* Mostrar hamburguesa */
  .menu-btn {
    display: flex !important;
  }
  /* Ocultar links de navegación (se muestran al abrir menú) */
  .nav-links:not(.open) {
    display: none !important;
  }
  /* Menú abierto: panel vertical a pantalla completa */
  .nav-links.open {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    align-items: stretch !important;
    position: fixed !important;
    top: 64px !important;
    left: 0 !important; right: 0 !important;
    background: rgba(13,9,4,.97) !important;
    backdrop-filter: blur(16px) !important;
    padding: 8px 0 16px !important;
    max-height: calc(100dvh - 64px) !important;
    overflow-y: auto !important;
    z-index: 898 !important;
  }
  .nav-links.open .nav-item > a {
    padding: 14px 20px !important;
    font-size: .95rem !important;
    color: rgba(255,255,255,.85) !important;
    border-bottom: 1px solid rgba(255,255,255,.05) !important;
    display: block !important;
  }
  .nav-links.open .nav-item:last-child > a {
    border-bottom: none !important;
  }
  .nav-links.open .nav-item > a:hover {
    color: var(--gold) !important;
    background: rgba(255,255,255,.04) !important;
  }
  /* Dropdown en móvil */
  .nav-links.open .dropdown {
    position: static !important;
    display: none !important;
    box-shadow: none !important;
    border: none !important;
    background: rgba(255,255,255,.04) !important;
    border-radius: 0 !important;
    animation: none !important;
  }
  .nav-links.open .nav-item.dropdown-open .dropdown {
    display: block !important;
  }
  .nav-links.open .dropdown a {
    padding: 11px 20px 11px 36px !important;
    font-size: .88rem !important;
    border-bottom: 1px solid rgba(255,255,255,.04) !important;
  }
  /* Botón teléfono dentro del menú desplegable */
  .nav-links.open::after {
    content: '';
    display: block;
    height: 8px;
  }
}

/* Móvil pequeño (≤480px) */
@media (max-width: 480px) {
  .nav-container {
    height: 58px !important;
    padding: 0 14px !important;
  }
  .nav-logo img {
    height: 38px !important;
  }
  .nav-links.open {
    top: 58px !important;
    max-height: calc(100dvh - 58px) !important;
  }
  .menu-btn {
    width: 36px !important;
    height: 36px !important;
  }
}
