/* =========================================================
   WINNER TRADING — Páginas de marca (mismo estilo del inicio)
   Requiere home.css + header.css. Cada marca define sus colores.
   ========================================================= */
body[data-brand="bywin"]   { --b: #1c64e6; --b-dark: #1f2a86; --b-acc: #f39200; --b-soft: #e8f1ff; --b-soft2: #dcf3f1; }
body[data-brand="onecare"] { --b: #d7192a; --b-dark: #15151c; --b-acc: #d7192a; --b-soft: #fdecee; --b-soft2: #fff5f5; }
body[data-brand="nox"]     { --b: #10131f; --b-dark: #0b0d16; --b-acc: #2f6bff; --b-soft: #eef1f8; --b-soft2: #e6ebf7; }
body[data-brand="glow"]    { --b: #0d86cf; --b-dark: #08466e; --b-acc: #0d86cf; --b-soft: #e8f5fd; --b-soft2: #f2faff; }

.t-b { color: var(--b-acc); }
.btn--b { background: var(--b); color: #fff; box-shadow: 0 14px 28px -14px color-mix(in srgb, var(--b) 80%, transparent); }
.btn--b:hover { filter: brightness(1.08); }
.btn--w { background: #fff; color: var(--b-dark); }
.btn--wo { border-color: rgba(255,255,255,.55); color: #fff; background: transparent; }
.btn--wo:hover { background: #fff; color: var(--b-dark); }

/* Migas */
.crumbs { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); padding-top: 22px; }
.crumbs a:hover { color: var(--violet); }
.crumbs span[aria-current] { color: var(--b-dark); font-weight: 600; }

/* ---------- Hero de marca ---------- */
.bhero { position: relative; overflow: hidden; background: linear-gradient(180deg, #fff 0%, var(--b-soft) 100%); }
.bhero > .blob--lav { width: 520px; height: 520px; left: -280px; top: -220px; background: var(--b-soft); }
.bhero > .blob--b { width: 260px; height: 260px; right: -120px; bottom: -120px; background: radial-gradient(circle at 30% 30%, color-mix(in srgb, var(--b) 70%, #fff), var(--b)); }
.bhero .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: .95fr 1fr .78fr; gap: 26px; align-items: center; min-height: clamp(500px, 74vh, 620px); padding-bottom: 36px; }
.bhero-logo { width: 74px; height: 74px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 4px #fff, 0 14px 30px -14px rgba(0,0,0,.4); }
.bhero-logo.oval { width: 92px; }
.bhero .kicker { display: block; margin-top: 22px; color: var(--b); }
.bhero h1 { margin: 12px 0 16px; font-weight: 800; font-size: clamp(38px, 4.2vw, 58px); line-height: 1.03; letter-spacing: -.035em; color: var(--b-dark); }
.bhero h1 span { display: block; }
.bhero p { margin: 0; color: var(--muted); font-size: 16px; max-width: 26em; }
.bhero .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.bhero-media { position: relative; align-self: end; height: 100%; min-height: 440px; }
.bhero-media .photo { position: absolute; inset: 6% -4% 0 -2%; border-radius: 48% 52% 0 0 / 40% 42% 0 0; overflow: hidden; z-index: 2; box-shadow: var(--shadow); background: var(--b-soft); }
.bhero-media .photo img { width: 100%; height: 100%; object-fit: cover; }
.bhero-media .photo.cutout { background: radial-gradient(circle at 50% 35%, color-mix(in srgb, var(--b-acc) 35%, var(--b-dark)), var(--b-dark) 75%); }
.bhero-media .photo.cutout img { object-fit: contain; object-position: center bottom; }
.bhero-media .blob--acc { width: 240px; height: 240px; left: -50px; bottom: -40px; z-index: 1; background: radial-gradient(circle at 30% 30%, #ffc067, var(--orange-2)); }
.bhero-media .blob--b { width: 180px; height: 180px; right: -40px; top: 0; z-index: 1; background: radial-gradient(circle at 30% 30%, color-mix(in srgb, var(--b) 60%, #fff), var(--b)); }
.bhero-media .arc { width: 120%; height: 70%; left: -14%; top: -6%; transform: rotate(-10deg); }
.why { position: relative; z-index: 3; background: #fff; border-radius: var(--r-lg); padding: 26px 22px 22px; box-shadow: var(--shadow); }
.why h2 { margin: 0; font-size: 20px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; color: var(--b-dark); }
.why ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.why li { display: flex; align-items: center; gap: 12px; font-size: 13.5px; font-weight: 500; color: var(--ink); }
.why .ic { width: 40px; height: 40px; border-radius: 50%; background: var(--b-soft); color: var(--b); display: grid; place-items: center; flex: none; }
@media (max-width: 1100px) { .bhero .wrap { grid-template-columns: 1fr 1fr; } .why { grid-column: 1 / -1; max-width: 640px; } .why ul { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .bhero .wrap { grid-template-columns: 1fr; } .bhero-media { min-height: 360px; margin: 0 6px; } }

/* ---------- Catálogo ---------- */
.ptabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.ptabs .tab { height: 40px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font: inherit; font-size: 13px; font-weight: 600; color: var(--muted); cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.ptabs .tab:hover { border-color: var(--b); color: var(--b-dark); }
.ptabs .tab.is-active { background: var(--b); border-color: var(--b); color: #fff; }
.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pgrid--2 { grid-template-columns: repeat(2, minmax(0, 360px)); }
.pcard { display: flex; flex-direction: column; background: #fff; border-radius: var(--r); border: 1px solid var(--line); box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s; }
.pcard:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.pcard.is-hidden { display: none; }
.pcard.pop { animation: pcpop .5s var(--ease) both; }
@keyframes pcpop { from { opacity: 0; transform: translateY(14px); } }
.pcard-img { position: relative; aspect-ratio: 1 / 1; background: linear-gradient(160deg, var(--b-soft), #fff); display: grid; place-items: center; overflow: hidden; }
.pcard-img img { width: 82%; height: 82%; object-fit: contain; mix-blend-mode: multiply; transition: transform .8s var(--ease); }
.pcard:hover .pcard-img img { transform: scale(1.05); }
.pcard-tag { position: absolute; top: 12px; left: 12px; z-index: 1; padding: 5px 11px; border-radius: 999px; background: #fff; font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--b-dark); box-shadow: var(--shadow-sm); }
.pcard-body { display: flex; flex-direction: column; flex: 1; padding: 16px 16px 18px; }
.pcard-body h3 { margin: 0; font-size: 14.5px; font-weight: 700; line-height: 1.3; color: var(--b-dark); }
.pcard-body p { margin: 4px 0 14px; font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.pcard-btn { margin-top: auto; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; border-radius: 999px; border: 1.5px solid var(--b); color: var(--b); font-size: 13px; font-weight: 600; transition: background .3s, color .3s; }
.pcard-btn:hover { background: var(--b); color: #fff; }
@media (max-width: 1020px) { .pgrid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .pgrid, .pgrid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .pgrid, .pgrid--2 { grid-template-columns: 1fr; } }

/* ---------- Destacado ---------- */
.bsplit { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: #fff; border-radius: 36px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.bsplit-img { min-height: 380px; background: var(--b-soft); }
.bsplit-img img { width: 100%; height: 100%; object-fit: cover; }
.bsplit-copy { padding: clamp(30px, 4vw, 52px); }
.bsplit-copy .kicker { color: var(--b); }
.bsplit-copy h2 { margin: 12px 0 0; font-weight: 800; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.1; letter-spacing: -.03em; color: var(--b-dark); }
.bsplit-copy > p { margin: 12px 0 0; font-size: 15px; color: var(--muted); }
.blist { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.blist li { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 16px; background: var(--b-soft); }
.blist .ic { width: 38px; height: 38px; border-radius: 50%; background: #fff; color: var(--b); display: grid; place-items: center; flex: none; }
.blist b { display: block; font-size: 14px; color: var(--b-dark); }
.blist span { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.35; }
@media (max-width: 860px) { .bsplit { grid-template-columns: 1fr; } .bsplit-img { min-height: 260px; } }

/* ---------- Instagram ---------- */
.igrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.igrid a { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-sm); }
.igrid img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.igrid a:hover img { transform: scale(1.06); }
.igrid .ig { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%; background: #fff; color: var(--b-dark); display: grid; place-items: center; opacity: 0; transition: opacity .3s; }
.igrid a:hover .ig { opacity: 1; }
@media (max-width: 860px) { .igrid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- CTA B2B ---------- */
.bcta { position: relative; overflow: hidden; border-radius: 36px; padding: clamp(34px, 5vw, 60px); color: #fff; background: radial-gradient(70% 120% at 100% 0%, color-mix(in srgb, var(--b-acc) 55%, transparent), transparent 60%), linear-gradient(135deg, var(--b) 0%, var(--b-dark) 100%); display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.bcta::after { content: ""; position: absolute; right: -90px; bottom: -150px; width: 320px; height: 320px; border-radius: 50%; border: 2px solid rgba(247,148,29,.7); }
.bcta h2 { margin: 0; font-weight: 800; font-size: clamp(26px, 2.8vw, 38px); line-height: 1.1; letter-spacing: -.03em; }
.bcta p { margin: 10px 0 0; color: rgba(255,255,255,.8); font-size: 15px; }
.bcta-actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 12px; }

/* Otras marcas */
.others-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.others-row .brand-tile { height: 110px; display: flex; gap: 16px; padding: 0 22px; justify-content: flex-start; }
.others-row .brand-tile img { width: 64px; height: 64px; }
.others-row .brand-tile img.oval { width: 80px; }
.others-row .brand-tile b { display: block; font-size: 15px; color: var(--violet); }
.others-row .brand-tile small { display: block; font-size: 12px; color: var(--muted); }
@media (max-width: 760px) { .others-row { grid-template-columns: 1fr; } }
.bhero-copy { position: relative; z-index: 3; } .bhero p { max-width: 22em; }
