:root {
  --bg: #060606;
  --bg-soft: #0f0d0a;
  --panel: rgba(255, 255, 255, 0.055);
  --panel-strong: rgba(255, 255, 255, 0.09);
  --text: #f7efe0;
  --muted: #b7aa96;
  --gold: #c79a45;
  --gold-light: #f0d18a;
  --line: rgba(240, 209, 138, 0.18);
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 10%, rgba(199, 154, 69, 0.18), transparent 28rem),
    radial-gradient(circle at 84% 4%, rgba(255, 255, 255, 0.07), transparent 22rem),
    linear-gradient(135deg, #050505 0%, #0d0b08 48%, #050505 100%);
  font-family: var(--sans);
  overflow-x: hidden;
}

/* --- site loader (rollback: deploy/rollback-loader.sh) --- */
.site-loader {
  background:
    radial-gradient(circle at 20% 15%, rgba(199, 154, 69, 0.2), transparent 32rem),
    radial-gradient(circle at 80% 10%, rgba(255, 255, 255, 0.05), transparent 24rem),
    linear-gradient(135deg, #050505 0%, #0d0b08 48%, #050505 100%);
  transition:
    opacity 560ms ease,
    visibility 560ms ease;
}

.site-loader--hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.site-loader__inner {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 14px;
  text-align: center;
}

.site-loader__title {
  display: flex;
  align-items: baseline;
  gap: 0.28em;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(40px, 10vw, 56px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  opacity: 0;
  animation: loader-title-in 1s cubic-bezier(0.42, 0, 0.18, 1) forwards;
}

.site-loader__title-ali {
  color: var(--text);
}

.site-loader__title-barber {
  color: var(--gold-light);
}

.site-loader__city {
  margin: 0;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  opacity: 0;
  animation: loader-city-in 0.9s cubic-bezier(0.42, 0, 0.18, 1) 0.55s forwards;
}

@keyframes loader-title-in {
  from {
    opacity: 0;
    transform: translateY(20px);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes loader-city-in {
  from {
    opacity: 0;
    transform: translateY(12px);
    letter-spacing: 0.5em;
  }
  to {
    opacity: 1;
    transform: translateY(0);
    letter-spacing: 0.34em;
  }
}
/* --- end site loader --- */

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 78%);
}

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

.noise {
  position: fixed;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}

.cursor-glow {
  position: fixed;
  left: 0;
  top: 0;
  z-index: -1;
  width: 32rem;
  height: 32rem;
  border-radius: 999px;
  pointer-events: none;
  opacity: 0.22;
  background: radial-gradient(circle, rgba(199, 154, 69, 0.42), transparent 62%);
  transform: translate3d(-50%, -50%, 0);
  transition: opacity 200ms ease;
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 9;
  width: min(1120px, calc(100% - 32px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px 12px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(6, 6, 6, 0.72);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.brand,
.nav,
.hero-actions,
.contact-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: #080704;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  font-family: var(--serif);
  font-size: 24px;
}

.nav {
  gap: 26px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.nav a,
.header-cta {
  transition: color 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.nav a:hover,
.header-cta:hover {
  color: var(--gold-light);
  transform: translateY(-3px);
}

.header-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 10px 16px;
  border: 1px solid rgba(240, 209, 138, 0.34);
  border-radius: 999px;
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 700;
}

.header-cta::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: translateX(-120%);
  transition: transform 520ms ease;
  pointer-events: none;
}

.header-cta:hover::after {
  transform: translateX(120%);
}

button.header-cta,
button.button {
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
  font: inherit;
  font-family: var(--sans);
  text-align: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  background: transparent;
  border: none;
  color: inherit;
}

button.header-cta {
  border: 1px solid rgba(240, 209, 138, 0.34);
  color: var(--gold-light);
  background: transparent;
}

button.button-primary {
  color: #090805;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: 0 16px 45px rgba(199, 154, 69, 0.25);
}

button.button-ghost {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 110px 0;
}

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  justify-items: center;
  padding-top: 150px;
}

.hero-copy {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.hero-copy h1,
.hero-copy .hero-text {
  margin-left: auto;
  margin-right: auto;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 0.92;
}

h1 {
  max-width: 860px;
  margin-bottom: 26px;
  font-size: clamp(46px, 6.5vw, 88px);
  letter-spacing: -0.055em;
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(42px, 6vw, 76px);
  letter-spacing: -0.04em;
}

h3 {
  margin-bottom: 14px;
  font-family: var(--serif);
  font-size: 32px;
  letter-spacing: -0.02em;
}

.hero-text,
.booking-card p,
.contact-card p,
.master-panel p,
.intro-line p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.hero-text {
  max-width: 600px;
  margin-bottom: 34px;
}

.hero-actions {
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 800;
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: translateX(-120%);
  transition: transform 520ms ease;
  pointer-events: none;
}

a.button {
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.button:hover {
  transform: translateY(-3px);
}

.button:hover::after {
  transform: translateX(120%);
}

.button-primary {
  color: #090805;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: 0 16px 45px rgba(199, 154, 69, 0.25);
}

.button-ghost {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.hero-visual {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(2px);
  animation: float 7s ease-in-out infinite;
}

.orb-one {
  top: 34px;
  right: 30px;
  width: 130px;
  height: 130px;
  border: 1px solid rgba(240, 209, 138, 0.22);
  background: radial-gradient(circle, rgba(240, 209, 138, 0.24), transparent 64%);
}

.orb-two {
  bottom: 64px;
  left: 10px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent 70%);
  animation-delay: -2.6s;
}

.barber-card {
  position: relative;
  width: min(430px, 100%);
  min-height: 520px;
  padding: 26px;
  border: 1px solid rgba(240, 209, 138, 0.22);
  border-radius: 34px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.12), transparent 36%),
    radial-gradient(circle at 50% 10%, rgba(199, 154, 69, 0.22), transparent 42%),
    rgba(255, 255, 255, 0.045);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.barber-card::before {
  position: absolute;
  inset: 20px;
  content: "";
  border: 1px solid rgba(240, 209, 138, 0.14);
  border-radius: 24px;
}

.card-topline,
.card-stats {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
}

.card-topline {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-logo {
  position: relative;
  z-index: 1;
  display: grid;
  width: 210px;
  height: 210px;
  margin: 70px auto 22px;
  place-items: center;
  border: 1px solid rgba(240, 209, 138, 0.2);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.2);
}

.hero-logo img {
  width: 60%;
  height: 60%;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 8px 20px rgba(199, 154, 69, 0.35));
}

.barber-card h2,
.barber-card p {
  position: relative;
  z-index: 1;
  text-align: center;
}

.barber-card h2 {
  margin-bottom: 0;
  font-size: 92px;
}

.barber-card p {
  color: var(--gold-light);
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.card-stats {
  gap: 14px;
  margin-top: 56px;
}

.card-stats div {
  flex: 1;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.2);
}

.card-stats strong {
  display: block;
  margin-bottom: 8px;
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 42px;
  line-height: 1;
}

.card-stats span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.intro {
  padding-top: 0;
}

.intro-line {
  padding: 36px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.intro-line p {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.section-heading {
  margin-bottom: 42px;
}

.section-heading h2 {
  max-width: 760px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--panel);
  transition: transform 300ms ease, background 300ms ease, border-color 300ms ease;
}

.service-card:hover {
  border-color: rgba(240, 209, 138, 0.44);
  background: var(--panel-strong);
  transform: translateY(-8px);
}

.service-card h3 {
  margin-top: 0;
}

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

.service-price {
  margin-top: auto;
}

.service-price strong {
  display: block;
  color: var(--gold-light);
  font-size: 24px;
  line-height: 1.1;
}

.service-price small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.service-toggle-wrap {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

.services:not(.services--expanded) .service-card:nth-child(n + 4) {
  display: none;
}

.services.services--expanded .service-card:nth-child(n + 4) {
  overflow: hidden;
  max-height: 420px;
}

.services.services--expanded .service-card:nth-child(n + 4).reveal {
  transition:
    opacity 700ms ease,
    transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1),
    max-height 700ms cubic-bezier(0.2, 0.8, 0.2, 1),
    min-height 700ms cubic-bezier(0.2, 0.8, 0.2, 1),
    margin-bottom 700ms ease,
    padding 700ms ease,
    border-color 700ms ease;
  transition-delay: var(--delay, 0ms);
}

.services.services--collapsing .service-card:nth-child(n + 4):not(.visible) {
  max-height: 0 !important;
  min-height: 0 !important;
  margin-bottom: 0;
  padding-block: 0;
  opacity: 0;
  transform: translateY(-22px);
  border-color: transparent;
  pointer-events: none;
}

.service-toggle {
  gap: 10px;
  min-height: 56px;
  padding-inline: 28px;
  border-color: rgba(240, 209, 138, 0.34);
  color: var(--gold-light);
  background: rgba(240, 209, 138, 0.06);
}

.service-toggle:hover {
  border-color: rgba(240, 209, 138, 0.52);
  background: rgba(240, 209, 138, 0.1);
}

.service-toggle__icon {
  width: 8px;
  height: 8px;
  margin-top: -3px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.service-toggle[aria-expanded="true"] .service-toggle__icon {
  margin-top: 3px;
  transform: rotate(-135deg);
}

.service-toggle:disabled {
  opacity: 0.72;
  cursor: wait;
}

.split {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: 64px;
  align-items: end;
}

.master-panel,
.contact-card,
.booking-card {
  border: 1px solid var(--line);
  border-radius: 34px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.master-panel {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 28px;
  align-items: center;
  padding: 24px;
}

.portrait {
  position: relative;
  min-height: 260px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(240, 209, 138, 0.18);
  border-radius: 24px;
  background:
    linear-gradient(150deg, rgba(199, 154, 69, 0.2), rgba(255, 255, 255, 0.04)),
    linear-gradient(45deg, transparent 0 48%, rgba(240, 209, 138, 0.12) 48% 52%, transparent 52%);
  overflow: hidden;
}

.portrait::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.58), transparent 46%),
    radial-gradient(circle at 40% 10%, rgba(240, 209, 138, 0.16), transparent 42%);
  pointer-events: none;
}

.portrait img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  display: block;
  object-fit: cover;
  object-position: 52% 30%;
  filter: saturate(0.9) contrast(1.08) brightness(0.78);
  transform: scale(1.02);
  transition: transform 500ms ease, filter 500ms ease;
}

.master-panel:hover .portrait img {
  filter: saturate(1) contrast(1.12) brightness(0.86);
  transform: scale(1.06);
}

.portrait span {
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 64px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr;
  grid-template-rows: 240px 240px;
  gap: 18px;
}

.gallery-item {
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background:
    linear-gradient(160deg, rgba(199, 154, 69, 0.2), transparent),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 18px),
    rgba(255, 255, 255, 0.045);
  overflow: hidden;
}

.gallery-item::after {
  position: absolute;
  inset: -20%;
  content: "";
  background: radial-gradient(circle, rgba(240, 209, 138, 0.18), transparent 58%);
  transform: translateY(25%);
  transition: transform 500ms ease;
}

.gallery-item:hover::after {
  transform: translateY(0);
}

.gallery-photo {
  background: rgba(255, 255, 255, 0.045);
}

.gallery-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 45%;
  filter: saturate(0.9) contrast(1.08) brightness(0.74);
  transform: scale(1.02);
  transition: transform 600ms ease, filter 600ms ease;
}

