:root {
  --dark: #06111c;
  --dark-2: #0a1825;
  --ink: #111827;
  --gold: #d3a95d;
  --gold-2: #f1cf88;
  --cream: #f7f1e7;
  --muted: #a7b0ba;
  --white: #fff;
  --line: rgba(211, 169, 93, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, sans-serif;
  background: var(--dark);
  color: #fff;
}

img {
  max-width: 100%;
  display: block;
}

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

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--gold);
  color: #16120b;
  border-radius: 4px;
  font-weight: 700;
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: min(1180px, 92vw);
  margin: auto;
}

.topbar {
  background: #050b12;
  border-bottom: 1px solid rgba(211, 169, 93, 0.25);
  font-size: 0.83rem;
}

.topbar__inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
}

.topbar__message {
  margin: 0;
  color: #dbe4ee;
}

.topbar__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.topbar__link,
.whatsapp-mini {
  color: #eef6ed;
  font-weight: 600;
}

.main-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 17, 28, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(211, 169, 93, 0.25);
}

.nav {
  min-height: 86px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand img {
  width: 82px;
}

.menu {
  display: flex;
  gap: 25px;
  margin-left: auto;
  font-family: Oswald, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.94rem;
}

.menu a {
  color: #e6edf5;
  position: relative;
}

.menu a.active,
.menu a:hover {
  color: var(--gold-2);
}

.menu a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 2px;
  background: var(--gold);
}

.nav-toggle {
  display: none;
  background: none;
  color: white;
  border: 0;
  font-size: 1.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 3px;
  padding: 13px 20px;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn--gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #16120b;
  box-shadow: 0 10px 25px rgba(211, 169, 93, 0.18);
}

.btn--gold:hover {
  transform: translateY(-2px);
}

.btn--outline {
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: #fff;
}

.btn--small {
  padding: 9px 14px;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold-2);
  font-size: 0.74rem;
}

.dark-section {
  background: radial-gradient(circle at 70% 0%, rgba(211, 169, 93, 0.10), transparent 30%), linear-gradient(180deg, #071522, #06111c);
  position: relative;
  overflow: hidden;
}

.dark-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 36px 36px;
  opacity: 0.2;
  pointer-events: none;
}

.light-section {
  background: var(--cream);
  color: var(--ink);
  position: relative;
  overflow: hidden;
}

.hero {
  min-height: 560px;
  border-bottom: 1px solid var(--line);
  background-image:
    linear-gradient(90deg, rgba(6, 17, 28, 0.72) 0%, rgba(6, 17, 28, 0.10) 32%, rgba(6, 17, 28, 0.10) 58%, rgba(6, 17, 28, 0.42) 100%),
    url("../assets/img/hero/barbex-hero-banner.webp");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(320px, 620px);
  align-items: center;
  gap: 0;
  min-height: 560px;
  padding: 70px 0 55px;
}

.eyebrow {
  display: inline-block;
  color: var(--gold-2);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: Oswald, sans-serif;
  margin-bottom: 14px;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Oswald, sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2.1rem, 4.8vw, 4rem);
  line-height: 0.95;
}

.hero h1 span {
  display: block;
  color: var(--gold-2);
}

.hero p {
  max-width: 520px;
  color: #d5dce5;
  line-height: 1.7;
}

.hero__highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.hero__highlights li {
  padding: 8px 12px;
  border: 1px solid rgba(211, 169, 93, 0.32);
  border-radius: 999px;
  color: #f3e7d0;
  font-size: 0.85rem;
}

.hero__buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 25px;
}

.slider-dots {
  display: flex;
  gap: 8px;
  margin-top: 32px;
}

.slider-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  opacity: 0.5;
}

.slider-dots span:first-child {
  background: var(--gold);
  opacity: 1;
}

.float {
  position: absolute;
  z-index: 2;
  color: rgba(255, 255, 255, 0.16);
  font-size: 92px;
  pointer-events: none;
}

.float--scissors {
  left: -25px;
  bottom: 10px;
  transform: rotate(-16deg);
}

.float--comb {
  right: 4%;
  bottom: 44px;
  color: rgba(211, 169, 93, 0.3);
  font-size: 72px;
}

