/* ConTiare Webs · catalog.css — tienda de modelos, fichas y personalizador
   Página blanca y luminosa; la sección de modelos, en negro y con tipografía contundente. */
.catalog {
  --bg: #FFFFFF; --grey: #F5F5F7; --fg: #111113; --muted: #6E6E73; --surface: #F5F5F7; --line: rgba(17,17,19,.1);
  --accent: #111113; --accent-fg: #FFFFFF; --focus: #0A66FF;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; --font-display: "Inter Display", var(--font);
  --radius: 18px; --header-h: 56px; --wrap: 1240px;
}
.catalog h1, .catalog h2, .catalog h3 { font-family: var(--font-display); letter-spacing: -.03em; }
.catalog .btn { font-weight: 600; }
.catalog .btn:hover { box-shadow: none; transform: none; background: #2C2C2E; }
.catalog .btn--ghost { border-color: rgba(17,17,19,.25); }
.catalog .btn--ghost:hover { background: var(--fg); color: #fff; border-color: var(--fg); }

/* Cabecera */
.store__header { --header-bg: rgba(255,255,255,.8); --header-line: rgba(17,17,19,.08); }
.store__header .brand { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; letter-spacing: -.01em; }
.store__logo { width: 22px; height: 22px; border-radius: 6px; background: var(--fg); position: relative; }
.store__logo::after { content: ""; position: absolute; inset: 6px 6px 6px 6px; border-radius: 50%; background: #fff; }
.store__header .nav a:not(.btn) { font-size: .88rem; color: #3A3A3C; }

/* Hero blanco */
.store-hero { padding: clamp(56px, 9vw, 120px) 0 0; text-align: center; overflow: clip; }
.store-hero__copy { display: grid; justify-items: center; }
.store-hero__title { font-size: clamp(2.8rem, 7.4vw, 6.6rem); font-weight: 700; letter-spacing: -.05em; line-height: .98; margin-bottom: 22px; }
.store-hero__lead { font-size: clamp(1.1rem, 1.7vw, 1.4rem); color: var(--muted); max-width: 38ch; margin-bottom: 30px; }
.store-hero__ctas { justify-content: center; }
.store-hero__price { margin: 18px 0 0; font-size: .95rem; color: var(--muted); }
.store-hero__shots { position: relative; height: clamp(240px, 36vw, 470px); margin-top: clamp(40px, 6vw, 72px); }
.hero-shot { position: absolute; bottom: 0; width: 46%; aspect-ratio: 16 / 10; border-radius: 16px 16px 0 0; overflow: hidden; box-shadow: 0 -10px 60px -20px rgba(0,0,0,.25), 0 0 0 1px var(--line); }
.hero-shot .show__img, .hero-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.hero-shot--0 { left: 0; width: 38%; transform: translateY(14%) rotate(-3deg); transform-origin: bottom right; }
.hero-shot--1 { left: 50%; translate: -50% 0; z-index: 2; }
.hero-shot--2 { right: 0; width: 38%; transform: translateY(14%) rotate(3deg); transform-origin: bottom left; }
.motion .hero-shot--0[data-hero], .motion .hero-shot--2[data-hero] { transform: translateY(40%) rotate(0deg); }
.motion.is-ready .hero-shot--0[data-hero] { transform: translateY(14%) rotate(-3deg); }
.motion.is-ready .hero-shot--2[data-hero] { transform: translateY(14%) rotate(3deg); }
@media (max-width: 700px) { .hero-shot--1 { width: 74%; } .hero-shot--0, .hero-shot--2 { width: 46%; } }

/* Modelos: sección negra */
.models { background: #000; color: #fff; padding: clamp(72px, 10vw, 128px) 0 clamp(56px, 8vw, 96px); --muted: #A1A1A6; --line: rgba(255,255,255,.16); --fg: #fff; }
.models__head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px 48px; align-items: end; }
.models__title { font-size: clamp(3.2rem, 10vw, 8.6rem); font-weight: 800; text-transform: uppercase; letter-spacing: -.045em; line-height: .85; margin: 0; }
.models__lead { color: var(--muted); font-size: 1.05rem; margin: 0; max-width: 42ch; }
.models__nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.models__nav .chip { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); text-decoration: none; display: inline-flex; align-items: center; font-size: .88rem; }
.models__nav .chip:hover { background: #fff; color: #000; border-color: #fff; }
@media (max-width: 760px) { .models__head { grid-template-columns: 1fr; } }
[id^="sector-"] { scroll-margin-top: 72px; }

.shelf { padding-top: clamp(40px, 5vw, 64px); }
.shelf__head { display: flex; align-items: baseline; gap: 14px; }
.shelf__head h3 { font-size: clamp(1.1rem, 1.6vw, 1.35rem); font-weight: 800; text-transform: uppercase; letter-spacing: .02em; margin: 0; }
.shelf__count { color: var(--muted); font-size: .88rem; }
.shelf__carousel .carousel__controls { margin-top: -40px; margin-bottom: 0; position: relative; z-index: 2; }
.models .carousel__btn { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); border-radius: 0; }
.models .carousel__btn:hover:not(:disabled) { background: #fff; color: #000; }
.shelf__track { list-style: none; margin: 0;
  --slide-w: clamp(250px, 26vw, 340px); --slide-gap: clamp(28px, 3.4vw, 56px);
  padding: 48px max(var(--gutter), calc((100vw - var(--wrap)) / 2)) 36px; scroll-padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); }

/* Tarjetas que giran */
.show { perspective: 1200px; }
.show__link { display: block; text-decoration: none; color: inherit; outline: none; }
.show__stage { position: relative; aspect-ratio: 16 / 10; transition: transform .5s var(--ease-out); transform-origin: 50% 60%; }
.show__spin { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .6s var(--ease-out); }
.show__face { position: absolute; inset: 0; border-radius: 4px; overflow: hidden; -webkit-backface-visibility: hidden; backface-visibility: hidden;
  background: #1C1C1E; box-shadow: 0 0 0 1px rgba(255,255,255,.08); }
.show__img, .show__fallback { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: grid; place-items: center; font-weight: 800; font-size: 1.6rem; }
.show__back { transform: rotateY(180deg); display: grid; place-content: center; justify-items: center; gap: 12px; text-align: center;
  background: radial-gradient(120% 90% at 30% 10%, var(--c3), transparent 60%), linear-gradient(150deg, var(--c1), var(--c2)); color: #fff; }
.show__back::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.34); }
.show__back > * { position: relative; }
.show__back-num { font-size: .78rem; font-weight: 700; letter-spacing: .08em; opacity: .85; }
.show__back-name { font-size: clamp(1.7rem, 2.6vw, 2.3rem); line-height: 1; text-shadow: 0 2px 20px rgba(0,0,0,.3); }
.show__back-dots { display: flex; gap: 8px; }
.show__back-dots span, .pal__dot { display: block; width: 22px; height: 22px; border-radius: 50%;
  background: linear-gradient(135deg, var(--a) 0 50%, var(--b) 50% 100%); box-shadow: 0 0 0 2px rgba(255,255,255,.85); }
.show__back-cta { font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: .55em 1.1em; background: #fff; color: #000; }
.show__cap { padding: 18px 0 0; transition: transform .5s var(--ease-out); }
.show__cap h3 { font-size: 1.05rem; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; margin: 0 0 4px; }
.show__cap p { margin: 0; color: var(--muted); font-size: .9rem; }
.show__link:hover .show__stage, .show__link:focus-visible .show__stage { transform: scale(1.12) translateY(-6px); }
.show__link:hover .show__cap, .show__link:focus-visible .show__cap { transform: translateY(14px); }
.show__link:hover .show__face, .show__link:focus-visible .show__face { box-shadow: 0 30px 60px -20px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.2); }
.show__link:focus-visible .show__face { box-shadow: 0 0 0 3px #fff; }
@media (prefers-reduced-motion: no-preference) {
  .show__link:hover .show__spin, .show__link:focus-visible .show__spin { animation: show-spin 6s cubic-bezier(.45,.05,.55,.95) .25s infinite; }
}
@keyframes show-spin { 0% { transform: rotateY(0deg); } 38%, 50% { transform: rotateY(180deg); } 88%, 100% { transform: rotateY(360deg); } }
@media (hover: none) { .show__link:hover .show__stage { transform: none; } .show__link:hover .show__cap { transform: none; } }

/* Secciones blancas */
.store-sec { padding: clamp(80px, 11vw, 140px) 0; }
.store-sec--grey { background: var(--grey); }
.store-sec__title { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 700; letter-spacing: -.045em; line-height: 1; margin-bottom: 14px; }
.store-sec__lead { font-size: 1.2rem; color: var(--muted); max-width: 46ch; margin-bottom: 0; }
.how__steps { list-style: none; padding: 0; margin: clamp(40px, 5vw, 64px) 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.how__steps li { counter-increment: s; padding-top: 22px; border-top: 2px solid var(--fg); }
.how__steps li::before { content: counter(s, decimal-leading-zero); display: block; font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; letter-spacing: -.04em; margin-bottom: 18px; }
.how__steps h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 6px; }
.how__steps p { color: var(--muted); margin: 0; }
@media (max-width: 900px) { .how__steps { grid-template-columns: 1fr 1fr; gap: 32px 20px; } }
@media (max-width: 520px) { .how__steps { grid-template-columns: 1fr; } }
.feats { list-style: none; padding: 0; margin: clamp(36px, 5vw, 56px) 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feats li { background: #fff; border-radius: 22px; padding: 28px; }
.feats h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
.feats p { color: var(--muted); margin: 0; }
@media (max-width: 900px) { .feats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .feats { grid-template-columns: 1fr; } }

/* Precio */
.price__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: clamp(36px, 5vw, 56px); max-width: 900px; }
.price__card { border-radius: 24px; padding: clamp(28px, 4vw, 40px); background: var(--grey); }
.price__card--dark { background: #000; color: #fff; --muted: #A1A1A6; }
.price__card h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 14px; }
.price__amount { font-family: var(--font-display); font-size: clamp(3rem, 6vw, 4.6rem); font-weight: 800; letter-spacing: -.05em; line-height: 1; margin-bottom: 24px; }
.price__amount span { display: block; font-family: var(--font); font-size: 1rem; font-weight: 500; letter-spacing: 0; color: var(--muted); margin-top: 8px; }
.price__card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.price__card li { padding-left: 26px; position: relative; }
.price__card li::before { content: ""; position: absolute; left: 0; top: .45em; width: 12px; height: 7px; border: solid currentColor; border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.price__note { margin-top: 20px; color: var(--muted); font-size: .95rem; }
@media (max-width: 700px) { .price__grid { grid-template-columns: 1fr; } }

/* Llamada final */
.store-cta { background: #000; color: #fff; text-align: center; padding: clamp(88px, 12vw, 150px) 0; }
.store-cta h2 { font-size: clamp(2.6rem, 7vw, 5.6rem); font-weight: 800; letter-spacing: -.05em; line-height: .95; text-transform: uppercase; margin-bottom: 18px; }
.store-cta p { color: #A1A1A6; font-size: 1.15rem; max-width: 44ch; margin: 0 auto 32px; }
.store-cta__btn { background: #fff; color: #000; }
.store-cta__btn:hover { background: #E5E5EA !important; }

/* Pie */
.store-footer { padding: 32px 0 40px; font-size: .85rem; color: var(--muted); border-top: 1px solid var(--line); }
.store-footer__inner { display: grid; gap: 8px; }
.store-footer p { margin: 0; }
.store-footer strong { color: var(--fg); }
.cat-note { margin: 48px auto 64px; color: var(--muted); font-size: .92rem; }

/* ---------- Ficha de cada web ---------- */
.ficha__top { display: flex; justify-content: space-between; align-items: center; padding-block: 22px; }
.ficha__back { text-decoration: none; font-weight: 600; }
.ficha__back:hover { text-decoration: underline; text-underline-offset: 4px; }
.ficha__num { color: var(--muted); font-size: .9rem; font-variant-numeric: tabular-nums; }
.ficha__grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(32px, 5vw, 72px); align-items: start; padding-bottom: 56px; }
.ficha__info { position: sticky; top: 24px; }
.ficha__kicker { color: var(--muted); font-size: .95rem; margin-bottom: 10px; }
.ficha__title { font-size: clamp(2.6rem, 5.4vw, 4.6rem); letter-spacing: -.04em; font-weight: 700; line-height: .95; margin-bottom: 16px; }
.ficha__colors { margin: 28px 0; padding: 22px; border-radius: 22px; background: var(--grey); }
.ficha__colors h2, .ficha__more h2 { font-family: var(--font); font-size: .95rem; font-weight: 700; margin: 0 0 14px; letter-spacing: 0; }
.pals { display: flex; flex-wrap: wrap; gap: 16px; }
.pal { display: grid; justify-items: center; gap: 8px; border: 0; background: none; padding: 0; cursor: pointer; color: var(--fg); font-size: .82rem; min-width: 56px; }
.pal .pal__dot { width: 52px; height: 52px; box-shadow: 0 0 0 1px var(--line), 0 0 0 4px var(--grey), 0 0 0 5px transparent; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.pal:hover .pal__dot { transform: scale(1.08); }
.pal:active .pal__dot { transform: scale(.94); }
.pal[aria-pressed="true"] .pal__dot { box-shadow: 0 0 0 1px var(--line), 0 0 0 4px var(--grey), 0 0 0 6px var(--fg); }
.pal[aria-pressed="true"] .pal__name { font-weight: 700; }
.pal:focus-visible { outline: none; }
.pal:focus-visible .pal__dot { outline: 3px solid var(--fg); outline-offset: 8px; }
.pals__now { margin: 14px 0 0; font-size: .9rem; color: var(--muted); }
.ficha__more { margin-top: 36px; }
.ficha__list { margin: 0 0 24px; padding-left: 1.1em; color: var(--muted); display: grid; gap: 6px; font-size: .95rem; }

/* Dispositivos con la web en vivo */
.ficha__preview { position: relative; padding-bottom: 12%; }
.device--desktop { border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 40px 80px -40px rgba(0,0,0,.45); }
.device__bar { display: flex; gap: 6px; padding: 10px 12px; background: #E8E8ED; }
.device__bar i { width: 10px; height: 10px; border-radius: 50%; background: #CFCDC8; }
.device__screen { position: relative; overflow: hidden; }
.device--desktop .device__screen { aspect-ratio: 16 / 10; }
.device--phone { position: absolute; right: -2%; bottom: 0; width: 27%; border-radius: 30px; padding: 8px; background: #141414; box-shadow: 0 40px 70px -30px rgba(0,0,0,.6); }
.device--phone .device__screen { aspect-ratio: 390 / 820; border-radius: 22px; }
.device__screen iframe { position: absolute; top: 0; left: 0; border: 0; transform-origin: 0 0; background: #fff; }
.ficha__pager { display: flex; justify-content: space-between; gap: 16px; padding-block: 28px 56px; border-top: 1px solid var(--line); }
.ficha__pager a { display: grid; text-decoration: none; padding: 12px 0; }
.ficha__pager a.next { text-align: right; }
.ficha__pager span { color: var(--muted); font-size: .85rem; }
.ficha__pager strong { font-size: 1.2rem; }
.ficha__pager a:hover strong { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 960px) {
  .ficha__grid { grid-template-columns: 1fr; }
  .ficha__info { position: static; }
  .ficha__preview { order: -1; padding-bottom: 18%; }
  .device--phone { width: 30%; right: 0; }
}

/* Personalizador */
.custom { height: 100svh; overflow: hidden; }
.cz { display: grid; grid-template-columns: 340px 1fr; height: 100svh; }
.cz__panel { overflow-y: auto; padding: 24px; background: #fff; border-right: 1px solid var(--line); }
.cz__back { font-size: .9rem; text-decoration: none; color: var(--muted); }
.cz__back:hover { color: var(--fg); }
.cz__title { font-size: 2rem; letter-spacing: -.03em; margin: 18px 0 8px; }
.cz__lead { color: var(--muted); font-size: .95rem; }
.cz__form { display: grid; gap: 16px; margin-top: 20px; }
.cz__colors { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.cz__colors legend { font-weight: 600; font-size: .95rem; margin-bottom: 8px; padding: 0; }
.cz__color { display: grid; gap: 6px; justify-items: center; font-size: .85rem; cursor: pointer; }
.cz__color input { width: 100%; height: 48px; border: 1px solid var(--line); border-radius: 12px; padding: 4px; background: var(--grey); cursor: pointer; }
.cz__warn { margin: 0; color: #b3261e; font-size: .88rem; }
.cz__warn:empty, .cz__copied:empty { display: none; }
.cz__row { display: flex; flex-wrap: wrap; gap: 8px; }
.cz__copied { margin: 0; font-size: .88rem; color: var(--muted); white-space: pre-wrap; }
.cz__stage { display: grid; place-items: center; padding: 20px; background: var(--grey); overflow: auto; }
.cz__frame { width: 100%; height: 100%; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 30px 60px -30px rgba(0,0,0,.35); transition: width .35s var(--ease); }
.cz__frame[data-size="mobile"] { width: 390px; max-width: 100%; height: min(844px, 100%); border-radius: 36px; border: 10px solid #141414; }
.cz__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 860px) {
  .custom { height: auto; overflow: visible; }
  .cz { grid-template-columns: 1fr; height: auto; }
  .cz__panel { border-right: 0; border-bottom: 1px solid var(--line); }
  .cz__stage { height: 80svh; padding: 10px; }
}
.ficha__sections { color: var(--muted); font-size: .95rem; }
.ficha { background: #fff; }
