/* =========================================================
   Tropipan del Caribe — El verdadero sabor del pan
   ========================================================= */

:root {
  --azul-950: #06123A;
  --azul-900: #0B1E5B;
  --azul-800: #102A7A;
  --azul: #1537A0;
  --azul-400: #3F63D1;
  --vino-900: #3F0912;
  --vino: #6E1022;
  --vino-500: #A51C33;
  --oro: #F2B233;
  --oro-300: #F8D27E;
  --oro-700: #B97E10;
  --harina: #FBF6EC;
  --masa: #F2E6D0;
  --corteza: #C98B45;
  --tinta: #121A33;
  --gris: #5B6178;
  --linea: rgba(18, 26, 51, .12);

  --f-display: "Fraunces", Georgia, "Times New Roman", serif;
  --f-body: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;

  --r-sm: 10px;
  --r: 18px;
  --r-lg: 28px;
  --shadow-sm: 0 2px 8px rgba(11, 30, 91, .08);
  --shadow: 0 18px 40px -18px rgba(11, 30, 91, .35);
  --shadow-lg: 0 40px 80px -30px rgba(6, 18, 58, .55);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --gutter: clamp(18px, 4vw, 40px);
  --topbar-h: 38px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: clamp(16px, 1.05vw, 17.5px);
  line-height: 1.6;
  color: var(--tinta);
  background: var(--harina);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
svg { width: 1em; height: 1em; flex-shrink: 0; }
h1, h2, h3 { margin: 0; line-height: 1.05; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
::selection { background: var(--oro); color: var(--azul-950); }

.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.nowrap { white-space: nowrap; }
.break { word-break: break-word; overflow-wrap: anywhere; }
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 999;
  background: var(--oro); color: var(--azul-950); padding: 10px 16px; border-radius: 8px; font-weight: 700;
}
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--oro); outline-offset: 3px; border-radius: 6px; }