.gallery-photo-fade img {
  object-position: 58% 50%;
}

.gallery-photo-beard img {
  object-position: 50% 48%;
}

.gallery-photo-care img {
  object-position: 49% 72%;
  transform: scale(1.42);
}

.gallery-photo-care:hover img {
  transform: scale(1.48);
}

.gallery-photo::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.72), transparent 56%),
    radial-gradient(circle at 68% 18%, rgba(240, 209, 138, 0.14), transparent 42%);
  pointer-events: none;
}

.gallery-photo:hover img {
  filter: saturate(1) contrast(1.12) brightness(0.82);
  transform: scale(1.07);
}

.gallery-photo::after {
  z-index: 2;
}

.gallery-item.large {
  grid-row: 1 / 3;
}

.gallery-item span {
  position: relative;
  z-index: 3;
  font-family: var(--serif);
  font-size: 54px;
}

.booking {
  padding-top: 40px;
}

.booking-card {
  padding: clamp(32px, 6vw, 72px);
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(199, 154, 69, 0.22), transparent 44%),
    var(--panel);
}

.booking-card p {
  max-width: 680px;
  margin: 0 auto 28px;
}

.contacts {
  padding-top: 40px;
}

.contact-card {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: center;
  padding: 34px;
}

.contact-card h2 {
  margin-bottom: 12px;
  font-size: clamp(36px, 5vw, 58px);
}

