@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=Inter:wght@400;500;600;700;800&display=swap");

:root {
  --bp-black: #070708;
  --bp-ink: #0b0b0c;
  --bp-charcoal: #111214;
  --bp-panel: #17181a;
  --bp-panel-2: #1d1f22;
  --bp-line: #303237;
  --bp-line-soft: rgba(255, 255, 255, 0.08);
  --bp-text: #f7f3ea;
  --bp-muted: #bab4aa;
  --bp-dim: #837c72;
  --bp-primary: #2dd4bf;
  --bp-primary-strong: #35ead5;
  --bp-primary-soft: rgba(45, 212, 191, 0.14);
  --bp-primary-line: rgba(45, 212, 191, 0.46);
  --bp-brass: #d6a85a;
  --bp-brass-strong: #f0c96b;
  --bp-brass-soft: rgba(214, 168, 90, 0.13);
  --bp-success: #22c55e;
  --bp-warning: #f59e0b;
  --bp-danger: #ef4444;
  --bp-radius: 8px;
  --bp-radius-sm: 6px;
  --bp-font: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --bp-display: "Barlow Condensed", "Inter", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bp-black);
}

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 18% 3%, rgba(45, 212, 191, 0.09), transparent 29rem),
    linear-gradient(180deg, #060607 0%, #0b0b0c 34%, #070708 100%);
  color: var(--bp-text);
  font-family: var(--bp-font);
  line-height: 1.5;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

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

svg {
  flex: none;
}

.site-shell {
  min-height: 100vh;
  padding: 24px clamp(16px, 3vw, 42px) 0;
}

.site-header {
  display: flex;
  max-width: 1440px;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto;
  border-bottom: 1px solid var(--bp-line-soft);
  padding-bottom: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--bp-brass);
  border-radius: var(--bp-radius-sm);
  color: var(--bp-brass-strong);
}

.brand-copy strong,
.brand-copy span {
  display: block;
  font-family: var(--bp-display);
  letter-spacing: 0.12em;
  line-height: 0.9;
}

.brand-copy strong {
  font-size: 1.85rem;
  font-weight: 800;
}

.brand-copy span {
  margin-top: 5px;
  color: var(--bp-brass);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.28em;
}

.main-nav,
.portal-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.main-nav a,
.portal-nav a {
  color: var(--bp-muted);
  font-size: 0.92rem;
  font-weight: 700;
  white-space: nowrap;
}

.main-nav a:hover,
.portal-nav a:hover {
  color: var(--bp-primary);
}

.portal-nav a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 7px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(480px, 1.06fr);
  gap: clamp(28px, 4vw, 58px);
  max-width: 1440px;
  min-height: calc(100vh - 110px);
  align-items: center;
  margin: 0 auto;
  padding: 30px 0 28px;
}

.hero-copy {
  display: grid;
  gap: 26px;
}

.hero-copy h1 {
  max-width: 620px;
  margin: 0;
  font-family: var(--bp-display);
  font-size: clamp(3.8rem, 6.8vw, 6.6rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0.91;
}

.hero-copy h1 span {
  display: block;
  color: var(--bp-brass);
}

.hero-copy p {
  max-width: 525px;
  margin: 0;
  color: var(--bp-muted);
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.button,
.ghost-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: var(--bp-radius-sm);
  padding: 0 28px;
  font-weight: 800;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.button {
  border: 1px solid var(--bp-primary-line);
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.86), rgba(21, 148, 134, 0.9));
  color: #031817;
  box-shadow: 0 18px 46px rgba(45, 212, 191, 0.18);
}

.ghost-button {
  border: 1px solid rgba(214, 168, 90, 0.72);
  background: transparent;
  color: var(--bp-brass-strong);
}

.button:hover,
.ghost-button:hover {
  transform: translateY(-1px);
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 560px;
  padding-top: 6px;
}

.proof-item {
  display: grid;
  gap: 8px;
}

.proof-item span {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(214, 168, 90, 0.72);
  border-radius: 50%;
  color: var(--bp-brass-strong);
}

.proof-item strong {
  font-size: 0.92rem;
}

.proof-item p {
  max-width: 150px;
  color: var(--bp-muted);
  font-size: 0.82rem;
}

.protection-panel,
.quote-panel,
.workflow,
.trust,
.earnings-band,
.site-footer {
  border: 1px solid var(--bp-line-soft);
  border-radius: var(--bp-radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)),
    rgba(16, 17, 19, 0.92);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.3);
}

.protection-panel {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 18px;
  max-width: 610px;
  align-items: start;
  padding: 24px;
}

.protection-panel span {
  display: inline-grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 50%;
  color: var(--bp-text);
}

.protection-panel h2,
.protection-panel p {
  margin: 0;
}

.protection-panel h2 {
  font-size: 1rem;
}

