/* ═══════════════════════════════════════════
   IDM Alimentos — v5
   Inspired by Califia Farms (meticulous)
   Warm cream · Fraunces serif · Circular tiles
   Animated wave · Transparent nav · Rounded
═══════════════════════════════════════════ */

/* Fuentes cargadas en el <head> de cada HTML (no-blocking) */

/* ── RESET ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── VARIABLES ─────────────────────────────── */
:root {
  /* Warm cream palette */
  --bg:      #FDF6EE;
  --bg2:     #F7EDE0;
  --white:   #FFFFFF;
  --ink:     #1A1A2E;
  --ink2:    #3D3D5C;
  --muted:   #7A7A9A;
  --border:  #E2DCF0;

  /* IDM brand colors — logo: magenta · cyan · amarillo */
  --red:     #E8197B;   /* IDM magenta — usado como acento principal */
  --red-l:   #FCE4F0;
  --cyan:    #00AEEF;   /* IDM cyan */
  --yellow:  #FFD400;   /* IDM amarillo */

  /* Circle accent colors — vivid, tipo Califia */
  --c-green:  #5BAD6F;
  --c-teal:   #00AEEF;  /* IDM cyan */
  --c-purple: #9B59B6;
  --c-pink:   #E8197B;  /* IDM magenta */
  --c-red:    #E74C3C;
  --c-orange: #F39C12;

  /* Brand colors (small accents only) */
  --hu:   #E8184C;
  --hu-l: #FEF0F4;
  --fi:   #1A56DB;
  --fi-l: #EFF4FF;
  --ma:   #0D7D4E;
  --ma-l: #F0FAF5;

  --r:    12px;
  --r-lg: 24px;
  --r-xl: 999px;

  --shadow: 0 4px 24px rgba(45,22,0,.10);
  --shadow-lg: 0 12px 48px rgba(45,22,0,.15);
}

/* ── BASE ──────────────────────────────────── */
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

.section { padding: 80px 0; }

.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--red);
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 20px;
}

/* ── NAV LOGO (PNG real) ────────────────────── */
.nav-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex-shrink: 0;
  padding: 0;
  line-height: 1;
 
}

.nav-logo-img {
  height: 150px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.55)) brightness(1.08);
  transition: transform .3s ease, filter .35s ease;
   border-radius: 8px;
}

#nav.scrolled .nav-logo-img {
  filter: none;
}

.nav-logo:hover .nav-logo-img {
  transform: scale(1.06);
}

/* Footer logo PNG */
.footer-logo-img {
  height: 80px;
  width: auto;
  display: block;
  margin-bottom: 16px;
   border-radius: 8px;
  filter: brightness(1.1) saturate(1.1);
}

/* ── NAV (Split layout — Califia style) ─────── */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: transparent;
  transition: background-color .35s ease, box-shadow .35s ease, transform .35s ease;
  padding: 0;
}

#nav.scrolled {
  background-color: #FFFFFF;
  box-shadow: 0 2px 20px rgba(45,22,0,.12);
}

#nav.nav-hidden {
  transform: translateY(-100%);
}

.nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 160px;
  padding: 0 40px;
  gap: 20px;
}

.nav-left,
.nav-right {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-right { justify-content: flex-end; }

/* nav-logo defined above */

/* Nav links */
.nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0 16px;
  height: 160px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.9);
  transition: color .25s;
  white-space: nowrap;
  position: relative;
}

/* Ondita animada — solo links de primer nivel (no dropdown) */
.nav-links > li > a:not(.nav-cta)::before {
  content: '';
  position: absolute;
  bottom: 56px;
  left: 16px;
  right: 16px;
  height: 8px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='8'%3E%3Cpath d='M0,4 C5,0 15,8 20,4 C25,0 35,8 40,4' stroke='rgba(255,255,255,0.9)' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: 40px 8px;
  opacity: 0;
  transition: opacity .25s;
  animation: waveNav 1.2s linear infinite;
  pointer-events: none;
}
#nav.scrolled .nav-links > li > a:not(.nav-cta)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='8'%3E%3Cpath d='M0,4 C5,0 15,8 20,4 C25,0 35,8 40,4' stroke='%23E8197B' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
}
.nav-links > li > a:not(.nav-cta):hover::before { opacity: 1; }

@keyframes waveNav {
  from { background-position: 0 0; }
  to   { background-position: 40px 0; }
}

#nav.scrolled .nav-links a { color: var(--ink); }
.nav-links a:hover { color: var(--red) !important; }

