/* Jefe Barbers: black, white, one accent (logo yellow) */
:root {
  --black: #0a0a0a;
  --white: #ffffff;
  --off: #f4f4f1;
  --grey: #6b6b6b;
  --line: #e2e2dc;
  --accent: #efe85e;
  --radius: 14px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--font); color: var(--black); background: var(--white); line-height: 1.55; font-size: 1.0625rem; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.02; letter-spacing: -0.035em; margin: 0 0 .5em; font-weight: 900; }
h1 { font-size: clamp(3rem, 13vw, 7.5rem); }
h2 { font-size: clamp(2.1rem, 7vw, 4.25rem); max-width: 16ch; }
h3 { font-size: 1.5rem; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.wrap { width: min(100% - 2.5rem, 1180px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--accent); color: var(--black); padding: .75rem 1rem; z-index: 100; font-weight: 700; }
.skip:focus { left: 1rem; top: 1rem; }

.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 800; color: var(--grey); margin-bottom: 1rem; }
.accent { color: var(--accent); }
.lede { font-size: clamp(1.1rem, 2.4vw, 1.35rem); max-width: 38ch; }
.small { font-size: .95rem; opacity: .85; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: .85rem 1.5rem; border-radius: 999px; font-weight: 800; text-decoration: none; border: 2px solid transparent; transition: transform .15s ease, background .15s ease; text-align: center; }
.btn:hover { transform: translateY(-2px); }
.btn-sm { min-height: 42px; padding: .5rem 1.1rem; font-size: .95rem; }
.btn-accent { background: var(--accent); color: var(--black); }
.btn-outline { border-color: currentColor; color: inherit; }
.btn-dark { background: var(--black); color: var(--white); }
.btn-outline-dark { border-color: var(--black); color: var(--black); }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.75rem 0 1.25rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(10,10,10,.92); backdrop-filter: blur(8px); color: var(--white); border-bottom: 1px solid #222; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; }
.wordmark { font-weight: 900; font-style: italic; letter-spacing: -0.03em; font-size: 1.25rem; text-decoration: none; margin: 0; }
.wordmark-lg { font-size: clamp(2rem, 6vw, 3.25rem); margin-bottom: 1rem; }
.nav-links { display: none; list-style: none; margin: 0; padding: 0; gap: 1.75rem; }
.nav-links a { text-decoration: none; font-weight: 600; font-size: .95rem; opacity: .85; }
.nav-links a:hover { opacity: 1; color: var(--accent); }
@media (min-width: 820px) { .nav-links { display: flex; } }

