:root {
  --bg: #0f0f10;
  --bg-alt: #151517;
  --panel: #1a1a1d;
  --panel-2: #202024;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f1ece3;
  --muted: #a69785;
  --gold: #b89249;
  --gold-soft: #d6b867;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  --radius: 22px;
  --radius-sm: 14px;
  --max: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Inter", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(184, 146, 73, 0.12), transparent 28%),
    radial-gradient(circle at bottom right, rgba(184, 146, 73, 0.08), transparent 24%),
    linear-gradient(180deg, #101013 0%, #0d0d0f 100%);
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

.back-btn {
  position: fixed;
  z-index: 999;
  top: 1.25rem;
  left: 1.25rem;
  padding: 0.8rem 1rem;
  text-decoration: none;
  color: var(--text);
  background: rgba(15, 15, 16, 0.85);
  border: 1px solid var(--line);
  backdrop-filter: blur(18px);
  border-radius: 999px;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  box-shadow: var(--shadow);
}

.back-btn:hover {
  border-color: rgba(184, 146, 73, 0.4);
  color: var(--gold-soft);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
}

.nav-shell {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: rgba(15, 15, 16, 0.72);
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 24px 24px;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
}

.nav-logo {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 160px;
}

.nav-logo-main {
  font-family: "Playfair Display", serif;
  font-weight: 900;
  font-size: 1.35rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.nav-logo-sub {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-links a:hover {
  color: var(--gold-soft);
}

.nav-book {
  padding: 0.75rem 1rem;
  border: 1px solid rgba(184, 146, 73, 0.35);
  border-radius: 999px;
  color: var(--gold-soft) !important;
}

.nav-book:hover {
  border-color: rgba(214, 184, 103, 0.8);
  background: rgba(184, 146, 73, 0.1);
}

.hero {
  position: relative;
  min-height: 100vh;
  padding: 7rem 1.5rem 4rem;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 15, 16, 0.18), rgba(15, 15, 16, 0.88)),
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.02) 0,
      rgba(255, 255, 255, 0.02) 1px,
      transparent 1px,
      transparent 18px
    );
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 10% 10% 12% 10%;
  border: 1px solid rgba(184, 146, 73, 0.18);
  border-radius: 34px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 920px;
  width: 100%;
  text-align: center;
}

.hero-kicker,
.eyebrow {
  margin: 0 0 1rem;
  color: var(--gold-soft);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.26em;
}

.hero h1 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(3rem, 7vw, 6.4rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  text-wrap: balance;
}

.hero-desc,
.section-lead,
.service-card p,
.barber-text,
.booking-info p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 0.98rem;
  margin: 0;
}

.hero-desc {
  max-width: 680px;
  margin: 1.35rem auto 0;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  color: #18150f;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.02);
  border-color: var(--line);
  color: var(--text);
}

.btn-secondary:hover {
  border-color: rgba(214, 184, 103, 0.45);
  color: var(--gold-soft);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 2.7rem auto 0;
  max-width: 760px;
}

.stat {
  padding: 1.05rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(14px);
}

.stat-value {
  display: block;
  font-family: "Playfair Display", serif;
  color: var(--gold-soft);
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.stat-label {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 5.5rem 1.5rem;
}

.section-head {
  max-width: 760px;
  margin: 0 auto 2.4rem;
  text-align: center;
}

.section-head h2 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
  text-wrap: balance;
}

.section-head h2 span {
  color: var(--gold-soft);
  font-style: italic;
}

.section-lead {
  margin-top: 1rem;
}

.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.015));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.services-grid,
.barbers-grid,
.booking-grid {
  display: grid;
  gap: 1.25rem;
}

.services-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card {
  padding: 1.55rem;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(184, 146, 73, 0.08), transparent 28%);
  pointer-events: none;
}

.card-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3rem;
  height: 3rem;
  border-radius: 999px;
  border: 1px solid rgba(184, 146, 73, 0.26);
  color: var(--gold-soft);
  font-family: "Playfair Display", serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.service-card h3,
.barber-card h3,
.booking-panel h3 {
  margin: 0 0 0.7rem;
  font-family: "Playfair Display", serif;
  font-size: 1.25rem;
  line-height: 1.15;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.15rem;
  margin-top: 1.15rem;
  border-top: 1px solid var(--line);
  color: var(--gold-soft);
  font-size: 0.9rem;
  font-weight: 600;
}