.nav-cta {
  background: var(--red) !important;
  color: var(--white) !important;
  border-radius: var(--r-xl) !important;
  padding: 10px 22px !important;
  height: auto !important;
  margin-left: 8px;
  font-size: .7rem !important;
  transition: background .2s, transform .2s !important;
}
.nav-cta:hover { background: var(--ink) !important; transform: scale(1.03); }

/* Dropdown */
.has-sub { position: relative; }
.has-sub > a::after { content: '▾'; font-size: .6rem; margin-left: 2px; opacity: .7; }

.nav-sub {
  position: absolute;
  top: calc(100% - 4px);
  left: 0;
  background: var(--white);
  border-radius: var(--r);
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  min-width: 180px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease;
  border: 1px solid var(--border);
}

/* invisible bridge to prevent gap hover loss */
.nav-sub::before {
  content: '';
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 20px;
}

.has-sub:hover > .nav-sub,
.has-sub:focus-within > .nav-sub {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-sub li a {
  display: block;
  padding: 9px 20px;
  font-size: .75rem;
  height: auto;
  color: var(--ink) !important;
  font-weight: 600;
  letter-spacing: .04em;
}
.nav-sub li a:hover { background: var(--bg); color: var(--red) !important; }

/* Nested flyout (3rd level — Frappé Latte / Base Agua) */
.nav-sub .has-sub-fly { position: relative; }
.nav-sub .has-sub-fly > a::after { content: ' ›'; font-size: .75rem; float: right; opacity: .5; }
.nav-sub-fly {
  display: none;
  position: absolute;
  left: 100%;
  top: -8px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  min-width: 160px;
  box-shadow: var(--shadow-lg);
  list-style: none;
  padding: 8px 0;
  z-index: 1100;
}
.nav-sub .has-sub-fly:hover > .nav-sub-fly,
.nav-sub .has-sub-fly:focus-within > .nav-sub-fly { display: block; }
.nav-sub-fly li a {
  display: block;
  padding: 9px 20px;
  font-size: .75rem;
  color: var(--ink) !important;
  font-weight: 600;
  letter-spacing: .04em;
  white-space: nowrap;
  text-decoration: none;
}
.nav-sub-fly li a:hover { background: var(--bg); color: var(--fi) !important; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1010;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all .3s;
}
#nav.scrolled .hamburger span { background: var(--ink); }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); background: var(--ink); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); background: var(--ink); }

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 160px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  z-index: 999;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .3s ease;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav ul { padding: 20px 0; }
.mobile-nav li a {
  display: block;
  padding: 14px 32px;
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--ink);
  border-bottom: 1px solid var(--border);
}
.mobile-sub { padding-left: 20px; display: none; }
.mobile-sub.open { display: block; }
.mobile-sub li a { font-size: .8rem; font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--ink2); }

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

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: background-image .7s ease;
  transform-origin: center;
}

@keyframes heroScale {
  from { transform: scale(1); }
  to   { transform: scale(1.06); }
}
.hero-bg.zoom { animation: heroScale 10s ease forwards; }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(45,22,0,.60) 0%, rgba(45,22,0,.30) 50%, rgba(45,22,0,.15) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 40px;
  max-width: 680px;
  margin: 0 auto 0 8vw;
}

.hero-eyebrow {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.8);
  margin-bottom: 18px;
}

.hero-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(3.2rem, 7vw, 6rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 28px;
}

.hero-title em {
  font-style: italic;
  font-weight: 600;
  color: rgba(255,255,255,.85);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: 14px 28px;
  border-radius: var(--r-xl);
  transition: background .2s, color .2s, transform .2s;
}
.btn-hero:hover { background: var(--red); color: #fff; transform: scale(1.03); }

.btn-hero-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: 13px 28px;
  border-radius: var(--r-xl);
  border: 2px solid rgba(255,255,255,.6);
  transition: border-color .2s, background .2s;
}
.btn-hero-outline:hover { border-color: #fff; background: rgba(255,255,255,.15); }

/* Hero dots */
.hero-dots {
  position: absolute;
  bottom: 120px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}
.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.6);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background .3s, border-color .3s;
}
.hero-dot.active { background: var(--white); border-color: var(--white); }

/* ── ANIMATED WAVE ──────────────────────────── */
.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 100px;
  overflow: hidden;
  z-index: 3;
}

.hero-wave-track {
  display: flex;
  width: 200%;
  height: 100%;
}

@keyframes waveScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.hero-wave-track {
  animation: waveScroll 20s linear infinite;
}

.hero-wave svg {
  width: 50%;
  flex-shrink: 0;
  height: 100%;
}

