
/* BLADE BARBER STUDIO — v1.0 */

:root {
  --bg: #111110;
  --bg-2: #191816;
  --bg-3: #22201d;
  --gold: #d7ad78;
  --gold-dark: #b88a54;
  --text: #f1eee8;
  --muted: #a4a09a;
  --line: #393630;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

.container {
  width: min(1240px, 90%);
  margin: auto;
}

.section {
  padding: 110px 0;
  scroll-margin-top: 90px;
}

h1, h2, h3, p {
  margin-top: 0;
}

h1, h2 {
  font-family: Impact, "Arial Narrow", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.04;
}

/* НАВИГАЦИЯ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(17, 17, 16, 0.97);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand,
.footer-brand {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1;
}

.brand span,
.footer-brand span {
  color: var(--gold);
}

.brand small,
.footer-brand small {
  display: block;
  margin-top: 7px;
  font-size: 9px;
  letter-spacing: 3px;
  font-weight: 600;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav a {
  color: #d0cbc3;
  font-size: 13px;
  font-weight: 650;
  transition: color 0.2s;
}

.nav a:hover,
.footer-links a:hover {
  color: var(--gold);
}

.nav .nav-book {
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 12px 18px;
}

.menu-toggle {
  display: none;
  color: white;
  background: transparent;
  border: 1px solid var(--line);
  padding: 9px 13px;
}

/* КНОПКИ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 16px 24px;
  border: 1px solid var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  transition: 0.25s ease;
}

.btn-gold {
  background: var(--gold);
  color: #16120e;
}

.btn-gold:hover {
  background: #e9c698;
  transform: translateY(-2px);
}

.btn-outline {
  color: var(--gold);
  background: transparent;
}

.btn-outline:hover {
  background: rgba(215, 173, 120, 0.1);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  font-weight: 700;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 9px;
}

.text-link:hover {
  color: var(--gold);
}

/* ГЛАВНЫЙ ЭКРАН */

.hero {
  overflow: hidden;
}

.hero-grid {
  min-height: 660px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.hero-copy {
  padding: 105px 42px 45px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.overline,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
}

.line {
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.hero h1 {
  font-size: clamp(58px, 6.3vw, 100px);
  margin: 33px 0;
}

.hero h1 em {
  font-style: normal;
  color: var(--gold);
}

.hero-text {
  max-width: 420px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 25px;
}

.hero-bottom {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding-top: 65px;
  color: #77736c;
  font-size: 10px;
  letter-spacing: 1.5px;
}

.hero-photo {
  position: relative;
  min-height: 620px;

  background-color: #30261d;
  background-image:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.05),
      rgba(0, 0, 0, 0.75)
    ),
    url("https://images.unsplash.com/photo-1503951914875-452162b0f3f1?auto=format&fit=crop&w=1400&q=85");

  background-size: cover;
  background-position: center;

  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 45px;
}

.photo-label {
  z-index: 1;
}

.photo-label span {
  display: block;
  font-size: 13px;
  letter-spacing: 5px;
  font-weight: 700;
}

.photo-label strong {
  display: block;
  font-family: Impact, Arial, sans-serif;
  font-size: clamp(54px, 7vw, 100px);
  letter-spacing: -2px;
  line-height: 1.05;
}

.photo-caption {
  position: absolute;
  right: 25px;
  top: 30px;
  writing-mode: vertical-rl;
  letter-spacing: 3px;
  font-size: 10px;
  font-weight: 700;
  color: #ffffffbb;
}

/* БЕГУЩАЯ СТРОКА */

.ticker {
  background: var(--gold);
  color: #17130f;
}

.ticker-inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.ticker span {
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 2px;
  white-space: nowrap;
}

.ticker b {
  font-size: 22px;
}

/* ЗАГОЛОВКИ СЕКЦИЙ */

.section-top {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  margin-bottom: 55px;
}

.section h2 {
  font-size: clamp(44px, 5.2vw, 75px);
  margin: 22px 0 0;
  text-transform: uppercase;
}

.section h2 span {
  color: var(--gold);
}

.section-description {
  max-width: 300px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
  margin-bottom: 4px;
}

/* УСЛУГИ */

.services-section {
  background: var(--bg);
}

.services-list {
  border-top: 1px solid var(--line);
}

.service-item {
  display: grid;
  grid-template-columns: 65px minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  padding: 29px 20px;
  border-bottom: 1px solid var(--line);
  transition: background 0.25s, padding 0.25s;
}

.service-item:hover {
  background: var(--bg-2);
  padding-left: 30px;
}

.service-number {
  color: var(--gold);
  font-weight: 800;
  font-size: 15px;
}

.service-info h3 {
  font-size: 24px;
  margin-bottom: 3px;
}

.service-info p {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 8px;
}

.duration {
  color: #77736c;
  font-size: 12px;
}

.service-side {
  display: flex;
  align-items: center;
  gap: 36px;
}

.service-side strong {
  font-size: 21px;
  white-space: nowrap;
}

.service-select {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--line);
  padding: 11px 15px;
  white-space: nowrap;
  transition: 0.2s;
}

