/* ─── GeTT Studio · main.css ─────────────────────────────────────────── */
/* Estudio de diseño en madera · Barcelona                               */
/* Identidad: tierra cálida, papel, madera noble. Editorial + artesanal. */

/* Reset minimal */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { min-height: 100vh; -webkit-font-smoothing: antialiased; }
img, picture, svg, video { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

/* ─── Tokens ─────────────────────────────────────────────────────────── */
:root {
  /* Paleta — tierra / madera / papel */
  --bg:           #F4EFE7;   /* warm paper */
  --bg-deep:     #ECE5D8;   /* warmer paper, contrast band */
  --surface:      #FFFFFF;
  --ink:          #1F1814;   /* near-black warm */
  --ink-soft:     #4A4239;
  --muted:        #8B8276;
  --line:         #E0D9CB;
  --brand:        #6E6043;   /* color anchor del cliente (marrón tabaco) */
  --brand-dark:   #3D3326;
  --brand-light:  #B9A77E;
  --accent:       #C28A52;   /* cobre cálido — CTA y detalles */

  /* Tipografía */
  --font-display: 'Fraunces', 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;

  /* Layout */
  --container:    1320px;
  --container-narrow: 880px;
  --gutter:       clamp(1.25rem, 4vw, 3rem);
  --radius:       2px;

  /* Sombras suaves, muy poco contraste */
  --shadow-sm:    0 1px 2px rgba(31, 24, 20, 0.04);
  --shadow-md:    0 10px 30px -12px rgba(31, 24, 20, 0.12);
  --shadow-lg:    0 30px 60px -20px rgba(31, 24, 20, 0.18);

  /* Motion */
  --ease:         cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast:       .22s;
  --t-med:        .45s;
  --t-slow:       .9s;
}

/* ─── Base ───────────────────────────────────────────────────────────── */
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  font-feature-settings: "ss01", "cv11";
  font-weight: 400;
}

/* Scale tipográfica — fluid */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;       /* nunca italic — señal Vantia */
  letter-spacing: -0.015em;
  color: var(--ink);
  line-height: 1.05;
  font-variation-settings: "opsz" 144, "SOFT" 30, "WONK" 0;
}
h1 { font-size: clamp(3rem, 7.5vw, 6.5rem); line-height: .98; letter-spacing: -0.025em; }
h2 { font-size: clamp(2.25rem, 5vw, 4rem); line-height: 1.02; letter-spacing: -0.02em; }
h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.15; }
h4 { font-size: clamp(1.125rem, 1.6vw, 1.375rem); line-height: 1.2; }

p { color: var(--ink-soft); max-width: 62ch; }
p.lead { font-size: clamp(1.125rem, 1.6vw, 1.375rem); line-height: 1.55; color: var(--ink); max-width: 60ch; }

::selection { background: var(--brand); color: var(--bg); }

/* ─── Container & layout primitives ──────────────────────────────────── */
.container       { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow{ max-width: var(--container-narrow); margin-inline: auto; padding-inline: var(--gutter); }
section { padding-block: clamp(4rem, 9vw, 8rem); position: relative; }
.section-tight  { padding-block: clamp(3rem, 6vw, 5rem); }

.eyebrow {
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  gap: .75rem;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--brand);
}