/* ── CIRCULAR CATEGORY STRIP — Califia Farms style ── */
/* Producto desborda ARRIBA del círculo, igual que Califia Farms */
.cat-section {
  background: var(--white);
  padding: 100px 0 80px;   /* top padding extra para acomodar el desborde */
  border-bottom: 1px solid var(--border);
}

.cat-scroll-wrap {
  overflow-x: auto;
  overflow-y: visible;      /* permite que las imágenes suban fuera */
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.cat-scroll-wrap::-webkit-scrollbar { display: none; }

.cat-row {
  display: flex;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 8px;
  padding: 70px 32px 24px;
  min-width: 0;
  align-items: end;
  overflow: visible;
}

.cat-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  cursor: pointer;
  text-decoration: none;
  flex-shrink: 0;
  width: 100%;
  position: relative;
}

/* El círculo es el fondo de color — overflow VISIBLE para que img flote */
.cat-circle {
  width: 85%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: visible;         /* ← CLAVE: imagen sale del círculo */
  display: flex;
  align-items: flex-end;
  justify-content: center;
  transition: transform .4s cubic-bezier(.34,1.56,.64,1), box-shadow .4s ease;
  flex-shrink: 0;
  position: relative;
  box-shadow: 0 6px 24px rgba(0,0,0,.12);
}

.cat-tile:hover .cat-circle {
  transform: translateY(-10px);
  box-shadow: 0 20px 52px rgba(0,0,0,.20);
}

/* Imagen flota sobre el círculo — sale ~40% por arriba */
.cat-circle img {
  width: 80%;
  height: 155%;             /* ← más alta que el círculo */
  object-fit: contain;
  object-position: bottom;
  position: absolute;
  bottom: 8%;               /* se ancla con la base dentro del círculo */
  left: 50%;
  transform: translateX(-50%);
  transition: transform .45s ease;
  filter: drop-shadow(0 10px 24px rgba(0,0,0,.22));
  z-index: 2;
  pointer-events: none;
}

.cat-tile:hover .cat-circle img {
  transform: translateX(-50%) translateY(-6px) scale(1.04);
}

.cat-circle-ph {
  font-size: 4rem;
  line-height: 1;
  z-index: 1;
  padding-bottom: 10px;
}

/* ── LABEL: grande, serif, bold — idéntico a Califia Farms ── */
.cat-label {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1rem;
  font-weight: 800;
  color: var(--ink);
  text-align: center;
  line-height: 1.18;
  transition: color .25s;
  max-width: 100%;
  letter-spacing: -.015em;
}

.cat-tile:hover .cat-label { color: var(--red); }
.cat-tile.active .cat-label { color: var(--red); }

/* Circle color variants */
.cc-green  { background: var(--c-green); }
.cc-teal   { background: var(--c-teal); }
.cc-purple { background: var(--c-purple); }
.cc-pink   { background: var(--c-pink); }
.cc-red    { background: var(--c-red); }
.cc-orange { background: var(--c-orange); }
.cc-hu     { background: #FBBDD0; }
.cc-fi     { background: #B3C8F5; }
.cc-ma     { background: #A8DEC0; }

/* ── STATS BAR ──────────────────────────────── */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--ink);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin: 0 40px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 36px 20px;
  border-right: 1px solid rgba(255,255,255,.1);
  gap: 6px;
}
.stat-item:last-child { border-right: none; }

.stat-number {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.stat-label {
  font-size: .7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.55);
  text-align: center;
}

/* ── BRAND EDITORIAL SECTIONS ───────────────── */
.brand-editorial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
}

.brand-editorial.reverse { direction: rtl; }
.brand-editorial.reverse > * { direction: ltr; }

.be-img {
  position: relative;
  overflow: hidden;
  border-radius: 0;
}

.be-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s ease;
}

.brand-editorial:hover .be-img img { transform: scale(1.04); }

.be-img-ph {
  width: 100%;
  height: 100%;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8rem;
}

.be-tag {
  position: absolute;
  top: 24px;
  left: 24px;
  background: var(--white);
  color: var(--ink);
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  padding: 6px 14px;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow);
  z-index: 1;
}

.be-copy {
  background: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 64px;
}

.be-brand-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-bottom: 20px;
}
.be-brand-dot.hu { background: var(--hu); }
.be-brand-dot.fi { background: var(--fi); }
.be-brand-dot.ma { background: var(--ma); }

.be-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 18px;
}

.be-desc {
  font-size: 1rem;
  color: var(--ink2);
  line-height: 1.75;
  margin-bottom: 28px;
  max-width: 420px;
}

