:root {
  --bg: #070707;
  --bg-soft: #101010;
  --card: #171717;
  --gold: #d6a64f;
  --gold-light: #ffd88a;
  --text: #f4efe6;
  --muted: #a9a196;
  --line: rgba(255, 255, 255, 0.12);
  --shadow: 0 25px 80px rgba(0, 0, 0, 0.45);
  --radius: 28px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 12% 10%, rgba(214, 166, 79, 0.14), transparent 28%),
    radial-gradient(circle at 90% 25%, rgba(255, 216, 138, 0.09), transparent 30%),
    linear-gradient(135deg, #050505, #111 45%, #050505);
  color: var(--text);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    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: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 86%);
  z-index: -1;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.nav {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1180px, calc(100% - 32px));
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px 12px 18px;
  background: rgba(12, 12, 12, 0.66);
  border: 1px solid var(--line);
  backdrop-filter: blur(20px);
  border-radius: 999px;
  box-shadow: 0 14px 45px rgba(0,0,0,0.28);
}

.logo,
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.logo-text-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-text-wrap strong {
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 950;
  letter-spacing: -0.05em;
}

.logo-text-wrap small {
  color: var(--gold-light);
  font-size: 0.68rem;
  margin-top: 5px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.logo-mark {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #1a1a1a, #0d0d0d);
  border: 1px solid rgba(214,166,79,0.32);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.03) inset,
    0 10px 24px rgba(0,0,0,0.35),
    0 0 28px rgba(214,166,79,0.14);
  overflow: hidden;
  flex: 0 0 auto;
}

.logo-mark::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: conic-gradient(from 210deg, transparent, rgba(214,166,79,0.35), transparent 35%);
  animation: rotateLogoLight 5s linear infinite;
}

.logo-ring {
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(214,166,79,0.42);
  border-radius: 12px;
  z-index: 1;
}

.logo-blade {
  position: absolute;
  width: 35px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
  transform: rotate(-45deg);
  box-shadow: 0 0 12px rgba(214,166,79,0.4);
  z-index: 2;
}

.logo-blade::after {
  content: "";
  position: absolute;
  right: 4px;
  top: -4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(255,216,138,0.7);
  background: #0d0d0d;
}

.logo-letters {
  position: relative;
  z-index: 3;
  font-size: 0.92rem;
  font-weight: 950;
  letter-spacing: -0.09em;
  color: var(--text);
  transform: translateY(1px);
}

@keyframes rotateLogoLight {
  to { transform: rotate(360deg); }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.92rem;
}

.nav-links a {
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold-light);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  color: var(--text);
  background: rgba(255,255,255,0.06);
  cursor: pointer;
  font-weight: 800;
  transition: transform 0.25s ease, background 0.25s ease, border 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.28);
}

.btn-primary {
  color: #080808;
  border: 0;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: 0 14px 34px rgba(214,166,79,0.28);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #ffe6a8, #dfa93f);
}

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.05);
  color: var(--text);
  font-size: 1.2rem;
  cursor: pointer;
}

.hero {
  min-height: 92vh;
  display: grid;
  align-items: center;
  padding: 118px 0 48px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 40px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 8px 13px;
  border: 1px solid rgba(214,166,79,0.26);
  border-radius: 999px;
  color: var(--gold-light);
  background: rgba(214,166,79,0.08);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 18px var(--gold);
}

h1 {
  font-size: clamp(3.8rem, 8vw, 8.4rem);
  line-height: 0.82;
  letter-spacing: -0.09em;
  max-width: 760px;
  margin-bottom: 24px;
}

.stroke {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1.4px rgba(244,239,230,0.86);
  text-shadow: none;
}

.hero p,
.page-subtitle {
  color: var(--muted);
  max-width: 650px;
  font-size: 1.08rem;
  line-height: 1.75;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-card {
  position: relative;
  min-height: 540px;
  border-radius: 42px;
  overflow: hidden;
  background:
    linear-gradient(to bottom, rgba(255,255,255,0.05), rgba(255,255,255,0.02)),
    url("../images/home-grooming-products.webp") center/cover;
  box-shadow: var(--shadow);
  isolation: isolate;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.92), rgba(0,0,0,0.1) 55%, rgba(214,166,79,0.12));
  z-index: -1;
}

.floating-price {
  position: absolute;
  left: 22px;
  bottom: 22px;
  right: 22px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 20px;
  border-radius: 26px;
  background: rgba(8,8,8,0.76);
  border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(16px);
}

.floating-price strong {
  display: block;
  font-size: 1.18rem;
  margin-bottom: 5px;
}

.floating-price small {
  color: var(--muted);
  line-height: 1.5;
}

.price-badge {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  color: #070707;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  font-weight: 950;
  letter-spacing: -0.04em;
}

.price-badge small {
  color: #33210b;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.stat {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255,255,255,0.04);
}

.stat b {
  font-size: 2rem;
  color: var(--gold-light);
  letter-spacing: -0.05em;
}

.stat span {
  display: block;
  color: var(--muted);
  margin-top: 6px;
  font-size: 0.92rem;
}

section {
  padding: 58px 0;
}

.compact-section {
  padding-top: 32px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 26px;
}

.section-head h2 {
  font-size: clamp(2.2rem, 4.8vw, 5rem);
  line-height: 0.92;
  letter-spacing: -0.07em;
  max-width: 720px;
}

.section-head p {
  color: var(--muted);
  max-width: 420px;
  line-height: 1.7;
}

.page-hero {
  min-height: 58vh;
  display: flex;
  align-items: end;
  padding: 148px 0 64px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.88), rgba(0,0,0,0.38)),
    var(--page-image) center/cover;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 40%;
  background: linear-gradient(to top, var(--bg), transparent);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-title {
  font-size: clamp(3rem, 7vw, 7rem);
  line-height: 0.9;
  letter-spacing: -0.08em;
  max-width: 920px;
}

.page-hero-services { --page-image: url("../images/barber-tools.webp"); }
.page-hero-style { --page-image: url("../images/beard-shaping.webp"); }
.page-hero-prices { --page-image: url("../images/fade-haircut.webp"); }
.page-hero-barbers { --page-image: url("../images/barbers-at-work.webp"); }
.page-hero-booking { --page-image: url("../images/appointment-area.webp"); }
.page-hero-contact { --page-image: url("../images/appointment-area.webp"); }

.services,
.pricing,
.barbers,
.process-grid{
  display: grid;
  gap: 18px;
}

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

.service-card,
.process-card{
  position: relative;
  padding: 26px;
  min-height: 235px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.025));
  overflow: hidden;
  transition: transform 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}

.service-card:hover,
.process-card:hover{
  transform: translateY(-8px);
  border-color: rgba(214,166,79,0.48);
  background: linear-gradient(180deg, rgba(214,166,79,0.12), rgba(255,255,255,0.025));
}

.service-card::after {
  content: attr(data-number);
  position: absolute;
  right: -12px;
  bottom: -26px;
  font-size: 7rem;
  font-weight: 950;
  letter-spacing: -0.12em;
  color: rgba(255,255,255,0.035);
}

.icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  margin-bottom: 36px;
  background: rgba(214,166,79,0.12);
  border: 1px solid rgba(214,166,79,0.26);
  font-size: 1.5rem;
}

.service-card h3,
.process-card h3{
  font-size: 1.28rem;
  margin-bottom: 12px;
  letter-spacing: -0.03em;
}

.service-card p,
.process-card p{
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.96rem;
}

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

.process-card span{
  display: inline-flex;
  margin-bottom: 42px;
  color: var(--gold-light);
  font-weight: 950;
}

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 22px;
  align-items: stretch;
}

.image-panel {
  min-height: 480px;
  border-radius: 38px;
  background: url("../images/beard-shaping.webp") center/cover;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.image-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.78), transparent 58%);
}

.about-panel {
  padding: clamp(28px, 5vw, 58px);
  border-radius: 38px;
  background: linear-gradient(135deg, rgba(255,255,255,0.07), rgba(255,255,255,0.025));
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-panel h2 {
  font-size: clamp(2.2rem, 5vw, 5rem);
  line-height: 0.92;
  letter-spacing: -0.07em;
  margin-bottom: 24px;
}

.about-panel p {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 22px;
  font-size: 1.04rem;
}

.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.feature {
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--text);
  background: rgba(255,255,255,0.035);
  font-weight: 750;
}

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

.price-card {
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--card);
  position: relative;
  overflow: hidden;
}

.price-card.featured {
  background:
    linear-gradient(135deg, rgba(214,166,79,0.22), rgba(255,255,255,0.045)),
    var(--card);
  border-color: rgba(214,166,79,0.45);
  transform: translateY(-14px);
}

.tag {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.07);
  border: 1px solid var(--line);
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 22px;
}

.price-card h3 {
  font-size: 1.55rem;
  margin-bottom: 12px;
  letter-spacing: -0.04em;
}

.money {
  font-size: 3rem;
  font-weight: 950;
  letter-spacing: -0.08em;
  margin-bottom: 20px;
}

.money span {
  font-size: 1rem;
  color: var(--muted);
  letter-spacing: 0;
}

.price-card ul {
  list-style: none;
  display: grid;
  gap: 12px;
  color: var(--muted);
  margin-bottom: 26px;
}

.price-card li::before {
  content: "✓";
  color: var(--gold-light);
  font-weight: 900;
  margin-right: 9px;
}

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

.barber-card {
  border-radius: 34px;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
}

.barber-photo {
  height: 310px;
  background-size: cover;
  background-position: center;
  filter: grayscale(0.2);
  transition: filter 0.25s ease, transform 0.25s ease;
}

.barber-card:hover .barber-photo {
  filter: grayscale(0);
  transform: scale(1.035);
}

.barber-info {
  padding: 22px;
}

.barber-info h3 {
  font-size: 1.26rem;
  margin-bottom: 6px;
}

.barber-info p {
  color: var(--muted);
}











.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,0.055);
  color: var(--text);
  padding: 14px 15px;
  outline: none;
}

.contact-form textarea {
  min-height: 130px;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--muted);
}











footer {
  position: relative;
  padding: 60px 0 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background:
    radial-gradient(circle at 18% 0%, rgba(214,166,79,0.13), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,0.035), rgba(0,0,0,0.25));
  overflow: hidden;
}

footer::before {
  content: "STUDIO";
  position: absolute;
  right: -20px;
  bottom: -34px;
  font-size: clamp(5rem, 16vw, 15rem);
  font-weight: 950;
  letter-spacing: -0.12em;
  color: rgba(255,255,255,0.025);
  pointer-events: none;
}

.footer-main {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr 1fr;
  gap: 28px;
  padding-bottom: 34px;
  z-index: 1;
}

.footer-brand {
  max-width: 380px;
}

.footer-logo {
  margin-bottom: 18px;
}

.footer-brand p,
.footer-col p {
  line-height: 1.75;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.footer-social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.045);
  color: var(--text);
  font-weight: 900;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.footer-social a:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #080808;
}