/* ---------- Tipografía ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--vino-500); margin-bottom: 18px;
}
.eyebrow .num {
  font-family: var(--f-display); font-style: italic; font-weight: 500; letter-spacing: 0;
  font-size: 1rem; color: var(--azul); padding-right: 12px; border-right: 1px solid currentColor;
}
.eyebrow--light { color: var(--oro-300); }
.eyebrow--gold { color: var(--oro); }
.eyebrow--gold .num { color: var(--oro-300); }
.eyebrow__line { width: 36px; height: 2px; background: currentColor; display: inline-block; }

.h2 {
  font-family: var(--f-display); font-weight: 600; font-variation-settings: "SOFT" 50, "opsz" 110;
  font-size: clamp(2.1rem, 4.6vw, 3.9rem); letter-spacing: -.02em; color: var(--azul-900);
  margin-bottom: 22px; text-wrap: balance;
}
.h2 em, .hero__title em, .cta h2 em {
  font-style: italic; font-weight: 500; color: var(--vino-500); font-variation-settings: "SOFT" 100, "WONK" 1;
}
.h2--light { color: #fff; }
.h2--light em { color: var(--oro); }
.lead { font-size: clamp(1.08rem, 1.4vw, 1.25rem); color: var(--gris); line-height: 1.55; }
.lead--light { color: rgba(255,255,255,.78); }

/* ---------- Botones ---------- */
.btn {
  --bg: var(--azul); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 22px; border-radius: 999px; border: 2px solid transparent;
  background: var(--bg); color: var(--fg); font-weight: 700; text-decoration: none; letter-spacing: .01em;
  cursor: pointer; white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn svg { font-size: 1.15em; transition: transform .35s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(6,18,58,.5); }
.btn:hover svg:last-child:not(:first-child) { transform: translateX(4px); }
.btn:active { transform: translateY(0); }
.btn--gold { --bg: var(--oro); --fg: var(--azul-950); }
.btn--gold:hover { --bg: var(--oro-300); }
.btn--azul { --bg: var(--azul); --fg: #fff; }
.btn--azul:hover { --bg: var(--azul-800); }
.btn--ghost { --bg: transparent; --fg: #fff; border-color: rgba(255,255,255,.35); }
.btn--ghost:hover { --bg: rgba(255,255,255,.1); border-color: #fff; }
.btn--outline { --bg: transparent; --fg: var(--azul-900); border-color: var(--linea); }
.btn--outline:hover { border-color: var(--azul-900); }
.btn--sm { padding: 10px 18px; font-size: .92rem; }
.btn--lg { padding: 16px 28px; font-size: 1.02rem; }
.btn--block { width: 100%; }

.link {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none;
  color: var(--azul); border-bottom: 2px solid currentColor; padding-bottom: 2px;
}
.link svg { transition: transform .3s var(--ease); }
.link:hover svg { transform: translateX(5px); }

/* ---------- Topbar ---------- */
.topbar { background: var(--azul-950); color: rgba(255,255,255,.75); font-size: .8rem; }
.topbar__in { display: flex; justify-content: space-between; align-items: center; min-height: var(--topbar-h); gap: 16px; }
.topbar p { margin: 0; display: flex; align-items: center; gap: 8px; }
.topbar a { text-decoration: none; }
.topbar a:hover { color: var(--oro); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #3DDC84; box-shadow: 0 0 0 0 rgba(61,220,132,.6); animation: pulse 2.2s infinite; }
.dot.is-closed { background: #FF8A8A; animation: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(61,220,132,0); } 100% { box-shadow: 0 0 0 0 rgba(61,220,132,0); } }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11, 30, 91, 0); transition: background .35s, box-shadow .35s, backdrop-filter .35s;
  margin-bottom: -84px;
}
.nav.is-scrolled { background: rgba(9, 24, 74, .86); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); box-shadow: 0 10px 30px -20px rgba(0,0,0,.6); }
.nav__in { display: flex; align-items: center; gap: 28px; height: 84px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; margin-right: auto; }
.brand img { width: 56px; height: 56px; filter: drop-shadow(0 6px 14px rgba(0,0,0,.3)); transition: transform .5s var(--ease); }
.brand:hover img { transform: rotate(-8deg) scale(1.05); }
.brand__txt { display: flex; flex-direction: column; line-height: 1; }
.brand__txt strong { font-family: var(--f-display); font-size: 1.45rem; font-weight: 700; letter-spacing: -.01em; }
.brand__txt em { font-family: var(--f-display); font-style: italic; font-size: .92rem; color: var(--oro); }
.nav__links { display: flex; gap: 4px; }
.nav__links a {
  color: rgba(255,255,255,.85); text-decoration: none; font-weight: 600; font-size: .95rem;
  padding: 8px 14px; border-radius: 999px; position: relative; transition: color .25s, background .25s;
}
.nav__links a:hover, .nav__links a.is-active { color: #fff; background: rgba(255,255,255,.1); }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: transparent; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: #fff; border-radius: 2px; transition: transform .35s var(--ease), top .35s var(--ease); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 26px; }
.burger[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

.mobile {
  position: fixed; inset: 0; z-index: 90; background: var(--azul-950);
  padding: 120px var(--gutter) 40px; display: flex; flex-direction: column; gap: 32px;
  animation: fadeIn .35s var(--ease);
}
.mobile nav { display: flex; flex-direction: column; }
.mobile nav a {
  font-family: var(--f-display); font-size: clamp(2rem, 9vw, 2.8rem); color: #fff; text-decoration: none;
  padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.1); display: flex; align-items: baseline; gap: 14px;
}
.mobile nav a small { font-family: var(--f-body); font-size: .8rem; color: var(--oro); }
.mobile__foot { color: rgba(255,255,255,.5); margin-top: auto; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background:
    radial-gradient(1200px 600px at 85% 10%, rgba(63,99,209,.45), transparent 60%),
    radial-gradient(900px 500px at 0% 100%, rgba(165,28,51,.35), transparent 60%),
    linear-gradient(160deg, var(--azul-800) 0%, var(--azul-900) 45%, var(--azul-950) 100%);
  padding-top: 84px;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__glow {
  position: absolute; width: 520px; height: 520px; right: 8%; top: 12%; border-radius: 50%;
  background: radial-gradient(circle, rgba(242,178,51,.5), rgba(242,178,51,0) 65%);
  animation: breathe 8s ease-in-out infinite;
}
.hero__palm { position: absolute; left: -60px; bottom: 40px; width: 420px; height: 420px; color: rgba(255,255,255,.04); transform: rotate(-8deg); }
@keyframes breathe { 50% { transform: scale(1.12); opacity: .75; } }

.hero__grid {
  position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 80px);
  align-items: center; padding-block: clamp(48px, 7vw, 96px) clamp(120px, 12vw, 170px);
}
.hero__title {
  font-family: var(--f-display); font-weight: 700; font-variation-settings: "SOFT" 50, "opsz" 144;
  font-size: clamp(3.1rem, 8.2vw, 7.4rem); letter-spacing: -.035em; line-height: .92; margin-bottom: 28px;
}
.hero__title em { color: var(--oro); font-weight: 500; }
.hero__lead { font-size: clamp(1.08rem, 1.45vw, 1.3rem); color: rgba(255,255,255,.8); max-width: 34em; margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 52px; }

.stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: clamp(18px, 3vw, 44px); margin: 0; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.14); }
.stats div { display: flex; align-items: center; gap: 12px; }
.stats dt { font-family: var(--f-display); font-size: clamp(2.2rem, 3.6vw, 3.1rem); font-weight: 600; color: var(--oro); line-height: 1; }
.stats dd { margin: 0; font-size: .82rem; line-height: 1.25; color: rgba(255,255,255,.7); text-transform: uppercase; letter-spacing: .08em; }

.hero__media { position: relative; justify-self: center; width: min(100%, 440px); }
.arch {
  position: relative; aspect-ratio: 576 / 900; max-width: 100%; border-radius: 999px 999px var(--r-lg) var(--r-lg);
  overflow: hidden; background: var(--azul-950); box-shadow: var(--shadow-lg);
  outline: 1px solid rgba(255,255,255,.18); outline-offset: 12px;
}
.arch__video { width: 100%; height: 100%; object-fit: cover; }
.arch__shine { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,18,58,0) 60%, rgba(6,18,58,.5)); }

.seal { position: absolute; left: -58px; top: 18%; width: 150px; height: 150px; }
.seal__ring { width: 100%; height: 100%; animation: spin 22s linear infinite; }
.seal__ring text { font-family: var(--f-body); font-size: 15.5px; font-weight: 700; letter-spacing: 3.2px; fill: #fff; }
.seal::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--vino); box-shadow: var(--shadow); z-index: -1; }
.seal__core {
  position: absolute; inset: 34px; border-radius: 50%; background: var(--oro); color: var(--vino-900);
  display: grid; place-content: center; text-align: center; line-height: .9;
}
.seal__core strong { font-family: var(--f-display); font-size: 2.3rem; font-weight: 800; }
.seal__core span { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
@keyframes spin { to { transform: rotate(360deg); } }

.float-card {
  position: absolute; right: -34px; bottom: 12%; display: flex; align-items: center; gap: 12px;
  background: var(--harina); color: var(--tinta); padding: 12px 18px 12px 12px; border-radius: 16px; box-shadow: var(--shadow-lg);
  animation: floaty 6s ease-in-out infinite;
}
.float-card__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--azul); color: #fff; display: grid; place-items: center; font-size: 1.4rem; }
.float-card strong { display: block; font-size: .95rem; }
.float-card small { color: var(--gris); font-size: .8rem; }
@keyframes floaty { 50% { transform: translateY(-10px); } }

