/* =========================================================
   ILUMINA JOYAS — estilos
   Colores y tipografías se cambian aquí arriba (:root)
   ========================================================= */
:root {
  --bg: #fbfaf7;          /* fondo general (blanco cálido, como la bolsa) */
  --paper: #ffffff;
  --tile: #eeeae2;        /* lino natural (fondo de las fichas) */
  --ink: #1d1b18;         /* texto principal */
  --muted: #77716a;       /* texto secundario */
  --line: #e2ddd5;        /* líneas finas */
  --gold: #b38a4a;        /* acento dorado */
  --amber: #7a3f1c;       /* carey */
  --eucalyptus: #7f9480;  /* eucalipto */
  --wood: #5a4433;        /* madera */
  --gold-soft: #d8c39c;
  --dark: #2b221c;
  --olive: #b9b597;
  --radius: 10px;
  --logo: "Sacramento", cursive;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --text: "EB Garamond", Georgia, serif;
  --sans: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 3.2vw, 44px);
  --max: 1440px;
}

*,
*::before,
*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--text);
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow { font-family: var(--sans); font-size: 12px; letter-spacing: .02em; color: var(--muted); }
.caps { font-family: var(--text); text-transform: uppercase; letter-spacing: .06em; font-size: 13px; }
.link { border-bottom: 1px solid currentColor; padding-bottom: 1px; transition: opacity .2s; }
.link:hover { opacity: .6; }
.muted { color: var(--muted); }

/* ---------- Aviso superior ---------- */
.notice {
  background: var(--dark); color: #efe9df;
  font-family: var(--sans); font-size: 12px; letter-spacing: .03em;
  text-align: center; padding: 8px 16px;
}

/* ---------- Encabezado ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.hdr {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  gap: 16px; height: 72px;
}
.hdr nav, .hdr .hdr-right { display: flex; gap: 28px; align-items: center; font-size: 17px; }
.hdr nav { justify-content: center; }
.hdr .hdr-right { justify-content: flex-end; }
.hdr a, .hdr button { transition: opacity .2s; }
.hdr a:hover, .hdr button:hover { opacity: .55; }
.hdr a[aria-current="page"] { border-bottom: 1px solid currentColor; }
.logo {
  font-family: var(--logo); font-weight: 400; font-size: 46px; line-height: 1;
  letter-spacing: 0; text-transform: lowercase; display: flex; align-items: baseline; gap: 8px;
}
.logo small {
  font-family: var(--sans); font-size: 10px; letter-spacing: .32em; text-transform: uppercase;
  color: var(--muted); font-weight: 400;
}
.logo img { height: 44px; width: auto; }
.foot .logo img { filter: invert(1) brightness(.95); height: 52px; }
.count { font-family: var(--sans); font-size: 12px; }
.menu-btn { display: none; }

/* Menú móvil */
.drawer {
  position: fixed; inset: 0; z-index: 60; background: var(--bg);
  padding: 20px var(--gutter) 40px; display: flex; flex-direction: column;
  transform: translateX(-100%); transition: transform .35s ease; visibility: hidden;
}
.drawer.open { transform: none; visibility: visible; }
.drawer-top { display: flex; justify-content: space-between; align-items: center; height: 52px; }
.drawer nav { display: flex; flex-direction: column; gap: 6px; margin-top: 32px; }
.drawer nav a { font-family: var(--serif); font-size: 36px; line-height: 1.2; }
.drawer .drawer-foot { margin-top: auto; display: flex; flex-direction: column; gap: 6px; color: var(--muted); }