.service-select:hover {
  border-color: var(--gold);
  background: rgba(215, 173, 120, 0.08);
}

/* АТМОСФЕРА */

.atmosphere-section {
  background: var(--bg-2);
}

.atmosphere-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 85px;
}

.atmosphere-photo {
  min-height: 550px;
  position: relative;
  background-color: #44372d;
  background-image:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0),
      rgba(0, 0, 0, 0.55)
    ),
    url("https://images.unsplash.com/photo-1599351431202-1e0f0137899a?auto=format&fit=crop&w=1100&q=85");
  background-size: cover;
  background-position: center;
}

.image-stamp {
  position: absolute;
  left: 30px;
  bottom: 30px;
  font-family: Impact, Arial, sans-serif;
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: 2px;
  color: white;
}

.atmosphere-content h2 {
  margin-bottom: 30px;
}

.atmosphere-content > p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
  max-width: 490px;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 27px;
  margin-top: 42px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.feature-grid div {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.feature-grid span {
  color: var(--gold);
  font-size: 12px;
}

.feature-grid strong {
  font-size: 13px;
}

/* МАСТЕРА */

.masters-section {
  background: var(--bg);
}

.masters-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 23px;
}

.master-card {
  min-width: 0;
}

.master-art {
  position: relative;
  aspect-ratio: 4 / 4.3;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.master-one {
  background:
    radial-gradient(circle at 70% 30%, #725a42, transparent 55%),
    linear-gradient(145deg, #282422, #171615);
}

.master-two {
  background:
    radial-gradient(circle at 25% 65%, #6f6151, transparent 55%),
    linear-gradient(145deg, #272727, #171615);
}

.master-three {
  background:
    radial-gradient(circle at 65% 70%, #5f574a, transparent 55%),
    linear-gradient(145deg, #28231d, #151515);
}

.master-initials {
  font-family: Georgia, serif;
  font-size: clamp(110px, 15vw, 190px);
  font-style: italic;
  color: #d7ad7844;
  line-height: 1;
}

.master-index {
  position: absolute;
  top: 20px;
  left: 23px;
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--gold);
}

.master-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 23px 0;
}

.master-info h3 {
  font-size: 22px;
  margin: 0;
}

.master-info p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.master-info button {
  width: 43px;
  height: 43px;
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--line);
  font-size: 20px;
  transition: 0.2s;
}

.master-info button:hover {
  background: var(--gold);
  color: var(--bg);
}

/* ФОРМА ЗАПИСИ */

.booking-section {
  background: var(--bg-2);
}

.booking-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: start;
  gap: 90px;
}

.booking-intro > p {
  margin-top: 25px;
  color: var(--muted);
  max-width: 430px;
  line-height: 1.9;
}

.booking-summary {
  margin-top: 55px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 29px 0;
}

.booking-summary > span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.booking-summary output {
  display: block;
  color: var(--gold);
  font-size: clamp(42px, 5vw, 62px);
  font-weight: 800;
  line-height: 1.2;
}

.booking-summary small {
  display: block;
  color: var(--muted);
  margin-top: 7px;
}

.booking-intro .demo-note {
  font-size: 12px;
  color: #87817a;
}

.booking-form {
  background: #24211d;
  border: 1px solid #403a32;
  padding: 42px;
}

.form-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding-bottom: 27px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.form-heading h3 {
  margin: 0;
  font-size: 21px;
}

.form-heading span {
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 2px;
}

.booking-form label {
  display: block;
  margin-bottom: 10px;
  color: #e6ded4;
  font-size: 13px;
  font-weight: 700;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
  display: block;
  width: 100%;
  min-width: 0;
  padding: 14px 15px;
  background: #171614;
  color: var(--text);
  color-scheme: dark;
  border: 1px solid #514940;
  border-radius: 0;
  outline: none;
  margin-bottom: 24px;
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
  border-color: var(--gold);
}

.booking-form input::placeholder {
  color: #827b72;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.submit-btn {
  width: 100%;
  margin-top: 10px;
}

.form-disclaimer {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
  margin: 16px 0 0;
}

.booking-result {
  margin-top: 32px;
  padding-top: 27px;
  border-top: 1px solid var(--line);
}

.booking-result textarea {
  min-height: 230px;
  resize: vertical;
}

.booking-result .btn-outline {
  width: 100%;
  justify-content: center;
}

#copyStatus {
  color: var(--gold);
  font-size: 12px;
  margin-top: 12px;
}

/* ПОДВАЛ */

.footer {
  padding: 45px 0;
  background: #0b0b0a;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
}

.footer-brand {
  font-size: 26px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-size: 12px;
}

.footer-links a {
  transition: color 0.2s;
}

.footer p {
  font-size: 11px;
  color: var(--muted);
  text-align: right;
  margin: 0;
}

/* ДОСТУПНОСТЬ */

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ПЛАНШЕТЫ */

@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: 1fr 0.9fr;
  }

  .hero h1 {
    font-size: clamp(48px, 6.4vw, 76px);
  }

  .atmosphere-grid,
  .booking-grid {
    gap: 45px;
  }

  .ticker-inner {
    flex-wrap: wrap;
    justify-content: center;
    padding: 15px 0;
  }
}

