:root {
  --bg: #070707;
  --bg-soft: #10100f;
  --panel: #171512;
  --panel-light: #f2f0eb;
  --text: #f7f3e9;
  --muted: rgba(247, 243, 233, 0.68);
  --ink: #171512;
  --ink-muted: #5f5a52;
  --gold: #d5aa2c;
  --gold-dark: #9d7612;
  --line: rgba(213, 170, 44, 0.32);
  --white-line: rgba(255, 255, 255, 0.12);
  --title-font: "Oswald", Impact, sans-serif;
  --text-font: "Inter", Arial, sans-serif;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--text-font);
  font-size: 15px;
  line-height: 1.62;
}

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

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

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

.narrow {
  width: min(900px, calc(100% - 40px));
}

.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(7, 7, 7, 0.94) 0%, rgba(7, 7, 7, 0.78) 34%, rgba(7, 7, 7, 0.34) 67%, rgba(7, 7, 7, 0.22) 100%),
    linear-gradient(180deg, rgba(7, 7, 7, 0.12) 0%, rgba(7, 7, 7, 0.86) 100%),
    url("../images/poligono-hero.jpg") center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 150px;
  background: linear-gradient(180deg, transparent, var(--bg));
  pointer-events: none;
}

.hero__grid {
  position: relative;
  z-index: 1;
}

.hero__content {
  max-width: 630px;
  padding: 86px 0 78px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-family: var(--title-font);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: var(--title-font);
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 22px;
  max-width: 640px;
  font-size: clamp(44px, 6.7vw, 82px);
  font-weight: 700;
  line-height: 1;
}

h2 {
  margin: 0;
  font-size: clamp(28px, 3.1vw, 44px);
  font-weight: 700;
  line-height: 1.1;
}

h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.18;
}

p {
  margin: 0;
}

.hero__lead {
  max-width: 560px;
  margin-bottom: 18px;
  color: #ffffff;
  font-size: clamp(18px, 1.9vw, 24px);
  font-weight: 700;
  line-height: 1.3;
}

.hero__content p:not(.eyebrow):not(.hero__lead) {
  max-width: 620px;
  margin-bottom: 34px;
  color: var(--muted);
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: #111;
  cursor: pointer;
  font-family: var(--title-font);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover,
.button:focus-visible {
  background: #f0c843;
  transform: translateY(-2px);
}

.button--secondary {
  background: transparent;
  color: var(--text);
}

.button--secondary:hover,
.button--secondary:focus-visible {
  background: var(--gold);
  color: #111;
}

.section {
  padding: 96px 0;
}

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

.section--intro h2 {
  margin-bottom: 28px;
}

.section--intro p:not(.section-kicker) {
  margin: 0 auto 18px;
  color: var(--muted);
}

.split {
  background: var(--panel-light);
  color: var(--ink);
}

.split__grid,
.safety__grid,
.feature-band__grid,
.membership__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 58px;
  align-items: center;
}

.media-panel {
  border: 1px solid rgba(23, 21, 18, 0.14);
  background: #0b0b0b;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.18);
}

.media-panel img {
  width: 100%;
  aspect-ratio: 1.16 / 1;
  object-fit: cover;
}

.split__copy p:not(.section-kicker) {
  margin-top: 24px;
  color: var(--ink-muted);
}

.section--dark {
  background:
    linear-gradient(180deg, rgba(7, 7, 7, 0.96), rgba(7, 7, 7, 0.98)),
    url("../images/fbic-practice-grid.png") center / cover fixed;
}

.section-heading {
  max-width: 820px;
  margin: 0 auto 48px;
  text-align: center;
}

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

.activity-grid article {
  min-height: 238px;
  padding: 24px 20px;
  border: 1px solid var(--line);
  background: rgba(19, 18, 16, 0.9);
}

.activity-grid span {
  display: inline-grid;
  width: 38px;
  height: 38px;
  margin-bottom: 24px;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--gold);
  font-family: var(--title-font);
  font-weight: 700;
}

.activity-grid h3 {
  margin-bottom: 12px;
  font-size: 18px;
}

.activity-grid p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.safety {
  background: #0d0d0c;
}

.safety h2 {
  margin-bottom: 24px;
}

.safety p:not(.section-kicker) {
  color: var(--muted);
}

.check-list,
.benefit-panel ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.benefit-panel li {
  position: relative;
  padding-left: 30px;
  color: var(--muted);
}

.check-list li::before,
.benefit-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 10px;
  height: 10px;
  border: 2px solid var(--gold);
  transform: rotate(45deg);
}

.feature-band {
  padding: 104px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.feature-card {
  overflow: hidden;
  border: 1px solid var(--gold);
  background: var(--panel);
}

.feature-card img {
  width: 100%;
  aspect-ratio: 1.32 / 1;
  object-fit: cover;
}

.feature-band p:not(.section-kicker) {
  margin-top: 22px;
  color: var(--muted);
}

.membership {
  background: var(--panel-light);
  color: var(--ink);
}

.membership h2 {
  margin-bottom: 20px;
}

.membership h3 {
  margin-bottom: 18px;
}

.membership p {
  color: var(--ink-muted);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.membership .button--secondary {
  color: var(--ink);
}

.benefit-panel {
  padding: 34px;
  border: 1px solid rgba(23, 21, 18, 0.16);
  background: #ffffff;
}

.benefit-image {
  width: 100%;
  margin-bottom: 28px;
  aspect-ratio: 1.55 / 1;
  object-fit: cover;
}

.benefit-panel h3 {
  margin-bottom: 24px;
}

.benefit-panel li {
  color: var(--ink-muted);
}

.closing {
  position: relative;
  padding: 118px 0;
  overflow: hidden;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(7, 7, 7, 0.78), rgba(7, 7, 7, 0.94)),
    url("../images/fbic-crime-scene.png") center / cover no-repeat;
}

.closing__inner {
  max-width: 860px;
}

.closing h2 {
  margin-bottom: 24px;
}

.closing p:not(.section-kicker) {
  max-width: 720px;
  margin: 0 auto 34px;
  color: var(--muted);
  font-size: 16px;
}

@media (max-width: 1020px) {
  .hero {
    min-height: 650px;
    background-position: 58% center;
  }

  .split__grid,
  .safety__grid,
  .feature-band__grid,
  .membership__grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 680px) {
  .hero {
    min-height: auto;
    background:
      linear-gradient(90deg, rgba(7, 7, 7, 0.94) 0%, rgba(7, 7, 7, 0.78) 78%, rgba(7, 7, 7, 0.45) 100%),
      linear-gradient(180deg, rgba(7, 7, 7, 0.12) 0%, rgba(7, 7, 7, 0.9) 100%),
      url("../images/poligono-hero.jpg") 54% center / cover no-repeat;
  }

  .hero__content {
    padding: 90px 0 78px;
  }

  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 31px;
  }

  .section,
  .feature-band,
  .closing {
    padding: 72px 0;
  }

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

  .activity-grid article {
    min-height: auto;
  }

  .button,
  .button-row {
    width: 100%;
  }
}