.be-products {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.be-pill {
  display: inline-block;
  background: var(--white);
  border: 1.5px solid var(--border);
  color: var(--ink);
  font-size: .75rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: var(--r-xl);
  transition: background .2s, border-color .2s, color .2s;
}
.be-pill:hover { background: var(--red); border-color: var(--red); color: #fff; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: 14px 28px;
  border-radius: var(--r-xl);
  align-self: flex-start;
  transition: background .2s, transform .2s;
}
.btn-primary:hover { background: var(--red); transform: translateX(4px); }

/* ── CATALOG FILTER TABS ──────────────────── */
.catalog-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  align-items: center;
}

.ctab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: var(--r-xl);
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--ink2);
  font-family: 'Inter', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  cursor: pointer;
  transition: all .2s;
}
.ctab img { height: 24px; width: auto; }
.ctab:hover { border-color: var(--ink); color: var(--ink); }
.ctab.active { background: var(--ink); color: var(--white); border-color: var(--ink); box-shadow: var(--shadow); }
.ctab.active-hu { background: var(--hu);  color: #fff; border-color: var(--hu);  box-shadow: 0 4px 16px rgba(232,24,76,.25); }
.ctab.active-fi { background: var(--fi);  color: #fff; border-color: var(--fi);  box-shadow: 0 4px 16px rgba(26,86,219,.25); }
.ctab.active-ma { background: var(--ma);  color: #fff; border-color: var(--ma);  box-shadow: 0 4px 16px rgba(13,125,78,.25); }

/* ── PRODUCTS GRID ──────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(45,22,0,.07);
  transition: transform .3s ease, box-shadow .3s ease;
  text-decoration: none;
  color: inherit;
  border: 1.5px solid var(--border);
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.pc-img-wrap {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.pc-img-wrap.bg-hu { background: var(--hu-l); }
.pc-img-wrap.bg-fi { background: var(--fi-l); }
.pc-img-wrap.bg-ma { background: var(--ma-l); }

.pc-img {
  width: 85%;
  height: 85%;
  object-fit: contain;
  transition: transform .6s ease;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,.15));
}
.product-card:hover .pc-img {
  transform: scale(1.08) translateY(-4px);
}

.pc-img-ph {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

.pc-brand-stripe {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: 0;
}
.pc-brand-stripe.hu { background: var(--hu); }
.pc-brand-stripe.fi { background: var(--fi); }
.pc-brand-stripe.ma { background: var(--ma); }

.pc-body {
  padding: 16px 18px 20px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pc-brand-name {
  font-size: .6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--muted);
}
.pc-name {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}
.pc-cta {
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--red);
  margin-top: 6px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .25s, transform .25s;
}
.product-card:hover .pc-cta { opacity: 1; transform: none; }

/* ── PILLARS ────────────────────────────────── */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.pillar {
  padding: 60px 48px;
  border-right: none;
  background: var(--white);
  position: relative;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}
.pillar:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.15); z-index: 1; }

/* Brand color backgrounds */
.pillar-magenta {
  background: linear-gradient(135deg, #E8197B 0%, #c4126a 100%);
}
.pillar-cyan {
  background: linear-gradient(135deg, #00AEEF 0%, #008fc6 100%);
}
.pillar-yellow {
  background: linear-gradient(135deg, #FFD400 0%, #e6be00 100%);
}

/* White text for dark backgrounds */
.pillar-magenta .pillar-num,
.pillar-cyan .pillar-num {
  color: rgba(255,255,255,0.6);
}
.pillar-magenta .pillar-title,
.pillar-cyan .pillar-title {
  color: #ffffff;
}
.pillar-magenta .pillar-desc,
.pillar-cyan .pillar-desc {
  color: rgba(255,255,255,0.85);
}

/* Dark text for yellow background */
.pillar-yellow .pillar-num { color: rgba(0,0,0,0.45); }
.pillar-yellow .pillar-title { color: rgba(0,0,0,0.85); }
.pillar-yellow .pillar-desc { color: rgba(0,0,0,0.65); }

/* Decorative circle */
.pillar::after {
  content: '';
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  pointer-events: none;
}
.pillar-yellow::after { background: rgba(0,0,0,0.05); }

.pillar-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 24px;
}
.pillar-icon svg { width: 100%; height: 100%; }

.pillar-num {
  font-family: 'Fraunces', Georgia, serif;
  font-size: .8rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 10px;
}
.pillar-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 14px;
}
.pillar-desc { font-size: 1.2rem; color: var(--ink2); line-height: 1.7; }

/* ── QUOTE SECTION ──────────────────────────── */
.quote-section {
  text-align: center;
  padding: 72px 0;
  background: var(--bg);
}

.quote-inner {
  background: var(--ink);
  border-radius: var(--r-lg);
  margin: 0 40px;
  padding: 72px 40px;
}

.quote-text {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.4;
  max-width: 800px;
  margin: 0 auto 20px;
  padding: 0 40px;
}

.quote-accent { color: var(--red); font-style: italic; }

.quote-source {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
}

/* ── FULLBLEED CTA ──────────────────────────── */
.fullbleed-cta {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-radius: var(--r-lg);
  margin: 0 40px;
}

.fullbleed-cta-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.fullbleed-cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(45,22,0,.85) 0%, rgba(45,22,0,.50) 60%, rgba(45,22,0,.2) 100%);
}