.footer-col h3 {
  color: var(--text);
  font-size: 1rem;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.footer-links {
  display: grid;
  list-style: none;
}

.footer-links li {
  position: relative;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255,255,255,0.09);
}

.footer-links li:first-child {
  border-top: 1px solid rgba(255,255,255,0.09);
}

.footer-links li::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 42px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  opacity: 0.8;
}

.footer-links a {
  color: var(--muted);
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-links a:hover {
  color: var(--gold-light);
  padding-left: 5px;
}

.footer-contact-card {
  padding: 20px;
  border: 1px solid rgba(214,166,79,0.22);
  border-radius: 24px;
  background: rgba(214,166,79,0.08);
}

.footer-contact-card a {
  display: inline-flex;
  margin-top: 14px;
  color: var(--gold-light);
  font-weight: 850;
}

.footer-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 0.94rem;
}

.footer-bottom strong {
  color: var(--text);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

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

.cursor-glow {
  position: fixed;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214,166,79,0.14), transparent 65%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: -1;
  opacity: 0.8;
}

.floating-tools {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  display: grid;
  gap: 12px;
  justify-items: end;
}

.back-to-top,
.chat-toggle,
.language-toggle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(12,12,12,0.76);
  color: var(--text);
  backdrop-filter: blur(18px);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 16px 38px rgba(0,0,0,0.35);
  transition: transform 0.25s ease, background 0.25s ease, opacity 0.25s ease;
  font-size: 1.16rem;
  font-weight: 900;
}

.back-to-top:hover,
.chat-toggle:hover,
.language-toggle:hover {
  transform: translateY(-4px);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #080808;
}

.back-to-top {
  opacity: 0;
  pointer-events: none;
}

.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
}

.language-widget {
  position: relative;
}

.language-toggle {
  font-size: 1.35rem;
}

.language-menu {
  position: absolute;
  right: 0;
  bottom: 66px;
  width: 230px;
  padding: 10px;
  display: grid;
  gap: 8px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(22px);
  box-shadow: 0 24px 70px rgba(0,0,0,0.5);
  opacity: 0;
  transform: translateY(14px) scale(0.96);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.language-menu.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.language-menu::after {
  content: "";
  position: absolute;
  right: 20px;
  bottom: -8px;
  width: 16px;
  height: 16px;
  transform: rotate(45deg);
  background: rgba(10,10,10,0.92);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.language-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid transparent;
  border-radius: 16px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-weight: 800;
  text-align: left;
  transform: translateX(12px);
  opacity: 0;
  transition: transform 0.22s ease, opacity 0.22s ease, background 0.22s ease, border 0.22s ease;
}

.language-menu.open .language-option {
  transform: translateX(0);
  opacity: 1;
}

.language-menu.open .language-option:nth-child(1) { transition-delay: 0.02s; }
.language-menu.open .language-option:nth-child(2) { transition-delay: 0.06s; }
.language-menu.open .language-option:nth-child(3) { transition-delay: 0.10s; }
.language-menu.open .language-option:nth-child(4) { transition-delay: 0.14s; }
.language-menu.open .language-option:nth-child(5) { transition-delay: 0.18s; }

.language-option:hover {
  background: rgba(214,166,79,0.12);
  border-color: rgba(214,166,79,0.28);
}

.language-option .flag {
  font-size: 1.35rem;
  line-height: 1;
}

.chat-widget {
  position: fixed;
  right: 22px;
  bottom: 94px;
  z-index: 90;
  width: min(360px, calc(100vw - 36px));
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(24px);
  box-shadow: 0 28px 90px rgba(0,0,0,0.58);
  opacity: 0;
  transform: translateY(18px) scale(0.96);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.chat-widget.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px;
  background: linear-gradient(135deg, rgba(214,166,79,0.24), rgba(255,255,255,0.04));
  border-bottom: 1px solid var(--line);
}

.chat-agent {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #080808;
  font-weight: 950;
  box-shadow: 0 0 28px rgba(214,166,79,0.28);
}

.chat-agent strong {
  display: block;
  color: var(--text);
  margin-bottom: 4px;
}

.chat-agent span {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.86rem;
}

.chat-agent span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #38d97a;
  box-shadow: 0 0 14px #38d97a;
}

.chat-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.06);
  color: var(--text);
  cursor: pointer;
  font-size: 1.25rem;
}

.chat-body {
  display: grid;
  gap: 12px;
  padding: 18px;
  max-height: 320px;
  overflow-y: auto;
}

.message {
  max-width: 86%;
  padding: 12px 14px;
  border-radius: 18px;
  line-height: 1.45;
  font-size: 0.94rem;
}

.message.agent {
  background: rgba(255,255,255,0.07);
  color: var(--text);
  border-top-left-radius: 6px;
}

.message.user {
  justify-self: end;
  color: #080808;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  border-top-right-radius: 6px;
  font-weight: 750;
}

.chat-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 18px 16px;
}

.quick-reply {
  border: 1px solid rgba(214,166,79,0.28);
  border-radius: 999px;
  background: rgba(214,166,79,0.08);
  color: var(--gold-light);
  padding: 9px 12px;
  cursor: pointer;
  font-weight: 750;
  font-size: 0.85rem;
}

.chat-form {
  display: flex;
  gap: 8px;
  padding: 14px;
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,0.035);
}

.chat-form input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  color: var(--text);
  padding: 12px 14px;
  outline: none;
}

.chat-form input::placeholder {
  color: var(--muted);
}

.chat-form button {
  border: 0;
  border-radius: 999px;
  padding: 0 16px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #080808;
  font-weight: 950;
  cursor: pointer;
}

@media (max-width: 1050px) {
  .nav-links {
    gap: 14px;
    font-size: 0.86rem;
  }
}

@media (max-width: 980px) {
  .hero-grid,
.split{
    grid-template-columns: 1fr;
  }

  .hero-card,
  .image-panel {
    min-height: 440px;
  }

  .services,
.pricing,
.barbers,
.process-grid{
    grid-template-columns: repeat(2, 1fr);
  }

  .section-head {
    align-items: start;
    flex-direction: column;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .nav-cta {
    display: none;
  }
}

@media (max-width: 760px) {
  .floating-tools {
    right: 16px;
    bottom: 16px;
  }

  .chat-widget {
    right: 16px;
    bottom: 88px;
  }

  .language-menu {
    width: 214px;
  }

  .nav {
    border-radius: 28px;
    align-items: flex-start;
  }

  .menu-btn {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(10,10,10,0.94);
    backdrop-filter: blur(20px);
  }

  .nav-links.open {
    display: flex;
  }

  .hero {
    padding-top: 112px;
  }

  .stats,
.services,
.pricing,
.barbers,
.features,
.process-grid{
    grid-template-columns: 1fr;
  }

  .price-card.featured {
    transform: none;
  }

  .hero-card,
  .image-panel {
    min-height: 360px;
    border-radius: 30px;
  }

  .floating-price {
    grid-template-columns: 1fr;
  }

  .price-badge {
    width: 78px;
    height: 78px;
  }

  section {
    padding: 48px 0;
  }

  .page-hero {
    min-height: 52vh;
    padding: 130px 0 46px;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .logo-text-wrap small {
    display: none;
  }

  .logo-text-wrap strong {
    font-size: 0.96rem;
  }

  .logo-mark {
    width: 44px;
    height: 44px;
  }

  .nav {
    width: calc(100% - 20px);
  }

  h1 {
    font-size: clamp(3.2rem, 18vw, 4.6rem);
  }

  .chat-widget {
    width: calc(100vw - 24px);
    right: 12px;
  }
}

/* Premium page upgrades */
.mini-label {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.brand-strip-section,
.showcase-section,
.mood-section,
.membership-section,
.booking-benefits-section{
  padding-top: 34px;
}

.brand-strip {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid rgba(214,166,79,0.24);
  border-radius: 38px;
  background:
    linear-gradient(135deg, rgba(214,166,79,0.16), rgba(255,255,255,0.035)),
    radial-gradient(circle at 90% 20%, rgba(255,216,138,0.16), transparent 34%);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.brand-strip::after {
  content: "NN";
  position: absolute;
  right: 22px;
  bottom: -28px;
  font-size: clamp(5rem, 13vw, 12rem);
  font-weight: 950;
  letter-spacing: -0.12em;
  color: rgba(255,255,255,0.045);
}

.brand-strip h2,
.showcase-copy h2,
.membership-card h2{
  font-size: clamp(2.1rem, 4.8vw, 4.8rem);
  line-height: 0.94;
  letter-spacing: -0.07em;
  max-width: 760px;
}

.brand-strip p,
.showcase-copy p,
.membership-card p{
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.04rem;
  position: relative;
  z-index: 1;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 22px;
  align-items: stretch;
}

.showcase-copy,
.showcase-stack,
.membership-card{
  padding: clamp(26px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: 36px;
  background: linear-gradient(135deg, rgba(255,255,255,0.07), rgba(255,255,255,0.025));
}

.showcase-stack {
  display: grid;
  gap: 14px;
}

.stack-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.035);
}

.stack-item strong {
  color: var(--gold-light);
  font-size: 1.45rem;
}

.stack-item span {
  color: var(--text);
  font-weight: 800;
  line-height: 1.4;
}

.mood-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
  grid-auto-rows: 220px;
  gap: 18px;
}

.mood-card {
  position: relative;
  border-radius: 34px;
  border: 1px solid var(--line);
  overflow: hidden;
  background:
    linear-gradient(to top, rgba(0,0,0,0.88), rgba(0,0,0,0.1)),
    url("../images/fade-haircut.webp") center/cover;
  box-shadow: 0 20px 60px rgba(0,0,0,0.32);
}

.mood-card:nth-child(2) {
  background:
    linear-gradient(to top, rgba(0,0,0,0.88), rgba(0,0,0,0.1)),
    url("../images/gallery-signature-fade.webp") center/cover;
}

.mood-card:nth-child(3) {
  background:
    linear-gradient(to top, rgba(0,0,0,0.88), rgba(0,0,0,0.1)),
    url("../images/gallery-beard-treatment.webp") center/cover;
}

.mood-card:nth-child(4) {
  background:
    linear-gradient(to top, rgba(0,0,0,0.88), rgba(0,0,0,0.1)),
    url("../images/gallery-shop-interior.webp") center/cover;
}

.mood-card.tall {
  grid-row: span 2;
}

.mood-card.wide {
  grid-column: span 2;
}

.mood-card span {
  position: absolute;
  left: 22px;
  bottom: 22px;
  color: var(--text);
  font-size: 1.4rem;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.membership-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  background:
    linear-gradient(135deg, rgba(214,166,79,0.18), rgba(255,255,255,0.04)),
    radial-gradient(circle at 80% 20%, rgba(255,216,138,0.12), transparent 30%);
}

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

.benefit-card{
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.025));
}

.benefit-card span{
  display: inline-flex;
  margin-bottom: 44px;
  color: var(--gold-light);
  font-size: 1.5rem;
  font-weight: 950;
}

.benefit-card h3{
  font-size: 1.35rem;
  margin-bottom: 10px;
  letter-spacing: -0.04em;
}

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

















.page-hero {
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.page-hero .eyebrow,
.page-hero .page-title,
.page-hero .page-subtitle {
  text-shadow: 0 18px 50px rgba(0,0,0,0.5);
}

.page-hero::before {
  content: "";
  position: absolute;
  right: min(7vw, 90px);
  bottom: 48px;
  width: 170px;
  height: 170px;
  border-radius: 34px;
  border: 1px solid rgba(214,166,79,0.22);
  background:
    linear-gradient(135deg, rgba(214,166,79,0.15), rgba(255,255,255,0.04)),
    rgba(10,10,10,0.42);
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 80px rgba(0,0,0,0.42);
}

.page-hero::after {
  z-index: 0;
}

@media (max-width: 980px) {
  .brand-strip,
.showcase-grid{
    grid-template-columns: 1fr;
  }

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

  .membership-card {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .page-hero::before {
    display: none;
  }
}

@media (max-width: 760px) {
  .mood-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }

  .mood-card.tall,
  .mood-card.wide {
    grid-row: auto;
    grid-column: auto;
  }

  .brand-strip-section,
.showcase-section,
.mood-section,
.membership-section,
.booking-benefits-section{
    padding-top: 16px;
  }
}

.home-cta-section {
  padding-bottom: 70px;
}

.home-cta-box {
  position: relative;
  overflow: hidden;
  border-radius: 42px;
  padding: clamp(34px, 8vw, 82px);
  background:
    linear-gradient(135deg, rgba(214,166,79,0.22), rgba(255,255,255,0.04)),
    url("../images/appointment-area.webp") center/cover;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  box-shadow: var(--shadow);
  isolation: isolate;
}

.home-cta-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.88), rgba(0,0,0,0.28));
  z-index: -1;
}

.home-cta-box h2 {
  font-size: clamp(2.5rem, 7vw, 7rem);
  line-height: 0.88;
  letter-spacing: -0.08em;
  max-width: 780px;
  margin-bottom: 22px;
}

.home-cta-box p {
  color: var(--muted);
  max-width: 560px;
  line-height: 1.75;
  margin-bottom: 28px;
}

@media (max-width: 760px) {
  .home-cta-box {
    min-height: 340px;
    border-radius: 30px;
  }
}

/* Reorganized Barbers page */
.barbers-intro-section {
  padding-bottom: 24px;
}



.barbers-intro-copy{
  padding: clamp(26px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: 36px;
  background: linear-gradient(135deg, rgba(255,255,255,0.075), rgba(255,255,255,0.025));
}

.barbers-intro-copy h2 {
  font-size: clamp(2rem, 4.8vw, 4.6rem);
  line-height: 0.94;
  letter-spacing: -0.07em;
  max-width: 820px;
  margin-bottom: 18px;
}

.barbers-intro-copy p{
  color: var(--muted);
  line-height: 1.75;
}







.barbers-team-section {
  padding-top: 30px;
}

.barber-profiles {
  display: grid;
  gap: 22px;
}

.barber-profile-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  min-height: 420px;
  border: 1px solid var(--line);
  border-radius: 38px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.07), rgba(255,255,255,0.025));
  box-shadow: 0 22px 70px rgba(0,0,0,0.28);
}

.barber-profile-card:nth-child(even) {
  grid-template-columns: 1.1fr 0.9fr;
}

.barber-profile-card:nth-child(even) .barber-profile-photo {
  order: 2;
}

.barber-profile-photo {
  position: relative;
  min-height: 420px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.barber-profile-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.78), rgba(0,0,0,0.08));
}

.barber-profile-photo span {
  position: absolute;
  left: 22px;
  bottom: 22px;
  z-index: 1;
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 999px;
  color: #080808;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.barber-profile-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(26px, 5vw, 56px);
}

.profile-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.profile-topline .mini-label {
  margin-bottom: 0;
}

.profile-topline strong {
  color: rgba(255,255,255,0.12);
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 0.8;
  letter-spacing: -0.12em;
}

.barber-profile-info h2 {
  font-size: clamp(2.4rem, 6vw, 5.5rem);
  line-height: 0.88;
  letter-spacing: -0.08em;
  margin-bottom: 18px;
}

.barber-profile-info p {
  color: var(--muted);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 22px;
}

.barber-profile-info ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.barber-profile-info li {
  padding: 9px 12px;
  border: 1px solid rgba(214,166,79,0.22);
  border-radius: 999px;
  color: var(--gold-light);
  background: rgba(214,166,79,0.08);
  font-size: 0.88rem;
  font-weight: 800;
}

.barber-specialties-section {
  padding-top: 42px;
}

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

.specialty-card {
  position: relative;
  padding: 28px;
  border-radius: 30px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.075), rgba(255,255,255,0.025));
  overflow: hidden;
}

.specialty-card::after {
  content: "";
  position: absolute;
  right: -48px;
  top: -48px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214,166,79,0.14), transparent 68%);
}

.specialty-card span {
  display: inline-flex;
  margin-bottom: 48px;
  color: var(--gold-light);
  font-weight: 950;
  font-size: 1.25rem;
}

.specialty-card h3 {
  font-size: 1.45rem;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
}

.specialty-card p {
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 18px;
}

.specialty-card small {
  color: var(--text);
  font-weight: 900;
}

.barbers-cta-section {
  padding-top: 34px;
}

.barbers-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid rgba(214,166,79,0.24);
  border-radius: 38px;
  background:
    linear-gradient(135deg, rgba(214,166,79,0.18), rgba(255,255,255,0.04)),
    url("../images/fade-haircut.webp") center/cover;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
  isolation: isolate;
}

.barbers-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.88), rgba(0,0,0,0.45));
  z-index: -1;
}

.barbers-cta h2 {
  font-size: clamp(2.2rem, 5vw, 5.2rem);
  line-height: 0.9;
  letter-spacing: -0.08em;
  margin-bottom: 14px;
}

.barbers-cta p {
  color: var(--muted);
  line-height: 1.7;
  max-width: 560px;
}

@media (max-width: 980px) {
  .barber-profile-card,
.barber-profile-card:nth-child(even),
.specialty-matrix{
    grid-template-columns: 1fr;
  }

  .barber-profile-card:nth-child(even) .barber-profile-photo {
    order: 0;
  }

  .barber-profile-photo {
    min-height: 360px;
  }

  .barbers-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  

  .barber-profile-card {
    border-radius: 30px;
  }

  .barber-profile-photo {
    min-height: 300px;
  }

  .barber-profile-info {
    padding: 26px;
  }
}

/* Barbers intro refinement */
.barbers-intro-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.25fr 0.8fr;
  gap: 18px;
  align-items: stretch;
}

.barbers-intro-layout .barbers-intro-copy,
.barbers-intro-highlights,
.barbers-intro-visual {
  min-height: 270px;
}

.barbers-intro-layout .barbers-intro-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.barbers-intro-layout .barbers-intro-copy h2 {
  font-size: clamp(2.3rem, 5vw, 5.3rem);
  line-height: 0.88;
  margin-bottom: 18px;
}

.barbers-intro-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 36px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.07), rgba(255,255,255,0.025));
}

.intro-highlight {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  border-radius: 24px;
  overflow: hidden;
  background:
    linear-gradient(to top, rgba(0,0,0,0.84), rgba(0,0,0,0.08)),
    url("../images/fade-haircut.webp") center/cover;
  min-height: 240px;
}

.intro-highlight:nth-child(2) {
  background:
    linear-gradient(to top, rgba(0,0,0,0.84), rgba(0,0,0,0.08)),
    url("../images/home-grooming-products.webp") center/cover;
}

.intro-highlight:nth-child(3) {
  background:
    linear-gradient(to top, rgba(0,0,0,0.84), rgba(0,0,0,0.08)),
    url("../images/barbers-at-work.webp") center/cover;
}

.intro-highlight strong {
  color: var(--gold-light);
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.intro-highlight span {
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.barbers-intro-visual {
  position: relative;
  display: grid;
  place-items: center;
  border: 1px solid rgba(214,166,79,0.24);
  border-radius: 36px;
  background:
    radial-gradient(circle at 50% 35%, rgba(214,166,79,0.22), transparent 34%),
    linear-gradient(135deg, rgba(214,166,79,0.14), rgba(255,255,255,0.035));
  overflow: hidden;
}

.barbers-intro-visual::before {
  content: "NN";
  position: absolute;
  right: -18px;
  bottom: -28px;
  font-size: 8rem;
  font-weight: 950;
  letter-spacing: -0.12em;
  color: rgba(255,255,255,0.05);
}

.intro-badge {
  position: relative;
  z-index: 1;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #080808;
  box-shadow: 0 22px 70px rgba(214,166,79,0.28);
}

.intro-badge span {
  display: block;
  font-size: 4.2rem;
  line-height: 0.8;
  font-weight: 950;
  letter-spacing: -0.12em;
}

.intro-badge small {
  display: block;
  max-width: 90px;
  margin-top: 8px;
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Contact redesign */






















.form-two {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}





@media (max-width: 1100px) {
  .barbers-intro-layout {
    grid-template-columns: 1fr;
  }

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

  .barbers-intro-visual {
    min-height: 220px;
  }
}

@media (max-width: 980px) {
  
}

@media (max-width: 760px) {
  .barbers-intro-highlights,
  .form-two {
    grid-template-columns: 1fr;
  }

  .intro-highlight {
    min-height: 180px;
  }

  
}

/* Typography upgrade */
h1,
h2,
.page-title,
.about-panel h2,
.section-head h2,
.home-cta-box h2,
.brand-strip h2,
.showcase-copy h2,
.membership-card h2,
.barber-profile-info h2,
.barbers-cta h2,
.contact-sidebar h2,
.contact-message-card h2,
.contact-mini-cta h2{
  font-family: "Bebas Neue", Impact, sans-serif;
  font-weight: 900;
}

body {
  font-size: 16px;
  letter-spacing: -0.01em;
}

p,
li,
small,
input,
textarea,
select {
  font-weight: 500;
}

.nav-links,
.btn,
.tag,
.mini-label,
.logo-text-wrap small {
  font-family: "DM Sans", ui-sans-serif, system-ui, sans-serif;
}

.page-subtitle,
.hero p,
.section-head p {
  font-size: clamp(1rem, 1.5vw, 1.12rem);
}

.logo-text-wrap strong {
  letter-spacing: -0.035em;
}

/* Contact page refined design, no map section */
.contact-hero {
  min-height: 48vh;
  padding-bottom: 52px;
}

.contact-hero-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: end;
}

.contact-hero-layout .page-subtitle {
  max-width: 470px;
  margin-bottom: 8px;
}

.contact-details-section {
  padding-top: 50px;
}

.contact-details-layout {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 22px;
  align-items: stretch;
}

.contact-sidebar,
.contact-message-card,
.contact-mini-cta {
  border: 1px solid var(--line);
  border-radius: 38px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.075), rgba(255,255,255,0.025));
  box-shadow: 0 22px 70px rgba(0,0,0,0.22);
}

.contact-sidebar {
  padding: clamp(26px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 24px;
  background:
    radial-gradient(circle at 14% 12%, rgba(214,166,79,0.18), transparent 32%),
    linear-gradient(135deg, rgba(255,255,255,0.075), rgba(255,255,255,0.025));
}

.contact-sidebar h2,
.contact-message-card h2 {
  font-size: clamp(2.7rem, 5.5vw, 5.6rem);
  line-height: 0.86;
  letter-spacing: -0.065em;
  margin-bottom: 14px;
}

.contact-sidebar > p,
.form-heading p {
  color: var(--muted);
  line-height: 1.75;
  max-width: 560px;
}

.contact-detail-list {
  display: grid;
  gap: 12px;
}

.contact-detail-card {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.035);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.contact-detail-card:hover {
  transform: translateY(-3px);
  border-color: rgba(214,166,79,0.34);
  background: rgba(214,166,79,0.075);
}

.contact-detail-card > span {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(214,166,79,0.12);
  border: 1px solid rgba(214,166,79,0.23);
  font-size: 1.2rem;
}

.contact-detail-card strong {
  display: block;
  color: var(--text);
  margin-bottom: 5px;
  font-weight: 900;
}

.contact-detail-card small {
  color: var(--muted);
  line-height: 1.45;
}

.hours-card {
  margin-top: auto;
  padding: 22px;
  border-radius: 28px;
  border: 1px solid rgba(214,166,79,0.24);
  background:
    linear-gradient(135deg, rgba(214,166,79,0.14), rgba(255,255,255,0.035));
}

.hours-card h3 {
  font-size: 1.45rem;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
}

.hours-card p {
  color: var(--muted);
  line-height: 1.7;
}

.contact-message-card {
  padding: clamp(26px, 4vw, 48px);
  position: relative;
  overflow: hidden;
}

.contact-message-card::after {
  content: "CONTACT";
  position: absolute;
  right: -18px;
  bottom: -20px;
  font-size: clamp(4rem, 10vw, 9rem);
  font-family: "Bebas Neue", Impact, sans-serif;
  font-weight: 900;
  letter-spacing: -0.08em;
  color: rgba(255,255,255,0.028);
  pointer-events: none;
}

.form-heading {
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.premium-form {
  position: relative;
  z-index: 1;
}

.premium-form input,
.premium-form select,
.premium-form textarea {
  min-height: 54px;
  border-radius: 20px;
  background: rgba(8,8,8,0.28);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.premium-form textarea {
  min-height: 150px;
}

.premium-form input:focus,
.premium-form select:focus,
.premium-form textarea:focus {
  border-color: rgba(214,166,79,0.48);
  background: rgba(8,8,8,0.42);
  box-shadow: 0 0 0 4px rgba(214,166,79,0.08);
}

.form-footer-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.form-footer-row small {
  color: var(--muted);
  line-height: 1.5;
}

.contact-mini-cta-section {
  padding-top: 22px;
  padding-bottom: 64px;
}

.contact-mini-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: clamp(24px, 4vw, 40px);
  background:
    linear-gradient(135deg, rgba(214,166,79,0.16), rgba(255,255,255,0.04)),
    radial-gradient(circle at 85% 20%, rgba(255,216,138,0.12), transparent 28%);
}

.contact-mini-cta h2 {
  font-size: clamp(2.2rem, 4.8vw, 4.8rem);
  line-height: 0.88;
  letter-spacing: -0.065em;
}

.contact-mini-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 980px) {
  .contact-hero-layout,
  .contact-details-layout {
    grid-template-columns: 1fr;
  }

  .contact-mini-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  .contact-hero {
    min-height: 44vh;
  }

  .contact-details-section {
    padding-top: 34px;
  }

  .contact-sidebar,
  .contact-message-card,
  .contact-mini-cta {
    border-radius: 30px;
  }
}

/* Typography direction: modern barber/editorial */
:root {
  --font-display: "Bebas Neue", Impact, sans-serif;
  --font-body: "DM Sans", ui-sans-serif, system-ui, sans-serif;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  letter-spacing: -0.012em;
  font-weight: 500;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
.page-title,
.about-panel h2,
.section-head h2,
.home-cta-box h2,
.brand-strip h2,
.showcase-copy h2,
.membership-card h2,
.barber-profile-info h2,
.barbers-cta h2,
.contact-sidebar h2,
.contact-message-card h2,
.contact-mini-cta h2,
.barbers-intro-copy h2{
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 0.86;
}

h1 {
  letter-spacing: 0.005em;
}

.page-title {
  letter-spacing: 0.008em;
}

.stroke {
  -webkit-text-stroke: 1px rgba(244,239,230,0.88);
  letter-spacing: 0.012em;
}

.logo-text-wrap strong {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 1.18rem;
}

.logo-text-wrap small {
  font-family: var(--font-body);
  font-weight: 800;
  letter-spacing: 0.18em;
}

.nav-links,
.btn,
.tag,
.mini-label,
.price-card li,
.footer-links,
.contact-detail-card strong{
  font-family: var(--font-body);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.btn {
  letter-spacing: 0.005em;
}

.eyebrow,
.mini-label,
.tag {
  letter-spacing: 0.14em;
}

.hero p,
.page-subtitle,
.section-head p,
.about-panel p,
.service-card p,
.price-card li,
.barber-info p,
.barber-profile-info p,
.specialty-card p,
.contact-sidebar > p,
.form-heading p,
.footer-brand p,
.footer-col p {
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: -0.012em;
}

.money,
.stat b,
.profile-topline strong{
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.01em;
}

.service-card h3,
.process-card h3,
.price-card h3,
.barber-info h3,
.benefit-card h3,
.specialty-card h3,
.contact-detail-card strong,
.hours-card h3{
  font-family: var(--font-body);
  font-weight: 800;
  letter-spacing: -0.045em;
}

@media (max-width: 520px) {
  .logo-text-wrap strong {
    font-size: 1.05rem;
  }

  h1,
  .page-title {
    line-height: 0.9;
  }
}

/* Footer social media SVG icons */
.footer-social {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
}

.footer-social a {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.045);
  color: var(--text);
  overflow: hidden;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.footer-social a::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  opacity: 0;
  transition: opacity 0.25s ease;
}

.footer-social a:hover {
  transform: translateY(-3px);
  color: #080808;
  border-color: rgba(214,166,79,0.55);
}

.footer-social a:hover::before {
  opacity: 1;
}

.footer-social svg {
  position: relative;
  z-index: 1;
  width: 19px;
  height: 19px;
  display: block;
  fill: currentColor;
}

/* =========================================================
   RESPONSIVE LAYOUT
   Mobile-first fixes for all pages and components
   ========================================================= */

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

img,
svg,
video,
canvas {
  max-width: 100%;
}

.container {
  max-width: 1180px;
}

/* Prevent long text from breaking layouts */
h1,
h2,
h3,
p,
a,
span,
small,
strong,
li {
  overflow-wrap: anywhere;
}

/* Better responsive type scale */
h1,
.page-title {
  font-size: clamp(3.35rem, 10vw, 8.4rem);
}

.section-head h2,
.about-panel h2,
.home-cta-box h2,
.brand-strip h2,
.showcase-copy h2,
.membership-card h2,
.barbers-cta h2,
.contact-sidebar h2,
.contact-message-card h2,
.contact-mini-cta h2,
.barbers-intro-copy h2{
  font-size: clamp(2.4rem, 7vw, 5.6rem);
}

/* Header and navigation */
.nav {
  min-height: 72px;
}

.nav-links a {
  white-space: nowrap;
}

@media (max-width: 1120px) {
  .nav {
    width: calc(100% - 24px);
  }

  .nav-links {
    gap: 12px;
    font-size: 0.82rem;
  }

  .logo-text-wrap strong {
    font-size: 1.02rem;
  }
}

@media (max-width: 980px) {
  .nav {
    border-radius: 28px;
  }

  .menu-btn {
    display: block;
    flex: 0 0 auto;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(10,10,10,0.96);
    backdrop-filter: blur(20px);
    box-shadow: 0 18px 60px rgba(0,0,0,0.45);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 14px 14px;
    border-radius: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    white-space: normal;
  }

  .nav-links a:last-child {
    border-bottom: 0;
  }

  .nav-links a:hover,
  .nav-links a.active {
    background: rgba(214,166,79,0.08);
  }

  .nav-cta,
  .nav .btn-primary {
    display: none;
  }
}

/* Hero */
.hero {
  min-height: auto;
  padding-top: 128px;
}

.hero-grid {
  align-items: center;
}

.hero-copy {
  min-width: 0;
}

.hero-card {
  width: 100%;
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero {
    padding-top: 118px;
  }

  .hero-card {
    min-height: 440px;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 108px;
    padding-bottom: 34px;
  }

  .hero p,
  .page-subtitle {
    font-size: 1rem;
    line-height: 1.65;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .stats {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero-card {
    min-height: 340px;
    border-radius: 28px;
  }

  .floating-price {
    left: 14px;
    right: 14px;
    bottom: 14px;
    padding: 16px;
    border-radius: 22px;
  }
}

/* Page heroes */
.page-hero {
  min-height: auto;
  padding-top: 140px;
}

@media (max-width: 760px) {
  .page-hero {
    padding-top: 118px;
    padding-bottom: 42px;
  }

  .page-title {
    max-width: 100%;
  }
}

/* Grids and cards */
.services,
.pricing,
.barbers,
.process-grid,
.benefits-grid,
.specialty-matrix{
  min-width: 0;
}

.service-card,
.price-card,
.barber-card,
.process-card,
.benefit-card,
.specialty-card{
  min-width: 0;
}

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

@media (max-width: 980px) {
  .pricing,
.barbers,
.process-grid,
.benefits-grid,
.specialty-matrix{
    grid-template-columns: 1fr;
  }

  .price-card.featured {
    transform: none;
  }
}

@media (max-width: 640px) {
  .services {
    grid-template-columns: 1fr;
  }

  .service-card,
.price-card,
.process-card,
.benefit-card,
.specialty-card{
    padding: 22px;
    border-radius: 24px;
  }

  .icon {
    margin-bottom: 28px;
  }

  .money {
    font-size: 2.5rem;
  }
}

/* Split/about sections */
@media (max-width: 980px) {
  .split,
.showcase-grid,
.brand-strip,
.contact-hero-layout,
.contact-details-layout{
    grid-template-columns: 1fr;
  }

  .image-panel {
    min-height: 380px;
  }
}

@media (max-width: 640px) {
  .about-panel,
.showcase-copy,
.showcase-stack,
.membership-card,
.contact-sidebar,
.contact-message-card,
.contact-mini-cta{
    padding: 24px;
    border-radius: 28px;
  }

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

  .image-panel {
    min-height: 300px;
    border-radius: 28px;
  }
}

/* Barbers page profiles */
@media (max-width: 980px) {
  .barber-profile-card,
  .barber-profile-card:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .barber-profile-card:nth-child(even) .barber-profile-photo {
    order: 0;
  }
}

@media (max-width: 700px) {
  .barber-profile-card {
    border-radius: 28px;
  }

  .barber-profile-photo {
    min-height: 280px;
  }

  .barber-profile-info {
    padding: 24px;
  }

  .barber-profile-info ul {
    align-items: flex-start;
    flex-direction: column;
  }

  .barber-profile-info .btn {
    width: 100%;
  }
}

/* Barbers intro refinement responsive */
@media (max-width: 1180px) {
  .barbers-intro-layout {
    grid-template-columns: 1fr;
  }

  .barbers-intro-layout .barbers-intro-copy,
  .barbers-intro-highlights,
  .barbers-intro-visual {
    min-height: auto;
  }
}

@media (max-width: 760px) {
  .barbers-intro-highlights {
    grid-template-columns: 1fr;
  }

  .intro-highlight {
    min-height: 170px;
  }

  .barbers-intro-visual {
    min-height: 210px;
  }
}

/* Contact page */
@media (max-width: 760px) {
  .form-two {
    grid-template-columns: 1fr;
  }

  .contact-detail-card{
    grid-template-columns: 46px 1fr;
    padding: 14px;
  }

  .contact-detail-card > span{
    width: 46px;
    height: 46px;
  }

  .form-footer-row {
    align-items: stretch;
    flex-direction: column;
  }

  .form-footer-row .btn {
    width: 100%;
  }

  .contact-mini-actions {
    width: 100%;
    flex-direction: column;
  }

  .contact-mini-actions .btn {
    width: 100%;
  }
}

/* Mood board */
@media (max-width: 980px) {
  .mood-grid {
    grid-template-columns: 1fr 1fr;
  }

  .mood-card.tall,
  .mood-card.wide {
    grid-row: auto;
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .mood-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 210px;
  }
}

/* Footer */
.footer-main {
  min-width: 0;
}

@media (max-width: 980px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  footer {
    padding-top: 46px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-social {
    flex-wrap: wrap;
  }

  footer::before {
    font-size: 6rem;
    right: -8px;
    bottom: -18px;
  }
}

/* Floating tools and chat */
@media (max-width: 640px) {
  .floating-tools {
    right: 12px;
    bottom: 12px;
    gap: 9px;
  }

  .back-to-top,
  .chat-toggle,
  .language-toggle {
    width: 48px;
    height: 48px;
  }

  .language-menu {
    right: 0;
    bottom: 60px;
    width: min(220px, calc(100vw - 28px));
  }

  .chat-widget {
    right: 10px;
    left: 10px;
    bottom: 74px;
    width: auto;
    max-height: calc(100vh - 110px);
    border-radius: 24px;
  }

  .chat-body {
    max-height: 260px;
  }

  .chat-form {
    flex-direction: column;
  }

  .chat-form button {
    min-height: 44px;
  }
}

/* Very small phones */
@media (max-width: 380px) {
  .container {
    width: calc(100% - 24px);
  }

  .nav {
    top: 10px;
    width: calc(100% - 16px);
    padding: 10px;
  }

  .logo-mark {
    width: 40px;
    height: 40px;
    border-radius: 14px;
  }

  .logo-text-wrap strong {
    font-size: 0.96rem;
  }

  .page-hero,
  .hero {
    padding-top: 100px;
  }

  h1,
  .page-title {
    font-size: clamp(3rem, 18vw, 4.2rem);
  }

  .eyebrow {
    font-size: 0.72rem;
    padding: 7px 10px;
  }

  .btn {
    padding: 12px 16px;
  }
}

/* Large screens */
@media (min-width: 1440px) {
  .container {
    max-width: 1240px;
  }

  .nav {
    max-width: 1240px;
  }

  .hero-card {
    min-height: 580px;
  }

  .page-hero {
    min-height: 62vh;
  }
}

/* Touch devices */
@media (hover: none) {
  .service-card:hover,
.process-card:hover,
.contact-detail-card:hover,
.footer-social a:hover{
    transform: none;
  }
}

/* Heading sizes */
h1,
.page-title {
  font-size: clamp(3rem, 8.4vw, 7.1rem);
  line-height: 0.9;
}

.section-head h2,
.about-panel h2,
.home-cta-box h2,
.brand-strip h2,
.showcase-copy h2,
.membership-card h2,
.barbers-cta h2,
.contact-sidebar h2,
.contact-message-card h2,
.contact-mini-cta h2,
.barbers-intro-copy h2{
  font-size: clamp(2.15rem, 5.6vw, 4.65rem);
  line-height: 0.92;
}

.barber-profile-info h2 {
  font-size: clamp(2.15rem, 5.2vw, 4.75rem);
  line-height: 0.92;
}

.money {
  font-size: clamp(2.45rem, 5vw, 2.8rem);
}

@media (max-width: 520px) {
  h1,
  .page-title {
    font-size: clamp(2.65rem, 15vw, 3.75rem);
    line-height: 0.95;
  }

  .section-head h2,
.about-panel h2,
.home-cta-box h2,
.brand-strip h2,
.showcase-copy h2,
.membership-card h2,
.barbers-cta h2,
.contact-sidebar h2,
.contact-message-card h2,
.contact-mini-cta h2,
.barbers-intro-copy h2{
    font-size: clamp(2.15rem, 12vw, 3.2rem);
    line-height: 0.96;
  }
}

/* Style page heading alignment */
.style-section-heading {
  align-items: flex-start;
}

.style-section-heading h2 {
  max-width: 650px;
  margin-top: 0;
}

.style-section-heading p {
  max-width: 430px;
  margin-top: 0.45rem;
}

@media (max-width: 980px) {
  .style-section-heading p {
    margin-top: 0;
    max-width: 620px;
  }
}

/* Shared heading alignment */
.section-head {
  align-items: flex-start;
}

.section-head h2 {
  margin-top: 0;
}

.section-head p {
  margin-top: 0.35rem;
}

/* Contact hero alignment */
.contact-hero-layout {
  align-items: flex-start;
}

.contact-hero-layout .page-subtitle {
  margin-top: 0.65rem;
}

/* Homepage section heading layout */
#index-home-fix,
.home-section-heading {
  align-items: flex-start;
}

@media (max-width: 980px) {
  .section-head p,
  .contact-hero-layout .page-subtitle {
    margin-top: 0;
  }

  .contact-hero-layout {
    gap: 16px;
  }
}

/* =========================================================
   VISUAL ALIGNMENT
   Requested fixes: Home section heads, Home brand strip,
   Style balanced head, Contact hero subtitle alignment.
   ========================================================= */

/* Home: section-head blocks — keep title and right text aligned at the top */
.home-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  align-items: start;
  column-gap: clamp(24px, 5vw, 64px);
}

.home-section-heading h2 {
  margin: 0;
}

.home-section-heading p {
  margin: 0.15rem 0 0;
  align-self: start;
}

/* Home: brand strip — align headline and paragraph cleanly */
.home-brand-strip {
  align-items: start;
}

.home-brand-strip > div,
.home-brand-strip > p {
  align-self: start;
}

.home-brand-strip p {
  margin-top: 0.45rem;
  max-width: 520px;
}

/* Style page: specific balanced heading */
.style-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  align-items: start;
  column-gap: clamp(24px, 5vw, 64px);
}

.style-section-heading h2 {
  margin: 0;
}

.style-section-heading p {
  margin: 0.15rem 0 0;
  align-self: start;
}

/* Contact: put subtitle visually at title height */
.contact-hero-layout {
  align-items: start;
}

.contact-hero-subtitle {
  align-self: start;
  margin-top: clamp(2.05rem, 3vw, 3.15rem);
  max-width: 500px;
}

/* Make general section heads visually consistent */
.section-head {
  align-items: start;
}

.section-head h2 {
  margin-top: 0;
}

.section-head p {
  align-self: start;
}

/* Responsive aesthetic verification / refinements */
@media (max-width: 1180px) {
  .home-section-heading,
  .style-section-heading {
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
    column-gap: 28px;
  }

  .contact-hero-subtitle {
    margin-top: 1.85rem;
  }
}

@media (max-width: 980px) {
  .home-section-heading,
  .style-section-heading,
  .contact-hero-layout,
  .home-brand-strip {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .home-section-heading p,
  .style-section-heading p,
  .home-brand-strip p,
  .contact-hero-subtitle {
    margin-top: 0;
    max-width: 680px;
  }

  .section-head {
    gap: 14px;
  }
}

@media (max-width: 760px) {
  .home-section-heading,
  .style-section-heading {
    gap: 12px;
  }

  .home-brand-strip {
    padding: 26px;
  }

  .home-brand-strip p {
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .contact-hero-layout {
    gap: 12px;
  }

  .contact-hero-subtitle {
    font-size: 0.98rem;
    line-height: 1.65;
  }
}

@media (max-width: 480px) {
  .home-section-heading h2,
  .style-section-heading h2,
  .home-brand-strip h2 {
    max-width: 100%;
  }

  .home-section-heading p,
  .style-section-heading p,
  .home-brand-strip p {
    max-width: 100%;
  }
}

/* Contact title and subtitle alignment */
.contact-hero-layout {
  align-items: start;
}

.contact-hero-layout > div,
.contact-hero-subtitle {
  align-self: start;
}

.contact-hero-subtitle {
  margin-top: 0 !important;
  padding-top: clamp(2.15rem, 2.8vw, 3.05rem);
}

/* On tablet/mobile, stack naturally with no artificial offset */
@media (max-width: 980px) {
  .contact-hero-subtitle {
    padding-top: 0;
    margin-top: 0 !important;
  }
}


/* Barber profile card spacing refinement */
.barber-profile-card {
  padding: 14px;
  gap: 14px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.075), rgba(255,255,255,0.025));
}

.barber-profile-photo {
  border-radius: 26px;
  min-height: 396px;
}

.barber-profile-info {
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.035), rgba(255,255,255,0.012));
}

@media (max-width: 980px) {
  .barber-profile-card {
    gap: 12px;
  }

  .barber-profile-photo {
    min-height: 340px;
  }
}

@media (max-width: 700px) {
  .barber-profile-card {
    padding: 10px;
    gap: 10px;
  }

  .barber-profile-photo {
    border-radius: 22px;
    min-height: 280px;
  }

  .barber-profile-info {
    border-radius: 22px;
  }
}

/* Barber profile photos */
.barber-profile-photo::before {
  content: none !important;
  display: none !important;
}

.barber-profile-photo {
  border: 0;
  box-shadow: none;
}

/* Language selector: EN / ES / FR only */
.language-menu {
  width: 210px;
}

@media (max-width: 640px) {
  .language-menu {
    width: min(210px, calc(100vw - 28px));
  }
}


/* Blog and Gallery pages */
.page-hero-blog{--page-image:url("../images/journal-workspace.webp")}
.page-hero-gallery{--page-image:url("../images/studio-lounge.webp")}
.blog-feature-card{display:grid;grid-template-columns:.95fr 1.05fr;gap:18px;padding:14px;border-radius:38px;border:1px solid var(--line);background:linear-gradient(135deg,rgba(255,255,255,.075),rgba(255,255,255,.025));box-shadow:var(--shadow)}
.blog-feature-image{min-height:420px;border-radius:28px;background:linear-gradient(to top,rgba(0,0,0,.65),rgba(0,0,0,.08)),url("../images/journal-hair-consultation.webp") center/cover}
.blog-feature-content{display:flex;flex-direction:column;justify-content:center;padding:clamp(24px,4vw,52px)}
.blog-feature-content h2,.article-hero-copy h1{font-family:var(--font-display);font-weight:400;text-transform:uppercase;font-size:clamp(2.5rem,6vw,5.8rem);line-height:.88;letter-spacing:.01em;margin-bottom:18px}
.blog-feature-content p,.article-hero-copy p{color:var(--muted);line-height:1.72;max-width:620px}
.blog-meta{display:flex;flex-wrap:wrap;gap:10px;margin:22px 0}
.blog-meta span{padding:8px 11px;border-radius:999px;border:1px solid rgba(214,166,79,.24);color:var(--gold-light);background:rgba(214,166,79,.08);font-size:.82rem;font-weight:800}
.blog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.blog-card{overflow:hidden;border-radius:32px;border:1px solid var(--line);background:linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,.025))}
.blog-card-image{min-height:260px;background-size:cover;background-position:center}
.image-fade{background-image:linear-gradient(to top,rgba(0,0,0,.55),transparent),url("../images/gallery-signature-fade.webp")}
.image-beard{background-image:linear-gradient(to top,rgba(0,0,0,.55),transparent),url("../images/gallery-beard-treatment.webp")}
.image-style{background-image:linear-gradient(to top,rgba(0,0,0,.55),transparent),url("../images/journal-styling-routine.webp")}
.blog-card-body{padding:24px}.blog-card-body h3{font-size:1.35rem;letter-spacing:-.04em;margin-bottom:10px}.blog-card-body p{color:var(--muted);line-height:1.62;margin-bottom:18px}.blog-card-body a{color:var(--gold-light);font-weight:900}

.article-hero{padding:140px 0 58px}.article-hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:22px;align-items:stretch}.article-hero-copy,.article-hero-image{border-radius:38px;border:1px solid var(--line);background:linear-gradient(135deg,rgba(255,255,255,.075),rgba(255,255,255,.025))}.article-hero-copy{padding:clamp(28px,5vw,56px);display:flex;flex-direction:column;justify-content:center}.article-back{color:var(--gold-light);font-weight:900;margin-bottom:26px}.article-hero-image{min-height:520px;background:linear-gradient(to top,rgba(0,0,0,.55),transparent),url("../images/journal-hair-consultation.webp") center/cover}.article-layout{display:grid;grid-template-columns:280px 1fr;gap:28px;align-items:start}.article-sidebar{position:sticky;top:110px;padding:22px;border-radius:26px;border:1px solid var(--line);background:rgba(255,255,255,.04)}.article-sidebar a{display:block;padding:12px 0;color:var(--muted);border-bottom:1px solid rgba(255,255,255,.08)}.article-content{max-width:820px;padding:clamp(26px,4vw,50px);border-radius:34px;border:1px solid var(--line);background:linear-gradient(135deg,rgba(255,255,255,.065),rgba(255,255,255,.025))}.article-lead{font-size:1.25rem;color:var(--text);line-height:1.7;margin-bottom:30px}.article-content h2{font-size:clamp(2rem,4vw,3.8rem);margin:34px 0 14px}.article-content p{color:var(--muted);line-height:1.82}.article-content blockquote{margin:34px 0;padding:24px;border-left:3px solid var(--gold);border-radius:22px;color:var(--text);background:rgba(214,166,79,.08);font-size:1.25rem;line-height:1.6}.article-cta{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-top:38px;padding:24px;border-radius:28px;background:rgba(214,166,79,.09);border:1px solid rgba(214,166,79,.24)}
.blog-gallery-home-section{padding-top:42px}.home-editorial-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.home-editorial-card{min-height:360px;display:flex;flex-direction:column;justify-content:flex-end;padding:28px;border-radius:34px;overflow:hidden;position:relative;border:1px solid var(--line);background-size:cover;background-position:center;box-shadow:0 22px 70px rgba(0,0,0,.28)}.home-editorial-card:before{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.88),rgba(0,0,0,.18))}.home-editorial-card>*{position:relative;z-index:1}.home-editorial-card h3{font-size:clamp(1.7rem,3vw,2.6rem);line-height:1;letter-spacing:-.04em;max-width:560px;margin-bottom:12px}.home-editorial-card p{color:var(--muted);line-height:1.65;max-width:560px}.home-blog-card{background-image:url("../images/journal-hair-consultation.webp")}.home-gallery-card{background-image:url("../images/gallery-shop-interior.webp")}
@media(max-width:980px){.blog-feature-card,.article-hero-grid,.article-layout,.home-editorial-grid{grid-template-columns:1fr}.blog-grid{grid-template-columns:1fr}.article-sidebar{position:static}}
@media(max-width:640px){.blog-feature-card{padding:10px;border-radius:30px}.blog-feature-image,.article-hero-image{min-height:320px;border-radius:24px}.blog-feature-content{padding:22px}.article-hero{padding-top:110px}.article-hero-copy,.article-content{padding:24px;border-radius:28px}.article-cta{align-items:stretch;flex-direction:column}.article-cta .btn{width:100%}.home-editorial-card{min-height:300px;padding:24px;border-radius:28px}}




