/* Joel's Barber Shop — "Barberos en Evolución": oxblood, bone and brass.
   Editorial serif italics, a round brass-ringed barber mirror, bilingual toggle. */
:root {
  --c-primary: #4a111b;
  --c-primary-dark: #330a12;
  --c-accent: #c9974a;
  --c-ink: #1f1412;
  --c-muted: #5c4a45;
  --c-bg: #f3ebdd;
  --c-surface: #eadfcb;
  --c-dark: #2a0a10;
  --c-on-dark: #f3ebdd;
  --c-border: #d6c6aa;
  --oxblood: #4a111b;
  --brass: #c9974a;
  --bone: #f3ebdd;
  --f-head: "Instrument Serif", Georgia, serif;
  --f-body: "Schibsted Grotesk", system-ui, sans-serif;
  --fw-head: 400;
  --radius: 4px;
  --radius-sm: 4px;
  --nav-h: 72px;
}
h1, h2, h3 { letter-spacing: -.005em; line-height: 1.02; }
em { font-style: italic; color: var(--brass); }
a { color: var(--oxblood); }
:focus-visible { outline-color: var(--brass); }

.btn { border-radius: 4px; box-shadow: none; font-weight: 600; letter-spacing: .01em; }
.btn:hover { transform: none; }
.btn--brass { background: var(--brass); color: #22100c; border-color: var(--brass); }
.btn--brass:hover { background: #d8a95c; color: #22100c; }
.btn--line { background: transparent; color: var(--oxblood); border: 1.5px solid var(--oxblood); }
.link-arrow { font-weight: 600; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; color: var(--bone); }
.link-arrow:hover { color: var(--brass); }

/* Header: transparent over oxblood, wordmark stacked, language pills */

/* HERO: type left, round mirror right */
.jb-hero { background: var(--oxblood); color: var(--bone); padding: clamp(40px, 7vw, 90px) 0 clamp(56px, 8vw, 110px); overflow: hidden; }
.jb-hero-grid { display: grid; gap: 40px; align-items: center; }
.jb-hero-grid > * { min-width: 0; }
.jb-tag { font-size: .9rem; color: var(--brass); margin-bottom: 18px; }
.jb-hero h1 { font-size: clamp(2.8rem, 9vw, 5.6rem); margin-bottom: .35em; }
.jb-lead { font-size: 1.12rem; max-width: 46ch; color: #eadfcb; }
.jb-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 28px; }
.mirror { margin: 0; justify-self: center; position: relative; width: min(100%, 440px); }
.mirror-glass { aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: #6b2a33; border: 10px solid var(--brass); box-shadow: 0 0 0 2px var(--oxblood), 0 0 0 4px rgba(201,151,74,.6); }
.mirror-glass img { width: 100%; height: 100%; object-fit: cover; }
.mirror .photo-note { position: absolute; bottom: 4%; left: 50%; transform: translateX(-50%); white-space: nowrap; }
@media (min-width: 900px) { .jb-hero-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 56px; } .mirror { justify-self: end; } }

/* Walk-in strip */

/* Cuts: a bilingual price-list menu, left heading */
.cuts { padding: clamp(56px, 9vw, 110px) 0; }
.cuts-grid { display: grid; gap: 24px; }
.cuts-grid > * { min-width: 0; }
.cuts h2 { font-size: clamp(2.4rem, 6vw, 4rem); margin: 0; }
.menu { margin: 0; }
.menu div { display: flex; align-items: baseline; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--c-border); }
.menu dt { display: flex; flex-direction: column; font-family: var(--f-head); font-size: 1.7rem; line-height: 1.05; }
.menu dt i { font-family: var(--f-body); font-style: normal; font-size: .85rem; color: var(--c-muted); }
.menu-note { color: var(--c-muted); font-size: .9rem; }
@media (min-width: 900px) { .cuts-grid { grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); column-gap: 80px; } .menu-note { grid-column: 2; } }

/* The chair: tall photo + reviews themes */
.chair { background: var(--c-surface); padding: clamp(56px, 9vw, 110px) 0; }
.chair-grid { display: grid; gap: 36px; }
.chair-grid > * { min-width: 0; }
.chair-photo { position: relative; background: #c8b590; border-radius: 4px; max-width: 460px; outline: 1.5px solid var(--brass); outline-offset: 10px; margin: 10px; }
.chair-photo img { border-radius: 4px; }
.chair-photo img { width: 100%; aspect-ratio: 9/11; object-fit: cover; }
.chair-photo .photo-note { position: absolute; left: 12px; bottom: 12px; margin: 0; }
.chair h2 { font-size: clamp(2rem, 4.6vw, 3.2rem); max-width: 16ch; }
.themes { list-style: none; padding: 0; margin: 22px 0; }
.themes li { font-family: var(--f-head); font-style: italic; font-size: 1.45rem; line-height: 1.2; padding: 10px 0 10px 22px; border-left: 3px solid var(--oxblood); margin-bottom: 10px; }
.source { font-size: .88rem; color: var(--c-muted); margin-bottom: 4px; }
@media (min-width: 900px) { .chair-grid { grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: 72px; align-items: center; } }

/* Gallery strip: horizontal scroll-snap film */
.strip { padding: 28px 0 40px; background: var(--c-dark); }
.strip-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 70%); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--gutter) 10px; }
@media (min-width: 768px) { .strip-track { grid-auto-columns: minmax(0, 1fr); max-width: var(--container); margin: 0 auto; } }
.strip-track button { scroll-snap-align: start; padding: 0; border: 0; background: #3a1a1f; cursor: zoom-in; border-radius: 4px; overflow: hidden; }
.strip-track img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.strip .photo-note { display: block; width: fit-content; margin-top: 12px; }

/* Visit */
.visit { padding: clamp(56px, 9vw, 110px) 0; }
.visit-grid { display: grid; gap: 32px; }
.visit-grid > * { min-width: 0; }
.visit h2 { font-size: clamp(2.2rem, 6vw, 3.8rem); }
.days { list-style: none; padding: 0; margin: 22px 0 8px; }
.days li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--c-border); }
.tz { font-size: .85rem; color: var(--c-muted); }
.big-tel a { font-family: var(--f-head); font-size: clamp(2rem, 6vw, 2.8rem); text-decoration: none; color: var(--oxblood); }
.map-embed { border-radius: 4px; box-shadow: none; }
@media (min-width: 900px) { .visit-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 64px; align-items: center; } }

/* Contact: open form on bone, no card */
.form-success { text-align: left; padding: 0; }
.form-success h3 { font-size: 2rem; }

/* Footer: big italic sign-off */
.jb-footer { background: var(--oxblood); color: var(--bone); padding: 48px 0 28px; }
.sign-off { font-family: var(--f-head); font-style: italic; font-size: clamp(3rem, 12vw, 7.5rem); line-height: .95; color: var(--brass); margin: 0 0 28px; }
.jb-foot-row { display: grid; gap: 8px; font-size: .9rem; border-top: 1px solid rgba(201,151,74,.4); padding-top: 16px; }
.jb-foot-row a { color: var(--bone); }
@media (min-width: 900px) { .jb-foot-row { grid-template-columns: auto auto auto; justify-content: space-between; } }


/* HEADER: a theatre-marquee bar with the wordmark centered (own markup) */
.marquee { position: sticky; top: 0; z-index: 100; background: var(--oxblood); color: var(--bone); border-bottom: 1px solid rgba(201,151,74,.45); }
.marquee-bar { position: relative; max-width: var(--container); margin: 0 auto; padding: 8px var(--gutter); display: grid; grid-template-columns: 48px 1fr 48px; align-items: center; min-height: 64px; }
.mq-brand { grid-column: 2; justify-self: center; text-align: center; text-decoration: none; color: var(--bone); line-height: 1; }
.mq-word { display: block; font-family: var(--f-head); font-style: italic; font-size: 2.1rem; }
.mq-sub { display: block; font-size: .62rem; letter-spacing: .32em; text-transform: uppercase; color: var(--brass); margin-top: 3px; }
.mq-links { display: none; gap: 26px; }
.mq-links a { color: var(--bone); text-decoration: none; font-size: .92rem; }
.mq-links a:hover { color: var(--brass); }
.mq-toggle { grid-column: 1; grid-row: 1; background: transparent; border: 1px solid rgba(201,151,74,.6); border-radius: 50%; }
.mq-toggle span, .mq-toggle span::before, .mq-toggle span::after { background: var(--bone); }
.mq-toggle[aria-expanded="true"] span { background: transparent; }
.mq-demo { margin: 0; text-align: center; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; padding: 3px var(--gutter); background: #3a0d15; color: #d8c7a8; }
@media (min-width: 960px) {
  .marquee-bar { grid-template-columns: 1fr auto 1fr; }
  .mq-links { display: flex; }
  .mq-left { grid-column: 1; grid-row: 1; }
  .mq-right { grid-column: 3; justify-self: end; }
}
/* Menu drops from under the marquee bar, not from a fixed viewport offset */
.mq-drawer { position: absolute; inset: auto 0 auto 0; top: 100%; max-height: calc(100dvh - 110px); overflow-y: auto; background: var(--oxblood); border-top: 1px solid rgba(201,151,74,.45); border-bottom: 3px solid var(--brass); padding: 8px var(--gutter) 22px; text-align: center; }
.mq-drawer a:not(.btn) { color: var(--bone); font-family: var(--f-head); font-style: italic; font-size: 1.6rem; border-bottom: 1px solid rgba(243,235,221,.15); justify-content: center; }

/* SE HABLA ESPAÑOL ribbon with the language switch */
.ribbon { background: var(--brass); color: #22100c; }
.ribbon-row { display: grid; gap: 10px 40px; padding-top: 16px; padding-bottom: 16px; align-items: center; }
.ribbon-row > * { min-width: 0; }
.ribbon p { margin: 0; }
.ribbon strong { font-family: var(--f-head); font-style: italic; font-weight: 400; font-size: 1.3rem; margin-right: 6px; }
.ribbon-es { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ribbon-flag { font-family: var(--f-head); font-style: italic; font-size: 1.5rem; }
.lang { display: inline-flex; gap: 4px; }
.lang-btn { background: transparent; color: #22100c; border: 0; border-bottom: 2px solid transparent; padding: 6px 4px; font: 600 .9rem var(--f-body); cursor: pointer; }
.lang-btn[aria-pressed="true"] { border-bottom-color: var(--oxblood); color: var(--oxblood); }
.lang-btn + .lang-btn::before { content: "/"; margin-right: 8px; color: rgba(34,16,12,.5); }
@media (min-width: 900px) { .ribbon-row { grid-template-columns: auto minmax(0,1fr) minmax(0,1fr); } }

/* Spanish mode: hide the Spanish subtitle under each service (it'd repeat) */
html[lang="es"] .menu dt i { display: none; }
.menu-note { margin-top: 16px; font-style: italic; }

/* VISIT now sits high: map first */
.visit-map iframe { height: 340px; }
@media (min-width: 900px) { .visit-map iframe { height: 100%; min-height: 400px; } }
.strip-h { color: var(--bone); font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 16px; }

/* Mobile action: round brass mirror call button */
.mirror-call { position: fixed; right: 16px; bottom: 18px; z-index: 90; width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, #f0d39b, var(--brass) 55%, #8d6528); color: #22100c; text-decoration: none; font-family: var(--f-head); font-style: italic; font-size: 1.35rem; border: 4px solid var(--oxblood); box-shadow: 0 0 0 2px var(--brass), 0 8px 18px rgba(0,0,0,.3); }
@media (min-width: 960px) { .mirror-call { display: none; } }
.jb-footer { padding-bottom: 110px; }
@media (min-width: 960px) { .jb-footer { padding-bottom: 28px; } }
