/* ==========================================================================
   VDN Brands Shop — shop.css
   Misma línea gráfica que vdnbrands.com: tinta, papel y lima; Bricolage
   Grotesque, Instrument Serif en itálica y JetBrains Mono para etiquetas.
   ========================================================================== */

:root {
  --ink: #0B0B0C;
  --ink-2: #111113;
  --ink-3: #151517;
  --ink-4: #1A1A1D;
  --ink-5: #232327;
  --paper: #F5F3EE;
  --paper-2: #EDEBE5;
  --text-2: #C9C7C1;
  --muted: #A09E98;
  --muted-2: #7E7C77;
  --muted-on-light: #45443F;
  --line: rgba(245, 243, 238, 0.12);
  --line-strong: rgba(245, 243, 238, 0.22);
  --accent: #CED722;
  --accent-soft: rgba(206, 215, 34, 0.14);
  --error: #FF8A7A;
  --font-sans: 'Bricolage Grotesque', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-serif: 'Instrument Serif', 'Times New Roman', serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --max-width: 1440px;
  --gutter: clamp(16px, 4vw, 56px);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 30px;
  --radius-pill: 999px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-snap: cubic-bezier(0.2, 0.8, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p, figure, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: var(--accent); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
main:focus { outline: none; }

.skip-link { position: absolute; left: 16px; top: -100px; z-index: 300; padding: 12px 18px; border-radius: var(--radius-pill); background: var(--accent); color: var(--ink); font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 16px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.container { width: 100%; max-width: var(--max-width); margin-inline: auto; padding-inline: var(--gutter); }

.eyebrow { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.serif--accent { color: var(--accent); }
.lead { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.55; color: var(--text-2); }
.sh-nota { font-size: 13.5px; line-height: 1.5; color: var(--muted); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  min-height: 56px; padding: 0 26px;
  border: 1px solid transparent; border-radius: var(--radius-pill);
  background: transparent; font-size: 16px; font-weight: 600; text-decoration: none; white-space: nowrap;
  transition: transform 0.3s var(--ease-snap), box-shadow 0.3s ease, background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn[hidden] { display: none; }
.btn--primary { padding: 0 8px 0 24px; background: var(--accent); color: var(--ink); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(206, 215, 34, 0.22); }
.btn--primary:disabled { opacity: 0.55; transform: none; box-shadow: none; cursor: progress; }
.btn--primary:not(:has(.btn__icon)) { padding: 0 26px; }
.btn__icon { flex-shrink: 0; width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--ink); color: var(--accent); transition: transform 0.4s var(--ease-snap); }
.btn:hover .btn__icon { transform: rotate(45deg); }
.btn--ghost { border-color: rgba(245, 243, 238, 0.25); color: var(--paper); font-weight: 500; }
.btn--ghost:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.btn--sm { min-height: 44px; gap: 10px; font-size: 15px; }
.btn--md { min-height: 52px; padding: 0 24px; font-size: 15px; }
.btn--md.btn--primary:has(.btn__icon) { padding: 0 6px 0 22px; }
.btn--md .btn__icon { width: 40px; height: 40px; }
.btn--lg { min-height: 60px; font-size: 17px; }
.btn--lg.btn--primary:has(.btn__icon) { padding: 0 8px 0 28px; }
.btn--lg .btn__icon { width: 46px; height: 46px; }
.btn--block { display: flex; justify-content: space-between; width: 100%; }
.btn--block:not(:has(.btn__icon)) { justify-content: center; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Banderas y país ---------- */
.flag { display: inline-block; flex-shrink: 0; width: 18px; height: 12px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(245, 243, 238, 0.2); }
.flag--co { background: linear-gradient(#FCD116 0 50%, #003893 50% 75%, #CE1126 75%); }
.flag--es { background: linear-gradient(#AA151B 0 25%, #F1BF00 25% 75%, #AA151B 75%); }
.pais-switch { display: inline-flex; align-items: center; gap: 2px; padding: 4px; border: 1px solid var(--line); border-radius: var(--radius-pill); background: #121214; }
.pais-switch__btn { display: inline-flex; align-items: center; gap: 7px; min-height: 34px; padding: 0 11px; border-radius: var(--radius-pill); color: var(--muted); font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; text-decoration: none; }
.pais-switch__btn:hover { color: var(--paper); }
.pais-switch__btn[aria-current="true"] { background: var(--accent-soft); color: var(--accent); }

/* ---------- Aviso de demostración ---------- */
.sh-demo { padding: 8px var(--gutter); background: var(--accent); color: var(--ink); font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; text-align: center; }

/* ---------- Cabecera ---------- */
.sh-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); background: rgba(11, 11, 12, 0.86); backdrop-filter: blur(14px); }
.sh-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.sh-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.sh-brand__logo { width: clamp(118px, 12vw, 158px); height: auto; }
.sh-brand__tag { padding: 6px 11px; border-radius: var(--radius-pill); background: var(--accent); color: var(--ink); font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; }
.sh-nav { display: flex; align-items: center; gap: 2px; padding: 5px; border: 1px solid var(--line); border-radius: var(--radius-pill); }
.sh-nav__link { padding: 9px 16px; border-radius: var(--radius-pill); color: var(--text-2); font-size: 15px; font-weight: 500; text-decoration: none; transition: color 0.2s ease, background-color 0.2s ease; }
.sh-nav__link:hover, .sh-nav__link[aria-current="page"] { background: rgba(245, 243, 238, 0.07); color: var(--paper); }
.sh-header__actions { display: flex; align-items: center; gap: 12px; }
.sh-header__web { color: var(--muted); font-size: 14px; text-decoration: none; white-space: nowrap; }
.sh-header__web:hover { color: var(--paper); }
.sh-menu { position: relative; display: none; }
.sh-menu__btn { width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line-strong); border-radius: 50%; list-style: none; cursor: pointer; }
.sh-menu__btn::-webkit-details-marker { display: none; }
.sh-menu__panel { position: absolute; right: 0; top: calc(100% + 10px); display: flex; flex-direction: column; min-width: 250px; padding: 10px; border: 1px solid var(--line-strong); border-radius: var(--radius-md); background: var(--ink-2); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5); }
.sh-menu__panel a { padding: 12px 14px; border-radius: 12px; color: var(--paper); text-decoration: none; }
.sh-menu__panel a:hover { background: var(--ink-4); }
.sh-menu__wa { color: var(--accent) !important; }

@media (max-width: 980px) {
  .sh-nav, .sh-header__web { display: none; }
  .sh-menu { display: block; }
  .sh-header__inner { min-height: 66px; }
}

/* ---------- Avisos ---------- */
.sh-avisos { display: flex; flex-direction: column; gap: 8px; padding-top: 18px; }
.sh-aviso { padding: 14px 18px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--ink-3); font-size: 15px; line-height: 1.45; }
.sh-aviso--ok { border-color: rgba(206, 215, 34, 0.55); color: var(--paper); }
.sh-aviso--ok::before { content: "✓ "; color: var(--accent); font-weight: 700; }
.sh-aviso--error { border-color: rgba(255, 138, 122, 0.55); color: #FFD9D3; }
.sh-aviso--info { color: var(--text-2); }
.sh-aviso a { color: var(--accent); }

/* ---------- Piezas comunes ---------- */
.sh-pill { display: inline-flex; padding: 5px 10px; border-radius: var(--radius-pill); background: var(--accent); color: var(--ink); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; }
.sh-tag { display: inline-flex; padding: 5px 10px; border: 1px solid rgba(206, 215, 34, 0.5); border-radius: var(--radius-pill); color: var(--accent); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; white-space: nowrap; }
.sh-tag--quiet { border-color: var(--line-strong); color: var(--muted); }
.sh-titulo { font-size: clamp(36px, 4.6vw, 68px); font-weight: 700; line-height: 0.98; letter-spacing: -0.045em; }
.sh-titulo .serif { font-size: 1.06em; }
.sh-titulo--md { font-size: clamp(32px, 3.6vw, 52px); }
.sh-titulo--sm { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.05; }
.sh-seccion { padding-top: clamp(80px, 9vw, 140px); }
.sh-seccion__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; margin-bottom: clamp(28px, 3.4vw, 48px); }
.sh-seccion__head > div { display: flex; flex-direction: column; gap: 14px; max-width: 820px; }
.sh-seccion__intro { max-width: 420px; color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.sh-migas { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 26px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.sh-migas a { text-decoration: none; }
.sh-migas a:hover { color: var(--paper); }
.sh-migas [aria-current] { color: var(--paper); }

.sh-check, .sh-mas { display: flex; flex-direction: column; gap: 11px; list-style: none; }
.sh-check li, .sh-mas li { position: relative; padding-left: 30px; font-size: 15px; line-height: 1.45; color: var(--text-2); }
.sh-check li::before { content: ""; position: absolute; left: 0; top: 1px; width: 19px; height: 19px; border-radius: 50%; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B0B0C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8.5'/%3E%3C/svg%3E") center / 12px no-repeat, var(--accent); }
.sh-mas li::before { content: "+"; position: absolute; left: 3px; top: -1px; color: var(--accent); font-weight: 700; font-size: 18px; }
.sh-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.sh-chips li { padding: 8px 14px; border: 1px solid rgba(206, 215, 34, 0.4); border-radius: var(--radius-pill); color: var(--accent); font-size: 14px; font-weight: 500; }

.ilus { width: 100%; height: auto; }

/* ---------- Portada: hero ---------- */
.sh-hero { padding-block: clamp(48px, 7vw, 110px) clamp(24px, 3vw, 40px); background: radial-gradient(60% 70% at 85% 10%, rgba(206, 215, 34, 0.1), transparent 60%); }
.sh-hero__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr); gap: clamp(36px, 5vw, 80px); align-items: center; }
.sh-hero__text { display: flex; flex-direction: column; gap: 24px; }
.sh-hero__title { font-size: clamp(44px, 6.4vw, 104px); font-weight: 700; line-height: 0.95; letter-spacing: -0.05em; }
.sh-hero__title .serif { font-size: 1.07em; }
.sh-buscar { display: flex; gap: 10px; max-width: 680px; padding: 6px; border: 1px solid var(--line-strong); border-radius: var(--radius-pill); background: var(--ink-2); }
.sh-buscar__campo { flex: 1; min-width: 0; padding: 0 18px; border: 0; background: transparent; font-size: 16px; }
.sh-buscar__campo::placeholder { color: var(--muted-2); }
.sh-buscar__campo:focus { outline: none; }
.sh-buscar:focus-within { border-color: var(--accent); }
.sh-buscar__res:empty { display: none; }
.sh-buscar__res { display: flex; flex-direction: column; gap: 10px; max-width: 680px; margin-top: -10px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--ink-2); font-size: 15px; color: var(--text-2); }
.sh-buscar__res .button-row a { min-height: 44px; }

.sh-hero__card { display: flex; flex-direction: column; gap: 16px; }
.sh-cotiz { display: flex; flex-direction: column; gap: 11px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--ink-2); box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45); transform: rotate(-1.5deg); transition: transform 0.6s var(--ease-snap); }
.sh-cotiz:hover { transform: rotate(0deg); }
.sh-cotiz__head { display: flex; align-items: center; gap: 9px; padding-bottom: 10px; border-bottom: 1px solid var(--line); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.sh-cotiz__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); animation: latido 2.4s ease-in-out infinite; }
.sh-cotiz__line, .sh-cotiz__total { display: flex; justify-content: space-between; gap: 14px; }
.sh-cotiz__line { font-size: 15px; color: var(--text-2); }
.sh-cotiz__line b { color: var(--paper); font-weight: 600; white-space: nowrap; }
.sh-cotiz__line--free b { color: var(--accent); font-weight: 500; }
.sh-cotiz__total { align-items: baseline; margin-top: 4px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.sh-cotiz__total b { font-size: 30px; letter-spacing: -0.04em; color: var(--paper); white-space: nowrap; }
.sh-cotiz__pay { margin-top: 6px; padding: 14px; border-radius: var(--radius-pill); background: var(--accent); color: var(--ink); font-weight: 600; text-align: center; text-decoration: none; }
.sh-cotiz__note { font-size: 12.5px; color: var(--muted); text-align: center; }
.sh-hero__promo { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border: 1px solid rgba(206, 215, 34, 0.35); border-radius: var(--radius-pill); background: var(--accent-soft); font-size: 14.5px; color: var(--paper); }
.sh-hero__promo strong { color: var(--accent); }
@keyframes latido { 50% { opacity: 0.45; } }

@media (max-width: 900px) {
  .sh-hero__grid { grid-template-columns: minmax(0, 1fr); }
  .sh-cotiz { transform: none; }
}

@media (max-width: 560px) {
  .sh-buscar { flex-direction: column; border-radius: var(--radius-md); }
  .sh-buscar__campo { min-height: 46px; }
}

/* ---------- Productos ---------- */
.sh-productos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.sh-prod { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--ink-2); color: var(--paper); text-decoration: none; transition: border-color 0.3s ease, transform 0.45s var(--ease-snap), box-shadow 0.45s ease; }
.sh-prod:hover { border-color: var(--line-strong); transform: translateY(-4px); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); }
.sh-prod__media { display: block; padding: 18px 18px 0; background: radial-gradient(90% 90% at 50% 0%, rgba(206, 215, 34, 0.08), transparent 70%); }
.sh-prod__body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 20px 24px 24px; }
.sh-prod__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sh-prod__num { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.sh-prod__name { font-size: clamp(24px, 2vw, 30px); font-weight: 700; line-height: 1.05; letter-spacing: -0.035em; }
.sh-prod__text { font-size: 15px; line-height: 1.5; color: var(--muted); }
.sh-prod__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.sh-prod__price { display: flex; flex-direction: column; font-size: 26px; font-weight: 700; letter-spacing: -0.035em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.sh-prod__price small { font-family: var(--font-mono); font-size: 11px; font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.sh-prod__go { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 600; font-size: 15px; white-space: nowrap; }
.sh-prod__go svg { transition: transform 0.3s var(--ease-snap); }
.sh-prod:hover .sh-prod__go svg { transform: translate(2px, -2px); }
.sh-prod__planes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 6px; }
.sh-prod__plan { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--ink); }
.sh-prod__plan b { font-size: 16px; }
.sh-prod__plan small { color: var(--muted); font-size: 13px; line-height: 1.35; }
.sh-prod__plan em { margin-top: 6px; font-style: normal; font-size: 24px; font-weight: 700; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }
.sh-prod__gratis { align-self: flex-start; padding: 7px 12px; border-radius: var(--radius-pill); background: var(--accent-soft); color: var(--accent); font-size: 13.5px; font-weight: 500; }
.sh-prod--destacado { grid-column: span 2; flex-direction: row; border-color: rgba(206, 215, 34, 0.5); }
.sh-prod--destacado .sh-prod__media { display: flex; align-items: center; flex: 1.1; padding: 24px; }
.sh-prod--destacado .sh-prod__body { flex: 1; padding: clamp(24px, 2.6vw, 36px); }
.sh-prod--destacado .sh-prod__name { font-size: clamp(30px, 3vw, 44px); }

@media (max-width: 1000px) {
  .sh-productos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .sh-productos { grid-template-columns: minmax(0, 1fr); }
  .sh-prod--destacado { grid-column: auto; flex-direction: column; }
  .sh-prod--destacado .sh-prod__media { padding: 18px 18px 0; }
}

/* ---------- Banda «sin coste» ---------- */
.sh-gratis { margin-top: clamp(80px, 9vw, 140px); padding-block: clamp(44px, 5vw, 72px); background: var(--accent); color: var(--ink); }
.sh-gratis__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px 60px; align-items: center; }
.sh-gratis__eyebrow { color: rgba(11, 11, 12, 0.7); }
.sh-gratis__title { margin-top: 12px; font-size: clamp(32px, 3.8vw, 58px); font-weight: 700; line-height: 0.98; letter-spacing: -0.045em; }
.sh-gratis__lista { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; list-style: none; }
.sh-gratis__lista li { position: relative; padding: 14px 16px 14px 48px; border-radius: var(--radius-sm); background: rgba(11, 11, 12, 0.08); font-size: 16px; font-weight: 600; }
.sh-gratis__lista li::before { content: ""; position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; margin-top: -10px; border-radius: 50%; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23CED722' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8.5'/%3E%3C/svg%3E") center / 12px no-repeat, var(--ink); }
@media (max-width: 820px) {
  .sh-gratis__inner { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
  .sh-gratis__lista { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Dominio ---------- */
.sh-dominio { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 32px 60px; align-items: center; padding: clamp(28px, 4vw, 56px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: radial-gradient(80% 120% at 0% 0%, rgba(206, 215, 34, 0.09), transparent 60%), var(--ink-2); }
.sh-dominio__text { display: flex; flex-direction: column; gap: 14px; }
.sh-dominio--solo { grid-template-columns: minmax(0, 1fr); max-width: 860px; }
.sh-dom { display: flex; flex-direction: column; gap: 14px; }
.sh-dom__fila { display: flex; gap: 10px; padding: 6px; border: 1px solid var(--line-strong); border-radius: var(--radius-pill); background: var(--ink); }
.sh-dom__fila:focus-within { border-color: var(--accent); }
.sh-dom__campo { flex: 1; min-width: 0; padding: 0 18px; border: 0; background: transparent; font-size: 17px; }
.sh-dom__campo:focus { outline: none; }
.sh-dom__res:empty { display: none; }
.sh-dom__res { display: flex; flex-direction: column; gap: 8px; }
.sh-dom__item { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--ink-3); }
.sh-dom__item--principal { border-color: var(--line-strong); }
.sh-dom__nombre { font-size: 17px; font-weight: 600; word-break: break-all; }
.sh-dom__item a, .sh-dom__usar { color: var(--accent); font-weight: 600; font-size: 14px; text-decoration: none; background: none; border: 0; padding: 0; }
.sh-dom__nota { font-size: 12.5px; color: var(--muted-2); line-height: 1.5; }
.sh-dom__msg { color: var(--text-2); font-size: 14.5px; }
.sh-estado { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: var(--radius-pill); font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.04em; white-space: nowrap; border: 1px solid var(--line-strong); color: var(--text-2); }
.sh-estado::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.sh-estado--libre, .sh-estado--pagado, .sh-estado--entregado, .sh-estado--aprobado { border-color: rgba(206, 215, 34, 0.55); color: var(--accent); }
.sh-estado--probable, .sh-estado--propuesta, .sh-estado--produccion, .sh-estado--revision_cliente { border-color: rgba(245, 214, 120, 0.5); color: #F5D678; }
.sh-estado--ocupado, .sh-estado--cancelado { border-color: rgba(255, 138, 122, 0.5); color: var(--error); }
.sh-estado--pendiente_pago, .sh-estado--pendiente_info, .sh-estado--cambios { color: var(--text-2); }
@media (max-width: 860px) {
  .sh-dominio { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .sh-dom__fila { flex-direction: column; border-radius: var(--radius-md); }
  .sh-dom__campo { min-height: 46px; }
}
.sh-leyenda { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-block: 28px 0; max-width: 860px; }
.sh-leyenda > div { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; font-size: 14.5px; color: var(--muted); }
@media (max-width: 700px) { .sh-leyenda { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Para quién, pasos, preguntas, cierre ---------- */
.sh-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.sh-split__card { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: clamp(28px, 3.4vw, 48px); border: 1px solid rgba(206, 215, 34, 0.4); border-radius: var(--radius-lg); background: radial-gradient(90% 100% at 100% 0%, rgba(206, 215, 34, 0.12), transparent 60%), var(--ink-2); }
.sh-split__card--dark { border-color: var(--line); background: var(--ink-2); }
.sh-split__card p { color: var(--text-2); line-height: 1.55; max-width: 52ch; }
.sh-pagina .sh-split { margin-top: clamp(48px, 6vw, 80px); }
@media (max-width: 800px) { .sh-split { grid-template-columns: minmax(0, 1fr); } }

.sh-pasos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; list-style: none; }
.sh-pasos li { display: flex; flex-direction: column; gap: 10px; padding: 26px 24px; border-top: 1px solid var(--line-strong); }
.sh-pasos__num { font-family: var(--font-mono); font-size: 12px; color: var(--accent); }
.sh-pasos h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.sh-pasos p { font-size: 15px; line-height: 1.55; color: var(--muted); }
@media (max-width: 900px) { .sh-pasos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .sh-pasos { grid-template-columns: minmax(0, 1fr); } }

.sh-faq__lista { display: flex; flex-direction: column; max-width: 900px; border-top: 1px solid var(--line); }
.sh-faq__lista details { border-bottom: 1px solid var(--line); }
.sh-faq__lista summary { display: flex; justify-content: space-between; gap: 20px; padding: 22px 4px; font-size: clamp(17px, 1.4vw, 20px); font-weight: 600; letter-spacing: -0.01em; list-style: none; cursor: pointer; }
.sh-faq__lista summary::-webkit-details-marker { display: none; }
.sh-faq__lista summary::after { content: "+"; color: var(--accent); font-size: 24px; line-height: 1; transition: transform 0.3s var(--ease-snap); }
.sh-faq__lista details[open] summary::after { transform: rotate(45deg); }
.sh-faq__lista details p { padding: 0 4px 22px; max-width: 70ch; color: var(--text-2); line-height: 1.6; }

.sh-cierre { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; padding-block: clamp(90px, 10vw, 160px); }
.sh-cierre__title { font-size: clamp(44px, 7vw, 116px); font-weight: 700; line-height: 0.95; letter-spacing: -0.05em; }

/* ---------- Pie ---------- */
.sh-footer { padding-block: clamp(56px, 6vw, 88px) 28px; border-top: 1px solid var(--line); background: var(--ink); }
.sh-footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 32px; }
.sh-footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.sh-footer__col a { color: var(--text-2); font-size: 15px; text-decoration: none; }
.sh-footer__col a:hover { color: var(--accent); }
.sh-footer__logo { width: 180px; height: auto; margin-bottom: 8px; }
.sh-footer__lema { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; max-width: 16ch; }
.sh-footer__muted { color: var(--muted-2); font-size: 13.5px; }
.sh-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted-2); font-size: 13px; }
.sh-footer__legal { display: flex; flex-wrap: wrap; gap: 18px; }
.sh-footer__legal a { text-decoration: none; }
.sh-footer__legal a:hover { color: var(--paper); }
@media (max-width: 860px) { .sh-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .sh-footer__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- WhatsApp flotante ---------- */
.sh-wa { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px 12px 14px; border-radius: var(--radius-pill); background: var(--paper); color: var(--ink); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45); font-size: 14px; text-decoration: none; transition: transform 0.3s var(--ease-snap); }
.sh-wa:hover { transform: translateY(-3px); }
.sh-wa svg { color: var(--ink); }
.vista-configurar .sh-wa { bottom: 92px; }
@media (min-width: 1101px) { .vista-configurar .sh-wa { bottom: 18px; } }
@media (max-width: 560px) { .sh-wa span { display: none; } .sh-wa { padding: 14px; } }

/* ---------- Ficha de producto ---------- */
.sh-ficha { padding-bottom: clamp(80px, 9vw, 140px); }
.sh-ficha__grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(32px, 4vw, 72px); align-items: start; margin-top: 22px; }
.sh-ficha__main { display: flex; flex-direction: column; gap: 32px; }
.sh-ficha__num { color: var(--accent); }
.sh-ficha__title { margin-top: -18px; font-size: clamp(44px, 6vw, 92px); font-weight: 700; line-height: 0.95; letter-spacing: -0.05em; }
.sh-ficha__media { padding: clamp(18px, 3vw, 36px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: radial-gradient(70% 90% at 50% 0%, rgba(206, 215, 34, 0.08), transparent 70%), var(--ink-2); }
.sh-ficha__media .ilus { max-width: 620px; margin-inline: auto; }
.sh-ficha__dos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 40px; }
.sh-ficha__dos > div { display: flex; flex-direction: column; gap: 12px; }
.sh-ficha__dos p { color: var(--text-2); line-height: 1.55; }
.sh-ficha__gratis, .sh-ficha__planes { display: flex; flex-direction: column; gap: 14px; }
.sh-planes { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.sh-plan { display: flex; flex-direction: column; gap: 6px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--ink-2); }
.sh-plan__name { font-size: 19px; font-weight: 700; letter-spacing: -0.02em; }
.sh-plan__det { font-size: 14px; color: var(--muted); line-height: 1.45; }
.sh-plan__price { margin-top: 6px; font-size: 26px; font-weight: 700; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }
.sh-plan__go { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; color: var(--accent); font-weight: 600; font-size: 14.5px; text-decoration: none; }
.sh-ficha__casos { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius-md); text-decoration: none; transition: border-color 0.3s ease; }
.sh-ficha__casos:hover { border-color: var(--accent); }
.sh-ficha__casos > span { display: flex; flex-direction: column; gap: 6px; }
.sh-ficha__casos-t { font-size: 18px; font-weight: 600; }
.sh-ficha__casos svg { color: var(--accent); flex-shrink: 0; }
.sh-ficha__aside { position: sticky; top: 100px; }
.sh-compra { display: flex; flex-direction: column; gap: 14px; padding: 28px; border: 1px solid rgba(206, 215, 34, 0.45); border-radius: var(--radius-lg); background: radial-gradient(100% 70% at 100% 0%, rgba(206, 215, 34, 0.12), transparent 60%), var(--ink-2); }
.sh-compra__price { font-size: clamp(44px, 4vw, 62px); font-weight: 700; line-height: 0.95; letter-spacing: -0.05em; color: var(--accent); font-variant-numeric: tabular-nums; }
.sh-compra__price small { font-size: 0.45em; color: var(--text-2); letter-spacing: -0.02em; }
.sh-compra__iva { margin-top: -8px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.sh-compra__datos { display: flex; flex-direction: column; gap: 10px; padding-block: 14px; border-block: 1px solid var(--line); }
.sh-compra__datos > div { display: flex; justify-content: space-between; gap: 14px; font-size: 14.5px; }
.sh-compra__datos dt { color: var(--muted); }
.sh-compra__datos dd { text-align: right; color: var(--paper); }
.sh-compra__wa { justify-content: center; }
.sh-compra__nota { font-size: 13px; color: var(--muted); text-align: center; }
@media (max-width: 980px) {
  .sh-ficha__grid { grid-template-columns: minmax(0, 1fr); }
  .sh-ficha__aside { position: static; order: -1; }
}
@media (max-width: 600px) { .sh-ficha__dos { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Páginas sencillas ---------- */
.sh-pagina { padding-bottom: clamp(80px, 9vw, 140px); }
.sh-pagina__head { display: flex; flex-direction: column; gap: 18px; max-width: 860px; margin-block: 26px 36px; }
.sh-error { display: flex; flex-direction: column; gap: 20px; padding-block: clamp(80px, 10vw, 160px); max-width: 860px; }
.sh-legal { max-width: 860px; padding-bottom: clamp(80px, 9vw, 140px); }
.sh-legal .sh-titulo { margin-block: 26px 10px; }
.sh-legal h2 { margin: 34px 0 10px; font-size: 21px; letter-spacing: -0.015em; }
.sh-legal p, .sh-legal li { color: var(--text-2); line-height: 1.65; }
.sh-legal ul { display: flex; flex-direction: column; gap: 8px; padding-left: 20px; }
.sh-legal a { color: var(--accent); }

/* ==========================================================================
   Configurador
   ========================================================================== */
.vista-configurar main { padding-bottom: 120px; }
.cfg-top { display: flex; flex-direction: column; gap: 14px; }
.cfg-top__fila { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; }
.cfg-top__title { font-size: clamp(32px, 4vw, 58px); font-weight: 700; line-height: 1; letter-spacing: -0.045em; }
.cfg-top__guardado { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.06em; color: var(--muted-2); }
.cfg-progreso { height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.cfg-progreso i { display: block; height: 100%; width: 0; background: var(--accent); transition: width 0.5s var(--ease-out); }

.cfg { display: grid; grid-template-columns: 220px minmax(0, 1fr) 360px; gap: clamp(20px, 2.6vw, 40px); align-items: start; margin-top: 28px; }
.cfg__cargando { grid-column: 1 / -1; padding: 60px 0; color: var(--muted); text-align: center; }

/* Pasos (raíl) */
.cfg-rail { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 4px; list-style: none; }
.cfg-rail button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; border: 0; border-radius: 12px; background: transparent; color: var(--muted); font-size: 14.5px; text-align: left; transition: background-color 0.2s ease, color 0.2s ease; }
.cfg-rail button:hover { background: var(--ink-3); color: var(--paper); }
.cfg-rail button[aria-current="step"] { background: var(--ink-3); color: var(--paper); font-weight: 600; }
.cfg-rail__n { flex-shrink: 0; width: 26px; height: 26px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line-strong); border-radius: 50%; font-family: var(--font-mono); font-size: 11px; }
.cfg-rail button[aria-current="step"] .cfg-rail__n { border-color: var(--accent); background: var(--accent); color: var(--ink); }
.cfg-rail button.is-hecho .cfg-rail__n { border-color: rgba(206, 215, 34, 0.6); color: var(--accent); }

/* Paso actual */
.cfg-paso { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.cfg-paso__head { display: flex; flex-direction: column; gap: 10px; }
.cfg-paso__title { font-size: clamp(28px, 2.8vw, 40px); font-weight: 700; line-height: 1.02; letter-spacing: -0.04em; }
.cfg-paso__intro { color: var(--text-2); font-size: 16.5px; line-height: 1.5; }
.cfg-q { display: flex; flex-direction: column; gap: 12px; }
.cfg-q__label { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
.cfg-q__ayuda { margin-top: -6px; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.cfg-ops { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.cfg-op { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-height: 58px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--ink-2); color: var(--paper); font-size: 15.5px; font-weight: 500; line-height: 1.3; text-align: left; transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease; }
.cfg-op:hover { border-color: var(--line-strong); transform: translateY(-1px); }
.cfg-op small { color: var(--muted); font-size: 13px; font-weight: 400; }
.cfg-op[aria-pressed="true"], .cfg-op[aria-checked="true"] { border-color: var(--accent); background: var(--accent-soft); }
.cfg-op[aria-pressed="true"] small, .cfg-op[aria-checked="true"] small { color: var(--text-2); }
.cfg-op--multi { padding-left: 46px; position: relative; }
.cfg-op--multi::before { content: ""; position: absolute; left: 16px; top: 16px; width: 18px; height: 18px; border: 1.5px solid var(--line-strong); border-radius: 5px; }
.cfg-op--multi[aria-pressed="true"]::before { border-color: var(--accent); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B0B0C' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8.5'/%3E%3C/svg%3E") center / 13px no-repeat, var(--accent); }
.cfg-input { width: 100%; max-width: 560px; min-height: 52px; padding: 12px 16px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--ink-2); font-size: 16px; }
textarea.cfg-input { min-height: 110px; resize: vertical; line-height: 1.5; }
.cfg-input:focus { outline: none; border-color: var(--accent); }
.cfg-input::placeholder { color: var(--muted-2); }
.cfg-num { display: inline-flex; align-items: center; gap: 4px; padding: 4px; border: 1px solid var(--line-strong); border-radius: var(--radius-pill); background: var(--ink-2); align-self: flex-start; }
.cfg-num button { width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--ink-4); font-size: 20px; line-height: 1; }
.cfg-num button:hover:not(:disabled) { background: var(--accent); color: var(--ink); }
.cfg-num button:disabled { opacity: 0.35; cursor: default; }
.cfg-num output { min-width: 56px; text-align: center; font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; }
.cfg-info { display: flex; gap: 14px; padding: 16px 18px; border: 1px dashed var(--line-strong); border-radius: var(--radius-sm); color: var(--text-2); font-size: 14.5px; line-height: 1.5; }
.cfg-info svg { flex-shrink: 0; color: var(--accent); margin-top: 1px; }
.cfg-dom { display: flex; flex-direction: column; gap: 10px; max-width: 620px; }
.cfg-dom__fila { display: flex; gap: 8px; }
.cfg-dom__fila .cfg-input { flex: 1; }
.cfg-dom__fila .btn { min-height: 52px; }
@media (max-width: 520px) { .cfg-dom__fila { flex-direction: column; } }

/* Recomendaciones */
.cfg-recs { display: flex; flex-direction: column; gap: 10px; }
.cfg-rec { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px; border: 1px solid rgba(206, 215, 34, 0.35); border-radius: var(--radius-md); background: linear-gradient(135deg, rgba(206, 215, 34, 0.08), transparent 60%), var(--ink-2); }
.cfg-rec.is-dentro { border-color: var(--accent); }
.cfg-rec__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; }
.cfg-rec__title { font-size: 17px; font-weight: 600; }
.cfg-rec__precio { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cfg-rec__precio.es-gratis { color: var(--accent); }
.cfg-rec__motivo { font-size: 14.5px; line-height: 1.5; color: var(--text-2); }
.cfg-rec__acciones { display: flex; flex-wrap: wrap; gap: 8px; }
.cfg-rec__acciones button { min-height: 40px; padding: 0 16px; border-radius: var(--radius-pill); font-size: 14px; font-weight: 600; }
.cfg-rec__add { border: 0; background: var(--accent); color: var(--ink); }
.cfg-rec__no { border: 1px solid var(--line-strong); background: transparent; color: var(--text-2); }

.cfg-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 22px; border-top: 1px solid var(--line); }
.cfg-wa { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; text-decoration: none; }
.cfg-wa:hover { color: var(--accent); }

/* Cotización */
.cfg-cot { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 14px; padding: 24px; border: 1px solid var(--line-strong); border-radius: var(--radius-lg); background: var(--ink-2); }
.cfg-cot__title { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.cfg-cot__plan { display: inline-flex; align-self: flex-start; padding: 5px 10px; border-radius: var(--radius-pill); background: var(--accent-soft); color: var(--accent); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; }
.sh-lineas, .cfg-lineas { display: flex; flex-direction: column; gap: 9px; list-style: none; }
.sh-lineas li, .cfg-lineas li { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; line-height: 1.35; color: var(--text-2); }
.sh-lineas b, .cfg-lineas b { color: var(--paper); font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.sh-lineas .es-gratis b, .cfg-lineas .es-gratis b { color: var(--accent); font-weight: 500; }
.sh-lineas .es-asesor b, .cfg-lineas .es-asesor b { color: var(--muted); font-weight: 500; }
.sh-total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.sh-total b { font-size: 30px; letter-spacing: -0.04em; color: var(--paper); font-variant-numeric: tabular-nums; white-space: nowrap; }
.sh-total--sub { padding-top: 6px; border-top: 0; }
.sh-total--sub b { font-size: 18px; }
.cfg-cot__sub { font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.cfg-cot__ahorro { padding: 10px 12px; border-radius: 12px; background: var(--accent-soft); color: var(--paper); font-size: 13.5px; line-height: 1.45; }
.cfg-cot__ahorro b { color: var(--accent); }
.cfg-cot__revision { padding: 10px 12px; border: 1px solid rgba(245, 214, 120, 0.4); border-radius: 12px; color: #F5D678; font-size: 13.5px; line-height: 1.45; }
.cfg-cot.is-cargando .sh-total b { opacity: 0.45; }
.cfg-cot__barra { display: none; }

@media (max-width: 1240px) {
  .cfg { grid-template-columns: minmax(0, 1fr) 340px; }
  .cfg-rail { position: static; grid-column: 1 / -1; flex-direction: row; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
  .cfg-rail::-webkit-scrollbar { display: none; }
  .cfg-rail li { flex-shrink: 0; }
  .cfg-rail button { white-space: nowrap; }
}
@media (max-width: 900px) {
  .cfg { grid-template-columns: minmax(0, 1fr); }
  .cfg-cot { position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 55; max-height: 78vh; overflow-y: auto; padding: 0 var(--gutter) 18px; border-width: 1px 0 0; border-radius: var(--radius-md) var(--radius-md) 0 0; box-shadow: 0 -20px 50px rgba(0, 0, 0, 0.55); }
  .cfg-cot__barra { position: sticky; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-inline: calc(var(--gutter) * -1); padding: 14px var(--gutter); border: 0; background: var(--ink-2); color: var(--paper); text-align: left; }
  .cfg-cot__barra b { font-size: 22px; letter-spacing: -0.03em; }
  .cfg-cot__barra small { display: block; color: var(--muted); font-size: 12px; }
  .cfg-cot__det { display: none; flex-direction: column; gap: 14px; }
  .cfg-cot.is-abierta .cfg-cot__det { display: flex; }
  .cfg-cot__chev { transition: transform 0.3s ease; }
  .cfg-cot.is-abierta .cfg-cot__chev { transform: rotate(180deg); }
}
@media (min-width: 901px) {
  .cfg-cot__det { display: flex; flex-direction: column; gap: 14px; }
}

/* Revisión final */
.cfg-rev { display: flex; flex-direction: column; gap: 16px; }
.cfg-rev__bloque { padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--ink-2); }
.cfg-rev__cab { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.cfg-rev__cab h3 { font-size: 16px; }
.cfg-rev__cab button { border: 0; background: none; color: var(--accent); font-size: 14px; font-weight: 600; padding: 0; }
.sh-datos { display: flex; flex-direction: column; gap: 8px; }
.sh-datos > div { display: grid; grid-template-columns: minmax(140px, 0.9fr) minmax(0, 1.1fr); gap: 12px; font-size: 14.5px; line-height: 1.45; }
.sh-datos dt { color: var(--muted); }
.sh-datos dd { color: var(--paper); overflow-wrap: anywhere; }
@media (max-width: 560px) { .sh-datos > div { grid-template-columns: minmax(0, 1fr); gap: 2px; } }
.cfg-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; padding: 22px; border: 1px solid rgba(206, 215, 34, 0.4); border-radius: var(--radius-md); background: var(--ink-2); }
.cfg-form h3 { grid-column: 1 / -1; font-size: 20px; letter-spacing: -0.02em; }
.campo { display: flex; flex-direction: column; gap: 8px; }
.campo--ancho, .cfg-form .campo--ancho { grid-column: 1 / -1; }
.campo__label { font-size: 14px; font-weight: 600; color: var(--text-2); }
.campo__input { width: 100%; min-height: 50px; padding: 12px 15px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--ink); font-size: 16px; }
textarea.campo__input { min-height: 96px; resize: vertical; line-height: 1.5; }
.campo__input:focus { outline: none; border-color: var(--accent); }
.campo__input::placeholder { color: var(--muted-2); }
.cfg-acepto { grid-column: 1 / -1; display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--text-2); }
.cfg-acepto input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--accent); flex-shrink: 0; }
.cfg-acepto a { color: var(--accent); }
.cfg-trampa { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.cfg-error { grid-column: 1 / -1; color: #FFD9D3; font-size: 14.5px; }
.cfg-error:empty { display: none; }
.cfg-enviar { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
@media (max-width: 600px) { .cfg-form { grid-template-columns: minmax(0, 1fr); } }

/* ==========================================================================
   Pedido, pago y materiales
   ========================================================================== */
.sh-pedido, .sh-mat { padding-block: 34px clamp(80px, 9vw, 140px); }
.sh-pedido__head { display: flex; flex-direction: column; gap: 16px; max-width: 900px; margin-bottom: 34px; }
.sh-pedido__grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: clamp(24px, 3vw, 56px); align-items: start; }
.sh-pedido__main { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.sh-pedido__aside { position: sticky; top: 100px; }
.sh-pago { display: flex; flex-direction: column; gap: 16px; padding: clamp(22px, 3vw, 34px); border: 1px solid rgba(206, 215, 34, 0.5); border-radius: var(--radius-lg); background: radial-gradient(90% 90% at 100% 0%, rgba(206, 215, 34, 0.1), transparent 60%), var(--ink-2); }
.sh-pago__title { font-size: 24px; letter-spacing: -0.02em; }
.sh-pago__importe { font-size: 40px; font-weight: 700; letter-spacing: -0.04em; color: var(--accent); }
.sh-pago__importe small { font-size: 14px; color: var(--muted); letter-spacing: 0; font-weight: 400; }
.sh-pago__nota { font-size: 13px; color: var(--muted); line-height: 1.5; }
.sh-opciones { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; border: 0; }
.sh-opcion { position: relative; display: flex; gap: 12px; padding: 16px 18px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--ink); cursor: pointer; transition: border-color 0.2s ease, background-color 0.2s ease; }
.sh-opcion input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent); flex-shrink: 0; }
.sh-opcion span { display: flex; flex-direction: column; gap: 3px; }
.sh-opcion b { font-size: 16px; }
.sh-opcion small { color: var(--muted); font-size: 13.5px; line-height: 1.4; }
.sh-opcion:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
@media (max-width: 600px) { .sh-opciones { grid-template-columns: minmax(0, 1fr); } }
.sh-materiales-cta { display: flex; align-items: center; gap: 18px; padding: 22px 24px; border: 1px solid var(--accent); border-radius: var(--radius-md); background: var(--accent); color: var(--ink); text-decoration: none; transition: transform 0.3s var(--ease-snap); }
.sh-materiales-cta:hover { transform: translateY(-3px); }
.sh-materiales-cta > span:nth-child(2) { display: flex; flex: 1; flex-direction: column; gap: 4px; }
.sh-materiales-cta__icon { width: 52px; height: 52px; display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; border-radius: 50%; background: var(--ink); color: var(--accent); }
.sh-materiales-cta__t { font-size: 19px; font-weight: 700; letter-spacing: -0.02em; }
.sh-materiales-cta__d { font-size: 14.5px; line-height: 1.45; color: rgba(11, 11, 12, 0.75); }
@media (max-width: 600px) {
  .sh-materiales-cta { align-items: flex-start; gap: 14px; padding: 18px; }
  .sh-materiales-cta__icon { width: 42px; height: 42px; }
  .sh-materiales-cta__icon svg { width: 22px; height: 22px; }
  .sh-materiales-cta > svg { display: none; }
  .sh-materiales-cta__t { font-size: 17px; }
}
.sh-expediente { display: flex; flex-direction: column; gap: 14px; }
.sh-expediente__title { font-size: 22px; letter-spacing: -0.02em; margin-top: 8px; }
.sh-expediente__bloque { padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--ink-2); }
.sh-expediente__bloque h3 { margin-bottom: 12px; font-size: 15px; font-family: var(--font-mono); font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.sh-resumen { display: flex; flex-direction: column; gap: 14px; padding: 26px; border: 1px solid var(--line-strong); border-radius: var(--radius-lg); background: var(--ink-2); }
.sh-resumen__title { font-size: 22px; letter-spacing: -0.02em; line-height: 1.15; }
.sh-resumen .sh-estado { align-self: flex-start; }
.sh-resumen__iva { margin-top: -6px; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
@media (max-width: 980px) {
  .sh-pedido__grid { grid-template-columns: minmax(0, 1fr); }
  .sh-pedido__aside { position: static; }
}

.sh-mat__form { display: flex; flex-direction: column; gap: 18px; }
.sh-mat__secciones { display: flex; flex-direction: column; gap: 14px; list-style: none; }
.sh-mat__sec { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 18px 40px; padding: clamp(20px, 2.6vw, 32px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--ink-2); }
.sh-mat__cab { display: flex; gap: 16px; }
.sh-mat__num { font-family: var(--font-mono); font-size: 12px; color: var(--accent); padding-top: 6px; }
.sh-mat__title { font-size: 22px; letter-spacing: -0.02em; }
.sh-mat__intro { margin-top: 8px; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.sh-mat__aviso { margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: var(--accent-soft); color: var(--paper); font-size: 14px; line-height: 1.45; }
.sh-mat__campos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.sh-subir { display: block; cursor: pointer; }
.sh-subir__input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.sh-subir__caja { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 16px 18px; border: 1.5px dashed var(--line-strong); border-radius: var(--radius-sm); color: var(--paper); font-weight: 600; transition: border-color 0.2s ease, background-color 0.2s ease; }
.sh-subir__caja svg { color: var(--accent); }
.sh-subir__caja small { width: 100%; color: var(--muted-2); font-family: var(--font-mono); font-size: 11px; font-weight: 400; letter-spacing: 0.04em; }
.sh-subir:hover .sh-subir__caja, .sh-subir__input:focus-visible + .sh-subir__caja { border-color: var(--accent); background: var(--accent-soft); }
.sh-subir.tiene-archivos .sh-subir__caja { border-style: solid; border-color: var(--accent); }
.sh-subidos { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; list-style: none; }
.sh-subidos li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 12px; border-radius: 10px; background: var(--ink-3); font-size: 13.5px; }
.sh-subidos span { overflow-wrap: anywhere; }
.sh-subidos small { color: var(--accent); white-space: nowrap; }
.sh-mat__enviar { position: sticky; bottom: 14px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding: 16px 18px 16px 24px; border: 1px solid var(--line-strong); border-radius: var(--radius-lg); background: rgba(17, 17, 19, 0.94); backdrop-filter: blur(12px); box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5); }
.sh-mat__enviar p { max-width: 520px; font-size: 14px; color: var(--text-2); }
.sh-mat__volver { margin-top: 24px; }
.sh-mat__volver a { color: var(--muted); }
@media (max-width: 900px) {
  .sh-mat__sec { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .sh-mat__campos { grid-template-columns: minmax(0, 1fr); }
  .sh-mat__enviar { padding: 14px; }
  .sh-mat__enviar .btn { width: 100%; justify-content: space-between; }
}

.sh-demo-pago { padding-block: 60px clamp(80px, 9vw, 140px); }
.sh-demo-pago__caja { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; max-width: 720px; padding: clamp(24px, 4vw, 48px); border: 1px solid var(--accent); border-radius: var(--radius-lg); background: var(--ink-2); }
.sh-demo-pago__caja .sh-datos { width: 100%; padding-block: 14px; border-block: 1px solid var(--line); }


/* Saldo tras un anticipo: plegado, no se empuja antes de tiempo */
.sh-saldo { border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--ink-2); }
.sh-saldo summary { display: flex; flex-direction: column; gap: 4px; padding: 18px 22px; cursor: pointer; list-style: none; }
.sh-saldo summary::-webkit-details-marker { display: none; }
.sh-saldo summary span { font-weight: 600; }
.sh-saldo summary b { color: var(--accent); }
.sh-saldo summary small { color: var(--muted); font-size: 13.5px; }
.sh-saldo[open] summary { border-bottom: 1px solid var(--line); }
.sh-saldo .sh-pago { border: 0; border-radius: 0 0 var(--radius-md) var(--radius-md); background: transparent; }

/* En estas páginas ya hay WhatsApp dentro del contenido */
.vista-configurar .sh-wa, .vista-pedido .sh-wa, .vista-materiales .sh-wa, .vista-pago_demo .sh-wa { display: none; }

/* Celular: el país pasa al menú para que no choque con el logo */
.sh-menu__pais { display: none; gap: 6px; padding: 8px 6px 4px; border-top: 1px solid var(--line); margin-top: 6px; }
.sh-menu__pais a { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.sh-menu__pais a[aria-current="true"] { background: var(--accent-soft); color: var(--accent); }
@media (max-width: 600px) {
  .sh-header__actions .pais-switch { display: none; }
  .sh-menu__pais { display: flex; }
  .sh-brand__logo { width: 112px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