/* Gallery premium redesign */
.gallery-hero .gallery-hero-content {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(24px, 5vw, 70px);
  align-items: start;
}

.gallery-hero .page-subtitle {
  margin-top: clamp(2rem, 3vw, 3rem);
  max-width: 520px;
}

.gallery-showcase-section {
  padding-bottom: 26px;
}

.gallery-showcase {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
  align-items: stretch;
}

.gallery-showcase-copy,
.gallery-showcase-card {
  padding: clamp(26px, 4vw, 48px);
  border-radius: 38px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.075), rgba(255,255,255,0.025));
  box-shadow: 0 22px 70px rgba(0,0,0,0.22);
}

.gallery-showcase-copy h2,
.feature-callout h2 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(2.5rem, 6vw, 5.4rem);
  line-height: 0.88;
  letter-spacing: 0.01em;
  margin-bottom: 18px;
}

.gallery-showcase-copy p,
.feature-callout p {
  color: var(--muted);
  line-height: 1.72;
  max-width: 650px;
}

.gallery-showcase-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    radial-gradient(circle at 72% 18%, rgba(214,166,79,0.22), transparent 34%),
    linear-gradient(135deg, rgba(214,166,79,0.14), rgba(255,255,255,0.035));
  overflow: hidden;
  position: relative;
}

.gallery-showcase-card::after {
  content: "GALLERY";
  position: absolute;
  right: -16px;
  bottom: -20px;
  font-family: var(--font-display);
  font-size: 6.5rem;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.04);
}

.gallery-showcase-card span {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 8rem);
  line-height: 0.8;
  color: var(--gold-light);
}

.gallery-showcase-card p {
  position: relative;
  z-index: 1;
  max-width: 280px;
  color: var(--text);
  font-weight: 800;
  line-height: 1.35;
}

.gallery-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.gallery-filter {
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  background: rgba(255,255,255,0.045);
  color: var(--text);
  padding: 10px 15px;
  cursor: pointer;
  font-weight: 900;
}

.gallery-filter.active,
.gallery-filter:hover {
  color: #080808;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  border-color: transparent;
}

.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 230px;
  gap: 16px;
}

.gallery-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: 22px;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  background-size: cover;
  background-position: center;
  min-height: 0;
  box-shadow: 0 24px 75px rgba(0,0,0,0.28);
  transition: transform 0.28s ease, border-color 0.28s ease, filter 0.28s ease;
}

.gallery-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(0,0,0,0.86), rgba(0,0,0,0.08)),
    radial-gradient(circle at 20% 20%, rgba(214,166,79,0.12), transparent 35%);
}

.gallery-tile:hover {
  transform: translateY(-6px);
  border-color: rgba(214,166,79,0.45);
  filter: saturate(1.08);
}

.gallery-tile span,
.gallery-tile strong {
  position: relative;
  z-index: 1;
}

.gallery-tile span {
  color: var(--gold-light);
  font-weight: 950;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
}

.gallery-tile strong {
  color: var(--text);
  font-size: 1.25rem;
  letter-spacing: -0.04em;
}

.tile-xl {
  grid-column: span 2;
  grid-row: span 2;
}

.tile-tall {
  grid-row: span 2;
}

.tile-wide {
  grid-column: span 2;
}

.feature-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid rgba(214,166,79,0.24);
  border-radius: 38px;
  background:
    linear-gradient(135deg, rgba(214,166,79,0.18), rgba(255,255,255,0.04)),
    radial-gradient(circle at 82% 18%, rgba(255,216,138,0.12), transparent 30%);
  box-shadow: var(--shadow);
}