.contact-phone {
  display: inline-block;
  margin-top: 18px;
  color: var(--gold-light);
  font-size: clamp(24px, 3vw, 36px);
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.contact-phone:hover {
  color: var(--text);
}

.contact-actions {
  flex-shrink: 0;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.footer {
  width: min(1120px, calc(100% - 32px));
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 0 auto;
  padding: 34px 0 46px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.booking-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right))
    max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
}

.booking-modal[hidden] {
  display: none;
}

.booking-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(14px);
  animation: booking-fade-in 220ms ease both;
}

.booking-modal__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(100%, 460px);
  height: min(760px, calc(100dvh - 24px));
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(circle at 20% 0%, rgba(199, 154, 69, 0.18), transparent 42%),
    linear-gradient(180deg, #12100c 0%, #0a0907 100%);
  box-shadow: var(--shadow);
  overflow: hidden;
  animation: booking-slide-in 260ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.booking-modal__header {
  flex: 0 0 auto;
  padding: 22px 56px 14px 22px;
  border-bottom: 1px solid rgba(240, 209, 138, 0.1);
}

.booking-modal__header h2 {
  margin: 0;
  font-size: clamp(28px, 6vw, 36px);
}

.booking-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.booking-modal__frame-wrap {
  flex: 1 1 auto;
  min-height: 0;
  background: #fff;
}

.booking-modal__frame {
  display: block;
  width: 100%;
  height: 100%;
  border: none;
  background: #fff;
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 800ms ease,
    transform 800ms cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--delay, 0ms);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes float {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -22px, 0);
  }
}