/* ─── Buttons ────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  padding: 1rem 1.75rem;
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: 999px;
  transition: transform var(--t-fast) var(--ease-out),
              background var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease),
              box-shadow var(--t-med) var(--ease);
  position: relative;
  overflow: hidden;
  will-change: transform;
}
.btn--primary {
  background: var(--ink);
  color: var(--bg);
}
.btn--primary:hover { background: var(--brand-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn--ghost:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); transform: translateY(-2px); }
.btn--brand {
  background: var(--brand);
  color: var(--bg);
}
.btn--brand:hover { background: var(--brand-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn .arrow {
  width: 14px; height: 14px;
  transition: transform var(--t-fast) var(--ease-out);
}
.btn:hover .arrow { transform: translateX(4px); }

/* ─── Header / Nav ───────────────────────────────────────────────────── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  padding-block: 1.25rem;
  transition: background var(--t-med) var(--ease), padding var(--t-med) var(--ease), border-color var(--t-med) var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(244, 239, 231, 0.85);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
  padding-block: .85rem;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}
.brand img {
  height: 92px;
  width: auto;
  display: block;
  transition: opacity var(--t-fast) var(--ease), height var(--t-med) var(--ease);
}
.brand:hover img { opacity: .8; }
.site-header.is-scrolled .brand img { height: 74px; }
@media (max-width: 640px) {
  .brand img { height: 72px; }
  .site-header.is-scrolled .brand img { height: 60px; }
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  font-size: .92rem;
}
.nav-links a {
  position: relative;
  padding: .5rem 0;
  color: var(--ink-soft);
  transition: color var(--t-fast) var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  height: 1px; width: 0;
  background: var(--brand);
  transition: width var(--t-med) var(--ease-out);
}
.nav-links a:hover, .nav-links a.is-active { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.is-active::after { width: 100%; }
.nav-cta {
  font-size: .85rem;
  padding: .65rem 1.25rem;
}

/* Mobile nav */
.nav-toggle {
  display: none;
  width: 38px; height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background var(--t-fast) var(--ease);
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  position: relative;
  transition: transform var(--t-fast) var(--ease);
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 1.5px;
  background: var(--ink);
  transition: transform var(--t-fast) var(--ease), top var(--t-fast) var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top:  6px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
body.nav-open .nav-toggle span::after  { top: 0; transform: rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: fixed; inset: 0;
    background: var(--bg);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 6rem var(--gutter) 4rem;
    gap: 1.5rem;
    transform: translateY(-100%);
    transition: transform .55s var(--ease-out);
    z-index: 40;
  }
  .nav-links a { font-family: var(--font-display); font-size: 2.5rem; font-weight: 400; line-height: 1; }
  body.nav-open .nav-links { transform: translateY(0); }
  .nav-cta { display: none; }
}

/* ─── Hero ───────────────────────────────────────────────────────────── */
.hero {
  padding-top: clamp(8rem, 16vw, 12rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.hero-text { max-width: 32ch; }
.hero h1 {
  font-size: clamp(2.25rem, 4.4vw, 4rem);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-block: 1.5rem 1.75rem;
}
.hero h1 .line {
  display: block;
  white-space: nowrap;
}
.hero h1 .accent {
  color: var(--brand);
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}
.hero p {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 42ch;
  margin-bottom: 2.25rem;
}
.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; }

.hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--bg-deep);
  border-radius: var(--radius);
  overflow: hidden;
}
.hero-visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  will-change: transform;
  transition: transform 1.4s var(--ease-out);
}
.hero-visual::after {
  /* sutil viñeta */
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(31,24,20,0.08));
  pointer-events: none;
}
.hero-meta {
  position: absolute;
  left: 1.5rem; bottom: 1.5rem;
  color: var(--bg);
  font-size: .75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: rgba(31,24,20,0.45);
  backdrop-filter: blur(6px);
  padding: .5rem .85rem;
  border-radius: 999px;
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-visual { aspect-ratio: 4 / 4.5; max-height: 60vh; }
}

/* ─── Marquee / Ticker ───────────────────────────────────────────────── */
.ticker {
  border-block: 1px solid var(--line);
  background: var(--bg);
  padding-block: 1.4rem;
  overflow: hidden;
  position: relative;
}
.ticker-track {
  display: flex;
  gap: 4rem;
  white-space: nowrap;
  animation: scroll-x 38s linear infinite;
  width: max-content;
}
.ticker-track span {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  color: var(--ink-soft);
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  gap: 4rem;
}
.ticker-track span::after {
  content: "✦";
  color: var(--brand);
  font-size: .8em;
}
@keyframes scroll-x {
  to { transform: translateX(-50%); }
}

