:root {
  --ink: #121315;
  --muted: #64676c;
  --line: #e6e2dc;
  --paper: #f7f4ef;
  --white: #ffffff;
  --charcoal: #181a1d;
  --green: #355f4a;
  --gold: #c59a56;
  --steel: #d7ddd9;
  --shadow: 0 24px 70px rgba(18, 19, 21, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 16px clamp(18px, 4vw, 64px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(10, 11, 12, 0.78), rgba(10, 11, 12, 0));
}

.brand,
.nav,
.hero-actions,
.service-grid,
.barber-card,
.contact-card div {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-weight: 800;
  min-width: 0;
}

.brand span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
  font-size: 12px;
  letter-spacing: 0;
}

.nav {
  gap: clamp(14px, 3vw, 32px);
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 600;
}

.nav a {
  padding: 8px 0;
}

.logoti{
  margin-left: 80px;
}

@media (max-width: 480px) {
  .logoti{
    margin-left: 10px;
  }
}

.header-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 4px;
  font-weight: 800;
  font-size: 14px;
  white-space: nowrap;
}

.header-action {
  background: var(--white);
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  overflow: hidden;
  padding: 116px clamp(18px, 5vw, 74px) 42px;
  color: var(--white);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 13, 14, 0.95) 0%, rgba(12, 13, 14, 0.82) 35%, rgba(12, 13, 14, 0.22) 72%),
    linear-gradient(0deg, rgba(12, 13, 14, 0.7), rgba(12, 13, 14, 0.1) 36%),
    url("assets/studio.jpg") center / cover no-repeat;
  transform: scale(1.01);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  max-width: 680px;
  font-size: clamp(48px, 8vw, 104px);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.hero-copy {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(18px, 2.2vw, 23px);
  line-height: 1.55;
}

.hero-actions {
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.button.primary {
  background: var(--gold);
  color: #15120d;
}

.button.ghost {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.hero-panel {
  position: relative;
  z-index: 1;
  align-self: end;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(760px, 100%);
  margin-top: 70px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
}

.hero-panel div {
  padding: 22px;
  background: rgba(15, 17, 18, 0.58);
}

.hero-panel strong,
.contact-card strong {
  display: block;
  font-size: 22px;
}

.hero-panel span,
.contact-card span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  line-height: 1.35;
}

.section,
.split-section {
  padding: clamp(70px, 9vw, 120px) clamp(18px, 5vw, 74px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(280px, 1fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: end;
  background: var(--white);
}

.intro p:last-child,
.barbers-copy p,
.booking-copy p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.services {
  background: var(--paper);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.service-grid {
  align-items: stretch;
  gap: 18px;
}

.service-card {
  flex: 1 1 0;
  min-width: 220px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(18, 19, 21, 0.04);
}

.service-icon {
  display: inline-flex;
  margin-bottom: 48px;
  color: var(--green);
  font-weight: 800;
}

.service-card p {
  min-height: 78px;
  color: var(--muted);
  line-height: 1.65;
}

.service-card strong {
  display: block;
  color: var(--green);
  font-size: 24px;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(280px, 1fr);
  gap: clamp(28px, 6vw, 90px);
  color: var(--white);
  background: var(--charcoal);
}

.barber-list {
  display: grid;
  gap: 16px;
}

.barber-card {
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.avatar {
  display: grid;
  place-items: center;
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--green);
  color: var(--steel);
  font-size: 24px;
  font-weight: 800;
}

.barber-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.6;
}

.booking {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 420px);
  gap: clamp(28px, 7vw, 110px);
  align-items: center;
  background:
    linear-gradient(135deg, rgba(53, 95, 74, 0.08), transparent 42%),
    var(--white);
}

.contact-card {
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
  padding: 28px;
  border-radius: 8px;
  color: var(--white);
  background: var(--green);
  box-shadow: var(--shadow);
}

.contact-card div {
  justify-content: space-between;
  gap: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.contact-card span {
  color: rgba(255, 255, 255, 0.68);
  margin: 0;
}

.contact-card strong {
  text-align: right;
  font-size: 16px;
}

.button.full {
  width: 100%;
  margin-top: 8px;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 74px);
  color: rgba(255, 255, 255, 0.72);
  background: #0f1012;
}

.footer p {
  margin: 0;
}

.footer p:first-child {
  color: var(--white);
  font-weight: 800;
}

@media (max-width: 820px) {
  .site-header {
    min-height: auto;
    flex-wrap: wrap;
    gap: 10px 14px;
    padding-block: 12px;
    background: rgba(12, 13, 14, 0.9);
    backdrop-filter: blur(14px);
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 8px;
  }

  .nav a {
    flex: 1 1 0;
    max-width: 150px;
    padding: 9px 10px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 4px;
    text-align: center;
    background: rgba(255, 255, 255, 0.06);
  }

  .header-action {
    min-height: 40px;
    padding: 0 14px;
  }

  .hero {
    min-height: 94vh;
    padding-top: 150px;
  }

  .hero-bg {
    background:
      linear-gradient(90deg, rgba(12, 13, 14, 0.96) 0%, rgba(12, 13, 14, 0.76) 58%, rgba(12, 13, 14, 0.46) 100%),
      linear-gradient(0deg, rgba(12, 13, 14, 0.78), rgba(12, 13, 14, 0.18) 44%),
      url("assets/studio.jpg") 58% center / cover no-repeat;
  }

  .hero-panel,
  .intro,
  .split-section,
  .booking {
    grid-template-columns: 1fr;
  }

  .service-grid {
    flex-direction: column;
  }

  .service-card {
    min-width: 0;
  }

  .service-card p {
    min-height: auto;
  }

  .barber-card {
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  h1 {
    font-size: clamp(44px, 15vw, 72px);
  }

  h2 {
    font-size: clamp(31px, 10vw, 44px);
  }

  .hero {
    min-height: auto;
    padding-bottom: 28px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .button {
    min-height: 50px;
  }

  .hero-panel {
    margin-top: 46px;
  }

  .hero-panel {
    grid-template-columns: 1fr;
  }

  .hero-panel div {
    padding: 18px;
  }

  .section,
  .split-section {
    padding-block: 64px;
  }

  .service-card,
  .contact-card {
    padding: 22px;
  }

  .barber-card {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 14px;
  }

  .avatar {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
    font-size: 20px;
  }

  .contact-card div {
    display: block;
  }

  .contact-card strong {
    margin-top: 8px;
    text-align: left;
  }

  .footer {
    display: block;
  }

  .footer p + p {
    margin-top: 8px;
  }
}

@media (max-width: 420px) {
  .site-header {
    gap: 10px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .header-action {
    font-size: 13px;
  }

  .nav {
    font-size: 12px;
  }

  .nav a {
    padding-inline: 6px;
  }

  .hero {
    padding-top: 148px;
  }

  .hero-copy,
  .intro p:last-child,
  .barbers-copy p,
  .booking-copy p {
    font-size: 16px;
  }
}