.float--razor {
  right: 2%;
  top: 30px;
  color: rgba(211, 169, 93, 0.3);
}

.float--light {
  color: rgba(16, 24, 34, 0.16);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-bottom: 1px solid #ddd;
  border-top: 1px solid #fff;
}

.trust-grid article {
  padding: 24px 28px;
  display: flex;
  gap: 16px;
  align-items: center;
  border-right: 1px solid #ddd;
}

.trust-grid article:last-child {
  border-right: 0;
}

.icon {
  font-size: 34px;
  color: var(--gold);
}

.trust-grid strong {
  display: block;
  text-transform: uppercase;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
}

.trust-grid small {
  display: block;
  margin-top: 5px;
  color: #5c6672;
}

section {
  padding: 58px 0;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.section-heading--left {
  justify-content: flex-start;
}

.section-heading span {
  width: 84px;
  height: 1px;
  background: var(--gold);
}

.section-heading h2 {
  font-size: 2rem;
  color: #fff;
}

.section-heading--dark h2 {
  color: var(--ink);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  position: relative;
  z-index: 1;
}

.product-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(211, 169, 93, 0.28);
  border-radius: 8px;
  padding: 18px;
  text-align: center;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.product-card img {
  height: 150px;
  object-fit: contain;
  margin-bottom: 14px;
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.35));
}

.product-card h3 {
  font-size: 1rem;
  line-height: 1.15;
  min-height: 46px;
}

.product-card p {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.45;
  min-height: 60px;
}

.product-card strong {
  display: block;
  margin: 7px 0 12px;
  color: #fff;
  font-size: 1.06rem;
}

.benefit-grid,
.solution-grid,
.blog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.benefit-grid article,
.solution-grid article,
blockquote,
.blog-card {
  background: #fff;
  border: 1px solid #e5dac9;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 10px 25px rgba(16, 24, 34, 0.06);
}

.benefit-grid h3,
.solution-grid h3,
.blog-card h3 {
  font-size: 1.15rem;
  color: #0d1724;
}

.benefit-grid p,
.solution-grid p,
.blog-card p {
  color: #56606b;
  line-height: 1.6;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  position: relative;
  z-index: 1;
}

.category-grid a {
  min-height: 225px;
  border: 1px solid rgba(211, 169, 93, 0.34);
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  overflow: hidden;
  position: relative;
}

.category-grid a::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.78));
}

.category-grid strong,
.category-grid small {
  position: relative;
  z-index: 1;
}

.category-grid strong {
  font-size: 1.7rem;
  font-family: Oswald, sans-serif;
  text-transform: uppercase;
}

.category-grid small {
  color: var(--gold-2);
  font-weight: 800;
  margin-top: 5px;
}

.benefit-grid article {
  text-align: center;
}

.benefit-grid span {
  display: block;
  font-size: 34px;
  margin-bottom: 10px;
}

.brands {
  padding: 42px 0;
}

.brand-row {
  display: grid;
  grid-template-columns: 1fr repeat(5, 1.2fr);
  align-items: center;
  gap: 22px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.brand-row img {
  width: 92px;
  margin: auto;
}

.brand-row strong {
  font-family: Oswald, sans-serif;
  font-size: 1.65rem;
  letter-spacing: 0.03em;
  color: #f5f0e7;
}

.brand-row small {
  font-size: 0.8rem;
  color: var(--gold);
  letter-spacing: 0.12em;
}

.whatsapp-cta {
  padding: 34px 0;
  background: linear-gradient(90deg, #071522, #0b2340, #071522);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cta-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cta-grid h2 {
  font-size: 2rem;
}

.cta-grid p {
  margin: 0.25rem 0 0;
  color: #c7d1dc;
}

.wa-icon {
  float: left;
  width: 64px;
  height: 64px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  margin-right: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 28px;
}

.kit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
  z-index: 1;
}

.kit-grid article {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(211, 169, 93, 0.3);
  border-radius: 8px;
  padding: 22px;
}

.kit-grid p {
  color: var(--muted);
}

.kit-grid strong {
  display: block;
  color: var(--gold-2);
  font-size: 1.3rem;
  margin-bottom: 12px;
}

blockquote {
  margin: 0;
  color: #1f2937;
  line-height: 1.55;
}

cite {
  display: block;
  margin-top: 12px;
  font-style: normal;
  font-weight: 800;
  color: #0d1724;
}

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

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  position: relative;
  z-index: 1;
}

details {
  border: 1px solid rgba(211, 169, 93, 0.32);
  border-radius: 6px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.04);
}

summary {
  cursor: pointer;
  font-weight: 700;
}

details p {
  color: var(--muted);
}

.seo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  width: 100%;
  min-height: 520px;
}

.seo-section {
  padding: 0;
}

.seo-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px min(6vw, 72px);
}

.seo-grid h2 {
  font-size: 2.2rem;
  color: #0d1724;
}

.seo-grid p {
  color: #56606b;
  line-height: 1.75;
}

.seo-media {
  min-height: 520px;
  background-image: url("../assets/img/sections/barbex-seo-section.webp");
  background-position: left center;
  background-repeat: no-repeat;
  background-size: cover;
}

.footer {
  background: #050b12;
  border-top: 1px solid var(--line);
  padding: 50px 0 0;
  color: #dbe4ee;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
}

.footer-logo {
  width: 105px;
  margin-bottom: 14px;
}

.footer h3 {
  color: var(--gold-2);
  font-size: 1rem;
}

.footer a {
  display: block;
  margin: 7px 0;
  color: #dbe4ee;
}

.footer p {
  color: #b9c4cf;
  line-height: 1.6;
}

.payments {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}

.payments img {
  display: block;
  width: auto;
  height: 34px;
  max-width: 100%;
  object-fit: contain;
  border-radius: 6px;
}

.payments img:first-child {
  height: 40px;
}

.payments img:last-child {
  height: 30px;
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 70;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  font-weight: 800;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
}

.floating-whatsapp:hover {
  transform: translateY(-2px);
}

.floating-whatsapp__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  font-size: 1rem;
}

.floating-whatsapp__text {
  line-height: 1;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 35px;
  padding: 15px;
  text-align: center;
  color: #9aa7b5;
  font-size: 0.8rem;
}

@media (max-width: 980px) {
  .nav {
    min-height: auto;
    padding: 12px 0;
    flex-wrap: wrap;
  }

  .brand img {
    width: 70px;
  }

  .nav-toggle {
    display: block;
    margin-left: auto;
  }

  .menu {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 12px;
    padding: 16px 0;
  }

  .menu.open {
    display: flex;
  }

  .header-cta {
    display: none;
  }

  .hero__grid,
  .seo-grid {
    grid-template-columns: 1fr;
  }

  .seo-grid {
    min-height: 0;
  }

  .seo-media {
    min-height: 320px;
    order: -1;
  }

  .seo-copy {
    padding: 42px min(7vw, 32px);
  }

  .hero {
    background-position: 68% center;
  }

  .hero__grid {
    min-height: 0;
  }

  .trust-grid,
  .product-grid,
  .category-grid,
  .benefit-grid,
  .solution-grid,
  .kit-grid,
  .footer-grid,
  .blog-grid {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 640px) {
  .topbar__inner {
    align-items: flex-start;
  }

  .topbar__actions {
    width: 100%;
  }

  section {
    padding: 42px 0;
  }

  .hero h1 {
    font-size: 2.7rem;
  }

  .hero {
    min-height: 0;
    background-position: 74% center;
    background-size: auto 100%;
  }

  .hero__grid {
    padding: 42px 0 32px;
  }

  .hero p {
    max-width: 360px;
  }

  .trust-grid,
  .product-grid,
  .category-grid,
  .benefit-grid,
  .solution-grid,
  .kit-grid,
  .faq-grid,
  .footer-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .cta-grid {
    flex-direction: column;
    text-align: center;
  }

  .section-heading span {
    width: 40px;
  }

  .section-heading h2 {
    font-size: 1.55rem;
  }

  .floating-whatsapp {
    right: 14px;
    bottom: 14px;
    padding: 12px 14px;
  }

  .floating-whatsapp__text {
    display: none;
  }

  .payments img {
    height: 28px;
  }

  .payments img:first-child {
    height: 34px;
  }

  .payments img:last-child {
    height: 24px;
  }
}