/* ─── Section header ─────────────────────────────────────────────────── */
.sec-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 2rem;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}
.sec-head .eyebrow { margin-bottom: 1rem; }
.sec-head h2 { max-width: 18ch; }
.sec-head a.more { font-size: .9rem; color: var(--ink-soft); display: inline-flex; gap: .4rem; align-items: center; padding-bottom: .25rem; }
.sec-head a.more:hover { color: var(--ink); }

@media (max-width: 640px) {
  .sec-head { grid-template-columns: 1fr; }
}

/* ─── Product grid / cards ───────────────────────────────────────────── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.75rem) clamp(1.25rem, 2.5vw, 2rem);
}
@media (max-width: 960px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .product-grid { grid-template-columns: 1fr; } }

.product {
  display: flex; flex-direction: column;
  gap: 1rem;
  text-decoration: none;
  color: inherit;
}
.product-media {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--bg-deep);
  border-radius: var(--radius);
  overflow: hidden;
}
.product-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease-out), filter var(--t-med) var(--ease);
}
.product:hover .product-media img { transform: scale(1.05); }
.product-tag {
  position: absolute;
  top: 1rem; left: 1rem;
  background: var(--bg);
  color: var(--ink);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: .35rem .7rem;
  border-radius: 999px;
}
.product-tag--sale {
  background: var(--brand);
  color: var(--bg);
}
.product-cta {
  position: absolute;
  inset: auto 1rem 1rem auto;
  background: var(--bg);
  color: var(--ink);
  padding: .55rem .9rem;
  border-radius: 999px;
  font-size: .8rem;
  letter-spacing: 0.04em;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--t-med) var(--ease-out), transform var(--t-med) var(--ease-out);
}
.product:hover .product-cta { opacity: 1; transform: translateY(0); }
.product-info {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .5rem;
  align-items: baseline;
  padding-top: .25rem;
}
.product-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.product-meta {
  font-size: .8rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  grid-column: 1 / -1;
  margin-top: -.25rem;
}
.product-price {
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
}
.product-price .old {
  color: var(--muted);
  text-decoration: line-through;
  font-weight: 400;
  margin-right: .4rem;
  font-size: .85rem;
}

/* ─── Filter tabs (catalog) ──────────────────────────────────────────── */
.filters {
  display: flex; flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.filter {
  padding: .55rem 1.1rem;
  font-size: .85rem;
  letter-spacing: 0.04em;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-soft);
  transition: all var(--t-fast) var(--ease);
}
.filter:hover { color: var(--ink); border-color: var(--ink-soft); }
.filter.is-active {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

/* ─── Craft / values block ───────────────────────────────────────────── */
.craft {
  background: var(--ink);
  color: var(--bg);
  padding-block: clamp(5rem, 10vw, 9rem);
}
.craft h2 { color: var(--bg); }
.craft p { color: rgba(244, 239, 231, 0.72); }
.craft .eyebrow { color: var(--brand-light); }
.craft .eyebrow::before { background: var(--brand-light); }
.craft-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid rgba(244, 239, 231, 0.18);
}
@media (max-width: 800px) { .craft-grid { grid-template-columns: 1fr; gap: 2.5rem; } }
.craft-item {
  display: flex; flex-direction: column;
  gap: .85rem;
}
.craft-item h3 {
  color: var(--bg);
  font-size: clamp(1.25rem, 1.7vw, 1.5rem);
  font-weight: 400;
}
.craft-item .num {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--brand-light);
  letter-spacing: 0.1em;
}

