/* =========================================================
   LUXURY DESIGN — Maison de Alto Gramaje
   ========================================================= */
:root {
  --ink: #111111;
  --ink-soft: #4a4744;
  --paper: #ffffff;
  --ivory: #f6f3ee;
  --sand: #e9e1d3;
  --gold: #a88a5c;
  --line: #e4e0da;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --pad: clamp(16px, 4vw, 56px);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.6;
}
body.no-scroll { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; cursor: pointer; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
em { font-style: italic; }
::selection { background: var(--ink); color: var(--sand); }

/* ---------- Tipografía base ---------- */
.eyebrow {
  font-size: 11px; letter-spacing: .32em; text-transform: uppercase; font-weight: 400;
  color: var(--ink-soft); margin-bottom: 18px;
}
.section__title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(34px, 5vw, 64px); line-height: 1.05; letter-spacing: -.01em;
}
.section__title em { color: var(--gold); }
.lead { font-size: clamp(16px, 1.3vw, 18px); color: var(--ink-soft); max-width: 52ch; margin-top: 24px; }

.section { padding: clamp(80px, 10vw, 150px) var(--pad); }
.section__head { text-align: center; margin-bottom: clamp(40px, 6vw, 80px); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 52px; padding: 0 34px; border-radius: 999px;
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 400;
  transition: background .4s var(--ease), color .4s var(--ease), transform .4s var(--ease), border-color .4s;
  position: relative; overflow: hidden;
}
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { background: var(--sand); }
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--dark:hover { background: #2b2926; }
.btn--outline { border: 1px solid var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--paper); }
.btn--block { width: 100%; }
.btn.is-disabled { opacity: .35; pointer-events: none; }

.link-underline {
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  padding-bottom: 4px; transition: background-size .5s var(--ease);
}
.link-underline:hover { background-size: 0 1px; background-position: 100% 100%; }
.link-underline--light { color: var(--paper); }