.barbers {
  position: relative;
}

.barbers::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(184,146,73,0.04), transparent 30%);
  pointer-events: none;
}

.barbers-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.barber-card {
  padding: 1.7rem;
  text-align: center;
}

.barber-avatar {
  width: 84px;
  height: 84px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(184, 146, 73, 0.35);
  background: linear-gradient(180deg, rgba(184,146,73,0.18), rgba(255,255,255,0.03));
  color: var(--gold-soft);
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.barber-role {
  margin: 0 0 0.85rem;
  color: var(--gold-soft);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.work-item {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: #111;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
}

.work-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.15) contrast(1.06) brightness(0.88);
  transform: scale(1.02);
  transition: transform 0.45s ease, filter 0.45s ease;
}

.work-item:hover img {
  transform: scale(1.08);
  filter: grayscale(0) contrast(1.08) brightness(0.96);
}

.work-item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1rem 0.95rem 0.85rem;
  background: linear-gradient(180deg, transparent, rgba(10, 10, 11, 0.95));
  color: var(--gold-soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.booking-grid {
  grid-template-columns: 1.1fr 1fr;
  align-items: stretch;
}

.booking-panel {
  padding: 1.6rem;
}

.booking-info {
  background:
    radial-gradient(circle at top right, rgba(184, 146, 73, 0.12), transparent 35%),
    linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.015));
}

.info-list {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.info-item {
  padding: 0.95rem 1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.16);
}

.info-item span {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 0.35rem;
}

.info-item strong {
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--text);
}

.booking-form {
  display: grid;
  gap: 1rem;
}

.booking-form label {
  display: grid;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  border-radius: 14px;
  padding: 0.95rem 1rem;
  font: inherit;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

input::placeholder,
textarea::placeholder {
  color: rgba(166, 151, 133, 0.75);
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(214, 184, 103, 0.5);
  background: rgba(255, 255, 255, 0.05);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  width: 100%;
  margin-top: 0.25rem;
}

.site-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  flex-wrap: wrap;
}

.footer-brand {
  display: grid;
  gap: 0.25rem;
}

.footer-logo {
  font-family: "Playfair Display", serif;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-soft);
  font-weight: 700;
}

.footer-sub,
.footer-copy,
.footer-note {
  font-size: 0.82rem;
}

@media (max-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .works-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .booking-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .back-btn {
    top: 0.9rem;
    left: 0.9rem;
    padding: 0.7rem 0.9rem;
    font-size: 0.8rem;
  }

  .nav-shell {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border-radius: 0 0 20px 20px;
  }

  .nav-logo {
    align-items: center;
    text-align: center;
  }

  .nav-links {
    justify-content: center;
    gap: 0.9rem 1.2rem;
  }

  .nav-links a {
    font-size: 0.72rem;
  }

  .hero {
    padding: 6.2rem 1rem 3.5rem;
  }

  .hero-overlay {
    inset: 7% 4% 8% 4%;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    max-width: 520px;
  }

  .section {
    padding: 4.5rem 1rem;
  }

  .services-grid,
  .barbers-grid,
  .works-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .site-footer {
    justify-content: center;
    text-align: center;
  }

  .footer-brand {
    justify-items: center;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: clamp(2.5rem, 14vw, 4rem);
  }

  .hero-desc,
  .section-lead,
  .service-card p,
  .barber-text,
  .booking-info p {
    font-size: 0.92rem;
  }

  .section-head h2 {
    font-size: clamp(1.8rem, 10vw, 2.6rem);
  }

  .service-card,
  .barber-card,
  .booking-panel {
    padding: 1.25rem;
    border-radius: 18px;
  }

  .work-item {
    aspect-ratio: 4 / 4.8;
  }

  .card-meta {
    flex-direction: column;
    gap: 0.4rem;
  }
}


select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

select option {
  background: #1a1a1d;
  color: #f1ece3;
}

.success-message {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 14px;
  border: 1px solid rgba(184, 146, 73, 0.35);
  background: rgba(184, 146, 73, 0.08);
  color: var(--gold-soft);
  text-align: center;
  font-size: 0.9rem;
  display: none;
}

.success-message.show {
  display: block;
}