:root {
  --black: #101010;
  --panel: #181716;
  --gold: #c69a55;
  --gold-soft: #f1dfc0;
  --cream: #f7f0e5;
  --text: #f8f4ed;
  --muted: #b9afa0;
  --ink: #171411;
  --white: #ffffff;
  --shadow: 0 24px 64px rgba(16, 16, 16, .24);
}

* { box-sizing: border-box; }
html { overflow-x: hidden; scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--cream);
  font-family: "Manrope", Arial, sans-serif;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { color: #6f665b; line-height: 1.75; }
h1, h2, h3 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.05;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 14px clamp(18px, 5vw, 78px);
  background: rgba(16, 16, 16, .92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(198, 154, 85, .22);
}
.logo img { width: 168px; }
.nav { display: flex; justify-content: center; gap: clamp(14px, 2vw, 30px); color: var(--text); font-weight: 900; }
.nav a { position: relative; padding: 18px 0; }
.nav a::after { position: absolute; left: 0; bottom: 12px; width: 0; height: 3px; background: var(--gold); content: ""; transition: width .2s ease; }
.nav a:hover::after { width: 100%; }
.header-cta, .btn, .footer-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 26px;
  border: 1px solid var(--gold);
  color: var(--black);
  background: var(--gold);
  font-weight: 900;
}
.btn-secondary { color: var(--text); background: rgba(255,255,255,.08); }
.menu-button { display: none; width: 44px; height: 44px; border: 1px solid rgba(198,154,85,.3); background: var(--panel); }
.menu-button span { display: block; width: 20px; height: 2px; margin: 5px auto; background: var(--gold); }