.protection-panel p {
  margin-top: 8px;
  color: var(--bp-muted);
  font-size: 0.92rem;
}

.protection-panel a,
.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--bp-primary);
  font-weight: 800;
}

.quote-panel {
  min-width: 0;
  max-height: calc(100vh - 128px);
  overflow-y: auto;
  padding: 22px;
  scrollbar-color: var(--bp-primary) rgba(255, 255, 255, 0.08);
}

.quote-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--bp-line-soft);
  padding-bottom: 13px;
}

.quote-head h2 {
  margin: 0;
  font-size: 1.28rem;
}

.step-count {
  display: inline-grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: var(--bp-primary);
  color: #041716;
  font-weight: 900;
}

.quote-step {
  border-bottom: 1px solid var(--bp-line-soft);
  padding: 14px 0;
}

.quote-step h3 {
  margin: 0 0 12px;
  font-size: 0.95rem;
}

.service-grid,
.visit-grid,
.barber-list {
  display: grid;
  gap: 10px;
}

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

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

.option-button {
  display: grid;
  min-height: 64px;
  border: 1px solid var(--bp-line);
  border-radius: var(--bp-radius-sm);
  background: rgba(255, 255, 255, 0.018);
  color: var(--bp-text);
  padding: 10px 11px;
  text-align: left;
}

.option-button:hover,
.option-button.is-selected {
  border-color: var(--bp-primary-line);
  background: var(--bp-primary-soft);
}

.option-button strong,
.option-button span {
  display: block;
}

.option-button strong {
  font-size: 0.9rem;
}

.option-button span {
  color: var(--bp-muted);
  font-size: 0.78rem;
}

.visit-button {
  display: flex;
  min-height: 46px;
  align-items: center;
  gap: 11px;
}

.visit-button svg {
  color: var(--bp-primary);
}

.details-row,
.total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.details-row {
  color: var(--bp-muted);
  font-size: 0.9rem;
}

.details-row strong {
  color: var(--bp-text);
}

.line-items {
  display: grid;
  gap: 6px;
  margin-top: 12px;
}

.line-items div,
.total-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.line-items span {
  color: var(--bp-muted);
}

.line-items strong {
  font-weight: 700;
}

.line-items .deposit {
  color: var(--bp-brass-strong);
}

.total-row {
  margin-top: 13px;
  border-top: 1px solid var(--bp-line-soft);
  padding-top: 13px;
}

.total-row span {
  font-weight: 800;
}

.total-row strong {
  color: var(--bp-primary);
  font-size: 1.7rem;
  line-height: 1;
}

.barber-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--bp-line);
  border-radius: var(--bp-radius-sm);
  background: rgba(255, 255, 255, 0.018);
  padding: 10px 11px;
}

.barber-card.is-selected {
  border-color: var(--bp-primary-line);
  background: linear-gradient(90deg, rgba(45, 212, 191, 0.12), rgba(255, 255, 255, 0.02));
}

.avatar {
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid var(--bp-primary-line);
  border-radius: 50%;
  background: var(--bp-primary-soft);
  color: var(--bp-text);
  font-weight: 900;
}

.barber-copy strong,
.barber-copy span {
  display: block;
}

.barber-copy span,
.barber-meta {
  color: var(--bp-muted);
  font-size: 0.78rem;
}

.barber-meta {
  display: flex;
  gap: 12px;
}

.barber-price {
  text-align: right;
}

.barber-price strong,
.barber-price span {
  display: block;
}

.barber-price span {
  color: var(--bp-muted);
  font-size: 0.78rem;
}

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

.secure-note {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 12px 0 0;
  color: var(--bp-muted);
  font-size: 0.8rem;
}

.section-stack {
  display: grid;
  gap: 36px;
  max-width: 1440px;
  margin: 0 auto;
  padding-bottom: 58px;
}

.workflow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 24px;
}

.workflow-step {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 15px;
  align-items: center;
  border-right: 1px solid var(--bp-line-soft);
  padding: 8px 22px;
}

.workflow-step:last-child {
  border-right: 0;
}

.workflow-step span {
  display: inline-grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid rgba(214, 168, 90, 0.7);
  border-radius: var(--bp-radius-sm);
  color: var(--bp-brass-strong);
}

.workflow-step strong,
.workflow-step small {
  display: block;
}

.workflow-step small {
  margin-top: 4px;
  color: var(--bp-muted);
  font-size: 0.78rem;
}

.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.section-title h2,
.section-title p {
  margin: 0;
}

.section-title h2 {
  font-size: 1.65rem;
}

.section-title p {
  max-width: 560px;
  color: var(--bp-muted);
}

.trust,
.earnings-band {
  padding: 28px;
}

.vetting-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 22px;
}