@media (max-width: 1100px) {
  .gallery-masonry {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 980px) {
  .gallery-hero .gallery-hero-content,
  .gallery-showcase,
  .feature-callout {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .gallery-hero .page-subtitle {
    margin-top: 0;
  }

  .gallery-masonry {
    grid-template-columns: repeat(2, 1fr);
  }

  .tile-xl,
  .tile-wide {
    grid-column: span 2;
  }

  .tile-tall {
    grid-row: span 1;
  }
}

@media (max-width: 640px) {
  .gallery-showcase-copy,
  .gallery-showcase-card,
  .feature-callout {
    padding: 24px;
    border-radius: 28px;
  }

  .gallery-masonry {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }

  .tile-xl,
  .tile-wide,
  .tile-tall {
    grid-column: auto;
    grid-row: auto;
  }

  .gallery-tile {
    border-radius: 24px;
    padding: 20px;
  }

  .gallery-filter-bar {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
  }

  .gallery-filter {
    white-space: nowrap;
  }

  .feature-callout .contact-mini-actions {
    width: 100%;
  }

  .feature-callout .btn {
    width: 100%;
  }
}

/* Make nav fit after adding Blog/Gallery */
@media (min-width: 981px) and (max-width: 1180px) {
  .nav-links {
    gap: 9px;
    font-size: 0.78rem;
  }

  .nav {
    padding-left: 12px;
  }
}




/* Additional blog article images */
.image-products {
  background-image: linear-gradient(to top, rgba(0,0,0,.55), transparent), url("../images/home-grooming-products.webp");
}

.image-shave {
  background-image: linear-gradient(to top, rgba(0,0,0,.55), transparent), url("../images/journal-shaving-aftercare.webp");
}

.image-routine {
  background-image: linear-gradient(to top, rgba(0,0,0,.55), transparent), url("../images/journal-styling-routine.webp");
}

@media (min-width: 981px) {
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}



/* Blog image reliability correction */
.blog-card-image {
  min-height: 260px;
  background-color: rgba(214,166,79,0.12);
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

.image-products {
  background-image:
    linear-gradient(to top, rgba(0,0,0,.62), transparent),
    url("../images/home-grooming-products.webp") !important;
}

.image-shave {
  background-image:
    linear-gradient(to top, rgba(0,0,0,.62), transparent),
    url("../images/journal-shaving-aftercare.webp") !important;
}

.image-routine {
  background-image:
    linear-gradient(to top, rgba(0,0,0,.62), transparent),
    url("../images/journal-styling-routine.webp") !important;
}

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

@media (max-width: 760px) {
  .gallery-masonry {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 230px;
  }

  .gallery-masonry .gallery-tile {
    min-height: 230px;
  }
}

@media (max-width: 520px) {
  .gallery-masonry {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }

  .gallery-masonry .gallery-tile {
    min-height: 240px;
  }
}

/* Gallery masonry dense layout: varied sizes without empty gaps */
.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 120px;
  grid-auto-flow: dense;
  gap: 16px;
}

.gallery-masonry .gallery-tile {
  min-height: auto;
  grid-column: span 1;
  grid-row: span 2;
}

.gallery-masonry .tile-xl {
  grid-column: span 2 !important;
  grid-row: span 4 !important;
}

.gallery-masonry .tile-wide {
  grid-column: span 2 !important;
  grid-row: span 2 !important;
}

.gallery-masonry .tile-tall {
  grid-column: span 1 !important;
  grid-row: span 4 !important;
}

/* Fill the last row visually when the item count does not divide perfectly */
.gallery-masonry::after {
  content: "";
  display: block;
  border-radius: 30px;
  border: 1px solid var(--line);
  background:
    linear-gradient(to top, rgba(0,0,0,0.82), rgba(0,0,0,0.2)),
    radial-gradient(circle at 35% 30%, rgba(214,166,79,0.22), transparent 34%),
    url("../images/home-grooming-products.webp") center/cover;
  grid-column: span 1;
  grid-row: span 2;
  min-height: auto;
}

/* If the browser supports :has, hide the helper when not needed on tighter layouts */
@supports selector(:has(*)) {
  .gallery-masonry:has(.gallery-tile:nth-child(13))::after {
    display: block;
  }
}

@media (max-width: 1100px) {
  .gallery-masonry {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 115px;
  }

  .gallery-masonry .tile-xl {
    grid-column: span 2 !important;
    grid-row: span 3 !important;
  }

  .gallery-masonry .tile-wide {
    grid-column: span 2 !important;
    grid-row: span 2 !important;
  }

  .gallery-masonry .tile-tall {
    grid-column: span 1 !important;
    grid-row: span 3 !important;
  }
}

@media (max-width: 760px) {
  .gallery-masonry {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 120px;
    gap: 12px;
  }

  .gallery-masonry .gallery-tile,
  .gallery-masonry .tile-xl,
  .gallery-masonry .tile-wide,
  .gallery-masonry .tile-tall,
  .gallery-masonry::after {
    grid-column: span 1 !important;
    grid-row: span 2 !important;
  }

  .gallery-masonry .tile-xl,
  .gallery-masonry .tile-wide {
    grid-column: span 2 !important;
  }
}

@media (max-width: 520px) {
  .gallery-masonry {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }

  .gallery-masonry .gallery-tile,
  .gallery-masonry .tile-xl,
  .gallery-masonry .tile-wide,
  .gallery-masonry .tile-tall,
  .gallery-masonry::after {
    grid-column: auto !important;
    grid-row: auto !important;
    min-height: 240px;
  }
}

/* Gallery image fallback safety */
.gallery-tile {
  background-color: rgba(214,166,79,0.14);
}

.gallery-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(214,166,79,0.16), transparent 32%),
    linear-gradient(135deg, rgba(255,255,255,0.035), rgba(255,255,255,0.01));
  opacity: 0.55;
  pointer-events: none;
}

.gallery-tile span,
.gallery-tile strong {
  z-index: 2;
}


/* =========================================================
   SHARED COMPONENTS
   Reviews, booking flow, article extras, legal pages, gallery UX
   ========================================================= */
.testimonials-section{padding-top:42px}.reviews-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.review-card{padding:28px;border:1px solid var(--line);border-radius:30px;background:linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,.025))}.featured-review{border-color:rgba(214,166,79,.34);background:linear-gradient(135deg,rgba(214,166,79,.16),rgba(255,255,255,.035))}.review-stars{color:var(--gold-light);letter-spacing:.12em;margin-bottom:20px}.review-card p{color:var(--text);line-height:1.7;margin-bottom:24px}.review-author{display:flex;align-items:center;gap:12px}.review-author span{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;color:#080808;background:linear-gradient(135deg,var(--gold-light),var(--gold));font-weight:950}.review-author small{color:var(--muted)}
.barber-rating-strip{display:grid;grid-template-columns:1.2fr repeat(3,.6fr);gap:16px;align-items:stretch;padding:28px;border:1px solid var(--line);border-radius:34px;background:linear-gradient(135deg,rgba(255,255,255,.075),rgba(255,255,255,.025))}.barber-rating-strip h2{font-family:var(--font-display);text-transform:uppercase;font-size:clamp(2.4rem,5vw,5rem);line-height:.88}.rating-mini-card{padding:22px;border:1px solid rgba(214,166,79,.22);border-radius:24px;background:rgba(214,166,79,.08)}.rating-mini-card strong{display:block;color:var(--gold-light);font-family:var(--font-display);font-size:3rem;line-height:.9}.rating-mini-card span{color:var(--muted);font-weight:800}

.gallery-lightbox{position:fixed;inset:0;z-index:999;display:none;place-items:center;padding:28px;background:rgba(0,0,0,.88);backdrop-filter:blur(12px)}.gallery-lightbox.open{display:grid}.gallery-lightbox img{max-width:min(1050px,92vw);max-height:78vh;border-radius:28px;box-shadow:0 30px 100px rgba(0,0,0,.65);object-fit:cover}.gallery-lightbox strong{color:var(--text);margin-top:16px;font-size:1.2rem}.gallery-lightbox-close{position:absolute;right:24px;top:24px;width:48px;height:48px;border-radius:50%;border:1px solid var(--line);color:var(--text);background:rgba(255,255,255,.08);font-size:2rem;cursor:pointer}.gallery-tile.is-hidden{display:none}
.article-author-card{display:flex;gap:14px;align-items:center;margin:8px 0 18px;padding:14px;border:1px solid var(--line);border-radius:22px;background:rgba(255,255,255,.04)}.article-author-card span{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;color:#080808;background:linear-gradient(135deg,var(--gold-light),var(--gold));font-weight:950}.article-author-card small{color:var(--muted)}.article-share{display:flex;gap:10px;flex-wrap:wrap}.article-share button{border:1px solid var(--line);border-radius:999px;padding:10px 14px;background:rgba(255,255,255,.05);color:var(--text);cursor:pointer;font-weight:800}.related-posts-section,.newsletter-section{padding-top:38px}.newsletter-card{display:flex;justify-content:space-between;gap:24px;align-items:center;padding:clamp(28px,5vw,54px);border:1px solid rgba(214,166,79,.24);border-radius:38px;background:linear-gradient(135deg,rgba(214,166,79,.16),rgba(255,255,255,.04))}.newsletter-card h2{font-family:var(--font-display);font-size:clamp(2.4rem,5vw,5rem);line-height:.88;text-transform:uppercase}.newsletter-card p{color:var(--muted);line-height:1.7}.newsletter-card form{display:flex;gap:10px;min-width:min(420px,100%)}.newsletter-card input{flex:1;border:1px solid var(--line);border-radius:999px;background:rgba(0,0,0,.22);color:var(--text);padding:14px 16px}
.utility-page{min-height:70vh;padding:150px 0 70px;display:grid;align-items:center}.utility-card,.legal-card{padding:clamp(30px,6vw,70px);border:1px solid var(--line);border-radius:38px;background:linear-gradient(135deg,rgba(255,255,255,.075),rgba(255,255,255,.025));box-shadow:var(--shadow)}.utility-card h1,.legal-card h1{font-family:var(--font-display);text-transform:uppercase;font-size:clamp(3rem,8vw,7rem);line-height:.88}.legal-card{max-width:900px}.legal-card h2{margin-top:28px;font-size:1.8rem}.legal-card p,.utility-card p{color:var(--muted);line-height:1.8}.footer-bottom a{color:var(--gold-light);font-weight:800}
@media(max-width:980px){.reviews-grid,
.barber-rating-strip{grid-template-columns:1fr}.newsletter-card{align-items:flex-start;flex-direction:column}}
@media(max-width:640px){.newsletter-card form{width:100%;flex-direction:column}.newsletter-card .btn{width:100%}.review-card{border-radius:28px;padding:24px}}


/* Hero subtitle positioning */
.gallery-hero .gallery-hero-content,
.contact-hero-layout {
  display: block;
}

.gallery-hero .page-subtitle,
.contact-hero-subtitle {
  margin-top: 18px !important;
  padding-top: 0 !important;
  max-width: 680px;
}

@media (max-width: 760px) {
  .gallery-hero .page-subtitle,
  .contact-hero-subtitle {
    margin-top: 12px !important;
  }
}

/* Prices extra services + booking form correction */
.container.pricing.six-service-grid {
  grid-template-columns: repeat(3, 1fr);
}

.price-card.additional-service-card {
  position: relative;
  overflow: hidden;
}

.price-card.additional-service-card::after {
  content: attr(data-number);
  position: absolute;
  right: -12px;
  bottom: -26px;
  font-family: var(--font-display);
  font-size: 7rem;
  color: rgba(255,255,255,0.04);
  line-height: 0.8;
  pointer-events: none;
}

.price-card.additional-service-card .money {
  color: var(--gold-light);
}

.booking-section {
  padding-top: 34px;
}

.booking-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
  align-items: start;
}

.booking-form-panel,
.booking-summary {
  border: 1px solid var(--line);
  border-radius: 38px;
  background: linear-gradient(135deg, rgba(255,255,255,0.075), rgba(255,255,255,0.025));
  box-shadow: 0 22px 70px rgba(0,0,0,0.22);
}

.booking-form-panel {
  padding: clamp(26px, 4vw, 48px);
}

.booking-form-panel h2 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(2.5rem, 6vw, 5.4rem);
  line-height: 0.88;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}

.booking-intro {
  color: var(--muted);
  line-height: 1.7;
  max-width: 680px;
  margin-bottom: 26px;
}

.booking-form {
  display: grid;
  gap: 16px;
}

.booking-field-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.booking-form label {
  display: grid;
  gap: 9px;
}

.booking-form label span {
  color: var(--text);
  font-weight: 850;
  font-size: 0.92rem;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
  width: 100%;
  min-height: 54px;
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 18px;
  background: rgba(8,8,8,0.28);
  color: var(--text);
  padding: 13px 15px;
  outline: none;
  font: inherit;
}

.booking-form textarea {
  min-height: 145px;
  resize: vertical;
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
  border-color: rgba(214,166,79,0.48);
  box-shadow: 0 0 0 4px rgba(214,166,79,0.08);
}

.booking-form-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.booking-form-actions small {
  color: var(--muted);
  line-height: 1.45;
}

