/* JAN carstore — sitio. Paleta y tipografía de la marca (theme-vars.css),
   con tema claro y oscuro (html[data-theme]). */

:root {
  --bg: #ffffff; --surface: #ffffff; --surface-2: #f2f6f7; --text: #071c1f; --muted: #5b6b6e; --line: #e2e8ea;
  --ink: #000; --on-ink: #fff; --red: #ff2424;
  --shadow: 0 10px 30px rgba(7,28,31,.10);
  color-scheme: light;
}
html[data-theme="dark"] {
  --bg: #0d0e10; --surface: #17191c; --surface-2: #131517; --text: #e8ecec; --muted: #94a0a3; --line: #2a2e32;
  --ink: #f4f6f6; --on-ink: #0d0e10;
  --shadow: 0 10px 30px rgba(0,0,0,.45);
  --ltn__heading-color: #fff; --ltn__paragraph-color: #dbe2e3;
  --section-bg-1: #131517; --border-color-1: #2a2e32; --border-color-3: #94a0a3; --border-color-7: #2f3438;
  color-scheme: dark;
}

html { scroll-behavior: smooth; }
body { font-family: var(--ltn__body-font); color: var(--text); background: var(--bg); transition: background .25s, color .25s; }
h1,h2,h3,h4,h5 { color: var(--text); -webkit-hyphens: manual; hyphens: manual; }
p, li { -webkit-hyphens: manual; hyphens: manual; }
img { max-width: 100%; }
.jan-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }


/* Botones */
.jan-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; padding: 14px 28px; font-family: var(--ltn__heading-font); font-weight: 700; font-size: 15px; cursor: pointer; border: 2px solid transparent; line-height: 1.2; transition: background .2s, color .2s, border-color .2s; }
.jan-btn-red { background: var(--red); color: #fff; }
.jan-btn-red:hover { background: var(--ink); color: var(--on-ink); }
.jan-btn-dark { background: var(--ink); color: var(--on-ink); }
.jan-btn-dark:hover { background: var(--red); color: #fff; }
.jan-btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.jan-btn-ghost:hover { background: #fff; color: #000; }
.jan-btn-outline { border-color: var(--ink); color: var(--ink); }
.jan-btn-outline:hover { background: var(--ink); color: var(--on-ink); }

/* Encabezado: barra flotante en forma de píldora */
.jan-header { position: fixed; top: 14px; left: 0; right: 0; z-index: 1000; pointer-events: none; }
.jan-island { pointer-events: auto; max-width: 1160px; margin: 0 auto; width: calc(100% - 28px); display: flex; align-items: center; gap: 10px; padding: 8px 10px 8px 24px; border-radius: 999px; background: color-mix(in srgb, var(--surface) 88%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--line); box-shadow: 0 8px 30px rgba(0,0,0,.14); }
.jan-logo img { height: 40px; display: block; }
.jan-logo img.jan-logo-dark { display: none; }
html[data-theme="dark"] .jan-logo img.jan-logo-light { display: none; }
html[data-theme="dark"] .jan-logo img.jan-logo-dark { display: block; }
.jan-nav { margin: 0 auto; }
.jan-nav ul { display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; }
.jan-nav a { display: block; padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: 14.5px; color: var(--text); }
.jan-nav a:hover { background: var(--surface-2); }
.jan-nav a.active { background: var(--ink); color: var(--on-ink); }
.jan-theme { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--text); cursor: pointer; font-size: 16px; display: flex; align-items: center; justify-content: center; }
.jan-theme:hover { background: var(--surface-2); }
.jan-theme .fa-sun { display: none; }
html[data-theme="dark"] .jan-theme .fa-sun { display: block; }
html[data-theme="dark"] .jan-theme .fa-moon { display: none; }
.jan-cta { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 20px; border-radius: 999px; background: var(--red); color: #fff; font-family: var(--ltn__heading-font); font-weight: 700; font-size: 14px; }
.jan-cta:hover { background: var(--ink); color: var(--on-ink); }
.jan-menu-toggle { display: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--text); font-size: 17px; cursor: pointer; }

/* Portada */
.jan-hero { position: relative; min-height: 88vh; display: flex; align-items: flex-end; color: #fff; padding: 150px 0 60px;
  background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.15) 35%, rgba(0,0,0,.82) 100%), url("../img/hero.jpg") center 35%/cover; }
