:root {
  --bg: #15171a;
  --bg-alt: #1c1f23;
  --panel: #202327;
  --gold: #c9a24b;
  --gold-light: #ddc07f;
  --cream: #f3efe6;
  --muted: #a3a8ae;
  --border: rgba(243, 239, 230, 0.1);
  --radius: 4px;
  --max: 1180px;
  --font-display: "Bebas Neue", "Arial Narrow", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-body);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  letter-spacing: 0.02em;
  margin: 0;
  font-weight: 400;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: filter 0.15s ease, transform 0.05s ease, background 0.15s ease;
}
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: var(--gold);
  color: #1a1a1a;
}
.btn-primary:hover { background: var(--gold-light); }
.btn-outline {
  border-color: rgba(243, 239, 230, 0.35);
  color: var(--cream);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-lg { padding: 15px 30px; font-size: 1rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(21, 23, 26, 0.75);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.site-header.scrolled {
  background: rgba(21, 23, 26, 0.96);
  border-bottom-color: var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}
.logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.logo span { color: var(--gold); }
.main-nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.main-nav a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.15s ease;
}
.main-nav a:hover, .main-nav a.active { color: var(--gold); }
.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
.phone-link {
  font-size: 0.88rem;
  color: var(--muted);
  display: none;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(201, 162, 75, 0.14), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(201, 162, 75, 0.1), transparent 50%),
    linear-gradient(160deg, #1a1d21 0%, #101214 70%);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.015) 0 2px, transparent 2px 6px);
}
.hero-inner {
  position: relative;
  padding-top: 76px;
  max-width: 760px;
}
.eyebrow, .section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--gold);
  font-weight: 600;
  margin: 0 0 14px;
}
.hero h1 {
  font-size: clamp(3rem, 8vw, 5.4rem);
  line-height: 0.98;
  margin-bottom: 22px;
}
.hero-lead {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 540px;
  margin-bottom: 34px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}
.hero-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.88rem;
}
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #6bbf6b;
  box-shadow: 0 0 0 3px rgba(107, 191, 107, 0.2);
}
.hero-meta-sep { opacity: 0.5; }

/* ---------- Section shared ---------- */
section { padding: 110px 0; }
.section-title {
  font-size: clamp(2.2rem, 4vw, 3rem);
  margin-bottom: 16px;
}
.section-lead {
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 50px;
}

/* ---------- Services ---------- */
.services { background: var(--bg-alt); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.service-card:hover {
  border-color: rgba(201, 162, 75, 0.4);
  transform: translateY(-3px);
}
.service-card.featured { border-color: var(--gold); }
.badge {
  position: absolute;
  top: -12px; right: 20px;
  background: var(--gold);
  color: #1a1a1a;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 5px 10px;
  border-radius: 20px;
}
.service-icon {
  width: 42px; height: 42px;
  margin-bottom: 18px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}
.service-icon::before { content: "✂"; font-size: 1.1rem; }
.service-icon[data-icon="razor"]::before { content: "🪒"; }
.service-icon[data-icon="beard"]::before { content: "🧔"; }
.service-icon[data-icon="fade"]::before { content: "💈"; }
.service-icon[data-icon="combo"]::before { content: "✂"; }
.service-icon[data-icon="kids"]::before { content: "👦"; }
.service-card h3 { font-size: 1.4rem; margin-bottom: 10px; }
.service-card p { color: var(--muted); font-size: 0.92rem; min-height: 62px; }
.service-footer {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.price { font-family: var(--font-display); font-size: 1.6rem; color: var(--gold); }
.duration { color: var(--muted); font-size: 0.85rem; }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 160px;
  gap: 16px;
}
.photo-placeholder {
  background: repeating-linear-gradient(135deg, #23262a, #23262a 10px, #26292d 10px, #26292d 20px);
  border: 1px dashed rgba(243, 239, 230, 0.2);
  border-radius: var(--radius);
  display: flex;
  align-items: flex-end;
  padding: 14px;
  grid-column: span 1;
  grid-row: span 1;
}
.photo-placeholder span {
  color: var(--muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.photo-placeholder.tall { grid-row: span 2; }
.photo-placeholder.square { aspect-ratio: 1; height: auto; }

/* ---------- About ---------- */
.about-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 70px;
  align-items: start;
}
.about-text p { color: var(--muted); margin-bottom: 16px; }
.about-points {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.about-points li {
  padding-left: 26px;
  position: relative;
  color: var(--cream);
  font-size: 0.94rem;
}
.about-points li::before {
  content: "—";
  color: var(--gold);
  position: absolute;
  left: 0;
}
.about-team {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.team-card { text-align: center; }
.team-card h4 { font-size: 1.1rem; margin: 14px 0 4px; }
.team-card p { color: var(--muted); font-size: 0.82rem; margin: 0; }

/* ---------- Reviews ---------- */
.reviews { background: var(--bg-alt); }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.stars { color: var(--gold); letter-spacing: 3px; margin-bottom: 14px; }
.review-card p { color: var(--cream); font-size: 0.95rem; margin-bottom: 16px; }
.review-author { color: var(--muted); font-size: 0.85rem; }

/* ---------- Visit ---------- */
.visit-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 26px;
}
.hours-table td {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.94rem;
}
.hours-table td:first-child { color: var(--muted); }
.hours-table td:last-child { text-align: right; color: var(--cream); font-weight: 500; }
address {
  font-style: normal;
  color: var(--muted);
  margin-bottom: 14px;
  line-height: 1.7;
}
.visit-details a:hover { color: var(--gold); }
.visit-map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 4 / 3.2;
}
.visit-map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.3) invert(0.92) contrast(0.9); }

/* ---------- Contact / Booking ---------- */
.contact-inner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
}
.contact-intro p { color: var(--muted); }
.contact-intro a { color: var(--gold); }
.booking-form {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
input, select, textarea {
  font-family: var(--font-body);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
  color: var(--cream);
  font-size: 0.95rem;
  text-transform: none;
  letter-spacing: normal;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--gold);
}
textarea { resize: vertical; }
.form-note {
  color: #6bbf6b;
  font-size: 0.9rem;
  margin: 0;
}
.form-note.error {
  color: #d1737a;
}
.privacy-note {
  color: var(--muted);
  font-size: 0.78rem;
  margin-top: 16px;
  line-height: 1.5;
}
.privacy-note a { color: var(--gold); }
.privacy-note a:hover { text-decoration: underline; }

/* ---------- Legal pages ---------- */
.legal { padding: 160px 0 110px; min-height: 60vh; }
.legal-content { max-width: 720px; }
.legal-updated { color: var(--muted); font-size: 0.85rem; margin: -8px 0 40px; }
.legal-content h2 {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold);
  margin: 34px 0 10px;
}
.legal-content p { color: var(--muted); font-size: 0.95rem; }
.legal-content a { color: var(--gold); }
.legal-content a:hover { text-decoration: underline; }

/* ---------- 404 page ---------- */
.not-found {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    radial-gradient(circle at 50% 30%, rgba(201, 162, 75, 0.1), transparent 55%),
    linear-gradient(160deg, #1a1d21 0%, #101214 70%);
}
.not-found .section-eyebrow { justify-content: center; }
.not-found .section-title { margin-bottom: 18px; }
.not-found .section-lead { margin: 0 auto 34px; }

/* ---------- Footer ---------- */
.site-footer {
  background: #0f1113;
  border-top: 1px solid var(--border);
  padding: 50px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-inner p { color: var(--muted); font-size: 0.85rem; margin: 6px 0 0; }
.footer-nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-nav a { color: var(--muted); font-size: 0.88rem; }
.footer-nav a:hover { color: var(--gold); }
.footer-credit { width: 100%; text-align: center; margin-top: 20px; font-size: 0.78rem; opacity: 0.6; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (min-width: 860px) {
  .phone-link { display: inline; }
}

@media (max-width: 980px) {
  .about-inner, .visit-inner, .contact-inner { grid-template-columns: 1fr; }
  .services-grid, .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .main-nav {
    position: fixed;
    top: 76px; left: 0; right: 0;
    background: rgba(15, 17, 19, 0.98);
    flex-direction: column;
    padding: 20px 24px 30px;
    gap: 18px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    transition: transform 0.25s ease;
  }
  .main-nav.open { transform: translateY(0); }
  .nav-toggle { display: flex; }
  .services-grid, .reviews-grid, .about-team { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; }
  .form-row { grid-template-columns: 1fr; }
  section { padding: 70px 0; }
}