@keyframes booking-fade-in {
  from {
    opacity: 0;
  }
}

@keyframes booking-slide-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
}

@media (max-width: 920px) {
  .nav {
    display: none;
  }

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

  .hero {
    gap: 32px;
    padding-top: 140px;
  }

  .hero-visual {
    min-height: 480px;
  }

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

  .master-panel,
  .contact-card {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 220px);
  }

  .gallery-item.large {
    grid-row: auto;
  }

  .footer {
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .site-header {
    top: 12px;
    width: calc(100% - 20px);
  }

  .brand {
    letter-spacing: 0.02em;
  }

  .header-cta {
    padding-inline: 12px;
  }

  .section {
    width: min(100% - 22px, 1120px);
    padding: 74px 0;
  }

  .hero {
    min-height: auto;
    padding-top: 118px;
  }

  h1 {
    font-size: clamp(38px, 13vw, 56px);
  }

  .hero-actions,
  .contact-actions {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
  }

  .button {
    width: 100%;
  }

  .barber-card {
    min-height: 470px;
    padding: 20px;
  }

  .barber-card h2 {
    font-size: 76px;
  }

  .hero-logo {
    width: 170px;
    height: 170px;
    margin-top: 58px;
  }

  .hero-logo img {
    width: 58%;
    height: 58%;
  }

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

  .service-toggle-wrap {
    margin-top: 6px;
  }

  .service-toggle {
    width: 100%;
  }

  .service-card {
    min-height: 280px;
  }

  .master-panel,
  .contact-card,
  .booking-card {
    padding: 22px;
    border-radius: 24px;
  }

  .portrait {
    min-height: 220px;
  }

  .booking-modal {
    padding: 0;
  }

  .booking-modal__panel {
    width: 100%;
    height: 100dvh;
    max-height: none;
    border: none;
    border-radius: 0;
  }

  .booking-modal__header {
    padding: 18px 52px 12px 18px;
  }
}