.fullbleed-cta-content {
  position: relative;
  z-index: 1;
  padding: 64px 72px;
  max-width: 560px;
}

.fullbleed-cta-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin: 12px 0 18px;
}

.fullbleed-cta-sub {
  font-size: .95rem;
  color: rgba(255,255,255,.8);
  line-height: 1.65;
  margin-bottom: 32px;
}

/* ── ADVANTAGES ────────────────────────────── */
.adv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.adv-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 40px 32px;
  box-shadow: var(--shadow);
  transition: transform .3s, box-shadow .3s;
  border-top: 4px solid transparent;
  position: relative;
  overflow: hidden;
}
.adv-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.adv-card-cyan  { border-top-color: #00AEEF; }
.adv-card-magenta { border-top-color: #E8197B; }
.adv-card-yellow  { border-top-color: #FFD400; }

.adv-ico {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 2rem;
}
.adv-ico i { line-height: 1; }
.adv-ico-cyan    { background: rgba(0,174,239,0.12); color: #00AEEF; }
.adv-ico-magenta { background: rgba(232,25,123,0.12); color: #E8197B; }
.adv-ico-yellow  { background: rgba(255,212,0,0.2);  color: #C9A800; }
.adv-title { font-family: 'Fraunces', Georgia, serif; font-weight: 700; font-size: 1.5rem; margin-bottom: 12px; }
.adv-desc { font-size: 1.1rem; color: var(--ink2); line-height: 1.7; }

/* ── SECTION HEADER ─────────────────────────── */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 36px;
  gap: 16px;
  flex-wrap: wrap;
}

.see-all {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--red);
  text-decoration: none;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 4px;
}
.see-all:hover { text-decoration: underline; }

/* ── TICKER ─────────────────────────────────── */
.ticker {
  background: var(--ink);
  padding: 14px 0;
  overflow: hidden;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 28s linear infinite;
  gap: 0;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0 28px;
  font-family: 'Fraunces', Georgia, serif;
  font-size: .95rem;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  font-style: italic;
  white-space: nowrap;
}

.ticker-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}

/* ── FOOTER LOGO IDM ────────────────────────── */
.idm-footer-logo {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 14px;
}
.fl-idm {
  font-family: 'Dancing Script', cursive;
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(90deg, #E8197B 0%, #00AEEF 50%, #FFD400 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.fl-ali {
  font-family: 'Dancing Script', cursive;
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255,255,255,.55);
}

/* ── FOOTER WAVE (onda animada en la parte superior) ── */
.footer-wave {
  height: 80px;
  overflow: hidden;
  background: var(--ink);
  position: relative;
}

.footer-wave-track {
  display: flex;
  width: 200%;
  height: 100%;
  animation: waveScroll 18s linear infinite reverse; /* dirección inversa al hero */
}

.footer-wave-track svg {
  width: 50%;
  flex-shrink: 0;
  height: 100%;
}

/* ── FOOTER ─────────────────────────────────── */
footer {
  background: var(--ink);
  color: var(--white);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  margin-top: 80px;
  overflow: hidden;         /* para que la onda no cause scroll */
}

.footer-top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  padding: 72px 40px 56px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-logo {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}
.footer-logo span { display: block; font-size: .55rem; font-weight: 600; letter-spacing: .25em; text-transform: uppercase; opacity: .6; font-family: 'Inter'; margin-top: 4px; }

.footer-tagline { font-size: .85rem; color: rgba(255,255,255,.5); line-height: 1.7; max-width: 280px; }

.footer-col h6 {
  font-family: 'Inter', sans-serif;
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: rgba(255,255,255,.4);
  margin-bottom: 16px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: .85rem;
  color: rgba(255,255,255,.65);
  transition: color .2s;
}
.footer-col ul li a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 40px;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-bottom > span {
  font-size: .78rem;
  color: rgba(255,255,255,.4);
}
.footer-bottom > span a { color: rgba(255,255,255,.6); }
.footer-bottom > span a:hover { color: #fff; }

.footer-email-form {
  display: flex;
  gap: 0;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.2);
}
.footer-email-form input {
  padding: 10px 18px;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: .82rem;
  font-family: 'Inter';
  min-width: 200px;
}
.footer-email-form input::placeholder { color: rgba(255,255,255,.35); }
.footer-email-form button {
  padding: 10px 20px;
  background: var(--red);
  color: #fff;
  border: none;
  font-family: 'Inter';
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  cursor: pointer;
  transition: background .2s;
  flex-shrink: 0;
}
.footer-email-form button:hover { background: #a82d22; }

/* ── BTT ────────────────────────────────────── */
#btt {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-size: 1rem;
  border: none;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s, transform .3s;
  z-index: 100;
  box-shadow: var(--shadow);
}
#btt.show { opacity: 1; pointer-events: auto; }
#btt:hover { transform: scale(1.1); }

/* ── FORM ELEMENTS ──────────────────────────── */
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-group label {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: 'Inter', sans-serif;
  font-size: .9rem;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  padding: 12px 16px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(45,22,0,.08);
}
.form-group textarea { min-height: 130px; resize: vertical; }

.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: 16px 36px;
  border-radius: var(--r-xl);
  border: none;
  cursor: pointer;
  transition: background .2s, transform .2s;
  width: 100%;
  justify-content: center;
}
.btn-submit:hover { background: var(--red); transform: scale(1.02); }

/* ── FADE IN (catalog filter) ───────────────── */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}

/* ── REVEAL ANIMATIONS ──────────────────────── */
.reveal, .reveal-left, .reveal-right {
  opacity: 0;
  transition: opacity .7s ease, transform .7s ease;
}
.reveal { transform: translateY(30px); }
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }

.reveal.visible, .reveal-left.visible, .reveal-right.visible {
  opacity: 1;
  transform: none;
}

.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .32s; }
.delay-4 { transition-delay: .44s; }

/* ── PRODUCT PAGE (renderer.js output) ─────── */
.product-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 420px;
  margin-top: 88px;
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  overflow: hidden;
}

.ph-bg {
  position: relative;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
}
.ph-bg img {
  max-width: 100%;
  max-height: 360px;
  width: auto;
  height: auto;
  display: block;
  transition: transform .4s ease;
}
.ph-bg img:hover {
  transform: scale(1.15);
}
.ph-bg-ph {
  width: 100%;
  height: 100%;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8rem;
}
.ph-bg.hu { background: #ffffff; }
.ph-bg.fi { background: #ffffff; }
.ph-bg.ma { background: #ffffff; }

.ph-copy {
  background: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 64px;
}

.ph-brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--muted);
  margin-bottom: 20px;
}
.ph-brand-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.ph-brand-badge.hu::before { background: var(--hu); }
.ph-brand-badge.fi::before { background: var(--fi); }
.ph-brand-badge.ma::before { background: var(--ma); }

.ph-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 16px;
}

.ph-tagline {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.05rem;
  font-style: italic;
  color: var(--ink2);
  margin-bottom: 24px;
}

.ph-feats {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 32px;
}

.ph-feats li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .9rem;
  color: var(--ink2);
}

.feat-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.feat-dot.hu { background: var(--hu); }
.feat-dot.fi { background: var(--fi); }
.feat-dot.ma { background: var(--ma); }

.ph-cta-group { display: flex; gap: 12px; flex-wrap: wrap; }

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.pd-col {
  padding: 20px 56px;
  border-right: 1px solid var(--border);
  background: var(--white);
}
.pd-col:last-child { border-right: none; background: var(--bg); }

.pd-col h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 16px;
}

.pd-desc { font-size: .9rem; color: var(--ink2); line-height: 1.8; margin-bottom: 28px; }

.flavors-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.flavor-pill {
  background: var(--bg);
  border: 1.5px solid var(--border);
  color: var(--ink);
  font-size: .78rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--r-xl);
}

.spec-list { display: flex; flex-direction: column; gap: 0; margin-bottom: 32px; }

.spec-row {
  display: flex;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: .875rem;
}
.spec-row:first-child { border-top: 1px solid var(--border); }

.spec-key { width: 130px; flex-shrink: 0; font-weight: 700; color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; line-height: 1.6; }
.spec-val { color: var(--ink2); line-height: 1.6; }

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
  padding: 48px 40px;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

/* ── QUIENES SOMOS PAGE ─────────────────────── */
.page-hero-editorial {
  position: relative;
  height: 65vh;
  min-height: 400px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 64px;
  margin-top: 72px;
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  overflow: hidden;
}
.phe-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.phe-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(45,22,0,.8) 0%, rgba(45,22,0,.25) 60%, transparent 100%); }
.phe-content { position: relative; z-index: 1; }
.phe-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.05;
}