/* ---------- Anuncio ---------- */
.announce {
  background: var(--ink); color: var(--sand);
  text-align: center; font-size: 11px; letter-spacing: .14em; padding: 9px var(--pad);
  height: 34px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  position: relative; z-index: 51;
}
.announce a { border-bottom: 1px solid rgba(233,225,211,.4); }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 34px; left: 0; right: 0; z-index: 50;
  height: var(--header-h); padding: 0 var(--pad);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  color: var(--paper);
  transition: background .5s var(--ease), color .5s var(--ease), top .4s var(--ease), box-shadow .5s;
}
.header.is-solid { top: 0; background: rgba(255,255,255,.96); color: var(--ink); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.header__left, .header__right { display: flex; align-items: center; gap: clamp(10px, 2vw, 28px); }
.header__right { justify-content: flex-end; }
.icon-btn { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .12em; position: relative; }
.icon-btn__label { opacity: .9; }
.icon-btn:hover .icon-btn__label { opacity: 1; text-decoration: underline; text-underline-offset: 5px; }

.burger { width: 20px; display: grid; gap: 5px; }
.burger i { height: 1px; background: currentColor; display: block; transition: width .4s var(--ease); }
.burger i:nth-child(2) { width: 70%; }
.menu-toggle:hover .burger i:nth-child(2) { width: 100%; }

.logo { text-align: center; line-height: 1; }
.logo__word {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(18px, 2.4vw, 30px); letter-spacing: .34em; margin-right: -.34em;
  white-space: nowrap;
}

.bag-count {
  position: absolute; top: -6px; right: -10px;
  min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px;
  background: var(--gold); color: #fff; font-size: 10px; letter-spacing: 0;
  display: grid; place-items: center; transform: scale(0); transition: transform .3s var(--ease);
}
.bag-count.has { transform: scale(1); }
.bag-count.pop { animation: pop .5s var(--ease); }
@keyframes pop { 50% { transform: scale(1.5); } }

/* ---------- Overlay y paneles ---------- */
.overlay {
  position: fixed; inset: 0; background: rgba(17,17,17,.45); z-index: 60;
  opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s;
}
.overlay.is-on { opacity: 1; visibility: visible; }

.close { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .14em; }
.close svg { transition: transform .4s var(--ease); }
.close:hover svg { transform: rotate(90deg); }

.drawer {
  position: fixed; top: 0; left: 0; bottom: 0; z-index: 70;
  width: min(460px, 100%); background: var(--paper);
  padding: 28px clamp(24px, 4vw, 48px); display: flex; flex-direction: column;
  transform: translateX(-100%); transition: transform .7s var(--ease);
  overflow-y: auto;
}
.drawer.is-open { transform: none; }
.drawer__nav { margin-top: 56px; flex: 1; }
.drawer__eyebrow { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.drawer__nav ul { list-style: none; }
.drawer__nav > ul:first-of-type a {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--serif); font-size: clamp(32px, 5vw, 44px); font-weight: 300; line-height: 1.35;
  transition: padding .4s var(--ease), color .3s;
}
.drawer__nav > ul:first-of-type a em { font-family: var(--sans); font-style: normal; font-size: 11px; letter-spacing: .2em; color: var(--ink-soft); }
.drawer__nav > ul:first-of-type a:hover { padding-left: 14px; color: var(--gold); }
.drawer.is-open .drawer__nav li { animation: slideIn .8s var(--ease) both; }
.drawer.is-open .drawer__nav li:nth-child(2) { animation-delay: .05s; }
.drawer.is-open .drawer__nav li:nth-child(3) { animation-delay: .1s; }
.drawer.is-open .drawer__nav li:nth-child(4) { animation-delay: .15s; }
.drawer.is-open .drawer__nav li:nth-child(5) { animation-delay: .2s; }
@keyframes slideIn { from { opacity: 0; transform: translateX(-24px); } }
.drawer__secondary { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.drawer__secondary a { font-size: 14px; letter-spacing: .04em; }
.drawer__secondary a:hover { text-decoration: underline; text-underline-offset: 5px; }
.drawer__foot { padding-top: 28px; margin-top: 28px; border-top: 1px solid var(--line); display: grid; gap: 12px; justify-items: start; font-size: 13px; color: var(--ink-soft); }
.drawer__phone { font-family: var(--serif); font-size: 26px; color: var(--ink); }

/* Búsqueda */
.search {
  position: fixed; top: 0; left: 0; right: 0; z-index: 70; background: var(--paper);
  padding: 40px var(--pad) 50px; transform: translateY(-100%); transition: transform .7s var(--ease);
  max-height: 90vh; overflow-y: auto;
}
.search.is-open { transform: none; }
.search__inner { max-width: 900px; margin: 0 auto; position: relative; }
.search .close { position: absolute; right: 0; top: 0; }
.search input {
  width: 100%; border: 0; border-bottom: 1px solid var(--ink); padding: 40px 0 16px;
  font-family: var(--serif); font-size: clamp(28px, 4vw, 46px); font-weight: 300; outline: none; background: transparent;
}
.search__suggest { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 22px; font-size: 13px; color: var(--ink-soft); }
.search__suggest button { border: 1px solid var(--line); border-radius: 99px; padding: 6px 16px; transition: border-color .3s; }
.search__suggest button:hover { border-color: var(--ink); }
.search__results { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; margin-top: 28px; }
.s-result { display: flex; gap: 14px; align-items: center; text-align: left; padding: 8px; border-radius: 4px; transition: background .3s; }
.s-result:hover { background: var(--ivory); }
.s-result img { width: 64px; height: 80px; object-fit: cover; }
.s-result b { font-weight: 400; display: block; }
.s-result small { color: var(--ink-soft); }
.s-empty { color: var(--ink-soft); }

/* Bolsa */
.bag {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 70;
  width: min(440px, 100%); background: var(--paper);
  display: flex; flex-direction: column; transform: translateX(100%); transition: transform .7s var(--ease);
}
.bag.is-open { transform: none; }
.bag__head { display: flex; justify-content: space-between; align-items: center; padding: 28px; border-bottom: 1px solid var(--line); }
.bag__head h3 { font-family: var(--serif); font-weight: 400; font-size: 26px; }
.bag__items { flex: 1; overflow-y: auto; padding: 8px 28px; }
.bag-item { display: grid; grid-template-columns: 80px 1fr auto; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.bag-item__img { aspect-ratio: 4/5; background: var(--ivory); overflow: hidden; }
.bag-item__img img { width: 100%; height: 100%; object-fit: cover; }
.bag-item__name { font-size: 14px; font-weight: 400; }
.bag-item__meta { font-size: 12px; color: var(--ink-soft); }
.bag-item__price { font-size: 14px; }
.qty { display: inline-flex; align-items: center; gap: 14px; margin-top: 10px; border: 1px solid var(--line); border-radius: 99px; padding: 2px 12px; font-size: 13px; }
.qty button { width: 18px; }
.bag-empty { text-align: center; padding: 70px 0; display: grid; gap: 16px; justify-items: center; color: var(--ink-soft); }
.bag-empty span { font-family: var(--serif); font-size: 60px; color: var(--sand); letter-spacing: -.06em; }
.bag__foot { padding: 24px 28px 28px; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.bag__total { display: flex; justify-content: space-between; font-size: 15px; }
.bag__total strong { font-weight: 400; }
.bag__note { font-size: 12px; color: var(--ink-soft); text-align: center; }

/* ---------- HERO ---------- */
.hero {
  position: relative; height: 100svh; min-height: 620px; margin-top: -34px;
  display: grid; place-items: center; overflow: hidden; color: var(--paper);
}
.hero__media { position: absolute; inset: 0; background: #1a1816; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 30%;
  transform: scale(1.08); animation: heroIn 2.4s var(--ease) both;
}
@keyframes heroIn { from { transform: scale(1.25); filter: brightness(.4); } }
.hero__veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.15) 40%, rgba(0,0,0,.55) 100%); }
.hero__content { position: relative; text-align: center; padding: 0 var(--pad); max-width: 1100px; }
.hero .eyebrow { color: rgba(255,255,255,.85); }
.hero__title {
  font-family: var(--serif); font-weight: 300; line-height: .92;
  font-size: clamp(58px, 12vw, 180px); letter-spacing: -.02em;
}
.hero__title span { display: block; }
.hero__title em { font-size: .55em; vertical-align: middle; color: var(--sand); }
.hero__sub { max-width: 44ch; margin: 28px auto 0; font-size: clamp(15px, 1.3vw, 18px); color: rgba(255,255,255,.88); }
.hero__ctas { display: flex; gap: 32px; justify-content: center; align-items: center; margin-top: 40px; flex-wrap: wrap; }
.hero__scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: grid; justify-items: center; gap: 10px; font-size: 10px; letter-spacing: .3em; text-transform: uppercase;
}
.hero__scroll i { width: 1px; height: 46px; background: rgba(255,255,255,.35); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; top: -50%; width: 1px; height: 50%; background: #fff; animation: drip 2s var(--ease) infinite; }
@keyframes drip { to { top: 100%; } }

/* ---------- Marquesina ---------- */
.marquee { background: var(--ivory); border-block: 1px solid var(--line); overflow: hidden; padding: 20px 0; }
.marquee__track { display: flex; gap: 40px; width: max-content; animation: marquee 38s linear infinite; align-items: center; }
.marquee span { font-family: var(--serif); font-size: clamp(20px, 2.4vw, 30px); font-style: italic; white-space: nowrap; }
.marquee b { color: var(--gold); font-weight: 400; font-size: 14px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Categorías ---------- */
.cat-grid {
  display: grid; gap: clamp(8px, 1.2vw, 16px);
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, clamp(240px, 28vw, 400px));
  grid-template-areas: "a b c c" "a d e e";
}
.cat-grid .cat:nth-child(1) { grid-area: a; }
.cat-grid .cat:nth-child(2) { grid-area: b; }
.cat-grid .cat:nth-child(3) { grid-area: c; }
.cat-grid .cat:nth-child(4) { grid-area: d; }
.cat-grid .cat:nth-child(5) { grid-area: e; }
.cat { position: relative; overflow: hidden; display: block; background: var(--ivory); }
.cat__img { position: absolute; inset: 0; }
.cat__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.cat:hover .cat__img img { transform: scale(1.06); }
.cat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.5)); }
.cat__label {
  position: absolute; left: 24px; bottom: 22px; z-index: 1; color: #fff;
  display: flex; align-items: baseline; gap: 14px;
}
.cat__label em { font-style: normal; font-size: 11px; letter-spacing: .2em; opacity: .8; }
.cat__label span { font-family: var(--serif); font-size: clamp(26px, 3vw, 40px); font-weight: 300; position: relative; }
.cat__label span::after { content: ""; position: absolute; left: 0; bottom: 2px; height: 1px; width: 0; background: #fff; transition: width .6s var(--ease); }
.cat:hover .cat__label span::after { width: 100%; }

/* ---------- Tienda ---------- */
.shop { background: var(--paper); }
.tabs {
  display: flex; gap: 6px; justify-content: center; flex-wrap: wrap;
  margin-bottom: clamp(36px, 5vw, 64px);
}
.tab {
  padding: 10px 22px; border-radius: 99px; border: 1px solid var(--line);
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  transition: all .4s var(--ease);
}
.tab:hover { border-color: var(--ink); }
.tab.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.products {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(28px, 3vw, 44px) clamp(10px, 1.4vw, 20px);
  transition: opacity .22s var(--ease);
}
.products.is-changing { opacity: 0; }
.product { position: relative; animation: rise .9s var(--ease) both; animation-delay: var(--d); }
@keyframes rise { from { opacity: 0; transform: translateY(30px); } }
.product__media { display: block; width: 100%; aspect-ratio: 4/5; overflow: hidden; background: var(--ivory); position: relative; }
.product__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.product:hover .product__media img { transform: scale(1.05); }
.product__tag {
  position: absolute; top: 14px; left: 14px; background: rgba(255,255,255,.92);
  font-size: 10px; letter-spacing: .18em; text-transform: uppercase; padding: 5px 10px;
}
.product__quick {
  position: absolute; left: 50%; bottom: 16px; transform: translate(-50%, 16px); opacity: 0;
  background: var(--ink); color: #fff; font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  padding: 10px 18px; border-radius: 99px; transition: all .5s var(--ease); white-space: nowrap;
}
.product:hover .product__quick { opacity: 1; transform: translate(-50%, 0); }
.product__info { padding-top: 16px; padding-right: 40px; }
.product__cat { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.product__name { font-family: var(--serif); font-weight: 400; font-size: 21px; line-height: 1.2; margin-top: 4px; }
.product__price { font-size: 14px; color: var(--ink-soft); margin-top: 4px; }
.product__add {
  position: absolute; right: 0; bottom: 6px; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line); font-size: 18px; font-weight: 300; line-height: 1;
  transition: all .4s var(--ease);
}
.product__add:hover { background: var(--ink); color: #fff; border-color: var(--ink); transform: rotate(90deg); }

/* ---------- Alto gramaje ---------- */
.gramaje {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center;
  padding: clamp(80px, 10vw, 150px) var(--pad); background: var(--ivory);
}
.gramaje__media { position: relative; aspect-ratio: 4/5; background: var(--sand); }
.gramaje__media img { width: 100%; height: 100%; object-fit: cover; }
.gramaje__badge {
  position: absolute; right: -60px; bottom: -60px; width: 170px; height: 170px;
  display: grid; place-items: center; background: var(--ink); border-radius: 50%; color: var(--sand);
}
.gramaje__badge svg.spin { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 22s linear infinite; }
.gramaje__badge text { fill: var(--sand); stroke: none; font-family: var(--sans); font-size: 12.5px; letter-spacing: 3.2px; }
.gramaje__badge span { font-family: var(--serif); font-size: 40px; letter-spacing: -.05em; }
@keyframes spin { to { transform: rotate(360deg); } }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; padding-top: 36px; border-top: 1px solid rgba(17,17,17,.12); }
.stat strong { font-family: var(--serif); font-weight: 300; font-size: clamp(44px, 5vw, 72px); line-height: 1; display: block; }
.stat span { font-size: 13px; color: var(--ink-soft); display: block; margin-top: 8px; }

.compare { margin-top: 40px; display: grid; gap: 14px; }
.compare__row { display: grid; grid-template-columns: 120px 1fr 80px; align-items: center; gap: 16px; font-size: 12px; letter-spacing: .08em; color: var(--ink-soft); }
.compare__row b { font-weight: 400; text-align: right; }
.compare__row.is-lux { color: var(--ink); }
.bar { height: 6px; background: rgba(17,17,17,.08); border-radius: 3px; overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: #b9b3aa; border-radius: 3px; transition: width 1.8s var(--ease) .3s; }
.is-lux .bar i { background: linear-gradient(90deg, var(--ink), var(--gold)); }
.compare.is-in .bar i { width: var(--w); }

/* ---------- Tecnología ---------- */
.tech__grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.tech__item { padding: 44px 32px 20px 0; border-right: 1px solid var(--line); padding-left: 32px; }
.tech__item:first-child { padding-left: 0; }
.tech__item:last-child { border-right: 0; }
.tech__num { font-family: var(--serif); font-style: italic; font-size: 30px; color: var(--gold); }
.tech__item h3 { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.15; margin: 20px 0 12px; }
.tech__item p { font-size: 14px; color: var(--ink-soft); }

/* ---------- Editorial ---------- */
.editorial { position: relative; min-height: 90vh; display: grid; place-items: center; overflow: hidden; color: #fff; text-align: center; }
.editorial__media { position: absolute; inset: 0; background: #1a1816; }
.editorial__media img { width: 100%; height: 100%; object-fit: cover; }
.editorial::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.42); z-index: 1; }
.editorial__content { position: relative; z-index: 2; padding: 0 var(--pad); }
.editorial .eyebrow { color: rgba(255,255,255,.8); }
.editorial blockquote {
  font-family: var(--serif); font-weight: 300; font-size: clamp(36px, 6vw, 88px); line-height: 1.05;
  margin-bottom: 44px; max-width: 18ch; margin-inline: auto;
}
.editorial blockquote em { color: var(--sand); }

/* ---------- Servicios ---------- */
.services { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.service { padding: 56px 28px; text-align: center; border-right: 1px solid var(--line); }
.service:last-child { border-right: 0; }
.service svg { width: 30px; height: 30px; color: var(--gold); margin: 0 auto 18px; }
.service h4 { font-weight: 400; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; }
.service p { font-size: 13px; color: var(--ink-soft); margin-top: 6px; }

/* ---------- Contacto ---------- */
.contact { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.c-cards { display: grid; gap: 12px; margin-top: 40px; }
.c-card {
  display: flex; align-items: center; border: 1px solid var(--line); background: var(--paper);
  transition: border-color .4s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease);
}
.c-card:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: 0 14px 30px -18px rgba(0,0,0,.35); }
.c-card__main { flex: 1; min-width: 0; display: flex; align-items: center; gap: 18px; padding: 18px 20px; }
.c-card__icon {
  flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ivory); color: var(--ink); transition: background .4s, color .4s;
}
.c-card:hover .c-card__icon { background: var(--ink); color: var(--sand); }
.c-card__icon--wa { background: var(--ink); color: #fff; }
.c-card:hover .c-card__icon--wa { background: #25d366; color: #fff; }
.c-card__txt { display: grid; min-width: 0; }
.c-card__txt small { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft); }
.c-card__txt b { font-family: var(--serif); font-weight: 400; font-size: clamp(19px, 2vw, 25px); overflow-wrap: anywhere; }
.c-card__go { margin-left: auto; font-size: 20px; transition: transform .4s var(--ease); }
.c-card:hover .c-card__go { transform: translateX(6px); }
.c-card__copy {
  align-self: stretch; padding: 0 20px; border-left: 1px solid var(--line);
  font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); transition: color .3s, background .3s;
}
.c-card__copy:hover { color: var(--ink); background: var(--ivory); }
.c-hours { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-soft); margin-top: 8px; }
.c-hours .dot { width: 8px; height: 8px; border-radius: 50%; background: #3bb273; box-shadow: 0 0 0 0 rgba(59,178,115,.6); animation: live 2s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 8px rgba(59,178,115,0); } 100% { box-shadow: 0 0 0 0 rgba(59,178,115,0); } }

/* ---------- Redes sociales ---------- */
.social { padding: clamp(80px, 10vw, 140px) var(--pad); background: var(--ivory); }
.social__sub { color: var(--ink-soft); margin-top: 16px; }
.social__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 1.4vw, 18px); }
.s-card {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; gap: 6px; align-content: end; min-height: 280px; padding: 28px;
  background: var(--paper); border: 1px solid var(--line);
  transition: color .6s var(--ease), transform .6s var(--ease), border-color .6s;
}
.s-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  transform: translateY(101%); transition: transform .7s var(--ease);
}
.s-card--ig::before { background: linear-gradient(135deg, #3d2a1c, #111 60%, #4b2238); }
.s-card--tt::before { background: linear-gradient(135deg, #111, #1d1d1d 55%, #0f3b3a); }
.s-card--fb::before { background: linear-gradient(135deg, #111, #16243f); }
.s-card--wa::before { background: linear-gradient(135deg, #111, #0f3a26); }
.s-card:hover { color: #fff; transform: translateY(-6px); border-color: transparent; }
.s-card:hover::before { transform: none; }
.s-card__icon {
  position: absolute; top: 26px; left: 28px; width: 54px; height: 54px; border-radius: 50%;
  border: 1px solid currentColor; display: grid; place-items: center; transition: transform .7s var(--ease);
}
.s-card__icon svg { width: 24px; height: 24px; }
.s-card:hover .s-card__icon { transform: rotate(-12deg) scale(1.08); }
.s-card__net { font-family: var(--serif); font-size: clamp(30px, 3vw, 42px); font-weight: 300; line-height: 1; }
.s-card__handle { font-size: 13px; opacity: .75; overflow-wrap: anywhere; }
.s-card__cta {
  margin-top: 14px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); transition: letter-spacing .5s var(--ease);
}
.s-card:hover .s-card__cta { letter-spacing: .32em; color: var(--sand); }

.social-icons { display: flex; gap: 10px; margin-top: 6px; }
.social-icons a {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--ink); transition: all .4s var(--ease);
}
.social-icons a:hover { background: var(--ink); color: var(--sand); border-color: var(--ink); }
.f-social { display: flex !important; align-items: center; gap: 10px; }
.f-social svg { width: 16px; height: 16px; flex: none; }
svg.fill { fill: currentColor; stroke: none; }

.contact__form { background: var(--ivory); padding: clamp(28px, 4vw, 56px); display: grid; gap: 26px; }
.contact__form h3 { font-family: var(--serif); font-weight: 400; font-size: 32px; }
.field { position: relative; }
.field input, .field textarea, .field select {
  width: 100%; border: 0; border-bottom: 1px solid rgba(17,17,17,.25); background: transparent;
  padding: 22px 0 10px; font: inherit; font-size: 16px; outline: none; resize: vertical; border-radius: 0;
  transition: border-color .3s;
}
.field select { appearance: none; cursor: pointer; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='1.3'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right center / 18px no-repeat; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--ink); }
.field label {
  position: absolute; left: 0; top: 22px; font-size: 14px; color: var(--ink-soft); pointer-events: none;
  transition: all .3s var(--ease);
}
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field label.is-fixed { top: 0; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; }
.form-note { font-size: 13px; color: var(--gold); min-height: 1em; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #d9d4cc; padding: clamp(60px, 8vw, 110px) var(--pad) 28px; overflow: hidden; }
.footer__news { text-align: center; max-width: 560px; margin: 0 auto 80px; }
.footer__news h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(28px, 3vw, 40px); color: #fff; }
.footer__news > p { font-size: 14px; margin-top: 8px; color: #a9a39a; }
.news-form { display: flex; margin-top: 28px; border-bottom: 1px solid #56524c; }
.news-form input { flex: 1; background: transparent; border: 0; padding: 14px 0; color: #fff; font: inherit; outline: none; }
.news-form button { font-size: 22px; color: #fff; padding: 0 6px; transition: transform .3s var(--ease); }
.news-form button:hover { transform: translateX(6px); }
.footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding: 50px 0; border-block: 1px solid #2e2c29; }
.footer__cols h4 { font-weight: 400; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.footer__cols a { display: block; font-size: 14px; padding: 5px 0; color: #cfc9c0; transition: color .3s; }
.footer__cols a:hover { color: #fff; }
.footer__brand {
  font-family: var(--serif); font-weight: 300; text-align: center; white-space: nowrap;
  font-size: clamp(40px, 11.2vw, 190px); letter-spacing: .06em; line-height: 1; padding: 50px 0 30px;
  background: linear-gradient(180deg, #e9e1d3, #6d665d); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.footer__legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 12px; color: #8a847b; }

/* ---------- Modal ---------- */
.modal {
  position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 20px;
  opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s; pointer-events: none;
}
.modal.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.modal__box {
  background: var(--paper); width: min(1040px, 100%); max-height: 92vh; overflow-y: auto;
  display: grid; grid-template-columns: 1.05fr 1fr; position: relative;
  transform: translateY(30px); transition: transform .6s var(--ease);
}
.modal.is-open .modal__box { transform: none; }
.modal__close { position: absolute; top: 18px; right: 18px; z-index: 2; background: rgba(255,255,255,.9); width: 40px; height: 40px; justify-content: center; border-radius: 50%; }
.modal__media { background: var(--ivory); min-height: 420px; }
.modal__media img { width: 100%; height: 100%; object-fit: cover; }
.modal__info { padding: clamp(28px, 4vw, 52px); display: grid; gap: 14px; align-content: start; }
.modal__info .eyebrow { color: var(--gold); margin: 0; }
.modal__info h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3vw, 42px); line-height: 1.1; }
.modal__price { font-size: 18px; }
.modal__desc { color: var(--ink-soft); font-size: 15px; }
.modal__specs { list-style: none; border-top: 1px solid var(--line); }
.modal__specs li { font-size: 13px; padding: 10px 0; border-bottom: 1px solid var(--line); display: flex; gap: 10px; }
.modal__specs li::before { content: "✦"; color: var(--gold); font-size: 10px; }
.modal__label { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; margin-top: 6px; }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.size { min-width: 48px; height: 44px; padding: 0 12px; border: 1px solid var(--line); font-size: 13px; transition: all .3s var(--ease); }
.size:hover { border-color: var(--ink); }
.size.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.shake { animation: shake .45s; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }

/* ---------- WhatsApp flotante & toast ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 55;
  width: 58px; height: 58px; border-radius: 50%; background: var(--ink); color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.25);
  transition: transform .4s var(--ease), background .4s;
}
.wa-float svg { width: 28px; height: 28px; fill: currentColor; stroke: none; }
.wa-float:hover { transform: scale(1.08); background: #25d366; }
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--ink);
  animation: ring 2.6s var(--ease) infinite;
}
@keyframes ring { from { transform: scale(1); opacity: .6; } to { transform: scale(1.6); opacity: 0; } }

.toast {
  position: fixed; left: 50%; bottom: 30px; transform: translate(-50%, 30px); z-index: 90;
  background: var(--ink); color: #fff; padding: 14px 26px; font-size: 13px; letter-spacing: .04em;
  opacity: 0; transition: all .5s var(--ease); pointer-events: none; border-radius: 99px; white-space: nowrap;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Respaldo de imagen ---------- */
.img-fallback {
  background:
    radial-gradient(circle at 30% 20%, rgba(168,138,92,.25), transparent 60%),
    linear-gradient(135deg, #efe9df, #d9cfbf) !important;
  display: grid; place-items: center;
}
.img-fallback::before {
  content: attr(data-mono); font-family: var(--serif); font-size: clamp(48px, 6vw, 90px);
  color: rgba(17,17,17,.2); letter-spacing: -.06em;
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.hero .reveal { opacity: 1; transform: none; animation: rise 1.4s var(--ease) both; }
.hero .reveal:nth-child(1) { animation-delay: .5s; }
.hero .reveal:nth-child(2) { animation-delay: .7s; }
.hero .reveal:nth-child(3) { animation-delay: .95s; }
.hero .reveal:nth-child(4) { animation-delay: 1.15s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .bar i { width: var(--w); }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .products { grid-template-columns: repeat(3, 1fr); }
  .tech__grid { grid-template-columns: repeat(2, 1fr); }
  .tech__item, .tech__item:first-child { padding: 36px 28px; border-bottom: 1px solid var(--line); }
  .tech__item:nth-child(2) { border-right: 0; }
}
@media (max-width: 860px) {
  :root { --header-h: 62px; }
  .icon-btn__label { display: none; }
  .hide-sm { display: none; }
  .cat-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 380px 240px 240px;
    grid-template-areas: "a a" "b c" "d e";
  }
  .products { grid-template-columns: repeat(2, 1fr); }
  .gramaje { grid-template-columns: 1fr; }
  .gramaje__badge { right: 16px; bottom: -50px; width: 130px; height: 130px; }
  .gramaje__badge text { font-size: 12px; }
  .gramaje__text { padding-top: 30px; }
  .services { grid-template-columns: 1fr 1fr; }
  .service:nth-child(2) { border-right: 0; }
  .service:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .contact { grid-template-columns: 1fr; }
  .social__grid { grid-template-columns: 1fr 1fr; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .modal__box { grid-template-columns: 1fr; }
  .modal__media { min-height: 0; aspect-ratio: 4/3; }
}
@media (max-width: 560px) {
  .announce { font-size: 10px; letter-spacing: .06em; }
  .btn { padding: 0 20px; font-size: 11px; letter-spacing: .12em; white-space: nowrap; }
  .logo__word { letter-spacing: .22em; margin-right: -.22em; font-size: 17px; }
  .stats { grid-template-columns: 1fr; gap: 28px; }
  .compare__row { grid-template-columns: 90px 1fr 64px; gap: 10px; }
  .tech__grid { grid-template-columns: 1fr; }
  .tech__item { border-right: 0 !important; }
  .s-card { min-height: 220px; padding: 20px; }
  .s-card__icon { top: 20px; left: 20px; width: 46px; height: 46px; }
  .s-card__handle { font-size: 11px; }
  .c-card__main { padding: 14px; gap: 14px; }
  .c-card__icon { width: 40px; height: 40px; }
  .c-card__copy { padding: 0 14px; }
  .c-card__txt b { font-size: 17px; }
  .product__name { font-size: 18px; }
  .product__info { padding-right: 36px; }
  .product__quick { display: none; }
  .hero__ctas { gap: 22px; flex-direction: column; }
  .wa-float { width: 52px; height: 52px; right: 16px; bottom: 16px; }
  .toast { white-space: normal; width: calc(100% - 32px); text-align: center; }
}
