/* Walk in Closet · web pública (walkinclosetapp.com)
   Mismo sistema visual que la app («Tienda»): blanco y negro, acento fucsia, Jost para títulos.
   Las fuentes se sirven desde el propio dominio (sin llamadas a Google Fonts, por privacidad). */
@font-face { font-family: Jost; src: url(/fonts/Jost_500Medium.ttf) format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: Jost; src: url(/fonts/Jost_600SemiBold.ttf) format("truetype"); font-weight: 600; font-display: swap; }

:root { --ink: #111111; --muted: #555555; --line: #e6e6e6; --soft: #f5f5f5; --accent: #d81b60; --accent-soft: #fce8ef; --accent-text: #9e1246; }
* { box-sizing: border-box; min-width: 0; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--ink); font: 16px/1.55 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; overflow-x: clip; }
img, svg { max-width: 100%; }
a { color: var(--ink); }
h1, h2, h3 { font-family: Jost, system-ui, sans-serif; font-weight: 600; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.band { padding: 72px 0; }
.soft { background: var(--soft); }
.dark { background: var(--ink); color: #fff; }
.dark p { color: #d4d4d4; }
.badge { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; color: #fff; background: var(--accent); padding: 4px 10px; border-radius: 4px; }
.btn { display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 24px; border-radius: 12px; font-weight: 600; font-size: 16px; text-decoration: none; border: 1.5px solid var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-line { background: #fff; color: var(--ink); }
.btn-off { border-color: #d6d6d6; color: #666; cursor: default; }
.muted { color: var(--muted); }

/* Cabecera */
.top { position: sticky; top: 0; z-index: 10; background: #fff; border-bottom: 1px solid #eaeaea; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px; }
.logo { font-family: Jost, sans-serif; font-weight: 600; font-size: 20px; letter-spacing: 0.2em; text-decoration: none; }
.nav { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; font-size: 15px; }
.nav a { text-decoration: none; color: #333; }
.nav .btn { height: 42px; padding: 0 18px; font-size: 15px; }

/* Portada */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-top: 72px; padding-bottom: 64px; }
.hero-text { flex: 1 1 460px; display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.hero h1 { font-size: clamp(44px, 5.4vw, 68px); line-height: 1.04; }
.hero p.lead { font-size: 19px; color: #444; max-width: 520px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.phones { flex: 1 1 420px; display: flex; justify-content: center; align-items: flex-end; gap: 20px; }
.phone { width: 250px; flex-shrink: 0; border-radius: 40px; background: var(--ink); padding: 10px; box-shadow: 0 24px 48px rgba(0,0,0,.14); }
.phone.tall { height: 520px; } .phone.short { height: 460px; }
.screen { height: 100%; border-radius: 31px; background: #fff; overflow: hidden; padding: 26px 14px 0; display: flex; flex-direction: column; gap: 8px; }
.screen .mini-logo { font-family: Jost, sans-serif; font-weight: 600; font-size: 12px; letter-spacing: .18em; text-align: center; }
.screen .mini-title { font-family: Jost, sans-serif; font-weight: 600; font-size: 18px; }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.tile { display: flex; flex-direction: column; gap: 3px; }
.tile .pic { aspect-ratio: 3 / 4; border-radius: 8px; overflow: hidden; position: relative; }
.tile .pic svg { width: 100%; height: 100%; display: block; }
.tile .tag { position: absolute; left: 0; top: 6px; font-size: 8px; font-weight: 700; color: #fff; padding: 2px 5px; border-radius: 0 3px 3px 0; }
.tile .name { font-size: 9px; font-weight: 600; }
.tile .stars { font-size: 9px; color: var(--accent); margin-top: -3px; }

/* Secciones */
.section-title { font-size: clamp(32px, 3.4vw, 44px); line-height: 1.08; max-width: 720px; margin-bottom: 36px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.card { background: #fff; border-radius: 14px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.icon.pink { background: var(--accent-soft); color: var(--accent-text); }
.icon.black { background: var(--ink); color: #fff; }
.card h3 { font-size: 21px; }
.card p, .step p { color: #444; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; }
.step { border-top: 3px solid var(--ink); padding-top: 18px; display: flex; flex-direction: column; gap: 12px; }
.step h3 { font-size: 22px; }
.split { display: flex; flex-wrap: wrap; align-items: center; gap: 40px; }
.split > .text { flex: 1 1 460px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.split h2 { font-size: clamp(30px, 3.2vw, 42px); line-height: 1.08; }
.tryon { flex: 0 1 360px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tryon div { aspect-ratio: 3 / 4; border-radius: 12px; overflow: hidden; outline: 2px dashed #fff; outline-offset: -8px; }
.tryon svg { width: 100%; height: 100%; display: block; }
.facts { flex: 1 1 420px; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.fact { border: 1px solid var(--line); border-radius: 12px; padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.fact strong { font-size: 16px; }
.fact span { font-size: 14px; color: var(--muted); }
.faq { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq details { background: #fff; border-radius: 12px; padding: 18px 20px; }
.faq summary { font-size: 17px; font-weight: 600; cursor: pointer; }
.faq details p { margin-top: 10px; color: #444; }
.cta h2 { font-size: clamp(34px, 4vw, 52px); line-height: 1.05; max-width: 760px; margin-bottom: 18px; }

/* Pie */
.foot { border-top: 1px solid #eaeaea; }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; padding-top: 32px; padding-bottom: 32px; font-size: 14px; color: var(--muted); }
.foot nav { display: flex; gap: 22px; flex-wrap: wrap; }
.foot a { color: var(--muted); }

/* Páginas legales */
.legal { max-width: 760px; margin: 0 auto; padding: 56px 24px 80px; }
.legal h1 { font-size: clamp(34px, 4vw, 46px); line-height: 1.08; margin-bottom: 8px; }
.legal h2 { font-size: 24px; margin: 36px 0 10px; }
.legal p, .legal li { color: #333; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 22px; margin: 10px 0; }
.legal li { margin: 6px 0; }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 12px 0; }
.legal th, .legal td { text-align: left; border-bottom: 1px solid var(--line); padding: 10px 8px; vertical-align: top; }
.legal .scroll { overflow-x: auto; }
.legal .note { background: var(--accent-soft); color: var(--accent-text); border-radius: 10px; padding: 12px 14px; font-size: 14px; margin-bottom: 24px; }

@media (max-width: 600px) {
  .band { padding: 56px 0; }
  .hero { padding-top: 48px; }
  .phone { width: 46%; min-width: 150px; }
  .phone.tall { height: 380px; } .phone.short { height: 330px; }
  .nav { gap: 16px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