.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.body-text { font-size: .95rem; color: var(--ink2); line-height: 1.75; margin-bottom: 16px; }
.check-list { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.check-item { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--ink2); }
.check-item::before { content: '✓'; color: var(--red); font-weight: 700; flex-shrink: 0; }

.about-img-stack { position: relative; }
.about-img-stack img { width: 100%; aspect-ratio: 4/5; object-fit: contain; border-radius: var(--r-lg); display: block; background: var(--bg); }
.about-img-ph { width: 100%; aspect-ratio: 4/5; background: var(--bg2); border-radius: var(--r-lg); display: flex; align-items: center; justify-content: center; font-size: 6rem; }
.about-stat-card { position: absolute; bottom: -24px; right: -24px; background: var(--ink); color: #fff; padding: 24px 28px; border-radius: var(--r-lg); text-align: center; box-shadow: var(--shadow-lg); }
.asc-num { font-family: 'Fraunces', Georgia, serif; font-size: 2.4rem; font-weight: 800; line-height: 1; }
.asc-label { font-size: .72rem; opacity: .65; margin-top: 4px; letter-spacing: .08em; text-transform: uppercase; }

.mvv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.mvv-card-dark { padding: 48px 40px; border-right: 1px solid rgba(255,255,255,.1); }
.mvv-card-dark:last-child { border-right: none; }
.mvv-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #ffffff;
  margin-bottom: 20px;
}
.mvv-card-dark h3 { font-family: 'Fraunces', Georgia, serif; font-size: 1.3rem; font-weight: 700; color: #fff; margin-bottom: 14px; }
.mvv-card-dark p { font-size: .9rem; color: rgba(255,255,255,.6); line-height: 1.75; }

.values-grid-v4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
.val-card { padding: 36px 28px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--white); }
.val-card:nth-child(4n) { border-right: none; }
.val-card:nth-child(n+5) { border-bottom: none; }
.val-num { font-size: .65rem; color: var(--muted); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 12px; }
.val-ico {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(232,25,123,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #E8197B;
  margin-bottom: 12px;
}
.val-name { font-family: 'Fraunces', Georgia, serif; font-weight: 700; font-size: 1rem; margin-bottom: 10px; }
.val-desc { font-size: .85rem; color: var(--muted); line-height: 1.6; }

.brands-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.brand-card-strip { background: var(--white); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s; }
.brand-card-strip:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.bcs-top { width: 100%; aspect-ratio: 4/3; overflow: hidden; }
.bcs-top img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.brand-card-strip:hover .bcs-top img { transform: scale(1.04); }
.bcs-ph { width: 100%; height: 100%; background: var(--bg2); display: flex; align-items: center; justify-content: center; font-size: 4rem; }
.bcs-body { padding: 28px; }
.bcs-dot { width: 10px; height: 10px; border-radius: 50%; margin-bottom: 14px; }
.bcs-dot.hu { background: var(--hu); }
.bcs-dot.fi { background: var(--fi); }
.bcs-dot.ma { background: var(--ma); }
.bcs-body h3 { font-family: 'Fraunces', Georgia, serif; font-size: 1.4rem; font-weight: 800; margin-bottom: 10px; }
.bcs-body p { font-size: .88rem; color: var(--muted); line-height: 1.65; margin-bottom: 18px; }
.bcs-body a { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--red); text-decoration: none; }
.bcs-body a:hover { text-decoration: underline; }

/* ── CONTACTO PAGE ──────────────────────────── */
.contact-hero { padding: 140px 0 60px; border-bottom: 1px solid var(--border); }
.contact-hero-title { font-family: 'Fraunces', Georgia, serif; font-size: clamp(3rem, 6vw, 5rem); font-weight: 800; line-height: 1.05; margin: 14px 0; }
.contact-hero-sub { font-size: 1.05rem; color: var(--muted); }

.contact-grid-v4 { display: grid; grid-template-columns: 1fr 1.4fr; gap: 0; background: var(--white); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); margin-top: 48px; }
.ci-panel { padding: 56px 48px; border-right: 1px solid var(--border); display: flex; flex-direction: column; gap: 36px; background: var(--bg); }
.ci-block { display: flex; gap: 16px; align-items: flex-start; }
.ci-ico-big { font-size: 1.5rem; flex-shrink: 0; margin-top: 2px; }
.ci-label { font-size: .65rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 6px; font-weight: 700; }
.ci-val { font-size: .9rem; line-height: 1.7; color: var(--ink2); }
.ci-val a { color: var(--ink); text-decoration: none; }
.ci-val a:hover { color: var(--red); }
.ci-perks-v4 { display: flex; flex-direction: column; gap: 10px; padding-top: 12px; border-top: 1px solid var(--border); }
.ci-perk-v4 { font-size: .88rem; color: var(--ink2); display: flex; align-items: center; gap: 8px; }
.ci-perk-v4::before { content: '✓'; color: var(--red); font-weight: 700; flex-shrink: 0; }
.cf-panel { padding: 56px 48px; }
.cf-panel form { display: flex; flex-direction: column; gap: 20px; }

