/* Dr Grillz BCN · v1
   Colores de marca: dorado #EBBC48, gris #626260, beige #ECEAE3 (de su web actual).
   Tipografía de marca: Libre Franklin (autoalojada). */

/* Variables y fuentes: tokens.css (v3). Acabados premium y menú: premium.css. */


*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: "Libre Franklin", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--beige);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -.025em; }
h2 { font-size: var(--fs-h2); font-weight: 800; }
h3 { font-size: var(--fs-h3); font-weight: 700; letter-spacing: -.01em; line-height: 1.25; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--gold); color: var(--ink); font-weight: 700; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 860px; }
section { padding: clamp(72px, 10vw, 136px) 0; position: relative; }

.dark { background: var(--dark); color: var(--on-dark); }
.dark .eyebrow { color: var(--gold); }
.dark .sec-head__lead { color: var(--on-dark-2); }

.eyebrow {
  margin: 0 0 14px;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.gold-text {
  background: linear-gradient(100deg, #C8902A 0%, var(--gold) 30%, var(--gold-hi) 50%, var(--gold) 70%, #C8902A 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: shine 7s var(--ease) infinite;
}
@keyframes shine { 0%, 55% { background-position: 100% 0; } 100% { background-position: -120% 0; } }

.sec-head { margin-bottom: clamp(36px, 5vw, 64px); max-width: 720px; }
.sec-head--center { text-align: center; margin-left: auto; margin-right: auto; }
.sec-head--row { max-width: none; display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: end; justify-content: space-between; }
.sec-head__lead { margin-top: 18px; font-size: 1.125rem; color: var(--ink-2); }

/* ---------- botones ---------- */
.btn {
  --b: var(--gold);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border: 1.5px solid transparent; border-radius: 999px;
  font-size: 1rem; font-weight: 700; letter-spacing: .01em;
  text-decoration: none; white-space: nowrap;
  transition: transform .2s var(--ease), background-color .2s, box-shadow .25s var(--ease), color .2s, border-color .2s;
}
.btn:active { transform: scale(.97); }
.btn--gold { background: var(--gold); color: #1C1A16; box-shadow: 0 8px 24px -10px rgba(235, 188, 72, .7); }
.btn--gold:hover { background: var(--gold-hi); box-shadow: 0 12px 30px -10px rgba(235, 188, 72, .85); }
.btn--ghost { border-color: rgba(243, 241, 234, .35); color: var(--on-dark); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn--dark { background: var(--ink); color: var(--on-dark); }
.btn--dark:hover { background: #000; }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: .9375rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; box-shadow: none; }

.link-arrow { font-weight: 700; text-decoration: none; color: var(--gold-deep); display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.link-arrow::after { content: "→"; transition: transform .2s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- cabecera ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  background: rgba(21, 20, 19, .72);
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line-dark);
  color: var(--on-dark);
  transition: background-color .3s;
}
.header.is-scrolled { background: rgba(21, 20, 19, .92); }
.header__in { height: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; gap: 24px; }
.header__logo img { width: 52px; height: auto; }
.nav { display: none; }
.header__cta { display: none; margin-left: auto; }
.menu-btn {
  margin-left: auto; width: 48px; height: 48px; border: 0; background: transparent;
  display: grid; place-content: center; gap: 6px; border-radius: 12px;
}
.menu-btn span { display: block; width: 24px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease); }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.nav.is-open {
  display: flex; flex-direction: column;
  position: fixed; inset: var(--header-h) 0 auto; padding: 12px var(--gutter) 28px;
  background: var(--dark); border-bottom: 1px solid var(--line-dark);
}
.nav a { text-decoration: none; font-weight: 600; padding: 14px 4px; border-bottom: 1px solid var(--line-dark); }
.nav a:hover { color: var(--gold); }

@media (min-width: 1000px) {
  .menu-btn { display: none; }
  .nav, .nav.is-open { display: flex; position: static; flex-direction: row; gap: 4px; padding: 0; background: none; border: 0; margin-left: 16px; }
  .nav a { border: 0; padding: 10px 12px; font-size: .9375rem; color: var(--on-dark-2); border-radius: 999px; transition: color .2s, background-color .2s; }
  .nav a:hover, .nav a.is-active { color: var(--on-dark); background: rgba(243,241,234,.07); }
  .header__cta { display: inline-flex; }
}

/* ---------- portada ---------- */
.hero { padding-top: calc(var(--header-h) + clamp(40px, 7vw, 96px)); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: auto -20% -40% 30%; height: 80%;
  background: radial-gradient(closest-side, rgba(235, 188, 72, .22), transparent 70%);
  pointer-events: none;
}
.hero__grid { display: grid; gap: 48px; align-items: center; position: relative; }
.hero__title { font-size: var(--fs-h1); font-weight: 800; letter-spacing: -.035em; line-height: 1.02; max-width: 12ch; }
.hero__lead { margin: 24px 0 0; font-size: clamp(1.0625rem, 1.5vw, 1.25rem); color: var(--on-dark-2); max-width: 40ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__facts { margin-top: 36px; display: grid; gap: 12px; font-size: var(--fs-small); color: var(--on-dark-2); }
.hero__facts li { display: flex; gap: 12px; align-items: center; }
.hero__facts svg, .hours svg, .channel svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.hero__media { margin: 0; position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 16 / 11; background: var(--dark-3); box-shadow: 0 30px 80px -30px rgba(0,0,0,.8); outline: 1px solid rgba(235,188,72,.25); outline-offset: -1px; }
.hero__video { width: 100%; height: 100%; object-fit: cover; }
.hero__media figcaption { position: absolute; left: 16px; bottom: 14px; right: 70px; font-size: .8125rem; font-weight: 600; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.7); }
.hero__pause { position: absolute; right: 12px; bottom: 10px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(0,0,0,.5); display: grid; place-items: center; }
.hero__pause svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.hero__pause .i-play { display: none; fill: #fff; stroke: none; }
.hero__pause[aria-pressed="true"] .i-pause { display: none; }
.hero__pause[aria-pressed="true"] .i-play { display: block; }

@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1.05fr 1fr; gap: 64px; }
  .hero { min-height: min(100svh, 920px); display: flex; align-items: center; padding-bottom: 96px; }
  .hero__media { aspect-ratio: 4 / 5; }
}

/* ---------- configurador ---------- */
.config { background: radial-gradient(120% 70% at 50% 0%, #26241F 0%, var(--dark) 60%); border-top: 1px solid var(--line-dark); }
.config__grid { display: grid; gap: 24px; }
@media (min-width: 1000px) { .config__grid { grid-template-columns: minmax(0, 1.35fr) minmax(360px, 1fr); gap: 32px; align-items: start; } .stage { position: sticky; top: calc(var(--header-h) + 20px); } }

.stage {
  position: relative; border-radius: 24px; overflow: hidden;
  aspect-ratio: 1 / 1; max-height: 78svh; width: 100%;
  background: radial-gradient(70% 60% at 50% 45%, #3A3832 0%, #1B1A18 70%);
  border: 1px solid var(--line-dark);
}
@media (min-width: 1000px) { .stage { aspect-ratio: 5 / 5.2; } }
.stage__canvas { position: absolute; inset: 0; touch-action: pan-y; cursor: grab; }
.stage__canvas:active { cursor: grabbing; }
.stage__canvas canvas { width: 100% !important; height: 100% !important; }
.stage__loader { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; color: var(--on-dark-2); font-size: var(--fs-small); text-align: center; padding: 20px; transition: opacity .5s; }
.stage__loader.is-done { opacity: 0; pointer-events: none; }
.stage__ring { width: 76px; height: 76px; border-radius: 50%; display: grid; place-content: center; font-weight: 800; color: var(--gold); border: 2px solid rgba(235,188,72,.25); border-top-color: var(--gold); animation: spin 1.1s linear infinite; }
.stage__ring span { display: inline-block; }
@keyframes spin { to { rotate: 360deg; } }
.stage__ring > * { animation: spin 1.1s linear infinite reverse; }
.stage__fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stage__views { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; }
.stage__views button {
  min-height: 40px; padding: 0 14px; border-radius: 999px; font-size: .875rem; font-weight: 600;
  background: rgba(21,20,19,.6); border: 1px solid var(--line-dark); color: var(--on-dark);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: background-color .2s, color .2s, border-color .2s;
}
.stage__views button[aria-pressed="true"] { background: var(--gold); color: #1C1A16; border-color: var(--gold); }
.stage__hint { position: absolute; top: 14px; left: 0; right: 0; text-align: center; font-size: .8125rem; color: var(--on-dark-2); pointer-events: none; transition: opacity .6s; margin: 0; }
.stage__hint.is-hidden { opacity: 0; }
.stage__tip {
  position: absolute; pointer-events: none; padding: 6px 10px; border-radius: 8px; font-size: .8125rem; font-weight: 700;
  background: rgba(21,20,19,.85); color: var(--on-dark); border: 1px solid var(--line-dark); transform: translate(-50%, -140%); white-space: nowrap;
}

.panel { background: var(--dark-2); border: 1px solid var(--line-dark); border-radius: 24px; padding: clamp(20px, 3vw, 32px); }
.panel__steps { display: grid; gap: 28px; margin-bottom: 28px; }
.panel__block h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; font-size: 1.0625rem; }
.num { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: .8125rem; font-weight: 800; background: rgba(235,188,72,.14); color: var(--gold); flex: none; }

.chip {
  min-height: 40px; padding: 0 14px; border-radius: 999px; font-size: .875rem; font-weight: 600;
  background: transparent; border: 1px solid rgba(243,241,234,.22); color: var(--on-dark);
  transition: border-color .2s, color .2s, background-color .2s;
}
.chip:hover { border-color: var(--gold); color: var(--gold); }
.chip--quiet { color: var(--on-dark-2); border-color: transparent; text-decoration: underline; text-underline-offset: 3px; }
.presets { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }

.teeth { display: grid; gap: 10px; padding: 14px 10px; border-radius: var(--radius-sm); background: rgba(0,0,0,.25); }
.teeth__row { display: flex; justify-content: center; gap: 4px; }
.tooth {
  --w: 30px;
  width: var(--w); height: 44px; padding: 0; border: 1.5px solid rgba(243,241,234,.25);
  background: #EDE9DF; color: #4A4843; font-size: .6875rem; font-weight: 700;
  display: grid; place-items: end center; padding-bottom: 4px;
  transition: background-color .25s var(--ease), border-color .25s, transform .2s var(--ease), color .2s;
}
.teeth__row[data-jaw="upper"] .tooth { border-radius: 8px 8px 14px 14px; }
.teeth__row[data-jaw="lower"] .tooth { border-radius: 14px 14px 8px 8px; place-items: start center; padding: 4px 0 0; }
.tooth:hover { transform: translateY(-2px); border-color: var(--gold); }
.tooth[aria-pressed="true"] { background: var(--metal, var(--gold)); color: #1C1A16; border-color: var(--gold-hi); }
.tooth--sm { --w: 26px; }
@media (max-width: 380px) { .tooth { --w: 26px; } .tooth--sm { --w: 23px; } .teeth__row { gap: 3px; } }

.swatches, .styles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.swatch, .style-btn {
  display: grid; justify-items: center; gap: 8px; padding: 12px 8px; min-height: 44px;
  border-radius: 14px; border: 1.5px solid var(--line-dark); background: rgba(255,255,255,.03);
  font-size: .875rem; font-weight: 600; color: var(--on-dark);
  transition: border-color .2s, background-color .2s, transform .2s var(--ease);
}
.swatch:hover, .style-btn:hover { border-color: rgba(235,188,72,.6); }
.swatch[aria-checked="true"], .style-btn[aria-checked="true"] { border-color: var(--gold); background: rgba(235,188,72,.1); }
.swatch img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; box-shadow: inset 0 0 0 1px rgba(255,255,255,.2), 0 4px 12px rgba(0,0,0,.4); }
.style-btn svg { width: 30px; height: 36px; fill: none; stroke: var(--on-dark-2); stroke-width: 2; stroke-linejoin: round; }
.style-btn[aria-checked="true"] svg { stroke: var(--gold); }
.style-btn .win { stroke-width: 1.6; }

.toggle { margin-top: 14px; display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-weight: 600; cursor: pointer; }
.toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.toggle__track { width: 48px; height: 28px; border-radius: 999px; background: rgba(243,241,234,.18); position: relative; transition: background-color .25s; flex: none; }
.toggle__track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .3s var(--ease); }
.toggle input:checked + .toggle__track { background: var(--gold); }
.toggle input:checked + .toggle__track::after { transform: translateX(20px); }
.toggle input:focus-visible + .toggle__track { outline: 3px solid var(--gold); outline-offset: 3px; }

.note { margin: 10px 0 0; font-size: .8125rem; color: var(--on-dark-2); }
.note--center { text-align: center; margin-top: 12px; }
.summary { padding: 16px 18px; border-radius: 14px; background: rgba(235,188,72,.08); border: 1px dashed rgba(235,188,72,.45); margin-bottom: 14px; }
.summary__label { margin: 0 0 4px; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.summary__text { margin: 0; font-weight: 700; }

/* ---------- proceso ---------- */
.steps { display: grid; gap: 16px; counter-reset: s; position: relative; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { background: var(--paper); border-radius: var(--radius); padding: 28px 24px; border: 1px solid var(--line); }
.step__n { display: block; font-size: 2.75rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; margin-bottom: 18px; color: transparent; -webkit-text-stroke: 1.5px var(--gold-deep); }
.step h3 { margin-bottom: 10px; }
.step p { color: var(--ink-2); font-size: var(--fs-small); }

.craft { margin-top: clamp(28px, 4vw, 52px); display: grid; gap: 20px; align-items: center; }
.craft__img { border-radius: 24px; overflow: hidden; }
.craft__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.craft__text h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; margin-bottom: 16px; letter-spacing: -.02em; }
.craft__text p { color: var(--ink-2); }
@media (min-width: 900px) { .craft { grid-template-columns: 1.2fr 1fr; gap: 56px; } .craft > * { min-width: 0; } }

/* ---------- materiales ---------- */
.mats { display: grid; gap: 14px; }
@media (min-width: 720px) { .mats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .mats { grid-template-columns: repeat(6, 1fr); } .mat { grid-column: span 2; } .mat--gold, .mat--chrome { grid-column: span 3; } }
.mat {
  position: relative; overflow: hidden; border-radius: var(--radius); padding: 28px 24px 26px;
  background: var(--dark-2); border: 1px solid var(--line-dark); min-height: 180px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.mat::before { content: ""; position: absolute; top: 22px; left: 24px; width: 46px; height: 46px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25), 0 8px 20px rgba(0,0,0,.4); }
.mat h3 { margin: 64px 0 8px; }
.mat p { color: var(--on-dark-2); font-size: var(--fs-small); }
.mat--gold::before { background: radial-gradient(circle at 35% 30%, #FFF1BE, var(--gold) 40%, #8C6418 100%); }
.mat--chrome::before { background: radial-gradient(circle at 35% 30%, #FFFFFF, #B9BCC2 40%, #4D5057 100%); }
.mat--diamond::before { background: conic-gradient(from 20deg, #E9F6FF, #9FC9E8, #F7FBFF, #BDD8EE, #E9F6FF); }
.mat--zirc::before { background: conic-gradient(from 60deg, #F4F4F4, #C9C9D6, #FFFFFF, #D8D8E4, #F4F4F4); }
.mat--enamel::before { background: conic-gradient(#DE422F, #EBBC48, #419FFF, #2F9E6B, #DE422F); }
.mat--gold { background: linear-gradient(160deg, #2C2617 0%, var(--dark-2) 60%); border-color: rgba(235,188,72,.3); }

/* ---------- galería ---------- */
.gal { display: grid; gap: 14px; }
.gal__item { margin: 0; border-radius: var(--radius); overflow: hidden; background: #D9D5CA; }
.gal__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gal__item:hover img { transform: scale(1.04); }
@media (min-width: 720px) {
  .gal { grid-template-columns: 1.3fr 1fr; grid-template-rows: repeat(2, 260px); }
  .gal__item--tall { grid-row: span 2; }
}

/* ---------- quiénes somos ---------- */
.about { background: var(--paper); }
.about__grid { display: grid; gap: 40px; align-items: center; }
.about__mascot { justify-self: center; width: min(280px, 70%); }
.about__mascot img { filter: drop-shadow(0 24px 30px rgba(0,0,0,.18)); }
.about__text h2 { margin-bottom: 22px; }
.about__text p { color: var(--ink-2); }
.about__text .btn { margin-top: 12px; }
@media (min-width: 900px) { .about__grid { grid-template-columns: .8fr 1.2fr; gap: 72px; } .about__mascot { width: 100%; max-width: 340px; } }

/* ---------- info ---------- */
.info { padding-top: 0; background: var(--paper); }
.info__grid { display: grid; gap: 16px; }
@media (min-width: 900px) { .info__grid { grid-template-columns: 1fr 1fr; } }
.card { background: #fff; border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); border: 1px solid var(--line); box-shadow: var(--shadow); }
.card h3 { font-size: 1.4rem; margin-bottom: 18px; }
.card--gold { background: var(--gold); border-color: transparent; }
.card--gold .ticks li::before { background-color: var(--ink); }
.card .btn { margin-top: 22px; }
.ticks { display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.card:not(.card--gold) .ticks li::before { background-color: var(--gold-deep); }

/* ---------- FAQ ---------- */
.faq { background: var(--beige); }
.acc { display: grid; gap: 10px; }
.acc details { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; transition: background-color .2s, border-color .2s; }
.acc details[open] { background: #fff; border-color: rgba(122, 90, 18, .35); }
.acc summary {
  list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; font-weight: 700; position: relative; min-height: 44px;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' fill='none' stroke='%231C1A16' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .3s var(--ease);
}
.acc details[open] summary::after { transform: rotate(45deg); }
.acc__a { padding: 0 22px 20px; color: var(--ink-2); }

/* ---------- contacto ---------- */
.contact__grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .contact__grid { grid-template-columns: 1fr 1.05fr; gap: 72px; align-items: start; } }
.contact h2 { margin-bottom: 0; }
.channels { margin-top: 32px; display: grid; gap: 10px; }
.channel {
  display: flex; gap: 16px; align-items: center; padding: 16px 18px; border-radius: 16px; text-decoration: none;
  background: var(--dark-2); border: 1px solid var(--line-dark); transition: border-color .2s, transform .2s var(--ease);
}
.channel:hover { border-color: var(--gold); transform: translateX(4px); }
.channel span { display: grid; font-size: var(--fs-small); color: var(--on-dark-2); }
.channel strong { color: var(--on-dark); font-size: 1rem; }
.channel .fill { fill: var(--gold); stroke: none; }
.hours { margin-top: 20px; display: flex; gap: 12px; align-items: center; color: var(--on-dark-2); font-size: var(--fs-small); }

.form { background: var(--paper); color: var(--ink); border-radius: 24px; padding: clamp(22px, 3.4vw, 40px); display: grid; gap: 18px; }
.hp { position: absolute; left: -9999px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: .9375rem; }
.opt { font-weight: 400; color: var(--gray); }
.field input, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; color: var(--ink);
  background: #fff; border: 1.5px solid #CFCBC0; border-radius: 12px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold-deep); box-shadow: 0 0 0 4px rgba(235,188,72,.35); }
.field__err { display: none; margin: 0; font-size: .875rem; color: var(--err); font-weight: 600; }
.is-invalid + .field__err, .field.is-invalid .field__err, .field__err.is-shown { display: block; }
.field.is-invalid input { border-color: var(--err); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .9375rem; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--gold-deep); flex: none; }
.check a { color: var(--gold-deep); font-weight: 700; }
.form__status { margin: 0; text-align: center; font-weight: 700; min-height: 1.6em; }
.form__status.is-ok { color: #2B6B3F; }
.form__status.is-err { color: var(--err); }
.form__design { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 14px 16px; border-radius: 12px; background: rgba(235,188,72,.18); border: 1px solid rgba(122,90,18,.3); font-size: .9375rem; }
.form__design p { margin: 0; }
.link-btn { border: 0; background: none; text-decoration: underline; font-weight: 700; color: var(--gold-deep); min-height: 44px; padding: 0 4px; }

/* ---------- pie ---------- */
.footer { background: #0E0D0C; color: var(--on-dark-2); padding: 64px 0 calc(28px + env(safe-area-inset-bottom)); font-size: var(--fs-small); }
.footer__grid { display: grid; gap: 32px; }
@media (min-width: 800px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer h3 { color: var(--on-dark); font-size: 1rem; margin-bottom: 12px; }
.footer p { margin-bottom: .5em; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--gold); }
.footer__brand img { width: 120px; margin-bottom: 16px; }
.footer__legal { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .8125rem; }
.footer__legal a { text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 800px) {
  .footer__legal { display: grid; grid-template-columns: 1fr auto 1fr; align-items: baseline; }
  .footer__legal > p:last-child { justify-self: end; }
}

/* ---------- barra móvil ---------- */
.mbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(21,20,19,.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line-dark);
  transform: translateY(110%); transition: transform .4s var(--ease);
}
.mbar.is-shown { transform: none; }
@media (min-width: 1000px) { .mbar { display: none; } }
@media (max-width: 999px) { .footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); } }

/* ---------- aparición (la activa js/app.js con Motion) ---------- */
.js-motion [data-reveal] { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js-motion [data-reveal] { opacity: 1; }
}

/* ---------- páginas legales ---------- */
.legal { padding: calc(var(--header-h) + 48px) 0 96px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 800; margin-bottom: 24px; }
.legal h2 { font-size: 1.3rem; margin: 32px 0 10px; }
.legal .pending { background: #FFF3CD; border: 1px solid #E5C76B; padding: 2px 6px; border-radius: 6px; }

/* ---------- móvil: versión compacta (menos recorrido hasta el contacto) ---------- */
@media (max-width: 719px) {
  section { padding: 64px 0; }
  .sec-head { margin-bottom: 28px; }
  .step { display: grid; grid-template-columns: 52px 1fr; column-gap: 14px; padding: 18px 18px; }
  .step__n { grid-row: span 2; font-size: 2rem; margin: 0; }
  .step h3 { margin-bottom: 4px; }
  .craft { margin-top: 20px; gap: 16px; }
  .mat { min-height: 0; padding: 18px 18px 18px 80px; justify-content: center; }
  .mat::before { top: 50%; left: 18px; margin-top: -23px; }
  .mat h3 { margin: 0 0 4px; }
  .gal { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 6px; scrollbar-width: none; }
  .gal::-webkit-scrollbar { display: none; }
  .gal__item { flex: 0 0 78%; scroll-snap-align: center; aspect-ratio: 4 / 5; }
  .about__mascot { width: 150px; }
  .about__grid { gap: 20px; }
  .card { padding: 22px; }
  .acc summary { padding: 16px 52px 16px 18px; }
}


/* ---------- clientes (v2): credibilidad ---------- */
.clients { border-top: 1px solid var(--line-dark); overflow: hidden; }
.clients .sec-head { margin-bottom: 32px; }
.clients .sec-head .btn { flex: none; }

.ticker { border-block: 1px solid var(--line-dark); padding: 14px 0; margin-bottom: clamp(32px, 5vw, 56px); overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker__track { display: flex; gap: 40px; width: max-content; animation: ticker 48s linear infinite; }
.ticker__track li { font-size: clamp(1.25rem, 2.4vw, 1.75rem); font-weight: 800; letter-spacing: -.02em; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(235, 188, 72, .75); }
.ticker__track li:nth-child(3n+1) { color: var(--gold); -webkit-text-stroke: 0; }
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }

.viewer { display: grid; gap: 20px; }
.viewer__stage { display: none; }

.clients__grid { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 12px; scrollbar-width: none; }
.clients__grid::-webkit-scrollbar { display: none; }
.client { flex: 0 0 68%; scroll-snap-align: center; }
.client__link { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--dark-3); text-decoration: none; outline-offset: 3px; }
.client__link img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), filter .4s; }
.client__link::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.75)); pointer-events: none; }
.client__tag { position: absolute; left: 12px; bottom: 12px; right: 12px; z-index: 1; font-weight: 800; font-size: .9375rem; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.6); overflow-wrap: anywhere; line-height: 1.25; }
.client__ig { position: absolute; top: 10px; right: 10px; z-index: 1; padding: 6px 10px; border-radius: 999px; font-size: .75rem; font-weight: 700; background: rgba(21,20,19,.7); color: var(--on-dark); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }

@media (min-width: 960px) {
  .viewer { grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 24px; align-items: start; }
  .viewer__stage {
    display: block; position: sticky; top: calc(var(--header-h) + 20px);
    border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--dark-3);
    outline: 1px solid rgba(235,188,72,.35); outline-offset: -1px; text-decoration: none; color: #fff;
    box-shadow: 0 30px 80px -30px rgba(0,0,0,.8);
  }
  .viewer__stage img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
  .viewer__stage:hover img { transform: scale(1.03); }
  .viewer__stage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.8)); pointer-events: none; }
  .viewer__tag { position: absolute; left: 24px; bottom: 26px; z-index: 1; font-size: clamp(1.5rem, 2.4vw, 2.1rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; right: 24px; overflow-wrap: anywhere; }
  .viewer__cta { position: absolute; right: 18px; top: 18px; z-index: 1; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--gold); color: #1C1A16; font-weight: 700; font-size: .9375rem; transition: background-color .2s; }
  .viewer__stage:hover .viewer__cta { background: var(--gold-hi); }
  .viewer__cta svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
  .viewer__cta .fill { fill: currentColor; stroke: none; }
  .viewer__bar { position: absolute; left: 0; right: 0; top: 0; height: 3px; z-index: 1; background: rgba(255,255,255,.12); }
  .viewer__bar span { display: block; height: 100%; width: 100%; background: var(--gold); transform-origin: left; transform: scaleX(0); }

  .clients__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 0; padding: 0; overflow: visible; }
  .client { flex: none; }
  .client__tag { font-size: .8125rem; left: 10px; bottom: 10px; right: 10px; }
  .client__ig { opacity: 0; transform: translateY(-4px); transition: opacity .25s, transform .25s var(--ease); }
  .client__link:hover .client__ig, .client__link:focus-visible .client__ig { opacity: 1; transform: none; }
  .client__link:hover img { transform: scale(1.06); }
  .client__link.is-active { box-shadow: 0 0 0 2px var(--gold); }
  .client__link:not(.is-active) img { filter: saturate(.75) brightness(.85); }
  .client__link:hover img, .client__link:focus-visible img { filter: none; }
}

@media (prefers-reduced-motion: reduce) {
  .ticker__track { animation: none; }
}
.js-motion .client { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .js-motion .client { opacity: 1; } }
