:root {
  --ink: #14110f;
  --charcoal: #201f1f;
  --smoke: #f4f1eb;
  --paper: #fffaf1;
  --brass: #c6944f;
  --red: #9b2f28;
  --mint: #7fb7a8;
  --blue: #2f5d7c;
  --line: rgba(20, 17, 15, 0.12);
  --shadow: 0 24px 70px rgba(20, 17, 15, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--smoke);
  font-family: Arial, Helvetica, sans-serif;
}

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

.topbar {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 5vw, 64px);
  color: #fff;
  background: rgba(14, 12, 10, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.28));
}

.nav-links {
  display: flex;
  gap: 26px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}

.nav-cta,
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  font-weight: 800;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
}

.nav-cta {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 112px clamp(18px, 6vw, 82px) 72px;
  color: #fff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 8, 7, 0.92) 0%, rgba(10, 8, 7, 0.72) 42%, rgba(10, 8, 7, 0.34) 100%),
    linear-gradient(180deg, rgba(10, 8, 7, 0.2), rgba(10, 8, 7, 0.6)),
    url("assets/barbearia-hero.png") center / cover no-repeat;
  transform: scale(1.02);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
}

.hero-logo {
  display: block;
  width: clamp(104px, 14vw, 160px);
  height: auto;
  margin-bottom: 24px;
  filter: drop-shadow(0 20px 34px rgba(0, 0, 0, 0.36));
}

.eyebrow,
.section-kicker,
.plan-label,
.tag {
  margin: 0 0 14px;
  color: var(--brass);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 740px;
  margin-bottom: 20px;
  font-size: clamp(3rem, 8vw, 6.9rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

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

.hero-copy {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.16rem;
  line-height: 1.65;
}

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

.primary {
  color: #19120c;
  background: var(--brass);
  box-shadow: 0 16px 34px rgba(198, 148, 79, 0.28);
}

.ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 42px;
}

.hero-stats span {
  min-width: 150px;
  padding: 14px 16px;
  border-left: 3px solid var(--brass);
  background: rgba(255, 255, 255, 0.08);
}

.hero-stats strong {
  display: block;
  color: #fff;
  font-size: 1.7rem;
}

.section-inner {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.intro-band,
.models-section,
.plans-section,
.approach-section,
.final-cta {
  padding: 86px 0;
}

.intro-band {
  background: var(--paper);
}

.intro-grid,
.approach-grid,
.final-grid,
.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: end;
}

.intro-grid p,
.approach-grid p {
  color: rgba(20, 17, 15, 0.72);
  font-size: 1.04rem;
  line-height: 1.7;
}

.models-section {
  background: #ece7dc;
}

.model-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.filter {
  min-height: 40px;
  padding: 0 14px;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

.filter.active {
  color: #fff;
  background: var(--ink);
}

.models-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.model-card,
.plan-card {
  overflow: hidden;
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 36px rgba(20, 17, 15, 0.08);
}

.model-card.hidden {
  display: none;
}

.model-body {
  min-height: 218px;
  padding: 18px;
}

.model-body p,
.plan-card li {
  color: rgba(20, 17, 15, 0.68);
  line-height: 1.55;
}

.tag {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--red);
}

.model-team-thumb {
  display: block;
  width: 100%;
  height: 132px;
  object-fit: cover;
  border-top: 1px solid rgba(20, 17, 15, 0.08);
  border-bottom: 1px solid rgba(20, 17, 15, 0.08);
}

.model-template-name {
  display: block;
  margin-bottom: 8px;
  color: rgba(20, 17, 15, 0.52);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.model-card {
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.model-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(20, 17, 15, 0.14);
}

.model-link {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  padding: 0 14px;
  color: #fff;
  background: var(--ink);
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 800;
}

.plans-section {
  background: var(--paper);
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
  align-items: stretch;
}

.plans-grid.one-plan {
  grid-template-columns: minmax(280px, 620px);
  justify-content: center;
}

.plan-card {
  padding: 26px;
}

.plan-card.featured {
  color: #fff;
  background: var(--charcoal);
  box-shadow: var(--shadow);
}

.plan-card.featured .plan-label,
.plan-card.featured li,
.plan-card.featured .price span {
  color: rgba(255, 255, 255, 0.72);
}

.price {
  margin: 20px 0;
  font-size: 2.5rem;
  font-weight: 900;
}

.price span {
  font-size: 1rem;
  color: rgba(20, 17, 15, 0.55);
}

.plan-pitch {
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.02rem;
  line-height: 1.62;
}

ul {
  display: grid;
  gap: 12px;
  margin: 0 0 26px;
  padding-left: 19px;
}

.full {
  width: 100%;
}

.approach-section {
  background: #e8f0ed;
}

.script-box {
  padding: 28px;
  color: #fff;
  background: var(--blue);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.script-box p {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.05rem;
}

.final-cta {
  color: #fff;
  background: var(--ink);
}

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

.final-grid .button {
  justify-self: end;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(18px, 5vw, 64px);
  color: rgba(255, 255, 255, 0.68);
  background: #0e0c0a;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 900;
}

.footer-brand img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.32));
}

.template-page {
  min-height: 100vh;
  background: #101010;
}

.demo-topbar {
  position: sticky;
  z-index: 30;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px clamp(14px, 4vw, 42px);
  color: #fff;
  background: rgba(12, 12, 12, 0.86);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
}

.demo-back {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 14px;
  color: #14110f;
  background: #f5d27f;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 900;
  white-space: nowrap;
}

.demo-switcher {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.demo-switcher a {
  min-height: 34px;
  padding: 8px 10px;
  color: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 800;
}

.demo-switcher a.active {
  color: #121212;
  background: #fff;
}

.barber-demo {
  --demo-bg: #191512;
  --demo-panel: #241f1b;
  --demo-text: #fff9ed;
  --demo-muted: rgba(255, 249, 237, 0.7);
  --demo-accent: #c6944f;
  --demo-soft: rgba(198, 148, 79, 0.16);
  color: var(--demo-text);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 34%),
    var(--demo-bg);
}

.demo-hero {
  position: relative;
  display: grid;
  min-height: calc(100vh - 58px);
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 0.58fr);
  gap: clamp(28px, 6vw, 88px);
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 92px clamp(18px, 6vw, 86px) 68px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.54) 48%, rgba(0, 0, 0, 0.24) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.76)),
    url("assets/barber-storefront.png") center / cover no-repeat;
}

.demo-hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 20px;
  background:
    repeating-linear-gradient(
      90deg,
      #c52c36 0 42px,
      #f7f4ec 42px 84px,
      #26649e 84px 126px,
      #f7f4ec 126px 168px
    );
}

.demo-hero::after {
  content: "";
  position: absolute;
  right: clamp(20px, 5vw, 74px);
  top: 50%;
  width: 34px;
  height: min(260px, 42vh);
  transform: translateY(-50%);
  border: 5px solid rgba(255, 255, 255, 0.82);
  border-radius: 99px;
  background:
    repeating-linear-gradient(
      -32deg,
      #cf2c39 0 22px,
      #f9f5eb 22px 44px,
      #1f5f9e 44px 66px,
      #f9f5eb 66px 88px
    );
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.36);
}

.demo-hero-copy h1 {
  max-width: 760px;
  margin-bottom: 18px;
  color: var(--demo-text);
  font-size: clamp(3.2rem, 8vw, 7.4rem);
  line-height: 0.9;
}

.demo-hero-copy,
.demo-visual {
  position: relative;
  z-index: 2;
}

.demo-hero-copy p,
.demo-section p {
  color: var(--demo-muted);
  font-size: 1.08rem;
  line-height: 1.68;
}

.demo-label {
  color: var(--demo-accent);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.demo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.demo-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 950;
}

.demo-button.main {
  color: var(--demo-bg);
  background: var(--demo-accent);
  box-shadow: 0 16px 38px var(--demo-soft);
}