/* Buscador */
.search-ov {
  position: fixed; inset: 0; z-index: 70; background: rgba(29, 27, 24, .35);
  display: none; align-items: flex-start; justify-content: center; padding-top: 12vh;
}
.search-ov.open { display: flex; }
.search-box {
  width: min(680px, calc(100% - 32px)); background: var(--bg); border-radius: var(--radius);
  padding: 28px; box-shadow: 0 30px 80px rgba(0, 0, 0, .18);
}
.search-box form { display: flex; gap: 12px; border-bottom: 1px solid var(--ink); padding-bottom: 8px; }
.search-box input {
  flex: 1; border: 0; background: none; font-family: var(--serif); font-size: 32px; outline: none; min-width: 0;
}
.search-sug { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip {
  font-family: var(--sans); font-size: 13px; border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 14px; background: var(--paper); transition: border-color .2s, background .2s;
}
.chip:hover { border-color: var(--ink); }
.chip.active { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* ---------- Portada (estilo Alure: menú vertical + foto) ---------- */
.hero {
  display: grid; grid-template-columns: 240px 1fr; gap: 32px; padding-top: 12px; padding-bottom: 28px;
}
.hero-side { display: flex; flex-direction: column; justify-content: space-between; padding: 6px 0 4px; }
.hero-side nav { display: flex; flex-direction: column; gap: 10px; font-size: 21px; }
.hero-side nav a:hover { color: var(--gold); }
.hero-side p { font-size: 16px; color: var(--muted); max-width: 220px; margin: 0; }
.hero-media {
  position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 8.6;
  background: var(--dark);
}
.hero-media img, .hero-media .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 32px;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; color: #fff;
  background: linear-gradient(to top, rgba(0, 0, 0, .35), transparent);
}
.hero-caption h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 4.4vw, 62px); line-height: 1; margin: 0; }
.hero-caption a { font-family: var(--sans); font-size: 14px; border-bottom: 1px solid; padding-bottom: 2px; white-space: nowrap; }

/* ---------- Intro centrada (estilo WW) ---------- */
.intro { text-align: center; padding-block: clamp(56px, 9vw, 120px); }
.intro p.lead {
  font-family: var(--serif); font-size: clamp(24px, 2.6vw, 34px); line-height: 1.25;
  max-width: 860px; margin: 16px auto 22px;
}
.intro .link { font-family: var(--sans); font-size: 13px; color: var(--muted); }

/* ---------- Categorías (4 columnas numeradas) ---------- */
.cats { display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); }
.cat-tile .cat-media { aspect-ratio: 3 / 4; overflow: hidden; position: relative; }
.cat-tile .cat-media > * { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.cat-tile:hover .cat-media > * { transform: scale(1.03); }
.cat-label {
  display: grid; grid-template-columns: 28px 1fr auto; align-items: baseline;
  padding: 12px var(--gutter) 0 calc(var(--gutter) * .9); font-size: 16px;
}
.cat-label .n, .cat-label .c { font-family: var(--sans); font-size: 11px; color: var(--muted); }
.cat-label .c { font-size: 13px; }

/* ---------- Encabezados de sección ---------- */
.sec { padding-top: clamp(56px, 8vw, 110px); }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 22px; }
.sec-head h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.4vw, 46px); margin: 0; line-height: 1.05; }
.sec-head a { font-family: var(--sans); font-size: 13px; }

/* ---------- Barra de filtros (Material • Tipo • …) ---------- */
.filterbar {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 6px 0 22px;
}
.filterbar .group { display: flex; gap: 26px; flex-wrap: wrap; align-items: center; }
.dd { position: relative; }
.dd > button { font-size: 18px; display: inline-flex; align-items: center; gap: 8px; }
.dd > button::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.dd > button.on { color: var(--gold); }
.dd-menu {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 200px; z-index: 30;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 8px; display: none; box-shadow: 0 16px 40px rgba(0, 0, 0, .08);
}
.dd.right .dd-menu { left: auto; right: 0; }
.dd.open .dd-menu { display: block; }
.dd-menu button { display: flex; justify-content: space-between; width: 100%; padding: 8px 10px; border-radius: 6px; font-size: 16px; text-align: left; gap: 16px; }
.dd-menu button:hover { background: var(--bg); }
.dd-menu button.sel { color: var(--gold); }
.dd-menu button span { font-family: var(--sans); font-size: 12px; color: var(--muted); }
.result-meta { font-family: var(--sans); font-size: 13px; color: var(--muted); display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.result-meta button { border-bottom: 1px solid; }
.active-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }

/* ---------- Cuadrícula tipo mosaico (estilo Alure) ---------- */
.bento {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  grid-auto-flow: dense; grid-auto-rows: auto;
}
.card { position: relative; display: flex; flex-direction: column; min-width: 0; }
.card-media {
  position: relative; display: block; background: var(--tile); border-radius: var(--radius);
  overflow: hidden; aspect-ratio: 4 / 5;
}
.card-media > img, .card-media > .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .5s, transform .8s; }
.card-media > .alt { opacity: 0; }
.card:hover .card-media > .alt { opacity: 1; }
.card:hover .card-media > :first-child { transform: scale(1.02); }
.card-name {
  position: absolute; left: 12px; right: 12px; bottom: 18px; text-align: center; z-index: 2;
  text-transform: uppercase; letter-spacing: .05em; font-size: 13px; pointer-events: none;
}
.card-price { display: flex; justify-content: center; gap: 10px; font-family: var(--sans); font-size: 13px; margin-top: 10px; }
.card-price s { color: var(--muted); }
.badge {
  position: absolute; top: 12px; left: 12px; z-index: 3; font-family: var(--sans); font-size: 11px;
  letter-spacing: .04em; background: var(--paper); border-radius: 999px; padding: 4px 10px;
}
.badge.sale { background: var(--ink); color: var(--bg); }
.badge.out { background: transparent; border: 1px solid var(--muted); color: var(--muted); }
.fav {
  position: absolute; top: 8px; right: 8px; z-index: 3; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; transition: transform .2s;
}
.fav:hover { transform: scale(1.1); }
.fav svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 1.3; }
.fav.on svg { fill: var(--gold); stroke: var(--gold); }

/* tamaños del mosaico */
.card.wide { grid-column: span 2; }
.card.wide .card-media { aspect-ratio: auto; flex: 1; min-height: 100%; }
.card.big { grid-column: span 2; grid-row: span 2; }
.card.big .card-media { aspect-ratio: auto; flex: 1; }
.card.wide .card-media, .card.big .card-media { height: 100%; }
.card.wide, .card.big { display: grid; grid-template-rows: 1fr auto; }