.hero {
  position: relative;
  min-height: calc(100vh - 77px);
  display: grid;
  align-items: center;
  padding: 82px clamp(18px, 5vw, 78px);
  background: url("../img/hero-barber.jpg") center/cover no-repeat;
  overflow: hidden;
}
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16,16,16,.96) 0%, rgba(16,16,16,.72) 48%, rgba(16,16,16,.28) 100%); }
.hero__content, .hero__panel { position: relative; z-index: 1; }
.eyebrow { margin: 0 0 14px; color: var(--gold); font-size: 13px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
h1 { max-width: 760px; color: var(--text); font-size: clamp(48px, 7vw, 96px); }
h2 { font-size: clamp(34px, 5vw, 64px); }
h3 { font-size: 24px; }
.hero p { max-width: 620px; color: #d8d0c4; font-size: 18px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero__panel { position: absolute; right: clamp(18px,5vw,78px); bottom: 54px; padding: 22px 26px; color: var(--text); background: rgba(24,23,22,.86); border: 1px solid rgba(198,154,85,.28); box-shadow: var(--shadow); }
.hero__panel strong { display: block; color: var(--gold); font-size: 30px; }
.hero__panel span { color: var(--muted); font-weight: 800; }

.ticker { display: grid; grid-template-columns: repeat(5, 1fr); background: var(--gold); color: var(--black); font-weight: 1000; text-align: center; text-transform: uppercase; }
.ticker span { padding: 18px 10px; border-right: 1px solid rgba(16,16,16,.16); }

.section, .section-dark, .section-soft { padding: 92px clamp(18px, 5vw, 78px); }
.section { background: var(--cream); }
.section-dark { background: var(--black); color: var(--text); }
.section-dark p { color: var(--muted); }
.section-soft { background: #fffaf2; }
.section-title { max-width: 820px; margin: 0 auto 46px; text-align: center; }
.section-title h2, .section-dark h2 { color: inherit; }

.about { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1fr); gap: clamp(34px, 6vw, 86px); align-items: center; }
.about__image img { width: 100%; aspect-ratio: 4 / 4.7; object-fit: cover; box-shadow: var(--shadow); }
.section-copy p { max-width: 690px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.stats div { padding: 18px; background: #fffaf2; border: 1px solid rgba(198,154,85,.22); }
.stats strong { display: block; color: var(--gold); font-size: 34px; }
.stats span { color: #6f665b; font-weight: 900; }

.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.service-grid article { padding: 30px; background: var(--panel); border: 1px solid rgba(198,154,85,.18); box-shadow: var(--shadow); }
.service-grid span { color: var(--gold); font-size: 38px; font-weight: 1000; }
.service-grid h3 { margin-top: 10px; color: var(--text); }

.gallery-grid { display: grid; grid-template-columns: 1.25fr .8fr .8fr; grid-auto-rows: 280px; gap: 18px; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; box-shadow: var(--shadow); }
.gallery-grid .wide { grid-row: span 2; }
.interactive-image { cursor: none; transition: transform .35s ease, filter .35s ease; }
.interactive-image:hover { transform: scale(1.018); filter: saturate(1.08) contrast(1.04); }
.image-cursor { position: fixed; left: 0; top: 0; z-index: 80; width: 14px; height: 14px; border-radius: 50%; pointer-events: none; background: var(--gold); box-shadow: 0 0 0 10px rgba(198,154,85,.18), 0 0 30px rgba(198,154,85,.5); opacity: 0; transform: translate(-50%,-50%) scale(.8); transition: opacity .18s ease, transform .18s ease; }
.image-cursor.is-visible { opacity: 1; transform: translate(-50%,-50%) scale(1); }

.price-grid, .testimonial-grid, .blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.price-grid article, .testimonial-grid article, .blog-grid article { background: var(--white); color: var(--ink); box-shadow: var(--shadow); overflow: hidden; }
.price-grid article { padding: 32px; border: 1px solid rgba(198,154,85,.25); }
.price-grid .featured { color: var(--text); background: var(--panel); }
.price-grid .featured p { color: var(--muted); }
.price-grid strong { display: block; margin: 14px 0; color: var(--gold); font-size: 38px; }
.testimonial-grid article { padding: 28px; }
.avatar { display: inline-flex; align-items: center; justify-content: center; width: 72px; height: 72px; margin-bottom: 18px; border-radius: 50%; color: var(--black); background: var(--gold); font-weight: 1000; letter-spacing: .08em; }
.blog-grid img { width: 100%; height: 250px; object-fit: cover; }
.blog-grid div { padding: 24px; }
.blog-grid time { color: var(--gold); font-weight: 900; }

.appointment { background: linear-gradient(135deg, #fffaf2 0%, #efe0ca 100%); }
.appointment-card { display: grid; grid-template-columns: .82fr 1fr; gap: clamp(28px,5vw,70px); max-width: 1180px; margin: 0 auto; padding: clamp(24px,4vw,52px); background: rgba(255,255,255,.78); box-shadow: var(--shadow); border: 1px solid rgba(198,154,85,.24); }
.contact-chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.contact-chips a { display: inline-flex; min-height: 42px; align-items: center; padding: 10px 16px; background: var(--black); color: var(--gold); font-weight: 900; }
.appointment-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.appointment-form label { display: grid; gap: 8px; color: var(--ink); font-weight: 900; }
.appointment-form input, .appointment-form select, .appointment-form textarea { width: 100%; border: 1px solid rgba(198,154,85,.35); padding: 14px 15px; background: var(--white); color: var(--ink); font: inherit; outline: none; }
.appointment-form input:focus, .appointment-form select:focus, .appointment-form textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(198,154,85,.16); }
.appointment-form textarea { resize: vertical; }
.appointment-form .full { grid-column: 1 / -1; }
.appointment-form button { cursor: pointer; }

.footer { color: var(--text); background: linear-gradient(rgba(16,16,16,.93), rgba(16,16,16,.93)), url("../img/about-salon.jpg") center/cover; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr .7fr 1fr; gap: 34px; padding: 82px clamp(18px,5vw,78px); }
.footer img { width: 170px; margin-bottom: 18px; }
.footer p, .footer a { color: rgba(248,244,237,.78); }
.footer h3 { color: var(--text); font-size: 24px; margin-bottom: 18px; }
.footer a { display: block; margin-bottom: 12px; }
.copyright { margin: 0; padding: 24px; text-align: center; background: #090909; }
.copyright a { display: inline; color: var(--gold); font-weight: 900; }
.top { position: fixed; right: 18px; bottom: 18px; width: 46px; height: 46px; border: 0; color: var(--black); background: var(--gold); font-size: 22px; opacity: 0; transform: translateY(12px); transition: .2s ease; }
.top.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1100px) {
  .site-header { grid-template-columns: auto auto; }
  .menu-button { display: block; justify-self: end; }
  .nav, .header-cta { display: none; }
  .nav.is-open { grid-column: 1 / -1; display: grid; padding-top: 8px; }
  .nav.is-open a { padding: 14px 0; border-top: 1px solid rgba(198,154,85,.18); }
  .about, .appointment-card { grid-template-columns: 1fr; }
  .service-grid, .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .site-header { padding: 10px 16px; }
  .logo img { width: 146px; }
  h1 { font-size: clamp(40px, 13vw, 58px); }
  h2 { font-size: clamp(30px, 9vw, 42px); }
  .hero { min-height: 720px; padding: 54px 18px 170px; background-position: 62% center; }
  .hero__overlay { background: linear-gradient(180deg, rgba(16,16,16,.94), rgba(16,16,16,.68)); }
  .hero p { font-size: 16px; }
  .hero__actions { display: grid; grid-template-columns: 1fr; max-width: 260px; }
  .hero__panel { left: 18px; right: 18px; bottom: 28px; }
  .ticker { grid-template-columns: 1fr; text-align: left; }
  .ticker span { padding-left: 18px; }
  .section, .section-dark, .section-soft { padding: 70px 18px; }
  .stats, .service-grid, .price-grid, .testimonial-grid, .blog-grid, .footer-grid, .appointment-form { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 260px; }
  .gallery-grid .wide { grid-row: span 1; }
  .interactive-image { cursor: auto; }
  .image-cursor { display: none; }
  .appointment-card { padding: 22px; }
  .appointment-form .full { grid-column: auto; }
  .contact-chips a { width: 100%; justify-content: center; }
}