.demo-button.secondary {
  color: var(--demo-text);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.demo-hero-copy,
.demo-hero-copy h1,
.demo-hero-copy p,
.demo-hero-copy a,
.demo-hero-copy span,
.demo-hero-copy strong,
.demo-hero-copy small,
.demo-hero-copy .demo-label,
.demo-hero-copy .demo-button,
.demo-hero-copy .demo-button.main,
.demo-hero-copy .demo-button.secondary {
  color: #fff;
}

.demo-visual {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  background:
    linear-gradient(155deg, rgba(0, 0, 0, 0.14), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(8px);
}

.barber-ribbon {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  top: 0;
  height: 18px;
  background:
    repeating-linear-gradient(
      90deg,
      #c52c36 0 34px,
      #f7f4ec 34px 68px,
      #26649e 68px 102px,
      #f7f4ec 102px 136px
    );
}

.demo-photo {
  position: absolute;
  overflow: hidden;
  border-radius: 8px;
  background-position: center;
  background-size: cover;
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.34);
}

.main-photo {
  inset: 38px 34px 116px;
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.32)),
    url("assets/barber-with-barber.png");
}

.theme-urban .demo-hero,
.theme-neon .demo-hero,
.theme-insta .demo-hero,
.theme-agenda .demo-hero {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.54) 48%, rgba(0, 0, 0, 0.24) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.76)),
    url("assets/barber-station.png") center / cover no-repeat;
}

.theme-executive .demo-hero,
.theme-minimal .demo-hero,
.theme-gold .demo-hero {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.54) 48%, rgba(0, 0, 0, 0.24) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.76)),
    url("assets/barber-tools.png") center / cover no-repeat;
}

.detail-photo {
  right: 26px;
  bottom: 28px;
  width: min(270px, 48%);
  height: 164px;
  border: 8px solid var(--demo-panel);
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.28)),
    url("assets/barber-tools.png");
}

.barber-pole {
  position: absolute;
  z-index: 4;
  left: 28px;
  bottom: 30px;
  width: 46px;
  height: 180px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 99px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32);
}

.barber-pole span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 99px;
  background:
    repeating-linear-gradient(
      -32deg,
      #cf2c39 0 16px,
      #f9f5eb 16px 32px,
      #1f5f9e 32px 48px,
      #f9f5eb 48px 64px
    );
}

.demo-badge {
  position: absolute;
  z-index: 5;
  left: 86px;
  bottom: 52px;
  max-width: 190px;
  padding: 12px 14px;
  color: var(--demo-bg);
  background: var(--demo-accent);
  border-radius: 8px;
  font-weight: 950;
  box-shadow: 0 16px 34px var(--demo-soft);
}

.demo-info,
.demo-section,
.demo-final {
  width: min(1220px, calc(100% - 36px));
  margin: 0 auto;
}

.demo-info {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding-bottom: 72px;
}

.demo-info article,
.service-item,
.barber-list article,
.quote-box,
.rating-card {
  background: var(--demo-panel);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

.demo-info article {
  padding: 20px;
}

.demo-info span,
.service-item span,
.barber-list span,
.rating-card p {
  color: var(--demo-muted);
}

.demo-info strong,
.service-item strong,
.barber-list strong {
  display: block;
  margin-top: 8px;
  color: var(--demo-text);
  font-size: 1.06rem;
}

.demo-section {
  padding: 74px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.demo-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.demo-heading h2,
.split h2,
.demo-final h2 {
  max-width: 760px;
  color: var(--demo-text);
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1;
}

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

.service-item {
  padding: 24px;
}

.service-item strong {
  color: var(--demo-accent);
  font-size: 2rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: clamp(28px, 7vw, 92px);
  align-items: center;
}

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

.team-photo-card {
  margin: 0;
  overflow: hidden;
  background: var(--demo-panel);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.18);
}

.team-photo-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.team-photo-card figcaption {
  padding: 16px 18px;
  color: var(--demo-muted);
  font-size: 0.96rem;
  line-height: 1.5;
}

.barber-list article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
}