@media (max-width: 850px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 12px;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #191816;
    border-bottom: 1px solid var(--line);
    padding: 25px 5%;
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
  }

  .nav.is-open {
    display: flex;
  }

  .nav .nav-book {
    text-align: center;
  }

  .hero-grid,
  .atmosphere-grid,
  .booking-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 75px 0 45px;
  }

  .hero-photo {
    min-height: 450px;
  }

  .hero-bottom {
    padding-top: 45px;
  }

  .atmosphere-photo {
    min-height: 400px;
  }

  .masters-grid {
    gap: 15px;
  }

  .service-side {
    gap: 16px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer p {
    text-align: center;
  }
}

/* ТЕЛЕФОНЫ */

@media (max-width: 650px) {
  .section {
    padding: 75px 0;
  }

  .header-inner {
    height: 74px;
  }

  .hero h1 {
    font-size: clamp(45px, 12vw, 72px);
  }

  .hero-copy {
    padding-top: 70px;
  }

  .hero-photo {
    min-height: 350px;
    padding: 25px;
  }

  .photo-label strong {
    font-size: 58px;
  }

  .ticker-inner span {
    font-size: 10px;
  }

  .section-top {
    align-items: start;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 35px;
  }

  .section h2 {
    font-size: clamp(40px, 10vw, 60px);
  }

  .service-item {
    grid-template-columns: 35px 1fr;
    gap: 12px;
    padding: 24px 0;
  }

  .service-item:hover {
    padding-left: 0;
  }

  .service-side {
    grid-column: 2;
    justify-content: space-between;
    margin-top: 7px;
  }

  .service-info h3 {
    font-size: 20px;
  }

  .masters-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .master-art {
    aspect-ratio: 4 / 3;
  }

  .master-initials {
    font-size: 160px;
  }

  .booking-form {
    padding: 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .feature-grid {
    gap: 20px;
  }
}

/* УМЕНЬШЕНИЕ АНИМАЦИЙ */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .service-item,
  .service-select,
  .master-info button {
    transition: none;
  }
}