.jan-eyebrow { font-weight: 700; letter-spacing: 2px; text-transform: uppercase; font-size: 12.5px; color: #ffd0d0; margin-bottom: 16px; }
.jan-hero h1 { color: #fff; font-size: clamp(40px, 7.4vw, 92px); line-height: .98; letter-spacing: -2px; margin: 0 0 28px; max-width: 900px; }
.jan-hero h1 u { text-decoration: none; background: linear-gradient(transparent 62%, var(--red) 62%, var(--red) 92%, transparent 92%); }
.jan-hero-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.jan-hero-foot p { color: #e6eeee; font-size: 18px; max-width: 460px; margin: 0; }
.jan-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Barra de búsqueda (franja) */
.jan-bar { background: var(--ink); color: var(--on-ink); }
.jan-bar form { display: grid; grid-template-columns: auto 1fr 1fr 1fr auto; gap: 14px; align-items: center; padding: 18px 0; }
.jan-bar strong { font-family: var(--ltn__heading-font); font-size: 16px; padding-right: 8px; color: var(--on-ink); }
.jan-bar select { width: 100%; padding: 13px 16px; border-radius: 999px; border: 1px solid rgba(128,128,128,.4); background: transparent; color: var(--on-ink); font-family: var(--ltn__body-font); font-size: 14.5px; }
.jan-bar select option { color: #000; }
.jan-bar .jan-btn { padding: 13px 28px; }

/* Cinta de marcas */
.jan-marquee { overflow: hidden; border-bottom: 1px solid var(--line); padding: 20px 0; }
.jan-marquee-track { display: flex; gap: 46px; width: max-content; animation: jan-scroll 40s linear infinite; }
.jan-marquee span { font-family: var(--ltn__heading-font); font-weight: 700; font-size: 22px; color: var(--muted); white-space: nowrap; text-transform: uppercase; letter-spacing: 1px; }
.jan-marquee span:after { content: "✦"; color: var(--red); margin-left: 46px; font-size: 14px; }
@keyframes jan-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .jan-marquee-track { animation: none; } }

/* Secciones */
.jan-section { padding: 96px 0; }
.jan-section-alt { background: var(--surface-2); }
.jan-title { font-size: clamp(30px, 4.4vw, 52px); line-height: 1.04; letter-spacing: -1px; margin: 0 0 14px; }
.jan-lead { color: var(--muted); font-size: 18px; max-width: 560px; margin: 0; }
.jan-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.jan-link { font-weight: 700; color: var(--text); border-bottom: 2px solid var(--red); padding-bottom: 3px; }
.jan-link:hover { color: var(--red); }

/* Datos reales */
.jan-facts { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.jan-fact { padding: 40px 24px 40px 0; }
.jan-fact + .jan-fact { padding-left: 24px; border-left: 1px solid var(--line); }
.jan-fact strong { display: block; font-family: var(--ltn__heading-font); font-size: clamp(34px, 4.6vw, 56px); line-height: 1; letter-spacing: -1.5px; color: var(--text); }
.jan-fact span { color: var(--muted); font-size: 14.5px; }

/* Mosaico */
.jan-mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 250px; gap: 14px; }
.jan-tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; color: #fff; overflow: hidden; border-radius: 6px; background: var(--surface-2) var(--img) center/cover; isolation: isolate; transition: transform .3s; }
.jan-tile:before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(0,0,0,.82)); z-index: -1; }
.jan-tile:hover { transform: translateY(-4px); color: #fff; }
.jan-tile:first-child { grid-column: span 2; grid-row: span 2; padding: 32px; }
.jan-tile small { font-weight: 600; letter-spacing: .5px; opacity: .85; font-size: 13px; }
.jan-tile strong { display: block; font-family: var(--ltn__heading-font); font-size: 20px; color: #fff; line-height: 1.15; }
.jan-tile:first-child strong { font-size: 34px; }
.jan-tile em { font-style: normal; font-weight: 700; color: #fff; background: var(--red); align-self: flex-start; padding: 5px 12px; border-radius: 999px; margin-top: 10px; font-size: 14px; }

/* Índice por tipo */
.jan-index { border-top: 1px solid var(--line); }
.jan-index a { display: flex; align-items: baseline; gap: 18px; padding: 26px 0; border-bottom: 1px solid var(--line); color: var(--text); transition: padding .25s, color .25s; }
.jan-index a:hover { padding-left: 16px; color: var(--red); }
.jan-index b { font-family: var(--ltn__heading-font); font-size: clamp(26px, 4vw, 46px); letter-spacing: -1px; flex: 1; font-weight: 700; }
.jan-index span { color: var(--muted); font-size: 15px; }
.jan-index i { font-size: 20px; color: var(--red); }

/* Confianza */
.jan-split { display: grid; grid-template-columns: 5fr 6fr; gap: 70px; align-items: center; }
.jan-split img { width: 100%; display: block; border-radius: 6px; aspect-ratio: 4/5; object-fit: cover; }
.jan-lines { margin: 30px 0 34px; }
.jan-lines div { padding: 18px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 170px 1fr; gap: 20px; }
.jan-lines div:last-child { border-bottom: 1px solid var(--line); }
.jan-lines b { font-family: var(--ltn__heading-font); color: var(--text); }
.jan-lines span { color: var(--muted); }

/* Crédito */
.jan-finance { background: var(--red); color: #fff; padding: 80px 0; overflow: hidden; }
.jan-finance-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; align-items: center; }
.jan-finance h2, .jan-finance p { color: #fff; }
.jan-finance p { max-width: 480px; opacity: .95; }
.jan-big { font-family: var(--ltn__heading-font); font-weight: 700; font-size: clamp(90px, 15vw, 190px); line-height: .9; letter-spacing: -6px; color: #fff; }
.jan-big small { font-size: .3em; letter-spacing: 0; margin-left: 6px; }
.jan-terms { display: flex; gap: 34px; margin-top: 18px; flex-wrap: wrap; }
.jan-terms div b { display: block; font-family: var(--ltn__heading-font); font-size: 26px; }
.jan-terms div span { font-size: 14px; opacity: .9; }
.jan-finance .jan-btn-dark { background: #000; color: #fff; }
.jan-finance .jan-btn-dark:hover { background: #fff; color: #000; }

/* Visita */
.jan-visit { display: grid; grid-template-columns: 1fr 1.4fr; gap: 50px; align-items: stretch; }
.jan-visit-info h2 { margin-bottom: 26px; }
.jan-row { padding: 16px 0; border-top: 1px solid var(--line); }
.jan-row h5 { margin: 0 0 4px; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: var(--red); }
.jan-row p { margin: 0; font-size: 17px; }
.jan-map { border-radius: 6px; overflow: hidden; min-height: 380px; }
.jan-map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }
html[data-theme="dark"] .jan-map iframe { filter: invert(.92) hue-rotate(180deg) contrast(.9) saturate(.8); }

/* Encabezado de páginas internas */
.jan-page-hero { padding: 150px 0 56px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.jan-page-hero h1 { font-size: clamp(38px, 6vw, 72px); letter-spacing: -2px; line-height: 1; margin: 0 0 12px; }
.jan-page-hero p { color: var(--muted); margin: 0; }
.jan-crumbs a { color: var(--muted); }
.jan-crumbs a:hover { color: var(--red); }

/* Contacto y páginas de texto */
.jan-contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start; }
.jan-kicker { display: block; color: var(--red); font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; font-size: 12.5px; margin-bottom: 10px; }
.jan-info-card { display: flex; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.jan-info-card:last-of-type { border-bottom: 1px solid var(--line); }
.jan-info-card i { font-size: 18px; color: var(--red); width: 26px; margin-top: 5px; text-align: center; }
.jan-info-card h5 { margin: 0 0 2px; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); }
.jan-info-card p { margin: 0; font-size: 17px; }
.jan-form-box { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 34px; }
.jan-form label { display: block; font-weight: 700; margin-bottom: 6px; font-size: 14px; }
.jan-form input, .jan-form textarea, .jan-form select { width: 100%; padding: 13px 16px; border: 1px solid var(--line); border-radius: 8px; margin-bottom: 18px; font-family: var(--ltn__body-font); font-size: 15px; background: var(--bg); color: var(--text); }
.jan-form input:focus, .jan-form textarea:focus, .jan-form select:focus { border-color: var(--red); outline: 0; }
.jan-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.jan-form-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.jan-note { font-size: 14px; color: var(--muted); margin: 14px 0 0; }
.jan-check-list { list-style: none; padding: 0; margin: 20px 0 30px; }
.jan-check-list li { padding: 10px 0 10px 30px; position: relative; border-bottom: 1px solid var(--line); }
.jan-check-list li:before { content: "\f00c"; font-family: "Font Awesome 5 Free"; font-weight: 900; position: absolute; left: 0; color: var(--red); }
.jan-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: paso; border-top: 1px solid var(--line); }
.jan-step { padding: 28px 22px 10px 0; }
.jan-step + .jan-step { padding-left: 22px; border-left: 1px solid var(--line); }
.jan-step:before { counter-increment: paso; content: "0" counter(paso); display: block; font-family: var(--ltn__heading-font); font-weight: 700; color: var(--red); font-size: 34px; letter-spacing: -1px; margin-bottom: 8px; }
.jan-step h5 { margin-bottom: 6px; }
.jan-step p { margin: 0; font-size: 14.5px; color: var(--muted); }
.jan-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.jan-feature { padding: 28px 24px 10px 0; }
.jan-feature + .jan-feature { padding-left: 24px; border-left: 1px solid var(--line); }
.jan-feature i { display: none; }
.jan-feature h4 { font-size: 21px; margin-bottom: 8px; }
.jan-feature p { margin: 0; color: var(--muted); }
.jan-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.jan-two-col > img { width: 100%; border-radius: 6px; }
.jan-head h2 { font-size: clamp(28px, 4vw, 44px); letter-spacing: -1px; margin: 0; }

/* Widget de inventario en este sitio */
.jan-site .ltn__product-item { background: var(--surface); border: 1px solid var(--line) !important; border-radius: 8px; overflow: hidden; box-shadow: none; isolation: isolate; transition: transform .25s, box-shadow .25s; }
.jan-site .ltn__product-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.jan-site .ltn__product-item .product-img img { transition: transform .5s; }
.jan-site .ltn__product-item:hover .product-img img { transform: scale(1.05); }
.jan-site .jan-inv-btn { border-radius: 999px; }
.jan-site .ltn__widget-title { font-size: 18px; color: var(--text); }
.jan-site .widget, .jan-site .ltn__shop-sidebar .widget { background: var(--surface); border: 1px solid var(--line); box-shadow: none; }
.jan-site .jan-inv-input, .jan-site .ltn__shop-sidebar input, .jan-site .ltn__shop-sidebar select { background: var(--bg); color: var(--text); border: 1px solid var(--line); border-radius: 8px; }
.jan-site .product-title a, .jan-site .product-title { color: var(--text); }
.jan-site .product-info-brief p, .jan-site .product-info-brief { color: var(--muted); }
.jan-site .product-info-brief { border-top-color: var(--line); }
.jan-site .ltn__menu-widget > ul li a { color: var(--text); }
.jan-site .ltn__menu-widget > ul li a:hover, .jan-site .jan-inv-brand-link.active { color: var(--red); }
.jan-site .ltn__grid-list-tab-menu a { color: var(--muted); }
.jan-site .ltn__grid-list-tab-menu .active { color: var(--red); }
.jan-site .jan-inv-pagination button { background: var(--surface); color: var(--text); border-color: var(--line); border-radius: 999px; }
.jan-site .jan-inv-thumb-nav { background: var(--surface); color: var(--text); border-color: var(--line); }
.jan-site .jan-inv-detail-photo { background: var(--surface-2); }
.jan-site .shop-details-info h3 { font-size: 30px; }
.jan-site .theme-btn-1 { border-radius: 999px; }
.jan-site .theme-btn-2 { border-radius: 999px; background: var(--ink); color: var(--on-ink); border-color: var(--ink); }

/* WhatsApp flotante */
.jan-wa-float { position: fixed; right: 22px; bottom: 22px; width: 58px; height: 58px; border-radius: 50%; background: var(--red); color: #fff; font-size: 30px; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(255,36,36,.45); z-index: 900; }
.jan-wa-float:hover { background: var(--ink); color: var(--on-ink); }

/* Pie */
.jan-footer { background: #0a0a0a; color: #fff; padding: 70px 0 0; }
.jan-footer h5 { color: #fff; margin-bottom: 18px; font-size: 13px; text-transform: uppercase; letter-spacing: 1.5px; }
.jan-footer p, .jan-footer li, .jan-footer a { color: #aebbbd; font-size: 14.5px; }
.jan-footer a:hover { color: var(--red); }
.jan-footer ul { list-style: none; padding: 0; margin: 0; }
.jan-footer li { margin-bottom: 10px; }
.jan-footer li i { color: var(--red); width: 18px; }
.jan-footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 46px; }
.jan-footer-bottom { border-top: 1px solid #222; padding: 22px 0; }
.jan-footer-bottom p { margin: 0; color: #71817f; }

/* Responsive */
@media (max-width: 991px) {
  .jan-split, .jan-finance-grid, .jan-visit, .jan-contact-grid, .jan-two-col { grid-template-columns: 1fr; gap: 40px; }
  .jan-bar form { grid-template-columns: 1fr 1fr; }
  .jan-bar strong { grid-column: 1 / -1; }
  .jan-bar .jan-btn { grid-column: 1 / -1; }
  .jan-facts { grid-template-columns: 1fr 1fr; }
  .jan-fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .jan-mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
  .jan-features, .jan-steps { grid-template-columns: 1fr 1fr; }
  .jan-step:nth-child(3), .jan-feature:nth-child(3) { padding-left: 0; border-left: 0; }
  .jan-footer-grid { grid-template-columns: 1fr 1fr; }
  .jan-island { border-radius: 26px; padding: 8px 10px 8px 18px; position: relative; }
  .jan-cta span { display: none; }
  .jan-cta { width: 42px; padding: 0; justify-content: center; }
  .jan-menu-toggle { display: flex; align-items: center; justify-content: center; }
  .jan-nav { position: absolute; left: 0; right: 0; top: 66px; margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 14px 30px rgba(0,0,0,.18); display: none; }
  .jan-nav.open { display: block; }
  .jan-nav ul { flex-direction: column; padding: 10px; }
  .jan-logo { margin-right: auto; }
  .jan-lines div { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 575px) {
  .jan-section { padding: 64px 0; }
  .jan-hero { min-height: 82vh; }
  .jan-mosaic { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .jan-tile:first-child { grid-column: auto; grid-row: span 1; }
  .jan-tile:first-child strong { font-size: 24px; }
  .jan-features, .jan-steps, .jan-form-row, .jan-footer-grid, .jan-bar form { grid-template-columns: 1fr; }
  .jan-step + .jan-step, .jan-feature + .jan-feature { padding-left: 0; border-left: 0; }
  .jan-facts { grid-template-columns: 1fr 1fr; }
}