/* ─── Two-col with image ─────────────────────────────────────────────── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.split--reverse > :first-child { order: 2; }
@media (max-width: 800px) {
  .split { grid-template-columns: 1fr; gap: 2.5rem; }
  .split--reverse > :first-child { order: 0; }
}
.split-media {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-deep);
}
.split-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }

/* ─── Materials / process cards ──────────────────────────────────────── */
.material-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-top: clamp(2rem, 4vw, 3rem);
}
@media (max-width: 700px) { .material-grid { grid-template-columns: 1fr; } }
.material {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  display: flex; flex-direction: column; gap: 1rem;
  transition: transform var(--t-med) var(--ease-out), border-color var(--t-med) var(--ease);
}
.material:hover { transform: translateY(-4px); border-color: var(--brand-light); }
.material h3 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2vw, 1.85rem);
  color: var(--brand-dark);
}
.material .latin {
  font-family: var(--font-display);
  font-style: normal;
  font-size: .9rem;
  color: var(--brand);
  letter-spacing: 0.04em;
}

/* ─── Process list (Sobre) ───────────────────────────────────────────── */
.process {
  display: grid;
  gap: 0;
  margin-top: clamp(2rem, 4vw, 3rem);
}
.step {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  padding-block: clamp(1.75rem, 3vw, 2.5rem);
  border-top: 1px solid var(--line);
  align-items: start;
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step .step-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--brand);
  line-height: 1;
}
.step h3 {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  margin-bottom: .65rem;
}
.step p { max-width: 56ch; }
@media (max-width: 600px) {
  .step { grid-template-columns: 1fr; gap: .85rem; }
}

/* ─── CTA band ───────────────────────────────────────────────────────── */
.cta-band {
  background: var(--bg-deep);
  border-radius: var(--radius);
  padding: clamp(2.5rem, 5vw, 5rem);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}
.cta-band h2 { max-width: 16ch; }
@media (max-width: 760px) {
  .cta-band { grid-template-columns: 1fr; text-align: left; }
}