.swoosh { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(60px, 9vw, 140px); }

/* ---------- Marquee ---------- */
.marquee { background: var(--harina); overflow: hidden; padding-block: 8px 28px; }
.marquee__track { display: flex; width: max-content; gap: 28px; align-items: center; animation: marquee 38s linear infinite; }
.marquee span { font-family: var(--f-display); font-style: italic; font-size: clamp(1.5rem, 3vw, 2.4rem); color: var(--azul-900); white-space: nowrap; font-weight: 500; }
.marquee i { font-style: normal; color: var(--vino-500); font-size: 1.1rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(72px, 10vw, 140px); position: relative; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }

/* ---------- About ---------- */
.about { padding-top: clamp(40px, 6vw, 80px); }
.about__grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.about__visual { position: relative; padding: 0 0 70px 0; }
.about__frame { border-radius: 240px 240px var(--r) var(--r); overflow: hidden; box-shadow: var(--shadow); width: 78%; aspect-ratio: 3/4; background: var(--masa); }
.about__frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; transition: transform 1.2s var(--ease); }
.about__visual:hover .about__frame img { transform: scale(1.04); }
.about__frame--sm { position: absolute; right: 0; bottom: 0; width: 46%; border-radius: var(--r); border: 8px solid var(--harina); aspect-ratio: 4/5; }
.about__frame--sm img { object-position: center 70%; }
.about__badge { position: absolute; left: 62%; top: 4%; width: 124px; filter: drop-shadow(0 20px 30px rgba(11,30,91,.3)); animation: floaty 7s ease-in-out infinite; }
.about__copy p:not(.eyebrow):not(.lead):not(.signature) { color: var(--gris); }