.barber-list article div {
  text-align: right;
}

.barber-list small {
  display: block;
  margin-top: 5px;
  color: var(--demo-muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

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

.demo-gallery article {
  display: grid;
  min-height: 220px;
  align-items: end;
  padding: 18px;
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.18), transparent),
    url("assets/barber-station.png") center / cover no-repeat,
    var(--demo-panel);
  border-radius: 8px;
}

.demo-gallery article:nth-child(2) {
  margin-top: 34px;
  background-image:
    linear-gradient(160deg, rgba(255, 255, 255, 0.18), rgba(0, 0, 0, 0.2)),
    url("assets/barber-tools.png");
}

.demo-gallery article:nth-child(3) {
  margin-top: 68px;
  background-image:
    linear-gradient(160deg, rgba(255, 255, 255, 0.18), rgba(0, 0, 0, 0.2)),
    url("assets/barber-storefront.png");
}

.demo-gallery article:nth-child(4) {
  background:
    linear-gradient(160deg, rgba(0, 0, 0, 0.24), rgba(0, 0, 0, 0.52)),
    repeating-linear-gradient(
      -32deg,
      #c72d38 0 28px,
      #f7f4ec 28px 56px,
      #25619c 56px 84px,
      #f7f4ec 84px 112px
    );
}

.demo-gallery span {
  display: inline-flex;
  width: fit-content;
  padding: 8px 10px;
  color: var(--demo-text);
  background: rgba(0, 0, 0, 0.38);
  border-radius: 8px;
  font-weight: 950;
}

.testimonials {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 16px;
  align-items: stretch;
}

.quote-box {
  padding: clamp(28px, 5vw, 52px);
}

.quote-box p {
  color: var(--demo-text);
  font-size: clamp(1.7rem, 4vw, 3.4rem);
  line-height: 1.08;
}

.rating-card {
  display: grid;
  align-content: center;
  padding: 28px;
}

.rating-card span {
  color: var(--demo-accent);
  font-size: 5rem;
  font-weight: 950;
  line-height: 1;
}

.demo-final {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 72px 0 92px;
}

