/* Bescletta — The Bike House */
:root {
  --wine: #7b1e2b;
  --wine-deep: #4a0f18;
  --wine-ink: #2a080e;
  --red: #c43028;
  --silver: #c9cdd2;
  --silver-2: #e6e8eb;
  --silver-3: #f4f5f6;
  --ink: #1b1b1f;
  --muted: #5d6068;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(42, 8, 14, .08);
  --max: 1200px;
  --head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 700; line-height: 1.05; margin: 0 0 .5em; letter-spacing: .01em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); text-transform: uppercase; }
h2 { font-size: clamp(2rem, 4vw, 3rem); text-transform: uppercase; }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.eyebrow { display: inline-block; font: 600 .78rem/1 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--wine); margin-bottom: 14px; }
.eyebrow::before { content: ""; display: inline-block; width: 26px; height: 2px; background: currentColor; vertical-align: middle; margin-right: 10px; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 640px; }
.section { padding: 96px 0; }
.section--silver { background: linear-gradient(180deg, var(--silver-3), var(--silver-2)); }
.section--wine { background: var(--wine-deep); color: var(--white); }
.section--wine .eyebrow { color: var(--silver); }
.section--wine .lead { color: rgba(255,255,255,.75); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 44px; }
.section-head h2 { margin: 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 26px; border-radius: 999px; font: 600 .95rem/1 var(--body); border: 2px solid transparent; cursor: pointer; transition: transform .2s, background .2s, color .2s, border-color .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn--wine { background: var(--wine); color: var(--white); }
.btn--wine:hover { background: var(--wine-deep); }
.btn--ghost { border-color: rgba(255,255,255,.7); color: var(--white); }
.btn--ghost:hover { background: var(--white); color: var(--wine); }
.btn--outline { border-color: var(--wine); color: var(--wine); }
.btn--outline:hover { background: var(--wine); color: var(--white); }
.btn--wa { background: #1fa855; color: var(--white); }
.btn--wa:hover { background: #178a45; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* Header */
.topbar { background: var(--wine-ink); color: var(--silver); font-size: .82rem; }
.topbar .container { display: flex; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.topbar a:hover { color: var(--white); }
.topbar__links { display: flex; gap: 20px; }
.header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--silver-2); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.logo img { height: 54px; width: auto; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a { font: 600 .95rem/1 var(--body); color: var(--ink); position: relative; padding: 8px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--wine); transition: right .25s; }
.nav a:hover::after, .nav a.active::after { right: 0; }
.nav a.active { color: var(--wine); }
.nav .btn { padding: 11px 20px; color: var(--white); }
.nav .btn::after { display: none; }
.burger { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 10px; }
.burger span { display: block; height: 2px; background: var(--ink); margin: 6px 0; transition: .3s; }

/* Hero */
.hero { position: relative; min-height: min(88vh, 760px); display: flex; align-items: center; color: var(--white); overflow: hidden; background: var(--wine-ink); }
.hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.04); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(42,8,14,.94) 0%, rgba(74,15,24,.82) 42%, rgba(74,15,24,.25) 100%); }
.hero .container { position: relative; z-index: 2; }
.hero__content { max-width: 640px; padding: 80px 0; }
.hero .eyebrow { color: var(--silver); }
.hero h1 span { color: var(--silver); display: block; }
.hero p { font-size: 1.15rem; color: rgba(255,255,255,.82); max-width: 520px; margin-bottom: 32px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__stats { display: flex; gap: 44px; margin-top: 56px; flex-wrap: wrap; }
.stat b { display: block; font: 700 2.6rem/1 var(--head); color: var(--white); }
.stat span { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--silver); }

.page-hero { position: relative; padding: 110px 0 80px; color: var(--white); background: var(--wine-deep); overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .28; }
.page-hero .container { position: relative; }
.page-hero .eyebrow { color: var(--silver); }
.page-hero p { color: rgba(255,255,255,.8); max-width: 600px; font-size: 1.1rem; margin: 0; }