.pillars { display: grid; gap: 18px; margin: 34px 0; }
.pillars li { display: flex; gap: 16px; align-items: flex-start; padding: 18px; border-radius: var(--r); background: #fff; box-shadow: var(--shadow-sm); border: 1px solid var(--linea); transition: transform .4s var(--ease), box-shadow .4s; }
.pillars li:hover { transform: translateX(6px); box-shadow: var(--shadow); }
.pillars__icon { width: 48px; height: 48px; border-radius: 14px; background: var(--masa); color: var(--vino-500); display: grid; place-items: center; font-size: 1.5rem; flex-shrink: 0; }
.pillars strong { display: block; color: var(--azul-900); font-size: 1.05rem; margin-bottom: 2px; }
.pillars p { margin: 0; font-size: .95rem; color: var(--gris); }
.signature { font-family: var(--f-display); font-style: italic; font-size: 1.5rem; color: var(--vino-500); margin: 0; }

/* ---------- Lines ---------- */
.lines { background: var(--masa); }
.lines::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 1px 1px, rgba(110,16,34,.12) 1px, transparent 0) 0 0 / 22px 22px; pointer-events: none; mask-image: linear-gradient(180deg, #000, transparent 70%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%); }
.lines__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 30px); position: relative; }
.line-card {
  position: relative; background: var(--harina); border-radius: var(--r-lg); padding: 14px 14px 30px; display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm); transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.line-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.line-card__img { border-radius: calc(var(--r-lg) - 8px); overflow: hidden; aspect-ratio: 4/3; margin-bottom: 24px; background: var(--masa); }
.line-card__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 62%; transition: transform 1s var(--ease); }
.line-card:hover .line-card__img img { transform: scale(1.06); }
.line-card__n {
  position: absolute; top: 26px; left: 26px; z-index: 2; width: 46px; height: 46px; border-radius: 50%;
  background: var(--oro); color: var(--azul-950); font-family: var(--f-display); font-weight: 700; font-size: 1.3rem; display: grid; place-items: center;
}
.line-card h3, .line-card p, .line-card .link { margin-inline: 14px; }
.line-card h3 { font-family: var(--f-display); font-weight: 600; font-size: 1.6rem; color: var(--azul-900); margin-bottom: 10px; letter-spacing: -.01em; }
.line-card p { color: var(--gris); flex: 1; }
.line-card .link { align-self: flex-start; }
.line-card--vino { background: var(--vino); }
.line-card--vino h3 { color: #fff; }
.line-card--vino p { color: rgba(255,255,255,.75); }
.line-card--vino .link { color: var(--oro); }
.line-card--azul { background: var(--azul-900); }
.line-card--azul h3 { color: #fff; }
.line-card--azul p { color: rgba(255,255,255,.75); }
.line-card--azul .link { color: var(--oro); }

/* ---------- Catalog ---------- */
.catalog__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; flex-wrap: wrap; margin-bottom: 44px; }
.catalog__head .h2 { margin-bottom: 0; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button {
  border: 1px solid var(--linea); background: #fff; padding: 9px 18px; border-radius: 999px; font-weight: 600; font-size: .92rem;
  cursor: pointer; color: var(--azul-900); transition: background .25s, color .25s, border-color .25s, transform .25s;
}
.filters button:hover { border-color: var(--azul); transform: translateY(-1px); }
.filters button[aria-selected="true"] { background: var(--azul-900); color: #fff; border-color: var(--azul-900); }

.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 26px); }
.product { transition: opacity .4s var(--ease), transform .4s var(--ease); }
.product.is-hidden { display: none; }
.product.is-entering { animation: cardIn .55s var(--ease) both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(18px) scale(.98); } }
.product__btn {
  position: relative; display: flex; flex-direction: column; width: 100%; height: 100%; text-align: left; padding: 0; border: 0; cursor: pointer;
  background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--linea);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.product__btn:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product__img { display: block; aspect-ratio: 4/5; overflow: hidden; background: var(--masa); }