.theme-old .barber-demo,
.theme-old .barber-demo { --demo-bg: #20150f; --demo-panel: #2f2219; --demo-text: #fff3dc; --demo-accent: #d49b52; --demo-soft: rgba(212, 155, 82, 0.2); }
.theme-urban .barber-demo { --demo-bg: #101317; --demo-panel: #172331; --demo-text: #eff8ff; --demo-accent: #79c7ff; --demo-soft: rgba(121, 199, 255, 0.2); }
.theme-executive .barber-demo { --demo-bg: #121212; --demo-panel: #1e1d1b; --demo-text: #f7f2e8; --demo-accent: #d8b36a; --demo-soft: rgba(216, 179, 106, 0.2); }
.theme-rustic .barber-demo { --demo-bg: #251811; --demo-panel: #3a261a; --demo-text: #fff0df; --demo-accent: #d66f42; --demo-soft: rgba(214, 111, 66, 0.22); }
.theme-neon .barber-demo { --demo-bg: #111018; --demo-panel: #1d1830; --demo-text: #fff3ff; --demo-accent: #ff4fb8; --demo-soft: rgba(255, 79, 184, 0.24); }
.theme-minimal .barber-demo { --demo-bg: #eef2ec; --demo-panel: #ffffff; --demo-text: #151713; --demo-muted: rgba(21, 23, 19, 0.66); --demo-accent: #4b9a86; --demo-soft: rgba(75, 154, 134, 0.18); }
.theme-match .barber-demo { --demo-bg: #10221b; --demo-panel: #18342a; --demo-text: #f4fff8; --demo-accent: #f06045; --demo-soft: rgba(240, 96, 69, 0.22); }
.theme-agenda .barber-demo { --demo-bg: #f4f7fb; --demo-panel: #ffffff; --demo-text: #151b24; --demo-muted: rgba(21, 27, 36, 0.64); --demo-accent: #2878b8; --demo-soft: rgba(40, 120, 184, 0.18); }
.theme-gold .barber-demo { --demo-bg: #060606; --demo-panel: #15120b; --demo-text: #fff7df; --demo-accent: #d9b55c; --demo-soft: rgba(217, 181, 92, 0.25); }
.theme-insta .barber-demo { --demo-bg: #171225; --demo-panel: #241b38; --demo-text: #fff8ff; --demo-accent: #f16f6f; --demo-soft: rgba(241, 111, 111, 0.22); }

.theme-urban .main-photo,
.theme-neon .main-photo,
.theme-insta .main-photo,
.theme-agenda .main-photo {
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.34)),
    url("assets/barber-with-barber.png");
}

.theme-executive .main-photo,
.theme-minimal .main-photo,
.theme-gold .main-photo {
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.34)),
    url("assets/barber-with-barber.png");
}

.theme-rustic .main-photo,
.theme-match .main-photo {
  filter: saturate(1.1) contrast(1.04);
}

.theme-neon .demo-visual,
.theme-insta .demo-visual {
  box-shadow: 0 34px 86px var(--demo-soft);
}

.theme-minimal .demo-topbar,
.theme-agenda .demo-topbar {
  color: #14110f;
  background: rgba(255, 255, 255, 0.9);
  border-bottom-color: rgba(20, 17, 15, 0.1);
}

.theme-minimal .demo-switcher a,
.theme-agenda .demo-switcher a {
  color: rgba(20, 17, 15, 0.68);
  border-color: rgba(20, 17, 15, 0.14);
}

.theme-minimal .demo-switcher a.active,
.theme-agenda .demo-switcher a.active {
  color: #fff;
  background: #151713;
}

.theme-minimal .demo-button.secondary,
.theme-agenda .demo-button.secondary {
  color: var(--demo-text);
  border-color: rgba(20, 17, 15, 0.16);
}

.barber-demo .demo-hero-copy,
.barber-demo .demo-hero-copy h1,
.barber-demo .demo-hero-copy p,
.barber-demo .demo-hero-copy a,
.barber-demo .demo-hero-copy span,
.barber-demo .demo-hero-copy strong,
.barber-demo .demo-hero-copy small,
.barber-demo .demo-hero-copy .demo-label,
.barber-demo .demo-hero-copy .demo-button,
.barber-demo .demo-hero-copy .demo-button.main,
.barber-demo .demo-hero-copy .demo-button.secondary {
  color: #fff;
}

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

@media (max-width: 820px) {
  .topbar {
    position: absolute;
    align-items: flex-start;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .hero {
    min-height: 88vh;
    padding-top: 96px;
  }

  .intro-grid,
  .approach-grid,
  .final-grid,
  .section-heading,
  .banner-content,
  .plans-grid.one-plan,
  .plans-grid {
    grid-template-columns: 1fr;
  }

  .model-controls {
    justify-content: flex-start;
  }

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

  .final-grid .button {
    justify-self: start;
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: 94vh;
  }

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

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

  .footer {
    flex-direction: column;
  }

  .hero-wide-banner {
    min-height: 520px;
  }

  .hero-wide-banner::after {
    right: 18px;
    top: 92px;
    width: 24px;
    height: 150px;
  }

  .banner-content {
    padding-top: 120px;
  }
}

@media (max-width: 960px) {
  .demo-topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .demo-switcher {
    justify-content: flex-start;
  }

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

  .demo-visual {
    min-height: 420px;
  }

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

  .demo-final .demo-button {
    justify-self: start;
  }
}

@media (max-width: 600px) {
  .demo-hero {
    min-height: auto;
    padding-top: 64px;
  }

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

  .demo-info,
  .service-list,
  .demo-gallery {
    grid-template-columns: 1fr;
  }

  .demo-gallery article,
  .demo-gallery article:nth-child(2),
  .demo-gallery article:nth-child(3) {
    min-height: 170px;
    margin-top: 0;
  }
}