/* Brands */
.brands { padding: 40px 0; border-bottom: 1px solid var(--silver-2); }
.brands .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.brands__label { font: 600 .78rem/1.4 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.brands__list { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.brand-tile { height: 74px; width: 150px; display: grid; place-items: center; border-radius: 12px; background: var(--silver-3); padding: 12px 18px; transition: transform .2s; }
.brand-tile:hover { transform: translateY(-3px); }
.brand-tile img { max-height: 46px; width: auto; object-fit: contain; }
.brand-tile--dark { background: var(--ink); }
.brand-tile--text { font: 700 1.5rem/1 var(--head); letter-spacing: .12em; color: var(--ink); }

/* Categories */
.cats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.cat { position: relative; background: var(--white); border-radius: var(--radius); padding: 22px 18px 20px; box-shadow: var(--shadow); overflow: hidden; transition: transform .25s, box-shadow .25s; display: flex; flex-direction: column; }
.cat:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(42,8,14,.14); }
.cat img { aspect-ratio: 4/3; object-fit: contain; margin: 4px 0 14px; transition: transform .35s; }
.cat:hover img { transform: scale(1.06); }
.cat h3 { font-size: 1.45rem; text-transform: uppercase; margin: 0; }
.cat span { font-size: .85rem; color: var(--muted); }
.cat::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 4px; background: var(--wine); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.cat:hover::before { transform: scaleX(1); }

/* Product cards */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: var(--white); border: 1px solid var(--silver-2); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s, border-color .25s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: var(--silver); }
.card__media { position: relative; background: linear-gradient(180deg, #fff, var(--silver-3)); aspect-ratio: 4/3; display: grid; place-items: center; padding: 14px; cursor: pointer; }
.card__media img { width: 100%; height: 100%; object-fit: contain; transition: transform .35s; }
.card:hover .card__media img { transform: scale(1.04); }
.badge { position: absolute; top: 14px; left: 14px; font: 600 .7rem/1 var(--body); letter-spacing: .1em; text-transform: uppercase; padding: 7px 11px; border-radius: 999px; background: var(--white); color: var(--wine); border: 1px solid var(--silver-2); }
.badge--out { background: var(--ink); color: var(--white); border-color: var(--ink); }
.badge--local { left: auto; right: 14px; background: var(--wine); color: var(--white); border-color: var(--wine); }
.card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.card__brand { font: 600 .74rem/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.card__title { font-size: 1.7rem; margin: 0 0 12px; }
.card__specs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; font-size: .84rem; color: var(--muted); margin: 0 0 16px; padding: 0; list-style: none; }
.card__specs b { color: var(--ink); font-weight: 600; }
.swatches { display: flex; gap: 8px; margin-bottom: 16px; }
.swatch { width: 46px; height: 34px; border-radius: 8px; border: 2px solid var(--silver-2); background: #fff center/contain no-repeat; cursor: pointer; padding: 0; }
.swatch.active { border-color: var(--wine); }
.card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid var(--silver-2); }
.price { font: 700 1.6rem/1 var(--head); color: var(--wine); }
.price small { font-size: .9rem; font-weight: 600; margin-left: 3px; }
.price--out { color: var(--muted); font-size: 1.15rem; }
.card__actions { display: flex; gap: 8px; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--silver-2); background: var(--white); color: var(--ink); cursor: pointer; transition: .2s; }
.icon-btn:hover { border-color: var(--wine); color: var(--wine); }
.icon-btn--wa { background: #1fa855; border-color: #1fa855; color: #fff; }
.icon-btn--wa:hover { background: #178a45; border-color: #178a45; color: #fff; }
.icon-btn svg { width: 19px; height: 19px; }

/* Filters */
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
.chip { padding: 11px 20px; border-radius: 999px; border: 2px solid var(--silver-2); background: var(--white); font: 600 .9rem/1 var(--body); color: var(--ink); cursor: pointer; transition: .2s; }
.chip:hover { border-color: var(--wine); color: var(--wine); }
.chip.active { background: var(--wine); border-color: var(--wine); color: var(--white); }
.chip em { font-style: normal; opacity: .6; margin-left: 4px; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.toolbar select { padding: 11px 16px; border-radius: 999px; border: 2px solid var(--silver-2); font: 500 .9rem var(--body); background: var(--white); margin-bottom: 36px; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(27,27,31,.6); backdrop-filter: blur(4px); }
.modal.open { display: flex; }
.modal__box { background: var(--white); border-radius: 18px; max-width: 980px; width: 100%; max-height: 92vh; overflow: auto; display: grid; grid-template-columns: 1.15fr 1fr; position: relative; animation: pop .25s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.modal__media { background: linear-gradient(180deg, #fff, var(--silver-3)); padding: 34px; display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.modal__media > img { width: 100%; aspect-ratio: 4/3; object-fit: contain; }
.modal__body { padding: 40px 36px; }
.modal__body h3 { font-size: 2.4rem; margin-bottom: 6px; }
.modal__close { position: absolute; top: 14px; right: 14px; z-index: 2; }
.spec-table { width: 100%; border-collapse: collapse; margin: 18px 0 26px; font-size: .92rem; }
.spec-table th, .spec-table td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--silver-2); }
.spec-table th { color: var(--muted); font-weight: 500; width: 42%; }
.spec-table td { font-weight: 600; }
.modal__actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Split / about */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split__media { position: relative; }
.split__media img { border-radius: 18px; aspect-ratio: 4/3.4; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.split__media .float { position: absolute; bottom: -28px; right: -20px; width: 46%; border: 6px solid var(--white); aspect-ratio: 1; }
.since { position: absolute; top: -22px; left: -22px; background: var(--wine); color: var(--white); border-radius: 16px; padding: 18px 22px; text-align: center; box-shadow: var(--shadow); }
.since b { display: block; font: 700 2.4rem/1 var(--head); }
.since span { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--silver); }
.checks { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--wine) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/13px no-repeat; }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature { padding: 30px 26px; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.feature svg { width: 38px; height: 38px; color: var(--silver); margin-bottom: 18px; }
.feature h3 { font-size: 1.4rem; text-transform: uppercase; }
.feature p { color: rgba(255,255,255,.7); font-size: .93rem; margin: 0; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 14px; }
.gallery a { position: relative; border-radius: 12px; overflow: hidden; display: block; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery a:hover img { transform: scale(1.06); }
.gallery .tall { grid-row: span 2; }
.gallery .wide { grid-column: span 2; }

.partners { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.partners span { padding: 10px 18px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); font-weight: 600; font-size: .9rem; }
.section:not(.section--wine) .partners span { border-color: var(--silver); }

/* Branches */
.branches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.branch { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.branch > img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.branch__body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.branch h3 { font-size: 1.8rem; text-transform: uppercase; margin-bottom: 14px; }
.branch__row { display: flex; gap: 12px; margin-bottom: 12px; font-size: .94rem; color: var(--muted); }
.branch__row svg { width: 18px; height: 18px; color: var(--wine); flex: none; margin-top: 3px; }
.branch__row a:hover { color: var(--wine); }
.branch .btn { margin-top: auto; align-self: flex-start; }
.phones { display: flex; flex-direction: column; gap: 2px; }

/* CTA */
.cta { position: relative; border-radius: 22px; overflow: hidden; background: var(--wine); color: var(--white); padding: 64px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.cta::before { content: ""; position: absolute; right: -80px; top: -80px; width: 340px; height: 340px; border-radius: 50%; border: 50px solid rgba(255,255,255,.06); }
.cta::after { content: ""; position: absolute; right: 120px; bottom: -140px; width: 260px; height: 260px; border-radius: 50%; border: 40px solid rgba(255,255,255,.05); }
.cta h2 { margin-bottom: 12px; }
.cta p { color: rgba(255,255,255,.8); margin: 0; }
.cta__actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; position: relative; z-index: 1; }

/* Footer */
.footer { background: var(--wine-ink); color: rgba(255,255,255,.7); padding: 72px 0 0; font-size: .93rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.footer__logo { background: var(--white); border-radius: 12px; padding: 10px 14px; display: inline-block; margin-bottom: 18px; }
.footer__logo img { height: 50px; }
.footer h4 { color: var(--white); font-size: 1.2rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a:hover { color: var(--white); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 80px 22px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .84rem; }

/* Floating WhatsApp */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: #1fa855; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 26px rgba(31,168,85,.45); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1080px) {
  .cats { grid-template-columns: repeat(3, 1fr); }
  .grid, .branches { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .cta { grid-template-columns: 1fr; padding: 48px; }
  .cta__actions { justify-content: flex-start; }
}
@media (max-width: 860px) {
  .burger { display: block; }
  .nav { position: fixed; top: 78px; left: 0; right: 0; bottom: 0; background: var(--white); flex-direction: column; align-items: stretch; gap: 0; padding: 20px; transform: translateX(100%); transition: transform .3s; overflow-y: auto; }
  .nav.open { transform: none; }
  .nav a { padding: 18px 4px; font-size: 1.15rem; border-bottom: 1px solid var(--silver-2); }
  .nav a::after { display: none; }
  .nav .btn { margin-top: 20px; border: 0; padding: 16px; }
  .burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .burger.open span:nth-child(2) { opacity: 0; }
  .burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .split { grid-template-columns: 1fr; gap: 56px; }
  .split__media .float { right: 0; }
  .since { left: 10px; }
  .modal__box { grid-template-columns: 1fr; }
  .modal__body { padding: 28px 24px; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .topbar__hide { display: none; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .section { padding: 68px 0; }
  .cats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cat { padding: 16px 14px; }
  .cat h3 { font-size: 1.2rem; }
  .grid, .branches, .features { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__stats { gap: 22px; margin-top: 40px; }
  .stat b { font-size: 1.9rem; }
  .stat span { font-size: .7rem; letter-spacing: .08em; }
  .hero__actions .btn { flex: 1; }
  .brands .container { justify-content: center; }
  .brands__list { justify-content: center; }
  .brand-tile { width: calc(50% - 9px); }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 20px; padding: 0 16px 4px; scrollbar-width: none; width: calc(100% + 32px); }
  .filters::-webkit-scrollbar { display: none; }
  .chip { padding: 10px 16px; flex: none; }
  .toolbar { display: block; }
  .toolbar select { margin-bottom: 24px; }
  .cta { padding: 36px 24px; }
  .logo img { height: 46px; }
  .topbar .container { justify-content: center; }
  .topbar__links { gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* WordPress additions */
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; }
.social a:hover { background: var(--wine); }
.social svg { width: 17px; height: 17px; }
.prose { max-width: 760px; }
.prose img { height: auto; border-radius: 12px; }
.prose a { color: var(--wine); text-decoration: underline; }
.empty-note { padding: 40px; text-align: center; color: var(--muted); border: 2px dashed var(--silver-2); border-radius: var(--radius); grid-column: 1 / -1; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }
