/* ==========================================================================
   Uptown Barber – stylesheet
   ========================================================================== */

:root {
  --bg: #0e0e0f;
  --bg-2: #151617;
  --bg-3: #1d1e21;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f1ece3;
  --text-muted: #a9a49b;
  --accent: #c9a24d;
  --accent-2: #e2c17a;
  --accent-ink: #0e0e0f;
  --danger: #d85a5a;
  --ok: #5fbf7a;

  --font-display: "Bebas Neue", "Oswald", Impact, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1180px;
  --gutter: 20px;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}
img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; line-height: 1.05; }
p { margin: 0 0 1em; }
address { font-style: normal; }
table { border-collapse: collapse; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 1000;
  background: var(--accent); color: var(--accent-ink);
  padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 700;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container-wide { width: 100%; max-width: 1480px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.section-head { max-width: 680px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-sub { color: var(--text-muted); margin: 14px 0 0; font-size: 1.05rem; }

/* ---------- Typography ---------- */
h1, h2, .brand-name, .price, .about-badge strong, .hero-stats strong {
  font-family: var(--font-display);
  letter-spacing: 0.02em;
}
h1 { font-size: clamp(3.4rem, 9vw, 7.2rem); line-height: 0.95; }
h2 { font-size: clamp(2.4rem, 5vw, 4rem); }
h3 { font-size: 1.35rem; font-weight: 700; line-height: 1.2; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--accent); }
.accent { color: var(--accent); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--text-muted); max-width: 560px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px;
  font-weight: 700; font-size: 0.95rem; letter-spacing: 0.02em; white-space: nowrap;
  border: 1.5px solid transparent;
  transition: transform 0.3s var(--ease), background 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.3s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 24px rgba(201, 162, 77, 0.25); }
.btn-primary:hover { background: var(--accent-2); box-shadow: 0 12px 32px rgba(201, 162, 77, 0.35); }
.btn-ghost { background: rgba(255, 255, 255, 0.06); color: var(--text); border-color: var(--line-strong); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.3); }
.btn-outline { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn-outline:hover { background: var(--accent); color: var(--accent-ink); }
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  transition: height 0.35s;
}
/* A görgetéskor megjelenő elmosott háttér külön rétegen van. Ha a backdrop-filter magán a
   fejlécen lenne, a benne lévő position: fixed mobilmenü a fejléchez kötődne és összezsugorodna. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(14, 14, 15, 0.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
  opacity: 0; transition: opacity 0.35s;
}
.site-header.is-scrolled { height: 64px; }
.site-header.is-scrolled::before { opacity: 1; }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-logo { width: 40px; height: auto; }
.brand-name { font-size: 1.6rem; line-height: 1; letter-spacing: 0.06em; }
.brand-name em { font-style: normal; color: var(--accent); }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav ul { display: flex; gap: 26px; }
.main-nav ul a {
  position: relative; font-weight: 600; font-size: 0.92rem; color: var(--text-muted);
  padding: 6px 0; transition: color 0.25s;
}
.main-nav ul a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: right;
  transition: transform 0.3s var(--ease);
}
.main-nav ul a:hover, .main-nav ul a.is-active { color: var(--text); }
.main-nav ul a:hover::after, .main-nav ul a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { padding: 11px 20px; font-size: 0.9rem; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 10px;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line);
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: min(100svh, 1000px); display: flex; align-items: center;
  padding: calc(var(--header-h) + 40px) 0 80px; overflow: hidden;
}
.hero-bg, .hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-bg img { object-fit: cover; object-position: center; filter: saturate(0.2) contrast(1.05); transform: scale(1.04); animation: heroZoom 14s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(14, 14, 15, 0.96) 0%, rgba(14, 14, 15, 0.82) 38%, rgba(14, 14, 15, 0.25) 75%, rgba(14, 14, 15, 0.1) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(14, 14, 15, 0) 30%),
    linear-gradient(180deg, rgba(14, 14, 15, 0.75) 0%, rgba(14, 14, 15, 0) 22%); /* felül sötétítés: a menü olvasható maradjon világos képrész fölött is */
}
.hero-content { position: relative; z-index: 1; }
.hero h1 { margin-bottom: 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 48px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 0; border-top: 1px solid var(--line-strong); padding-top: 24px; max-width: 620px; }
.hero-stats li { flex: 1 1 120px; display: flex; flex-direction: column; padding-right: 18px; }
.hero-stats strong { font-size: 2.2rem; line-height: 1; color: var(--accent); }
.hero-stats span { font-size: 0.8rem; color: var(--text-muted); letter-spacing: 0.08em; text-transform: uppercase; margin-top: 4px; }

.scroll-hint {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 1;
  width: 26px; height: 42px; border: 2px solid var(--line-strong); border-radius: 14px;
}
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: var(--accent); border-radius: 2px; animation: scrollDot 1.8s infinite; }
@keyframes scrollDot { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); padding: 16px 0; }
.marquee-track { display: flex; gap: 36px; width: max-content; animation: marquee 32s linear infinite; }
.marquee-track span { font-family: var(--font-display); font-size: 1.35rem; letter-spacing: 0.12em; color: var(--text-muted); white-space: nowrap; }
.marquee-track i { color: var(--accent); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.about-media { position: relative; }
.about-media img { border-radius: var(--radius); box-shadow: var(--shadow); filter: grayscale(1) contrast(1.05); aspect-ratio: 1; object-fit: cover; }
.about-media::before {
  content: ""; position: absolute; inset: -18px auto auto -18px; width: 60%; height: 60%;
  border: 2px solid var(--accent); border-radius: var(--radius); z-index: -1; opacity: 0.6;
}
.about-badge {
  position: absolute; right: -14px; bottom: 28px;
  background: var(--accent); color: var(--accent-ink);
  padding: 16px 22px; border-radius: var(--radius-sm); box-shadow: var(--shadow);
  display: flex; flex-direction: column; line-height: 1;
}
.about-badge strong { font-size: 2.6rem; }
.about-badge span { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-top: 4px; }
.about-text h2 { margin-bottom: 22px; }
.about-text > p { color: var(--text-muted); font-size: 1.05rem; }
.features { margin-top: 34px; display: grid; gap: 18px; }
.features li { display: flex; gap: 16px; align-items: flex-start; }
.feature-icon { flex: 0 0 46px; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--bg-3); border: 1px solid var(--line); color: var(--accent); }
.feature-icon svg { width: 22px; height: 22px; }
.features strong { display: block; font-size: 1rem; margin-bottom: 2px; }
.features p { margin: 0; color: var(--text-muted); font-size: 0.95rem; }

/* ---------- Services ---------- */
.services { background: var(--bg-2); }
.services::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 50% at 100% 0%, rgba(201, 162, 77, 0.08), transparent 70%);
  pointer-events: none;
}
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; position: relative; }
.service {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 24px 20px; display: flex; flex-direction: column; gap: 10px;
  transition: transform 0.35s var(--ease), border-color 0.3s, box-shadow 0.35s;
}
.service:hover { transform: translateY(-4px); border-color: rgba(201, 162, 77, 0.5); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35); }
.service.featured { border-color: rgba(201, 162, 77, 0.55); background: linear-gradient(160deg, rgba(201, 162, 77, 0.12), transparent 60%), var(--bg); }
.service-top { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; }
.service h3 { font-size: 1.12rem; }
.price { font-size: 1.7rem; color: var(--accent); white-space: nowrap; line-height: 1; }
.service > p { color: var(--text-muted); font-size: 0.93rem; margin: 0; flex: 1; }
.tag { display: inline-block; margin-top: 6px; padding: 2px 9px; border-radius: 999px; background: rgba(201, 162, 77, 0.15); color: var(--accent); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.service-meta { display: flex; justify-content: space-between; align-items: center; border-top: 1px dashed var(--line-strong); padding-top: 12px; margin-top: 4px; font-size: 0.86rem; }
.duration { color: var(--text-muted); display: inline-flex; align-items: center; gap: 6px; }
.duration::before { content: ""; width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid currentColor; box-shadow: inset 0 -3px 0 -1px currentColor; }
.service-meta a { color: var(--accent); font-weight: 700; }
.service-meta a:hover { text-decoration: underline; }
.services-cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 44px; }

/* ---------- Barbers ---------- */
.filter { display: inline-flex; gap: 6px; padding: 5px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); margin-bottom: 36px; }
.filter-btn { padding: 9px 18px; border-radius: 999px; font-weight: 600; font-size: 0.9rem; color: var(--text-muted); transition: background 0.25s, color 0.25s; }
.filter-btn:hover { color: var(--text); }
.filter-btn.is-active { background: var(--accent); color: var(--accent-ink); }

.barbers-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.barber {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.35s var(--ease), border-color 0.3s, opacity 0.3s;
}
.barber:hover { transform: translateY(-5px); border-color: rgba(201, 162, 77, 0.4); }
.barber.is-hidden { display: none; }
.barber-photo { padding: 30px 30px 18px; display: grid; place-items: center; }
.barber-photo img { width: min(100%, 240px); aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 2px solid rgba(201, 162, 77, 0.55); padding: 6px; background: var(--bg); filter: grayscale(0.85); transition: transform 0.6s var(--ease), filter 0.5s, border-color 0.3s; }
.barber:hover .barber-photo img { transform: scale(1.03); filter: grayscale(0); border-color: var(--accent); }
.barber-body { padding: 4px 24px 26px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; flex: 1; }
.barber-loc { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.rating { font-size: 0.85rem; color: var(--text-muted); display: flex; align-items: center; gap: 6px; }
.rating span { color: var(--accent); letter-spacing: 1px; }
.barber-body p { color: var(--text-muted); font-size: 0.93rem; margin: 4px 0 10px; flex: 1; }
.barber-body .btn { align-self: center; }

/* ---------- Gallery ---------- */
.gallery { background: var(--bg-2); }
.gallery-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.gallery-item { position: relative; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 10px; background: var(--bg-3); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease), filter 0.5s; filter: grayscale(0.3); }
.gallery-item::after { content: "＋"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 2rem; background: rgba(14, 14, 15, 0.45); opacity: 0; transition: opacity 0.3s; }
.gallery-item:hover img { transform: scale(1.06); filter: grayscale(0); }
.gallery-item:hover::after { opacity: 1; }
.gallery-social { display: flex; justify-content: center; margin-top: 36px; }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.testi { margin: 0; padding: 28px 28px 24px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); position: relative; }
.testi::before { content: "“"; position: absolute; top: 8px; right: 22px; font-family: var(--font-display); font-size: 6rem; line-height: 1; color: var(--accent); opacity: 0.18; }
.testi p { font-size: 1.05rem; line-height: 1.6; margin-bottom: 18px; padding-right: 30px; }
.testi footer { display: flex; flex-direction: column; gap: 2px; font-size: 0.86rem; }
.testi footer strong { color: var(--accent); }
.testi footer span { color: var(--text-muted); }

/* ---------- Locations ---------- */
.locations-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.location { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.location-map { aspect-ratio: 16 / 9; background: var(--bg-3); }
.location-map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(0.92) contrast(0.9) hue-rotate(180deg); }
.location-body { padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.location-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.location-head h3 { font-size: 1.5rem; }
.open-status { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; background: var(--bg-3); color: var(--text-muted); display: inline-flex; align-items: center; gap: 7px; }
.open-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.open-status.is-open { color: var(--ok); background: rgba(95, 191, 122, 0.12); }
.open-status.is-closed { color: var(--danger); background: rgba(216, 90, 90, 0.12); }
.location address a { color: var(--text); font-weight: 600; border-bottom: 1px solid var(--line-strong); }
.location address a:hover { border-color: var(--accent); color: var(--accent); }
.hours { width: 100%; font-size: 0.95rem; }
.hours td { padding: 8px 0; border-bottom: 1px solid var(--line); }
.hours td:last-child { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.hours tr:last-child td { border-bottom: 0; }
.hours .closed { color: var(--danger); }
.location-team { font-size: 0.86rem; color: var(--text-muted); margin: 0; }
.location .btn { align-self: flex-start; margin-top: 6px; }

.policy { margin-top: 28px; padding: 26px 28px; border-radius: var(--radius); border: 1px solid rgba(201, 162, 77, 0.35); background: linear-gradient(135deg, rgba(201, 162, 77, 0.1), transparent 60%); }
.policy h3 { margin-bottom: 12px; font-size: 1.1rem; }
.policy ul { display: grid; gap: 8px; color: var(--text-muted); font-size: 0.95rem; }
.policy li { padding-left: 20px; position: relative; }
.policy li::before { content: ""; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.policy strong { color: var(--text); }

/* ---------- Contact ---------- */
.contact { background: var(--bg-2); overflow: hidden; }
.contact::after {
  content: ""; position: absolute; right: -10%; top: -20%; width: 55vw; height: 140%;
  background: radial-gradient(closest-side, rgba(201, 162, 77, 0.1), transparent); pointer-events: none;
}
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; position: relative; z-index: 1; }
.contact-text h2 { margin-bottom: 18px; }
.contact-text > p { color: var(--text-muted); font-size: 1.05rem; max-width: 520px; }
.contact-list { display: grid; gap: 18px; margin: 32px 0; }
.contact-list li { display: flex; gap: 16px; align-items: center; }
.contact-icon { flex: 0 0 46px; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--bg-3); border: 1px solid var(--line); color: var(--accent); }
.contact-icon svg { width: 22px; height: 22px; }
.contact-list div { display: flex; flex-direction: column; }
.contact-list div span { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }
.contact-list div a { font-weight: 700; font-size: 1.05rem; }
.contact-list div a:hover { color: var(--accent); }
.socials { display: flex; flex-wrap: wrap; gap: 12px; }
.socials a { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-strong); font-weight: 600; font-size: 0.9rem; transition: border-color 0.25s, color 0.25s, background 0.25s; }
.socials a:hover { border-color: var(--accent); color: var(--accent); background: rgba(201, 162, 77, 0.08); }
.socials svg { width: 20px; height: 20px; }

.contact-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 40px 36px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px;
  box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.contact-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.contact-card img { width: 80px; opacity: 0.9; }
.contact-card h3 { font-family: var(--font-display); font-size: 2.4rem; font-weight: 400; letter-spacing: 0.04em; }
.contact-card p { color: var(--text-muted); margin: 0; }
.contact-card .btn { margin-top: 8px; }
.contact-card small { color: var(--text-muted); font-size: 0.78rem; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg); padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.footer-brand p { color: var(--text-muted); font-size: 0.93rem; margin: 14px 0 0; max-width: 320px; }
.footer-nav, .footer-contact { display: flex; flex-direction: column; gap: 10px; font-size: 0.93rem; }
.footer-nav a, .footer-contact a { color: var(--text-muted); transition: color 0.2s; }
.footer-nav a:hover, .footer-contact a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 20px; font-size: 0.82rem; color: var(--text-muted); }
.to-top { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--text); transition: background 0.25s, border-color 0.25s; }
.to-top:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(8, 8, 9, 0.94); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(92vw, 1000px); max-height: 88vh; border-radius: 10px; box-shadow: var(--shadow); transform: scale(0.96); transition: transform 0.35s var(--ease); object-fit: contain; }
.lightbox.is-open img { transform: scale(1); }
.lb-close, .lb-prev, .lb-next { position: absolute; color: #fff; font-size: 2.4rem; line-height: 1; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.08); transition: background 0.2s; }
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(255, 255, 255, 0.18); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.hero .reveal:nth-child(1) { transition-delay: 0.05s; }
.hero .reveal:nth-child(2) { transition-delay: 0.15s; }
.hero .reveal:nth-child(3) { transition-delay: 0.28s; }
.hero .reveal:nth-child(4) { transition-delay: 0.4s; }
.hero .reveal:nth-child(5) { transition-delay: 0.52s; }
.services-grid .reveal:nth-child(even) { transition-delay: 0.08s; }
.barbers-grid .reveal:nth-child(3n+2) { transition-delay: 0.08s; }
.barbers-grid .reveal:nth-child(3n+3) { transition-delay: 0.16s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track, .hero-bg img, .scroll-hint span { animation: none; }
  * { transition-duration: 0.01ms !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .barbers-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  :root { --header-h: 68px; }
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0;
    background: rgba(14, 14, 15, 0.97); backdrop-filter: blur(14px);
    padding: 24px var(--gutter) 40px;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity 0.3s, transform 0.3s var(--ease), visibility 0.3s;
    overflow-y: auto;
  }
  .main-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav ul a { display: block; font-family: var(--font-display); font-size: 2.2rem; letter-spacing: 0.04em; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--text); }
  .main-nav ul a::after { display: none; }
  .nav-cta { margin-top: 26px; padding: 16px; font-size: 1rem; }
  .site-header.is-scrolled { height: var(--header-h); }
  body.nav-open { overflow: hidden; }

  .about-grid, .contact-grid, .locations-grid, .testi-grid, .services-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 520px; }
  .about-badge { right: 12px; }
  .about-media::before { inset: -10px auto auto -10px; }
  .hero-overlay { background: linear-gradient(180deg, rgba(14, 14, 15, 0.55) 0%, rgba(14, 14, 15, 0.8) 55%, var(--bg) 100%); }
  .hero { padding-bottom: 100px; }
  .hero-stats li { flex: 1 1 45%; margin-bottom: 14px; }
}

@media (max-width: 600px) {
  :root { --gutter: 16px; }
  .section { padding: 64px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .barbers-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .filter { display: flex; width: 100%; }
  .filter-btn { flex: 1; padding: 9px 6px; font-size: 0.82rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 14px; text-align: center; }
  .contact-card { padding: 32px 22px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .service-top { flex-direction: column; gap: 4px; }
  .location-body { padding: 20px; }
  .lb-prev, .lb-next { width: 42px; height: 42px; font-size: 1.8rem; }
  .lb-prev { left: 8px; } .lb-next { right: 8px; }
}

/* ---------- Booking page (beágyazott Salonic foglaló) ---------- */
/* A háttér a Salonic oldal színe: a telefonos böngészők az alsó sávjukat az oldal hátterével
   színezik, fekete háttérrel ez egy fekete csíkot adna a foglaló alá. */
.booking-page { --salonic-nav: 70px; height: 100vh; height: 100dvh; display: flex; flex-direction: column; overflow: hidden; background: #eee; }
.booking-bar { flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 7px var(--gutter); background: var(--bg); border-bottom: 1px solid var(--line); }
.booking-bar .brand-logo { width: 32px; }
.booking-bar .brand-name { font-size: 1.4rem; }
.booking-actions { display: flex; align-items: center; gap: 18px; }
.booking-phone, .booking-link { font-weight: 700; font-size: 0.9rem; color: var(--text-muted); }
.booking-phone:hover, .booking-link:hover { color: var(--accent); }
.booking-bar .btn-sm { padding: 7px 16px; }
/* A keretet a Salonic fejlécének magasságával feljebb toljuk, így az kilóg és nem látszik. */
.booking-wrap { flex: 1 1 auto; position: relative; overflow: hidden; background: #eee; }
.booking-frame { position: absolute; left: 0; top: calc(-1 * var(--salonic-nav)); width: 100%; height: calc(100% + var(--salonic-nav)); border: 0; }
.booking-fallback { padding: 40px var(--gutter); text-align: center; }
.booking-fallback a { color: var(--accent); text-decoration: underline; }
@media (max-width: 600px) {
  .booking-phone { display: none; }
  .booking-bar { padding-top: 5px; padding-bottom: 5px; }
  .booking-bar .brand-logo { width: 28px; }
  .booking-bar .brand-name { font-size: 1.25rem; }
  .booking-actions { gap: 14px; }
}

/* Egy helyszín: széles kártya, nagy képernyőn a térkép balra */
.locations-grid.is-single { grid-template-columns: 1fr; }
@media (min-width: 861px) {
  .locations-grid.is-single .location { flex-direction: row; }
  .locations-grid.is-single .location-map { flex: 1.3; aspect-ratio: auto; min-height: 380px; }
  .locations-grid.is-single .location-body { flex: 1; justify-content: center; padding: 34px; }
}