/* Hero */
.hero { background: var(--black); color: var(--white); padding: 3.5rem 0 4.5rem; overflow: hidden; }
.hero .eyebrow { color: #a8a8a8; }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
.hero-mark img { width: min(60vw, 260px); margin-inline: auto; opacity: .95; }
@media (min-width: 900px) {
  .hero { padding: 6rem 0 7rem; }
  .hero-grid { grid-template-columns: 1.5fr 1fr; }
  .hero-mark img { width: 100%; max-width: 380px; }
}

/* Sections */
.section { padding: 4.5rem 0; }
@media (min-width: 900px) { .section { padding: 7rem 0; } }
.section-dark { background: var(--black); color: var(--white); }
.section-dark .eyebrow { color: #a8a8a8; }
.section-light { background: var(--off); }

/* Cards */
.card { border-radius: var(--radius); padding: 1.75rem; }
.price-grid, .product-grid { list-style: none; padding: 0; margin: 2.5rem 0 0; display: grid; gap: 1.25rem; }
.price-card { border: 2px solid var(--line); display: flex; flex-direction: column; }
.price-card .btn { margin-top: auto; }
.price { font-size: clamp(3rem, 10vw, 4.5rem); font-weight: 900; letter-spacing: -0.04em; line-height: 1; margin-bottom: .35rem; }
.price-note { font-weight: 700; }
.price-card--main { background: var(--accent); border-color: var(--black); box-shadow: 8px 8px 0 var(--black); }
.price-card--main .price { font-size: clamp(3.75rem, 13vw, 6rem); }
.badge { display: inline-block; align-self: flex-start; background: var(--black); color: var(--accent); font-weight: 800; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; padding: .35rem .75rem; border-radius: 999px; margin-bottom: 1rem; }
.badge-muted { background: #2a2a2a; color: #d6d6d6; }
/* Mobile: main offer first */
.price-card--main { order: -1; }
@media (min-width: 900px) {
  .price-grid { grid-template-columns: 1fr 1.15fr 1fr; align-items: stretch; }
  .price-card--main { order: 0; transform: translateY(-14px); }
  }

/* Products */
.product-card { background: #161616; border: 2px solid #2a2a2a; display: flex; flex-direction: column; }
.product-card .btn { margin-top: auto; align-self: flex-start; }
.product-img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 10px; margin-bottom: 1.25rem; background: #222; }
.product-card h3 { margin-bottom: .4em; }
.product-price { font-weight: 800; color: var(--accent); }
@media (min-width: 640px) and (max-width: 899px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .product-grid { grid-template-columns: repeat(4, 1fr); } }
.section-dark .placeholder-tag { color: var(--black); }

/* Pricing footnote */
.price-foot { margin-top: 2rem; font-weight: 700; color: var(--grey); }

/* WhatsApp / walk-ins */
.walkin-line { font-weight: 700; max-width: 40ch; color: var(--accent); }
.walkin-box { margin-top: 2rem; padding-top: 1.75rem; border-top: 1px solid #333; }
.walkin-box h4 { font-size: 1.35rem; margin: 0 0 .5rem; font-weight: 900; letter-spacing: -0.02em; }
.walkin-box p { max-width: 50ch; }
.wa-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--black); color: var(--white); border-top: 2px solid var(--accent); padding: .6rem 1rem calc(.75rem + env(safe-area-inset-bottom)); text-align: center; box-shadow: 0 -6px 20px rgba(0,0,0,.25); }
.wa-sticky p { margin: 0 0 .45rem; font-size: .9rem; font-weight: 600; color: #d6d6d6; }
.wa-sticky .btn { width: 100%; max-width: 480px; min-height: 50px; }
@media (max-width: 819px) { .site-footer { padding-bottom: 9rem; } }
@media (min-width: 820px) { .wa-sticky { display: none; } }

/* Book box */
.book-box { margin-top: 3rem; background: var(--black); color: var(--white); border-radius: var(--radius); padding: 2rem; scroll-margin-top: 80px; }
.book-box h3 { font-size: clamp(1.75rem, 5vw, 2.75rem); }
@media (min-width: 900px) { .book-box { padding: 3rem; } }

/* FAQ + Visit */
.faq-grid { display: grid; gap: 3rem; }
@media (min-width: 950px) { .faq-grid { grid-template-columns: 1.2fr 1fr; align-items: start; } }
.faq { margin-top: 2rem; border-top: 2px solid var(--black); }
.faq details { border-bottom: 1px solid #cfcfc8; }
.faq summary { cursor: pointer; list-style: none; padding: 1.15rem 2.5rem 1.15rem 0; font-weight: 800; font-size: 1.15rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .25rem; top: 50%; transform: translateY(-50%); font-size: 1.6rem; font-weight: 400; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding-bottom: 1.15rem; margin: 0; max-width: 55ch; }
.visit address { font-size: 1.35rem; font-weight: 700; line-height: 1.35; margin-bottom: 1.25rem; }
.map { border-radius: var(--radius); overflow: hidden; border: 2px solid var(--black); margin-bottom: 1.25rem; aspect-ratio: 4 / 3; background: #ddd; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Footer */
.site-footer { background: var(--black); color: var(--white); padding: 4rem 0 2rem; }
.site-footer a { text-decoration: underline; text-underline-offset: 3px; }
.site-footer a:hover { color: var(--accent); }
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr; } }
.footer-h { font-size: 1rem; text-transform: uppercase; letter-spacing: .14em; color: #a8a8a8; margin-bottom: 1rem; }
.hours { margin: 0; }
.hours div { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; border-bottom: 1px solid #222; }
.hours dt { font-weight: 700; }
.hours dd { margin: 0; color: #d6d6d6; }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid #222; font-size: .9rem; color: #a8a8a8; }
.footer-base p { margin: 0; }

/* Privacy page */
.legal { padding: 3.5rem 0 5rem; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(2.5rem, 9vw, 4.5rem); }
.legal h2 { font-size: 1.5rem; max-width: none; margin-top: 2.25rem; }
.legal ul { padding-left: 1.25rem; }
.legal li { margin-bottom: .4rem; }
.placeholder-tag { background: var(--accent); padding: 0 .3em; font-weight: 700; }
.product-card .placeholder-tag { display: inline-block; font-size: .85rem; padding: .1em .4em; border-radius: 4px; }

/* Reviews */
.reviews { background: var(--white); overflow: hidden; }
.mission { margin: 0 0 2.5rem; padding: 0; }
.mission p { font-size: clamp(2rem, 6.2vw, 4.25rem); font-weight: 900; line-height: 1.02; letter-spacing: -0.035em; margin: 0 0 1rem; max-width: 19ch; }
.mission footer { font-weight: 800; text-transform: uppercase; letter-spacing: .14em; font-size: .85rem; }
.mission footer::before { content: ""; display: inline-block; width: 2.5rem; height: 3px; background: var(--accent); vertical-align: middle; margin-right: .75rem; box-shadow: 0 0 0 1px var(--black); }
.trust { display: grid; gap: .75rem 2rem; align-items: center; border-top: 2px solid var(--black); border-bottom: 2px solid var(--black); padding: 1.5rem 0; margin-bottom: 2.5rem; }
.trust p { margin: 0; }
.trust-score { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; }
.g-rating { font-size: clamp(4rem, 14vw, 6.5rem); font-weight: 900; letter-spacing: -0.05em; line-height: .9; }
.trust-stars { font-size: clamp(1.5rem, 4vw, 2.1rem); color: var(--black); background: var(--accent); padding: .2rem .6rem; border-radius: 999px; letter-spacing: .08em; }
.trust-copy { font-size: 1.1rem; max-width: 34ch; }
.trust .btn { justify-self: start; }
@media (min-width: 900px) { .trust { grid-template-columns: auto 1fr auto; } .trust .btn { justify-self: end; } }

.review-carousel { position: relative; }
.review-viewport { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: thin; padding: .5rem 0 1.25rem; outline-offset: -3px; }
.review-track { list-style: none; margin: 0; padding: 0 max(1.25rem, calc((100vw - 1180px) / 2)); display: flex; gap: 1.25rem; width: max-content; }
.review-card { scroll-snap-align: start; width: min(82vw, 360px); flex: none; }
.review-card figure { margin: 0; height: 100%; display: flex; flex-direction: column; background: var(--black); color: var(--white); border-radius: var(--radius); padding: 1.6rem; box-shadow: 6px 6px 0 var(--accent); border: 2px solid var(--black); }
.review-stars { color: var(--accent); font-size: 1.2rem; letter-spacing: .12em; margin: 0 0 .9rem; }
.review-card blockquote { margin: 0 0 1.25rem; }
.review-card blockquote p { margin: 0; font-size: 1.02rem; line-height: 1.5; }
.review-card figcaption { margin-top: auto; padding-top: 1rem; border-top: 1px solid #2a2a2a; display: flex; flex-direction: column; gap: .15rem; }
.review-name { font-weight: 800; }
.review-date { font-size: .82rem; color: #a8a8a8; }
.review-controls { display: flex; justify-content: flex-end; }
.review-toggle { font: inherit; font-weight: 700; font-size: .9rem; background: none; border: 2px solid var(--black); border-radius: 999px; padding: .45rem 1rem; cursor: pointer; color: var(--black); }
.review-toggle:hover { background: var(--accent); }

/* Marquee mode (JS on, motion allowed) */
.is-marquee .review-viewport { overflow: hidden; scroll-snap-type: none; }
.is-marquee .review-track { animation: review-marquee 90s linear infinite; padding: 0; gap: 0; }
.is-marquee .review-card { margin-right: 1.25rem; }
.is-marquee:hover .review-track,
.is-marquee:focus-within .review-track,
.is-marquee.is-touch .review-track,
.is-marquee.is-paused .review-track { animation-play-state: paused; }
@keyframes review-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .is-marquee .review-track { animation: none; } .is-marquee .review-viewport { overflow-x: auto; } }

.reviews .book-box { margin-top: 3.5rem; }