/* ─── Contact ────────────────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-channels { display: flex; flex-direction: column; gap: 0; }
.channel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding-block: 1.5rem;
  border-top: 1px solid var(--line);
  transition: padding-inline var(--t-fast) var(--ease);
}
.channel:last-of-type { border-bottom: 1px solid var(--line); }
.channel:hover { padding-inline: .5rem; }
.channel .icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--bg-deep);
  display: grid; place-items: center;
  color: var(--brand);
  flex-shrink: 0;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.channel:hover .icon { background: var(--brand); color: var(--bg); }
.channel .label {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  display: block;
  margin-bottom: .15rem;
}
.channel .value {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.8vw, 1.45rem);
  color: var(--ink);
}
.channel .arrow {
  width: 18px; height: 18px;
  color: var(--muted);
  transition: transform var(--t-fast) var(--ease-out), color var(--t-fast) var(--ease);
}
.channel:hover .arrow { color: var(--brand); transform: translateX(4px); }

.form { display: flex; flex-direction: column; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field label {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
}
.field input,
.field textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: .75rem 0;
  font-size: 1rem;
  color: var(--ink);
  transition: border-color var(--t-fast) var(--ease);
  font-family: var(--font-body);
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--brand);
}
.field textarea { resize: vertical; min-height: 7rem; }

/* ─── Page hero ──────────────────────────────────────────────────────── */
.page-hero {
  padding-top: clamp(8rem, 14vw, 11rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}
.page-hero .eyebrow { margin-bottom: 1.25rem; }
.page-hero h1 { max-width: 14ch; }
.page-hero p { margin-top: 1.5rem; max-width: 56ch; font-size: clamp(1.05rem, 1.3vw, 1.2rem); }

/* ─── Footer ─────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--ink);
  color: var(--bg);
  padding-block: clamp(4rem, 7vw, 6rem) 2rem;
  margin-top: clamp(4rem, 8vw, 6rem);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid rgba(244, 239, 231, 0.18);
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

.site-footer .brand { margin-bottom: 1rem; display: inline-block; }
.site-footer .brand img { height: 120px; filter: invert(1) brightness(1.05); }
.site-footer p { color: rgba(244, 239, 231, 0.6); font-size: .9rem; max-width: 32ch; }
.footer-title {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--brand-light);
  margin-bottom: 1.25rem;
}
.footer-links { display: flex; flex-direction: column; gap: .65rem; }
.footer-links a {
  font-size: .92rem;
  color: rgba(244, 239, 231, 0.78);
  transition: color var(--t-fast) var(--ease);
}
.footer-links a:hover { color: var(--bg); }

.footer-bottom {
  padding-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-size: .8rem;
  color: rgba(244, 239, 231, 0.5);
}
.footer-bottom a { color: rgba(244, 239, 231, 0.7); }
.footer-bottom a:hover { color: var(--bg); }

/* ─── Loader ─────────────────────────────────────────────────────────── */
.loader {
  position: fixed; inset: 0;
  background: var(--bg);
  z-index: 100;
  display: grid; place-items: center;
  transition: opacity .7s var(--ease), visibility .7s var(--ease);
}
.loader.is-done { opacity: 0; visibility: hidden; }
.loader .brand img {
  height: 170px;
  opacity: 0;
  animation: fade-in .8s var(--ease-out) .15s forwards;
}
@keyframes fade-in { to { opacity: 1; } }

/* ─── Scroll reveal ──────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.reveal-stagger.is-visible > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: .08s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: .16s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: .24s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: .32s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: .4s; }

/* ─── Cart toggle (nav) ──────────────────────────────────────────────── */
.cart-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .55rem 1rem;
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.cart-toggle:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.cart-toggle svg { display: block; }
.cart-count {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding-inline: 6px;
  background: var(--brand);
  color: var(--bg);
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  transition: transform .28s var(--ease-out);
}
.cart-toggle.bumped .cart-count { transform: scale(1.35); }

@media (max-width: 860px) {
  .cart-toggle { padding: .5rem .8rem; }
}

/* ─── Cart overlay + drawer ─────────────────────────────────────────── */
.cart-overlay {
  position: fixed; inset: 0;
  background: rgba(31, 24, 20, .45);
  opacity: 0; visibility: hidden;
  z-index: 90;
  transition: opacity var(--t-med) var(--ease), visibility var(--t-med);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}
body.cart-open .cart-overlay { opacity: 1; visibility: visible; }

.cart-drawer {
  position: fixed;
  top: 0; right: 0;
  width: min(440px, 100vw);
  height: 100dvh;
  background: var(--bg);
  z-index: 95;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .55s var(--ease-out);
  box-shadow: var(--shadow-lg);
}
body.cart-open .cart-drawer { transform: translateX(0); }

.cart-drawer__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 1.75rem;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}
.cart-drawer__head h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--ink);
}
.cart-close {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 50%;
  font-size: 1.5rem;
  color: var(--ink-soft);
  line-height: 1;
  cursor: pointer;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.cart-close:hover { background: var(--bg-deep); color: var(--ink); }

.cart-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: .5rem 1.75rem;
}

.cart-list { display: flex; flex-direction: column; }
.cart-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 1rem;
  padding-block: 1.25rem;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.cart-item:last-child { border-bottom: 0; }