.product__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; transition: transform .9s var(--ease); }
.product__btn:hover .product__img img { transform: scale(1.07); }
.product__tag {
  position: absolute; top: 12px; left: 12px; background: var(--harina); color: var(--azul-900); font-size: .72rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .08em; padding: 6px 11px; border-radius: 999px; box-shadow: var(--shadow-sm);
}
.product__tag--gold { background: var(--oro); color: var(--azul-950); }
.product__tag--vino { background: var(--vino-500); color: #fff; }
.product__tag--azul { background: var(--azul); color: #fff; }
.product__body { display: flex; flex-direction: column; gap: 2px; padding: 16px 64px 20px 18px; flex: 1; }
.product__cat { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--vino-500); }
.product__name { font-family: var(--f-display); font-size: 1.3rem; font-weight: 600; color: var(--azul-900); line-height: 1.15; letter-spacing: -.01em; }
.product__meta { font-size: .9rem; color: var(--gris); }
.product__plus {
  position: absolute; right: 16px; bottom: 20px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: var(--masa); color: var(--azul-900); font-size: 1.1rem; transition: background .3s, color .3s, transform .45s var(--ease);
}
.product__btn:hover .product__plus { background: var(--oro); transform: rotate(90deg); }

.price-note {
  margin-top: clamp(36px, 5vw, 56px); display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
  padding: 24px 28px; border-radius: var(--r-lg); background: #fff; border: 1px dashed rgba(21,55,160,.35);
}
.price-note__icon { width: 56px; height: 56px; border-radius: 50%; background: var(--oro); color: var(--azul-950); display: grid; place-items: center; font-size: 1.5rem; flex-shrink: 0; }
.price-note div { flex: 1 1 320px; }
.price-note strong { font-family: var(--f-display); font-size: 1.35rem; color: var(--azul-900); }
.price-note p { margin: 4px 0 0; color: var(--gris); }

/* ---------- Wholesale ---------- */
.wholesale { background: linear-gradient(150deg, var(--vino) 0%, var(--vino-900) 100%); color: #fff; overflow: hidden; }
.wholesale__texture {
  position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background:
    radial-gradient(700px 400px at 100% 0%, rgba(242,178,51,.22), transparent 60%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 2px, transparent 2px 26px);
}
.wholesale__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.audience { display: flex; flex-wrap: wrap; gap: 10px; margin: 32px 0 40px; }
.audience li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); font-weight: 600; font-size: .92rem; }
.audience svg { color: var(--oro); font-size: 1.15rem; }
.steps { display: grid; gap: 4px; counter-reset: s; }
.steps li { display: flex; gap: 18px; align-items: flex-start; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.12); }
.steps li > span { font-family: var(--f-display); font-size: 1.6rem; color: var(--oro); width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(242,178,51,.5); display: grid; place-items: center; flex-shrink: 0; line-height: 1; }
.steps strong { font-size: 1.08rem; }
.steps p { margin: 2px 0 0; color: rgba(255,255,255,.7); font-size: .95rem; }