/* ---------- Bloque editorial (producto destacado) ---------- */
.feature { display: grid; grid-template-columns: 160px 1fr 1.25fr; gap: 24px; align-items: end; }
.feature-thumbs { display: flex; flex-direction: column; gap: 16px; align-self: start; }
.feature-thumbs > * { aspect-ratio: 4 / 5; position: relative; overflow: hidden; border-radius: 6px; }
.feature-thumbs > * > * { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature-text { padding: 0 0 8px; max-width: 420px; justify-self: end; }
.feature-text .top { display: flex; justify-content: space-between; font-family: var(--sans); font-size: 13px; margin-bottom: 10px; }
.feature-text p { font-family: var(--serif); font-size: clamp(22px, 2vw, 28px); line-height: 1.22; margin: 0 0 18px; }
.feature-text .links { display: flex; gap: 18px; justify-content: center; font-family: var(--sans); font-size: 13px; }
.feature-big { aspect-ratio: 4 / 5; position: relative; overflow: hidden; border-radius: var(--radius); }
.feature-big > * { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Instagram / moodboard ---------- */
.stories { display: flex; gap: clamp(14px, 3vw, 36px); justify-content: center; margin-bottom: 26px; flex-wrap: wrap; }
.story { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 15px; }
.story .ring { width: clamp(74px, 9vw, 120px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; position: relative; border: 1px solid var(--line); padding: 3px; }
.story .ring > * { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; position: relative; }
.mood { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; max-width: 980px; margin: 0 auto; }
.mood a { aspect-ratio: 1; position: relative; overflow: hidden; }
.mood a > * { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .3s; }
.mood a:hover > * { opacity: .85; }
.handle { text-align: center; font-family: var(--sans); font-size: 20px; letter-spacing: .02em; margin-top: 22px; }

/* ---------- Cómo comprar / valores ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { background: var(--paper); border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); }
.step .n { font-family: var(--sans); font-size: 12px; color: var(--eucalyptus); }
.step h3 { font-family: var(--serif); font-weight: 500; font-size: 28px; margin: 8px 0 6px; }
.step p { margin: 0; color: var(--muted); font-size: 17px; }
.values {
  display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  margin-top: clamp(56px, 8vw, 110px);
}
.values div { padding: 26px var(--gutter); text-align: center; font-size: 17px; }
.values div + div { border-left: 1px solid var(--line); }
.values span { display: block; font-family: var(--sans); font-size: 12px; color: var(--muted); margin-top: 2px; }

/* ---------- Página de producto ---------- */
.crumbs { font-family: var(--sans); font-size: 12px; color: var(--muted); padding: 18px 0 22px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--ink); }
.pdp { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: start; }
.gallery { display: grid; grid-template-columns: 84px 1fr; gap: 14px; }
.thumbs { display: flex; flex-direction: column; gap: 10px; }
.thumbs button { aspect-ratio: 4 / 5; position: relative; border-radius: 6px; overflow: hidden; opacity: .55; transition: opacity .2s; background: var(--tile); }
.thumbs button.on, .thumbs button:hover { opacity: 1; }
.thumbs button > * { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.thumbs .ph svg { width: 50%; }
.thumbs .ph-label { display: none; }
.main-img { aspect-ratio: 4 / 5; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--tile); }
.main-img > * { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pdp-info { position: sticky; top: 96px; }
.pdp-info .cat { font-family: var(--sans); font-size: 12px; color: var(--muted); }
.pdp-info h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 4vw, 58px); line-height: 1.02; margin: 6px 0 12px; }
.pdp-price { font-family: var(--sans); font-size: 18px; display: flex; gap: 12px; align-items: baseline; }
.pdp-price s { color: var(--muted); font-size: 15px; }
.pdp-desc { font-size: 19px; margin: 22px 0; }
.specs { border-top: 1px solid var(--line); margin: 0 0 24px; }
.specs div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.specs dt { font-family: var(--sans); font-size: 12px; color: var(--muted); padding-top: 3px; }
.specs dd { margin: 0; }
.btn {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%;
  background: var(--ink); color: var(--bg); border-radius: 999px; padding: 15px 22px;
  font-family: var(--sans); font-size: 14px; letter-spacing: .02em; transition: background .2s;
}
.btn:hover { background: #3a362f; }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--bg); }
.btn svg { width: 18px; height: 18px; }
.btn-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.btn-row .fav-btn { width: 52px; height: 52px; border: 1px solid var(--ink); border-radius: 50%; display: grid; place-items: center; }
.btn-row .fav-btn svg { width: 20px; fill: none; stroke: var(--ink); stroke-width: 1.3; }
.btn-row .fav-btn.on svg { fill: var(--gold); stroke: var(--gold); }
.btn + .btn { margin-top: 10px; }
.note { font-family: var(--sans); font-size: 12px; color: var(--muted); margin-top: 12px; text-align: center; }
.acc { margin-top: 28px; border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; padding: 15px 0; display: flex; justify-content: space-between; font-size: 18px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--sans); font-weight: 300; }
details[open] summary::after { content: "–"; }
details > div { padding: 0 0 18px; color: var(--muted); font-size: 17px; }

/* ---------- Páginas de texto ---------- */
.page-head { padding-block: clamp(36px, 6vw, 80px) clamp(28px, 4vw, 48px); }
.page-head h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 6vw, 88px); line-height: .95; margin: 8px 0 0; }
.page-head p { max-width: 640px; color: var(--muted); font-size: 19px; margin: 18px 0 0; }
.prose { max-width: 760px; font-size: 19px; }
.prose h2 { font-family: var(--serif); font-weight: 500; font-size: 32px; margin: 48px 0 10px; line-height: 1.1; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: #3d3933; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 80px); align-items: start; }
.img-block { aspect-ratio: 4 / 5; position: relative; border-radius: var(--radius); overflow: hidden; }
.img-block > * { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.contact-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.contact-list a, .contact-list div {
  display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 20px;
}
.contact-list a:hover { color: var(--gold); }
.contact-list span { font-family: var(--sans); font-size: 12px; color: var(--muted); padding-top: 6px; }
.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-family: var(--sans); font-size: 12px; color: var(--muted); }
.form input, .form textarea, .form select {
  border: 1px solid var(--line); background: var(--paper); border-radius: 8px; padding: 12px 14px; font-size: 17px; color: var(--ink); font-family: var(--text);
}
.form textarea { min-height: 140px; resize: vertical; }
.empty { text-align: center; padding: 80px 16px; color: var(--muted); }
.empty h2 { font-family: var(--serif); font-weight: 400; font-size: 36px; color: var(--ink); margin: 0 0 8px; }

/* ---------- Pie de página ---------- */
.site-footer { margin-top: clamp(72px, 10vw, 140px); background: var(--dark); color: #e9e3d8; padding: 64px 0 28px; }
.foot { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.foot .logo { color: #fff; }
.foot .logo small { color: #a9a196; }
.foot p { color: #a9a196; font-size: 16px; max-width: 320px; }
.foot h4 { font-family: var(--sans); font-weight: 400; font-size: 12px; color: #a9a196; margin: 0 0 14px; letter-spacing: .04em; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: 17px; }
.foot a:hover { color: var(--gold-soft); }
.foot-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid #3b372f;
  margin-top: 48px; padding-top: 20px; font-family: var(--sans); font-size: 12px; color: #8e877c;
}
.foot-bottom nav { display: flex; gap: 18px; }

/* Botón flotante WhatsApp */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 50; width: 54px; height: 54px; border-radius: 50%;
  background: var(--ink); color: var(--bg); display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .18); transition: transform .2s;
}
.wa-float:hover { transform: translateY(-2px); }
.wa-float svg { width: 24px; height: 24px; }

/* ---------- Imagen de muestra (placeholder) ---------- */
.ph {
  background: var(--ph, var(--tile)); color: var(--ph-ink, var(--gold));
  display: grid; place-items: center; overflow: hidden;
}
.ph svg { width: min(42%, 220px); height: auto; grid-area: 1 / 1; }
.ph-label {
  grid-area: 1 / 1; align-self: end; margin-bottom: 14%; font-family: var(--sans); font-size: 10px;
  letter-spacing: .14em; text-transform: uppercase; opacity: .55;
}
.card .ph-label { display: none; }
.hero-media .ph svg { width: min(46%, 520px); }

/* ---------- Animación de entrada ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { scroll-behavior: auto !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .bento { grid-template-columns: repeat(3, 1fr); }
  .feature { grid-template-columns: 1fr 1fr; }
  .feature-thumbs { display: none; }
  .foot { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  body { font-size: 17px; }
  .hdr { grid-template-columns: 1fr auto; height: 60px; }
  .hdr nav { display: none; }
  .menu-btn { display: inline-flex; }
  .logo { font-size: 38px; }
  .logo img { height: 36px; }
  .hdr .hdr-right { gap: 16px; font-size: 15px; }
  .hdr .hdr-right .hide-sm { display: none; }
  .hero { grid-template-columns: 1fr; gap: 0; }
  .hero-side { display: none; }
  .hero-media { aspect-ratio: 4 / 5; }
  .cat-label { padding-left: 10px; padding-right: 10px; font-size: 14px; grid-template-columns: 18px 1fr auto; }
  .bento { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .card.big { grid-row: span 1; }
  .card.big .card-media, .card.wide .card-media { aspect-ratio: 8 / 5; }
  .card-name { font-size: 11px; bottom: 12px; }
  .feature { grid-template-columns: 1fr; }
  .feature-text { justify-self: start; max-width: none; order: 2; }
  .steps { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr 1fr; }
  .values div:nth-child(3) { border-left: 0; }
  .values div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .pdp { grid-template-columns: 1fr; }
  .pdp-info { position: static; }
  .gallery { grid-template-columns: 1fr; }
  .thumbs { flex-direction: row; order: 2; }
  .thumbs button { width: 64px; }
  .two { grid-template-columns: 1fr; }
  .contact-list a, .contact-list div { grid-template-columns: 1fr; gap: 2px; font-size: 18px; }
  .dd-menu { min-width: 170px; }
  .filterbar .group { gap: 18px; }
  .dd > button { font-size: 16px; }
}
@media (max-width: 520px) {
  .foot { grid-template-columns: 1fr; }
  .hdr .hdr-right .lbl { display: none; }
  .specs div { grid-template-columns: 100px 1fr; }
}

.story .ph-label, .mood .ph-label, .cat-tile .ph-label, .feature-thumbs .ph-label { display: none; }

/* Nombre legible sobre fotos reales */
.card-media::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 38%; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(30, 22, 16, .55), transparent);
}
.card-name { color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .25); }

/* Portada solo texto */
.hero-text { padding-block: clamp(64px, 11vw, 150px) clamp(48px, 7vw, 96px); }
.hero-text h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(46px, 7vw, 104px); line-height: .98; margin: 14px 0 0; }
.hero-text .lead { font-size: clamp(20px, 2vw, 26px); color: var(--muted); max-width: 640px; margin: 22px auto 32px; }
.hero-text .btn { display: inline-flex; width: auto; padding: 14px 30px; }