.contact-pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; }
.cp-item { background: var(--white); border-radius: var(--r-lg); padding: 32px 24px; box-shadow: var(--shadow); }
.cp-ico { font-size: 1.6rem; margin-bottom: 12px; }

/* �
/* ═══ V6 ADDITIONS ═══════════════════════════════════════════ */

/* ── HERO SLIDES (fade real, stacked divs) ── */
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-slide.active {
  opacity: 1;
}

/* Hero overlay needs z-index above slides */
.hero-overlay {
  z-index: 1;
}
.hero-content { z-index: 2; }
.hero-dots { z-index: 3; }
.hero-wave { z-index: 3; }

/* ── STATS SECTION WRAPPER ── */
.stats-section {
  padding: 48px 0;
  background: var(--bg);
}

/* ── CATALOG SECTION ── */
#catalogo {
  background: var(--bg2);
  border-top: 1px solid var(--border);
}

/* ── ADVANTAGES SECTION ── */
.adv-section {
  background: var(--white);
  border-top: 1px solid var(--border);
}
.adv-header { margin-bottom: 48px; }

/* ── FULLBLEED CTA BUTTONS ── */
.fullbleed-cta-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ── PILLARS borders ── */
.pillars-grid {
  border-top: none;
  border-bottom: none;
  gap: 2px;
}

/* ── CARD IN animation ── */
@keyframes cardIn {
  from { opacity: 0; transform: translateY(14px) scale(.97); }
  to   { opacity: 1; transform: none; }
}

/* ═══ RESPONSIVE ══════════════════════════════════════════════ */

@media (max-width: 1200px) {
  .cat-row { gap: 6px; padding: 65px 24px 20px; }
  .cat-label { font-size: .88rem; }
  .be-copy { padding: 56px 48px; }
  .footer-top { grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 32px; }
}

@media (max-width: 1024px) {
  .nav-inner { padding: 0 24px; }
  .nav-links a { padding: 0 12px; font-size: .65rem; }
  .cat-row { gap: 4px; padding: 55px 16px 20px; }
  .cat-label { font-size: .8rem; }
  .brand-editorial { grid-template-columns: 1fr; min-height: auto; }
  .brand-editorial.reverse { direction: ltr; }
  .brand-editorial .be-img { height: 340px; }
  .be-copy { padding: 48px 40px; }
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .pillars-grid { grid-template-columns: 1fr 1fr; }
  .pillar:nth-child(2) { border-right: none; }
  .pillar { border-bottom: none; }
  .pillar:last-child { border-bottom: none; grid-column: 1 / -1; }
  .adv-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .fullbleed-cta { margin: 0 24px; }
  .stats-bar { margin: 0 24px; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .mobile-nav { display: block; }
  .nav-links.nav-left,
  .nav-links.nav-right { display: none; }
  .hero { height: 100svh; min-height: 560px; }
  .hero-content { margin: 0 auto; text-align: center; padding: 0 24px; }
  .hero-actions { justify-content: center; }
  .hero-dots { bottom: 80px; }
  .cat-row {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px 10px;
    padding: 55px 20px 24px;
  }
  .cat-label { font-size: .9rem; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); margin: 0 16px; border-radius: var(--r); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-right: 1px solid rgba(255,255,255,.1); }
  .brand-editorial .be-img { height: 260px; }
  .be-copy { padding: 40px 24px; }
  .be-title { font-size: 2rem; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .pillars-grid { grid-template-columns: 1fr; }
  .pillar { border-right: none; }
  .adv-grid { grid-template-columns: 1fr; }
  .fullbleed-cta { margin: 0 16px; min-height: 360px; }
  .fullbleed-cta-content { padding: 48px 32px; }
  footer { border-radius: 0; margin-top: 40px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; padding: 48px 16px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
  .cat-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 8px;
    padding: 48px 16px 20px;
  }
  .cat-label { font-size: .8rem; }
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .stat-item:nth-child(3) { border-right: none; }
  .products-grid { grid-template-columns: 1fr; }
}