.quote { background: var(--harina); color: var(--tinta); border-radius: var(--r-lg); padding: clamp(24px, 3.4vw, 40px); box-shadow: var(--shadow-lg); position: relative; }
.quote::before { content: ""; position: absolute; left: 28px; right: 28px; top: -8px; height: 8px; border-radius: 8px 8px 0 0; background: linear-gradient(90deg, var(--azul) 0 33%, var(--oro) 33% 66%, var(--vino-500) 66%); }
.quote__head h3 { font-family: var(--f-display); font-size: 1.9rem; color: var(--azul-900); font-weight: 600; margin-bottom: 6px; }
.quote__head p { color: var(--gris); margin-bottom: 24px; }
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field legend { font-size: .85rem; font-weight: 700; color: var(--azul-900); padding: 0; }
.field label span, .field legend span { font-weight: 400; color: var(--gris); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: 12px; border: 1.5px solid var(--linea); background: #fff; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 88px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--azul); box-shadow: 0 0 0 4px rgba(21,55,160,.14); }
.field input:user-invalid { border-color: var(--vino-500); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chips label { cursor: pointer; position: relative; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--linea); background: #fff; font-size: .88rem; font-weight: 600; color: var(--azul-900); transition: all .2s; }
.chips input:checked + span { background: var(--azul-900); border-color: var(--azul-900); color: #fff; }
.chips input:focus-visible + span { outline: 3px solid var(--oro); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; }
.form__legal { font-size: .8rem; color: var(--gris); text-align: center; margin: 0; }
.quote__ok { text-align: center; padding: 40px 10px; }
.quote__ok-icon { width: 76px; height: 76px; border-radius: 50%; background: #2BB673; color: #fff; display: grid; place-items: center; font-size: 2.2rem; margin: 0 auto 20px; animation: pop .5s var(--ease); }
.quote__ok h3 { font-family: var(--f-display); font-size: 2rem; color: var(--azul-900); margin-bottom: 10px; }
.quote__ok p { color: var(--gris); }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }

/* ---------- Process ---------- */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.4vw, 28px); position: relative; }
.timeline::before { content: ""; position: absolute; left: 6%; right: 6%; top: 66px; height: 2px; background: repeating-linear-gradient(90deg, var(--corteza) 0 10px, transparent 10px 18px); opacity: .5; }
.timeline li { position: relative; text-align: center; padding: 0 8px; }
.timeline__n { display: block; font-family: var(--f-display); font-style: italic; color: var(--vino-500); font-size: 1rem; margin-bottom: 10px; }
.timeline__icon {
  position: relative; width: 92px; height: 92px; margin: 0 auto 22px; border-radius: 50%; background: #fff; color: var(--azul);
  display: grid; place-items: center; font-size: 2.3rem; box-shadow: var(--shadow); border: 6px solid var(--harina); outline: 1px solid var(--linea);
  transition: transform .5s var(--ease), background .3s, color .3s;
}
.timeline li:hover .timeline__icon { transform: translateY(-6px) rotate(-6deg); background: var(--azul); color: var(--oro); }
.timeline h3 { font-family: var(--f-display); font-size: 1.45rem; color: var(--azul-900); font-weight: 600; margin-bottom: 8px; }
.timeline p { color: var(--gris); font-size: .96rem; margin: 0; }

/* ---------- Legacy ---------- */
.legacy { background: var(--azul-950); color: #fff; padding-block: clamp(72px, 9vw, 120px); position: relative; overflow: hidden; }
.legacy::before { content: ""; position: absolute; inset: 0; background: radial-gradient(800px 500px at 80% 50%, rgba(165,28,51,.45), transparent 65%); }
.legacy__grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.legacy__big {
  font-family: var(--f-display); font-weight: 900; font-size: clamp(8rem, 20vw, 16rem); line-height: .8; margin: 0 0 10px;
  color: transparent; -webkit-text-stroke: 2px var(--oro); letter-spacing: -.05em;
  background: linear-gradient(180deg, rgba(242,178,51,.25), transparent 80%); -webkit-background-clip: text; background-clip: text;
}
.legacy__img { margin: 0; border-radius: var(--r-lg); overflow: hidden; background: #fff; box-shadow: var(--shadow-lg); transform: rotate(1.5deg); transition: transform .6s var(--ease); }
.legacy__img:hover { transform: rotate(0) scale(1.01); }
.legacy__img img { width: 100%; }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 6vw, 90px); align-items: start; }
.faq__grid > div:first-child p:not(.eyebrow) { color: var(--gris); margin-bottom: 26px; }
.accordion { display: grid; gap: 12px; }
.accordion details { background: #fff; border: 1px solid var(--linea); border-radius: var(--r); transition: box-shadow .3s, border-color .3s; }
.accordion details[open] { box-shadow: var(--shadow); border-color: transparent; }
.accordion summary {
  list-style: none; cursor: pointer; padding: 20px 60px 20px 24px; font-weight: 700; font-size: 1.06rem; color: var(--azul-900); position: relative;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%;
  background: var(--masa) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' stroke='%230B1E5B' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .35s var(--ease), background-color .3s;
}
.accordion details[open] summary::after { transform: rotate(45deg); background-color: var(--oro); }
.accordion details p { padding: 0 24px 22px; margin: 0; color: var(--gris); }

/* ---------- Contact ---------- */
.contact { background: var(--masa); }
.contact__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(20px, 3vw, 36px); align-items: stretch; }
.contact__cards { display: grid; gap: 12px; }
.c-card {
  display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--r); background: var(--harina); text-decoration: none;
  border: 1px solid var(--linea); transition: transform .35s var(--ease), box-shadow .35s, border-color .3s; min-width: 0;
}
.c-card:hover { transform: translateX(6px); box-shadow: var(--shadow); border-color: transparent; }
.c-card > span:nth-child(2) { flex: 1; min-width: 0; }
.c-card small, .hours small { display: block; font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gris); font-weight: 700; }
.c-card strong, .hours strong { font-size: 1.08rem; color: var(--azul-900); display: block; }
.c-card__icon { width: 48px; height: 48px; border-radius: 14px; background: var(--azul-900); color: var(--oro); display: grid; place-items: center; font-size: 1.35rem; flex-shrink: 0; }
.c-card__arrow { color: var(--azul); font-size: 1.2rem; transition: transform .3s var(--ease); }
.c-card:hover .c-card__arrow { transform: translateX(4px); }
.c-card--wa { background: #1FAF5A; border-color: transparent; }
.c-card--wa small { color: rgba(255,255,255,.8); }
.c-card--wa strong, .c-card--wa .c-card__arrow { color: #fff; }
.c-card--wa .c-card__icon { background: #fff; color: #1FAF5A; }
.hours { padding: 20px; border-radius: var(--r); background: var(--azul-900); color: #fff; display: grid; gap: 16px; }
.hours__row { display: flex; align-items: center; gap: 16px; }
.hours__row > span:nth-child(2) { flex: 1; }
.hours small { color: rgba(255,255,255,.6); }
.hours strong { color: #fff; }
.hours em { font-style: normal; color: rgba(255,255,255,.75); font-size: .95rem; }
.hours .c-card__icon { background: rgba(255,255,255,.1); }
.status { font-size: .78rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: rgba(61,220,132,.16); color: #7CF0AE; white-space: nowrap; }
.status.is-closed { background: rgba(255,138,138,.16); color: #FFB0B0; }
.map { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 420px; box-shadow: var(--shadow); background: #dfe6f5; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.9) contrast(1.02); }
.map__cta { position: absolute; left: 16px; bottom: 16px; }

/* ---------- CTA ---------- */
.cta { background: var(--azul-900); color: #fff; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 50% 0%, rgba(242,178,51,.3), transparent 70%); }
.cta__in { position: relative; text-align: center; padding-block: clamp(64px, 9vw, 110px); display: grid; justify-items: center; gap: 26px; }
.cta__in img { width: 110px; filter: drop-shadow(0 16px 30px rgba(0,0,0,.4)); }
.cta h2 { font-family: var(--f-display); font-weight: 600; font-size: clamp(2rem, 4.8vw, 3.8rem); letter-spacing: -.02em; max-width: 16em; text-wrap: balance; }
.cta h2 em { color: var(--oro); }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- Footer ---------- */
.footer { background: var(--azul-950); color: rgba(255,255,255,.7); padding-top: 70px; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 36px; padding-bottom: 50px; }
.footer__brand img { width: 72px; margin-bottom: 16px; }
.footer__slogan { font-family: var(--f-display); font-style: italic; font-size: 1.4rem; color: var(--oro); }
.footer h3 { font-family: var(--f-body); color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 16px; }
.footer ul { display: grid; gap: 10px; }
.footer a { text-decoration: none; transition: color .2s; }
.footer a:hover { color: var(--oro); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-block: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; }
.footer__bottom p { margin: 0; }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 80;
  display: flex; align-items: center; gap: 10px; height: 60px; padding: 0 18px; border-radius: 999px; background: #25D366; color: #fff;
  text-decoration: none; box-shadow: 0 16px 36px -10px rgba(37,211,102,.7); font-weight: 700;
  transform: translateY(120px); transition: transform .5s var(--ease), box-shadow .3s;
}
.wa-float.is-visible { transform: none; }
.wa-float:hover { box-shadow: 0 18px 40px -8px rgba(37,211,102,.9); }
.wa-float svg { font-size: 1.8rem; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid #25D366; animation: ring 2.4s infinite; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.35); opacity: 0; } }

/* ---------- Modal ---------- */
.modal {
  width: min(980px, calc(100% - 28px)); max-height: calc(100dvh - 28px); padding: 0; border: 0; border-radius: var(--r-lg);
  background: var(--harina); color: var(--tinta); box-shadow: var(--shadow-lg); overflow: auto;
}
.modal::backdrop { background: rgba(6,18,58,.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.modal[open] { animation: modalIn .45s var(--ease); }
@keyframes modalIn { from { opacity: 0; transform: translateY(24px) scale(.97); } }
.modal__grid { display: grid; grid-template-columns: 1fr 1fr; }
.modal__img { background: var(--masa); }
.modal__img img { width: 100%; height: 100%; object-fit: cover; }
.modal__body { padding: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; }
.modal__cat { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--vino-500); margin-bottom: 8px; }
.modal h3 { font-family: var(--f-display); font-size: clamp(2rem, 3.4vw, 2.8rem); color: var(--azul-900); font-weight: 600; letter-spacing: -.02em; margin-bottom: 8px; }
.modal__meta { display: inline-block; align-self: flex-start; background: var(--azul-900); color: #fff; padding: 6px 14px; border-radius: 999px; font-weight: 600; font-size: .9rem; }
.modal__body > p[data-m-desc] { color: var(--gris); font-size: 1.05rem; }
.modal__label { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--azul-900); margin-bottom: 8px; }
.modal__ideal { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.modal__ideal li { padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--linea); font-size: .88rem; font-weight: 600; }
.modal__price { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 14px; background: rgba(242,178,51,.18); margin-bottom: 20px; font-size: .95rem; margin-top: auto; }
.modal__price svg { color: var(--oro-700); font-size: 1.3rem; }
.modal__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.modal__close {
  position: absolute; top: 14px; right: 14px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.92); color: var(--azul-900); display: grid; place-items: center; font-size: 1.2rem; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease);
}
.modal__close:hover { transform: rotate(90deg); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .products { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .float-card { right: -10px; }
}
@media (max-width: 960px) {
  .nav__links, .nav__cta { display: none; }
  .burger { display: block; }
  .topbar__right a:last-child, .topbar__right span { display: none; }
  .hero__grid, .about__grid, .wholesale__grid, .legacy__grid, .faq__grid, .contact__grid { grid-template-columns: 1fr; }
  .hero__grid { padding-bottom: 140px; }
  .hero__media { width: min(80%, 380px); margin-top: 20px; }
  .seal { left: -40px; width: 120px; height: 120px; }
  .seal__core { inset: 27px; }
  .seal__core strong { font-size: 1.8rem; }
  .seal__ring text { font-size: 15px; }
  .lines__grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 44px; }
  .timeline::before { display: none; }
  .about__visual { max-width: 520px; margin-inline: auto; width: 100%; }
  .legacy__big { font-size: 9rem; }
  .map { min-height: 340px; }
}
@media (max-width: 680px) {
  .products { grid-template-columns: 1fr 1fr; }
  .product__body { padding: 12px 12px 16px; }
  .product__name { font-size: 1.08rem; }
  .product__plus { display: none; }
  .product__tag { font-size: .62rem; padding: 5px 8px; top: 8px; left: 8px; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter); scrollbar-width: none; width: calc(100% + var(--gutter) * 2); }
  .filters::-webkit-scrollbar { display: none; }
  .filters button { flex-shrink: 0; }
  .field-row { grid-template-columns: 1fr; }
  .modal__grid { grid-template-columns: 1fr; }
  .modal__img { max-height: 46vh; overflow: hidden; }
  .modal__img img { object-position: top; }
  .footer__grid { grid-template-columns: 1fr; }
  .wa-float__label { display: none; }
  .wa-float { width: 60px; padding: 0; justify-content: center; }
  .stats { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .stats div { flex-direction: column; align-items: flex-start; gap: 4px; }
  .float-card { right: -12px; bottom: 8%; padding: 10px 14px 10px 10px; }
  .float-card__icon { width: 36px; height: 36px; font-size: 1.1rem; }
  .price-note .btn { width: 100%; }
  .hours__row { flex-wrap: wrap; }
  .about__badge { width: 96px; }
  .hero__actions .btn { flex: 1 1 100%; }
}
@media (max-width: 420px) {
  .topbar__in { justify-content: center; }
  .topbar__right { display: none !important; }
  .brand__txt strong { font-size: 1.25rem; }
  .brand img { width: 48px; height: 48px; }
  .timeline { grid-template-columns: 1fr; }
  .seal { left: -24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