.booking-summary {
  position: sticky;
  top: 110px;
  padding: clamp(24px, 4vw, 38px);
}

.booking-summary h3 {
  font-size: 2rem;
  letter-spacing: -0.04em;
  margin-bottom: 22px;
}

.booking-summary-steps {
  display: grid;
  gap: 12px;
  margin-bottom: 22px;
}

.booking-summary-steps div {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.035);
}

.booking-summary-steps strong {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: #080808;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
}

.booking-summary-steps span {
  color: var(--text);
  font-weight: 850;
}

.booking-note-card {
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(214,166,79,0.24);
  background: rgba(214,166,79,0.08);
  margin-bottom: 22px;
}

.booking-note-card strong {
  display: block;
  color: var(--gold-light);
  margin-bottom: 8px;
}

.booking-note-card p {
  color: var(--muted);
  line-height: 1.6;
}

@media (max-width: 980px) {
  .container.pricing.six-service-grid,
  .booking-layout {
    grid-template-columns: 1fr;
  }

  .booking-summary {
    position: static;
  }
}

@media (max-width: 640px) {
  .booking-form-panel,
  .booking-summary {
    border-radius: 28px;
    padding: 24px;
  }

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

  .booking-form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .booking-form-actions .btn {
    width: 100%;
  }
}

/* Responsive image and layout safeguards */
html, body {
  overflow-x: hidden;
}

img, svg, video, canvas, iframe {
  max-width: 100%;
  height: auto;
}

footer::before {
  content: "STUDIO";
}

@media (max-width: 1024px) {
  .home-editorial-grid,
.blog-grid,
.booking-layout{
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 768px) {
  .container {
    width: min(1180px, calc(100% - 28px));
  }
  .page-title {
    line-height: .94;
  }
  .section-head,
  .contact-hero-layout,
  .gallery-hero {
    display: block !important;
  }
  .section-head p,
  .page-subtitle,
  .contact-hero-subtitle {
    margin-top: 14px !important;
    max-width: 100%;
  }
  .pricing.six-service-grid,
  .container.pricing.six-service-grid {
    grid-template-columns: 1fr !important;
  }
  .barber-profile-photo,
  .barber-photo,
  .blog-card-image,
  .gallery-tile,
  .blog-feature-image,
  .article-hero-image {
    min-height: 240px;
  }
}

@media (max-width: 480px) {
  .container {
    width: calc(100% - 22px);
  }
  .hero-actions,
.booking-form-actions{
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .btn,
.booking-form-actions .btn{
    width: 100%;
  }
}


/* Barber page heading widths */
body.barbers-page .section-head,
body.barbers-page .barbers-section-head {
  display: block !important;
  grid-template-columns: none !important;
  max-width: 100% !important;
  width: 100% !important;
}

body.barbers-page .section-head h2,
body.barbers-page .barbers-section-head h2,
body.barbers-page .barbers-intro-copy h2,
body.barbers-page .barber-profile-info h2,
body.barbers-page .barber-rating-strip h2,
body.barbers-page .barbers-cta h2,
body.barbers-page section h2 {
  display: block !important;
  max-width: none !important;
  width: 100% !important;
  min-width: 0 !important;
  grid-column: 1 / -1 !important;
}

body.barbers-page .section-head p,
body.barbers-page .barbers-section-head p {
  max-width: 760px;
  margin-top: 16px;
}

/* Fallback for browsers/pages where the body class is unavailable */
.page-hero-barbers ~ section .section-head {
  display: block !important;
  grid-template-columns: none !important;
  max-width: 100% !important;
  width: 100% !important;
}

.page-hero-barbers ~ section .section-head h2,
.page-hero-barbers ~ section h2 {
  max-width: none !important;
  width: 100% !important;
  grid-column: 1 / -1 !important;
}

/* Shared heading widths */
.section-head,
.home-section-heading,
.style-section-heading,
.home-brand-strip,
.brand-strip,
.contact-mini-cta,
.barber-rating-strip,
.gallery-showcase,
.booking-layout{
  max-width: 100% !important;
}

.section-head,
.home-section-heading,
.style-section-heading {
  grid-template-columns: 1fr !important;
}

.section-head h2,
.home-section-heading h2,
.style-section-heading h2,
.home-brand-strip h2,
.brand-strip h2,
.gallery-showcase h2,
.about-panel h2,
.home-cta-box h2,
.showcase-copy h2,
.membership-card h2,
.barbers-cta h2,
.contact-sidebar h2,
.contact-message-card h2,
.contact-mini-cta h2,
.barbers-intro-copy h2,
.barber-profile-info h2,
.barber-rating-strip h2,
.booking-form-panel h2,
.newsletter-card h2,
.legal-card h2,
.utility-card h2,
section h2{
  max-width: none !important;
  width: 100% !important;
  min-width: 0 !important;
  grid-column: 1 / -1 !important;
}

.section-head p,
.home-section-heading p,
.style-section-heading p {
  max-width: 760px;
  margin-top: 14px;
}

/* Keep responsive layout safe after forcing full h2 width */
@media (max-width: 980px) {
  .section-head,
.home-section-heading,
.style-section-heading,
.brand-strip,
.gallery-showcase,
.booking-layout{
    grid-template-columns: 1fr !important;
  }
}

/* Button text alignment */
.btn,
.btn-primary,
a.btn,
button.btn,
input[type="submit"].btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.15;
}

.btn.btn-primary {
  text-align: center;
}


/* Studio highlights layout */
.studio-highlights-panel {
  display: grid !important;
  grid-template-columns: 0.95fr 1.05fr !important;
  gap: clamp(22px, 4vw, 42px);
  align-items: stretch !important;
  padding: clamp(26px, 5vw, 54px);
  border-radius: 38px;
  border: 1px solid rgba(214,166,79,0.24);
  background: radial-gradient(circle at 82% 18%, rgba(214,166,79,0.18), transparent 32%), linear-gradient(135deg, rgba(255,255,255,0.075), rgba(255,255,255,0.025));
  box-shadow: 0 28px 90px rgba(0,0,0,0.28);
  overflow: hidden;
  position: relative;
}
.studio-highlights-panel::after {
  content: "DETAIL";
  position: absolute;
  right: -18px;
  bottom: -28px;
  font-family: var(--font-display);
  font-size: clamp(5rem, 13vw, 12rem);
  color: rgba(255,255,255,0.035);
  letter-spacing: 0.02em;
  pointer-events: none;
}
.studio-highlights-copy,
.studio-highlights-list {
  position: relative;
  z-index: 1;
}
.studio-highlights-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.studio-highlights-copy h2 {
  max-width: none !important;
  width: 100%;
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(2.6rem, 6vw, 5.8rem);
  line-height: 0.88;
  letter-spacing: 0.01em;
  margin-bottom: 18px;
}
.studio-highlights-copy p {
  max-width: 620px;
  color: var(--muted);
  line-height: 1.72;
}
.studio-highlights-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.studio-highlight-card {
  min-height: 134px;
  display: grid;
  grid-template-columns: 62px 1fr;
  grid-template-rows: auto auto;
  column-gap: 16px;
  align-items: start;
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.11);
  background: rgba(0,0,0,0.18);
}
.studio-highlight-card span {
  grid-row: 1 / span 2;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  color: #080808;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  font-weight: 950;
}
.studio-highlight-card strong {
  color: var(--text);
  font-size: 1.08rem;
  letter-spacing: -0.035em;
  margin-top: 4px;
}
.studio-highlight-card small {
  color: var(--muted);
  line-height: 1.55;
  margin-top: 6px;
}

/* Process card alignment */
.process-grid {
  align-items: stretch;
}
.process-card,
.process-grid > * {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.process-card h3,
.process-grid h3 {
  min-height: 2.4em;
  display: flex;
  align-items: flex-start;
}
.process-card p,
.process-grid p {
  margin-top: 10px;
}

/* Review card alignment */
.reviews-grid {
  align-items: stretch;
}
.review-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.review-card p {
  flex: 1;
}
.review-author {
  margin-top: auto;
  min-height: 54px;
  align-items: center;
}

@media (max-width: 980px) {
  .studio-highlights-panel {
    grid-template-columns: 1fr !important;
  }
}
@media (max-width: 640px) {
  .studio-highlights-panel {
    padding: 24px;
    border-radius: 28px;
  }
  .studio-highlight-card {
    grid-template-columns: 1fr;
  }
  .studio-highlight-card span {
    grid-row: auto;
  }
  .process-card h3,
  .process-grid h3 {
    min-height: 0;
  }
}


/* Pricing and article actions */
.price-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.price-card ul {
  flex: 1;
}

.price-card .btn {
  margin-top: auto;
  align-self: stretch;
  width: 100%;
}

.blog-grid {
  align-items: stretch;
}

.blog-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card-body p {
  flex: 1;
}

.blog-card-body a {
  margin-top: auto;
  align-self: flex-start;
}

/* Page callouts */
.page-callout-section {
  padding-top: 38px;
}

.page-callout-section .feature-callout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) auto;
  gap: clamp(22px, 4vw, 42px);
  align-items: center;
  padding: clamp(30px, 5vw, 58px);
  border-radius: 38px;
  border: 1px solid rgba(214,166,79,0.26);
  background:
    radial-gradient(circle at 86% 18%, rgba(255,216,138,0.15), transparent 30%),
    linear-gradient(135deg, rgba(214,166,79,0.18), rgba(255,255,255,0.04));
  box-shadow: 0 28px 90px rgba(0,0,0,0.28);
  overflow: hidden;
  position: relative;
}

.page-callout-section .feature-callout::after {
  position: absolute;
  right: -14px;
  bottom: -28px;
  font-family: var(--font-display);
  font-size: clamp(5.5rem, 14vw, 13rem);
  line-height: 0.8;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.035);
  pointer-events: none;
}

.blog-callout::after {
  content: "READ";
}

.services-callout::after {
  content: "PLAN";
}

.style-callout::after {
  content: "STYLE";
}

.page-callout-section .feature-callout > div,
.page-callout-section .contact-mini-actions {
  position: relative;
  z-index: 1;
}

.page-callout-section .feature-callout h2 {
  max-width: none !important;
  width: 100%;
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(2.5rem, 6vw, 5.6rem);
  line-height: 0.88;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}

.page-callout-section .feature-callout p {
  color: var(--muted);
  line-height: 1.72;
  max-width: 700px;
}

.page-callout-section .contact-mini-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

@media (max-width: 980px) {
  .page-callout-section .feature-callout {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .page-callout-section .contact-mini-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .page-callout-section .feature-callout {
    padding: 24px;
    border-radius: 28px;
  }

  .page-callout-section .contact-mini-actions {
    flex-direction: column;
    width: 100%;
  }

  .page-callout-section .contact-mini-actions .btn {
    width: 100%;
  }
}


/* Keep the classic barber portrait framed from the top, including the full face.
   The portrait is taller than its card; cover would otherwise crop the forehead. */
.barber-photo.classic-barber-photo,
.barber-profile-photo.classic-barber-photo {
  background-position: center top;
  transform-origin: center top;
}