.cart-item__img {
  width: 72px; height: 72px;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--bg-deep);
}
.cart-item__info {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  min-width: 0;
}
.cart-item__name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--ink);
  line-height: 1.15;
}
.cart-qty {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px;
  width: max-content;
}
.cart-qty__btn {
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: var(--ink-soft);
  font-size: .95rem;
  cursor: pointer;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.cart-qty__btn:hover { background: var(--bg-deep); color: var(--ink); }
.cart-qty__value {
  min-width: 22px;
  text-align: center;
  font-size: .85rem;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.cart-item__side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .5rem;
}
.cart-item__price {
  font-size: .95rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: var(--ink);
}
.cart-item__remove {
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.cart-item__remove:hover { color: var(--ink); background: var(--bg-deep); }

.cart-empty {
  text-align: center;
  color: var(--muted);
  font-size: .95rem;
  padding: 4rem 1rem 3rem;
  line-height: 1.7;
}
.cart-empty a {
  display: inline-block;
  margin-top: .75rem;
  color: var(--brand);
  border-bottom: 1px solid var(--brand);
  padding-bottom: 2px;
  transition: opacity var(--t-fast) var(--ease);
}
.cart-empty a:hover { opacity: .7; }
.cart-drawer.has-items .cart-empty { display: none; }
.cart-drawer:not(.has-items) .cart-list { display: none; }

.cart-drawer__foot {
  padding: 1.5rem 1.75rem;
  border-top: 1px solid var(--line);
  background: var(--bg-deep);
  flex-shrink: 0;
}
.cart-drawer:not(.has-items) .cart-drawer__foot { display: none; }

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: .85rem;
}
.cart-total span:first-child {
  font-size: .72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.cart-total-value {
  font-family: var(--font-display);
  font-size: 1.65rem;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.cart-note {
  font-size: .78rem;
  color: var(--ink-soft);
  margin-bottom: 1rem;
  line-height: 1.55;
}
.btn--whatsapp {
  background: #25D366;
  color: #fff;
  width: 100%;
  justify-content: center;
  padding: 1rem 1.5rem;
}
.btn--whatsapp:hover {
  background: #1FB855;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.cart-clear {
  display: block;
  width: 100%;
  margin-top: .65rem;
  padding: .5rem;
  font-size: .75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  transition: color var(--t-fast) var(--ease);
}
.cart-clear:hover { color: var(--ink); }

/* Toast feedback */
.cart-toast {
  position: fixed;
  top: 5.5rem;
  right: 1.5rem;
  background: var(--ink);
  color: var(--bg);
  padding: .9rem 1.3rem;
  border-radius: 999px;
  font-size: .9rem;
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
  z-index: 80;
  max-width: calc(100vw - 3rem);
}
.cart-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.cart-toast svg {
  width: 16px; height: 16px;
  stroke: var(--brand-light);
  flex-shrink: 0;
}
@media (max-width: 540px) {
  .cart-toast { top: 4.5rem; right: 1rem; }
}

/* Product card CTA needs to be a button now */
.product-cta {
  border: 0;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 500;
}
@media (hover: none) {
  /* Touch: always visible (no hover state) */
  .product-cta { opacity: 1; transform: none; }
}

/* Product card is clickable to open modal */
.product[data-id] { cursor: pointer; }

/* ─── Modal / lightbox de producto ──────────────────────────────────── */
body.modal-open { overflow: hidden; }

.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(31, 24, 20, .58);
  opacity: 0; visibility: hidden;
  z-index: 110;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  transition: opacity .35s var(--ease), visibility .35s var(--ease);
}
body.modal-open .modal-overlay { opacity: 1; visibility: visible; }

.modal {
  position: fixed; inset: 0;
  z-index: 115;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 2.5vw, 1.75rem);
  pointer-events: none;
}
.modal[hidden] { display: none; }

.modal-panel {
  background: var(--bg);
  border-radius: 4px;
  width: 100%;
  max-width: 1100px;
  max-height: calc(100dvh - 3rem);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  pointer-events: auto;
  position: relative;
  opacity: 0;
  transform: translateY(20px) scale(.985);
  transition: opacity .4s var(--ease-out), transform .55s var(--ease-out);
  box-shadow: var(--shadow-lg);
}
body.modal-open .modal-panel { opacity: 1; transform: none; }

.modal-close {
  position: absolute;
  top: .85rem; right: .85rem;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(244, 239, 231, .95);
  color: var(--ink);
  font-size: 1.4rem;
  line-height: 1;
  z-index: 5;
  cursor: pointer;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: background var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.modal-close:hover { background: var(--bg); transform: scale(1.05); }

.modal-media {
  background: var(--bg-deep);
  min-height: 320px;
  overflow: hidden;
}
.modal-media img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.modal-body {
  padding: clamp(1.75rem, 3.5vw, 3rem) clamp(1.75rem, 3vw, 2.75rem);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.modal-tag {
  font-size: .7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: -.25rem;
}
.modal-name {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.modal-price {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1.8vw, 1.6rem);
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  margin-top: .15rem;
}
.modal-price .old {
  text-decoration: line-through;
  color: var(--muted);
  margin-right: .55rem;
  font-size: .85em;
}
.modal-description {
  color: var(--ink-soft);
  line-height: 1.65;
  font-size: 1rem;
  margin-top: .5rem;
}
.modal-description p + p { margin-top: .85rem; }
.modal-description strong { color: var(--ink); font-weight: 500; }

.modal-specs {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: .55rem 1.5rem;
  margin-top: .5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.modal-specs[hidden] { display: none; }
.modal-specs dt {
  font-size: .7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 4px;
}
.modal-specs dd {
  font-size: .94rem;
  color: var(--ink);
}

.modal-actions {
  margin-top: auto;
  padding-top: 1.25rem;
  display: flex;
  gap: .65rem;
  flex-wrap: wrap;
}
.modal-actions .btn { flex: 1 1 180px; justify-content: center; }

@media (max-width: 800px) {
  .modal-panel {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(220px, 38vh) 1fr;
    max-height: calc(100dvh - 2rem);
  }
  .modal-media { min-height: 0; }
  .modal-media img { max-height: 38vh; }
}

/* ─── Scroll progress bar ───────────────────────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: 0 50%;
  z-index: 100;
  transition: transform .12s linear;
  pointer-events: none;
  will-change: transform;
}

/* ─── WhatsApp Floating Action Button ───────────────────────────────── */
.wa-fab {
  position: fixed;
  right: clamp(1rem, 2.5vw, 1.75rem);
  bottom: clamp(1rem, 2.5vw, 1.75rem);
  width: 62px; height: 62px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 28px -8px rgba(37, 211, 102, .45),
              0 4px 12px rgba(0, 0, 0, .15);
  z-index: 70;
  text-decoration: none;
  opacity: 0;
  transform: translateY(20px) scale(.85);
  animation: wa-fab-in .55s var(--ease-out) 1.1s forwards;
  transition: transform .35s var(--ease-out),
              box-shadow .35s var(--ease),
              opacity .35s var(--ease);
}
.wa-fab:hover {
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 18px 40px -10px rgba(37, 211, 102, .6),
              0 6px 18px rgba(0, 0, 0, .2);
}
.wa-fab svg { width: 30px; height: 30px; display: block; }
.wa-fab::before {
  /* pulse ring */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  z-index: -1;
  animation: wa-fab-pulse 2.6s var(--ease-out) infinite;
  opacity: 0;
}
.wa-fab[data-ready]::before { opacity: 1; }
@keyframes wa-fab-in {
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes wa-fab-pulse {
  0%   { transform: scale(1);   opacity: .55; }
  80%  { transform: scale(1.7); opacity: 0; }
  100% { transform: scale(1.7); opacity: 0; }
}
@media (max-width: 540px) {
  .wa-fab { width: 56px; height: 56px; }
  .wa-fab svg { width: 26px; height: 26px; }
}
/* Hide FAB when carrito o modal abiertos para no tapar nada */
body.cart-open .wa-fab,
body.modal-open .wa-fab {
  opacity: 0;
  transform: translateY(20px) scale(.85);
  pointer-events: none;
  animation: none;
}

/* ─── Product card: tilt + shadow al hover ──────────────────────────── */
.product[data-id] {
  transform-style: preserve-3d;
  transition: transform .5s var(--ease-out),
              box-shadow .5s var(--ease);
  will-change: transform;
}
.product[data-id]:hover {
  box-shadow: 0 30px 60px -25px rgba(31, 24, 20, .25),
              0 12px 28px -18px rgba(31, 24, 20, .15);
}
.product[data-id].is-tilting {
  transition: box-shadow .5s var(--ease);
}

/* ─── Magnetic CTAs ─────────────────────────────────────────────────── */
.btn--primary.is-magnetic,
.btn--brand.is-magnetic {
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .ticker-track,
  .wa-fab::before { animation: none; }
  html { scroll-behavior: auto; }
}