.vetting-item {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  color: var(--bp-primary);
}

.vetting-item strong,
.vetting-item span {
  display: block;
}

.vetting-item span {
  color: var(--bp-muted);
  font-size: 0.8rem;
}

.barber-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.profile-card {
  overflow: hidden;
  border: 1px solid var(--bp-line);
  border-radius: var(--bp-radius-sm);
  background: rgba(255, 255, 255, 0.018);
}

.profile-photo {
  position: relative;
  display: grid;
  height: 170px;
  place-items: end start;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.72)),
    var(--photo-gradient);
}

.profile-photo strong {
  margin: 16px;
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--bp-display);
  font-size: 3.1rem;
  letter-spacing: 0.08em;
}

.profile-photo span {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: rgba(214, 168, 90, 0.92);
  color: #211608;
}

.profile-body {
  display: grid;
  gap: 8px;
  padding: 14px;
}

.profile-body h3,
.profile-body p {
  margin: 0;
}

.profile-body p {
  color: var(--bp-muted);
  font-size: 0.84rem;
}

.profile-meta {
  display: flex;
  gap: 8px;
  color: var(--bp-muted);
  font-size: 0.78rem;
}

.profile-body a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(214, 168, 90, 0.72);
  border-radius: var(--bp-radius-sm);
  color: var(--bp-brass-strong);
  font-weight: 800;
}

.earnings-band {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) repeat(4, minmax(120px, 0.65fr));
  gap: 26px;
  align-items: center;
  background:
    linear-gradient(120deg, rgba(45, 212, 191, 0.12), transparent 45%),
    rgba(16, 17, 19, 0.92);
}

.earnings-band h2,
.earnings-band p {
  margin: 0;
}

.earnings-band h2 {
  font-size: 1.55rem;
}

.earnings-band h2 span {
  display: block;
  color: var(--bp-brass-strong);
}

.earnings-band p {
  margin-top: 10px;
  color: var(--bp-muted);
}

.earnings-item {
  display: grid;
  gap: 8px;
}

.earnings-item span {
  color: var(--bp-brass-strong);
}

.earnings-item strong {
  font-size: 0.98rem;
}

.earnings-item small {
  color: var(--bp-muted);
  font-size: 0.78rem;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.1fr 0.65fr 0.65fr 0.85fr;
  gap: 30px;
  max-width: 1440px;
  margin: 0 auto;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
  padding: 30px;
}

.footer-brand p,
.footer-links a,
.footer-portals a,
.footer-meta {
  color: var(--bp-muted);
}

.footer-brand .brand {
  margin-bottom: 16px;
}

.footer-brand p {
  max-width: 260px;
  margin: 0;
  font-size: 0.88rem;
}

.footer-links,
.footer-portals {
  display: grid;
  gap: 9px;
  align-content: start;
}

.footer-links strong,
.footer-portals strong {
  color: var(--bp-brass-strong);
}

.footer-portals a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--bp-line);
  border-radius: var(--bp-radius-sm);
  padding: 0 10px;
}

.footer-meta {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  border-top: 1px solid var(--bp-line-soft);
  padding-top: 18px;
  font-size: 0.82rem;
}

@media (max-width: 1180px) {
  .site-header {
    align-items: start;
  }

  .main-nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .quote-panel {
    max-width: 840px;
  }

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

  .workflow,
  .earnings-band,
  .site-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workflow-step:nth-child(2) {
    border-right: 0;
  }
}

@media (max-width: 720px) {
  .site-shell {
    padding: 16px 12px 0;
  }

  .site-header,
  .portal-nav,
  .hero-actions,
  .proof-strip,
  .section-title {
    align-items: stretch;
    flex-direction: column;
  }

  .site-header {
    gap: 16px;
  }

  .portal-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    gap: 8px;
  }

  .portal-nav a {
    justify-content: center;
    border: 1px solid var(--bp-line);
    border-radius: var(--bp-radius-sm);
  }

  .hero {
    padding-top: 28px;
  }

  .hero-copy h1 {
    font-size: clamp(3.4rem, 18vw, 5.2rem);
  }

  .proof-strip,
  .service-grid,
  .visit-grid,
  .workflow,
  .vetting-row,
  .barber-grid,
  .earnings-band,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .quote-panel,
  .trust,
  .earnings-band,
  .site-footer,
  .protection-panel {
    padding: 18px;
  }

  .quote-panel {
    max-height: none;
    overflow: visible;
  }

  .workflow-step {
    border-right: 0;
    border-bottom: 1px solid var(--bp-line-soft);
    padding: 14px 0;
  }

  .workflow-step:last-child {
    border-bottom: 0;
  }

  .barber-card {
    grid-template-columns: auto 1fr;
  }

  .barber-price {
    grid-column: 1 / -1;
    text-align: left;
  }
}
