/* ==========================================
   FONTS
   ========================================== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Source+Sans+3:wght@400;500;600;700&display=swap');

/* ==========================================
   RESET & BASE
   ========================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --gold:          hsl(42, 45%, 55%);
  --gold-light:    hsl(42, 50%, 70%);
  --dark:          hsl(220, 25%, 12%);
  --dark-surface:  hsl(220, 18%, 22%);
  --cta:           hsl(145, 55%, 38%);
  --cta-hover:     hsl(145, 55%, 32%);
  --bg:            hsl(220, 20%, 97%);
  --fg:            hsl(220, 25%, 10%);
  --card:          #ffffff;
  --border:        hsl(220, 15%, 88%);
  --muted-fg:      hsl(220, 10%, 45%);
  --on-dark:       hsl(42, 50%, 90%);
  --on-dark-muted: hsl(220, 15%, 65%);
  --font-display:  'Playfair Display', serif;
  --font-body:     'Source Sans 3', sans-serif;
  --radius:        0.375rem;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--fg);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul { list-style: none; }

/* ==========================================
   LAYOUT
   ========================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1rem;
}

.text-gold { color: var(--gold); }

/* ==========================================
   BUTTONS
   ========================================== */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  background-color: var(--cta);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background-color 0.2s;
  white-space: nowrap;
}

.btn-cta:hover {
  background-color: var(--cta-hover);
}

.btn-cta--hero {
  padding: 1rem 2rem;
  font-size: 1rem;
  animation: pulse-cta 2s infinite;
}

.btn-cta--lg {
  padding: 1.25rem 3rem;
}

@keyframes pulse-cta {
  0%, 100% { box-shadow: 0 0 0 0 hsla(145, 55%, 38%, 0.5); }
  50%       { box-shadow: 0 0 0 12px hsla(145, 55%, 38%, 0); }
}

/* ==========================================
   HEADER
   ========================================== */
.header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 100;
  background-color: hsla(220, 25%, 12%, 0.95);
  backdrop-filter: blur(4px);
  border-bottom: 1px solid hsla(42, 45%, 55%, 0.2);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1rem;
}

.header__logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--on-dark);
}
.header__logo span { color: var(--gold); }

.header__nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

.header__nav a {
  color: var(--on-dark-muted);
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}
.header__nav a:hover { color: var(--gold); }

.header__cta {
  display: none;
  padding: 0.625rem 1.25rem;
  background-color: var(--cta);
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: var(--radius);
  transition: background-color 0.2s;
}
.header__cta:hover { background-color: var(--cta-hover); }

.header__hamburger {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--on-dark);
  padding: 0.25rem;
}

.header__hamburger svg {
  width: 24px;
  height: 24px;
}

/* Mobile dropdown */
.header__mobile {
  display: none;
  border-top: 1px solid hsla(42, 45%, 55%, 0.2);
  padding: 0.25rem 1rem 1rem;
}
.header__mobile.is-open { display: block; }

.header__mobile a:not(.btn-cta) {
  display: block;
  padding: 0.75rem 0;
  color: var(--on-dark-muted);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.2s;
  border-bottom: 1px solid hsla(42, 45%, 55%, 0.1);
}
.header__mobile a:not(.btn-cta):hover { color: var(--gold); }

.header__mobile .btn-cta {
  display: block;
  text-align: center;
  margin-top: 0.75rem;
  width: 100%;
}

@media (min-width: 768px) {
  .header__nav      { display: flex; }
  .header__cta      { display: inline-flex; }
  .header__hamburger { display: none; }
}

/* ==========================================
   HERO
   ========================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-image: url('assets/hero-bg.jpg');
  background-size: cover;
  background-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background-color: hsla(220, 25%, 12%, 0.75);
}

.hero__content {
  position: relative;
  max-width: 768px;
  padding-block: 8rem;
}

.hero__title {
  font-size: clamp(1.75rem, 4vw, 3.125rem);
  font-weight: 700;
  color: var(--on-dark);
  margin-bottom: 1.5rem;
}
.hero__title span { color: var(--gold); }

.hero__text {
  color: var(--on-dark-muted);
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 640px;
}

/* ==========================================
   PROBLEM
   ========================================== */
.problem {
  background-color: var(--bg);
  padding-block: 5rem;
}

@media (min-width: 768px) {
  .problem { padding-block: 7rem; }
}

.problem__inner {
  max-width: 768px;
}

.problem__title {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 2rem;
}
.problem__title span { color: var(--gold); }

.problem__text {
  color: var(--muted-fg);
  font-size: 1.125rem;
  line-height: 1.75;
}
.problem__text + .problem__text { margin-top: 1.25rem; }
.problem__text strong { color: var(--fg); }

/* ==========================================
   ORIGIN
   ========================================== */
.origin {
  background-color: var(--dark);
  padding-block: 5rem;
}

@media (min-width: 768px) {
  .origin { padding-block: 9rem; }
}

.origin__inner {
  max-width: 896px;
}

.origin__title {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--on-dark);
  margin-bottom: 1.5rem;
}
.origin__title span { color: var(--gold); }

.origin__intro {
  color: var(--on-dark-muted);
  font-size: 1.125rem;
  line-height: 1.75;
  margin-bottom: 2rem;
}

.origin__list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.origin__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background-color: var(--dark-surface);
  border-radius: var(--radius);
  padding: 1.25rem;
  border: 1px solid hsla(42, 45%, 55%, 0.1);
}

.origin__item-icon {
  flex-shrink: 0;
  margin-top: 0.125rem;
  color: var(--gold);
  display: flex;
}

.origin__item-icon svg {
  width: 22px;
  height: 22px;
}

.origin__item-text {
  color: var(--on-dark);
  font-size: 1rem;
  line-height: 1.6;
}

/* ==========================================
   SECTION SHARED
   ========================================== */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
}
.section-title span { color: var(--gold); }

.section-cta {
  text-align: center;
  margin-top: 3rem;
}

/* ==========================================
   AUDIENCE
   ========================================== */
.audience {
  background-color: var(--bg);
  padding-block: 5rem;
}

@media (min-width: 768px) {
  .audience { padding-block: 7rem; }
}

.audience__title { color: var(--fg); }

.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 1024px;
  margin-inline: auto;
}

@media (min-width: 640px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(3, 1fr); }
}

.audience__card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color 0.2s;
}
.audience__card:hover { border-color: hsla(42, 45%, 55%, 0.4); }

.card-icon {
  color: var(--gold);
  margin-bottom: 1rem;
  display: flex;
}
.card-icon svg { width: 28px; height: 28px; }

.audience__card .card-icon svg { width: 28px; height: 28px; }

.card-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.5rem;
}

.card-desc {
  color: var(--muted-fg);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* ==========================================
   DIFFERENTIALS
   ========================================== */
.differentials {
  background-color: var(--dark);
  padding-block: 5rem;
}

@media (min-width: 768px) {
  .differentials { padding-block: 7rem; }
}

.differentials__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 700;
  text-align: center;
  color: var(--on-dark);
  margin-bottom: 1rem;
}
.differentials__title span { color: var(--gold); }

.differentials__subtitle {
  text-align: center;
  color: var(--on-dark-muted);
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 3rem;
}

.diff-card {
  background-color: var(--dark-surface);
  border: 1px solid hsla(42, 45%, 55%, 0.1);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color 0.2s;
}
.diff-card:hover { border-color: hsla(42, 45%, 55%, 0.3); }

.diff-card .card-icon svg { width: 32px; height: 32px; }

.diff-card .card-title { color: var(--on-dark); }
.diff-card .card-desc  { color: var(--on-dark-muted); }

/* ==========================================
   AUTHORITY
   ========================================== */
.authority {
  background-color: var(--bg);
  padding-block: 5rem;
}

@media (min-width: 768px) {
  .authority { padding-block: 7rem; }
}

.authority__title { color: var(--fg); }

.authority__profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  max-width: 1024px;
  margin-inline: auto;
}

@media (min-width: 1024px) {
  .authority__profile {
    flex-direction: row;
    align-items: flex-start;
  }
}

.authority__img {
  width: 256px;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  border: 2px solid hsla(42, 45%, 55%, 0.2);
  flex-shrink: 0;
}

.authority__name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 0.25rem;
}

.authority__oab {
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 1rem;
}

.authority__quote {
  color: var(--muted-fg);
  font-size: 1rem;
  line-height: 1.75;
  font-style: italic;
  border-left: 4px solid var(--gold);
  padding-left: 1.25rem;
}

.authority__stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 896px;
  margin-inline: auto;
  margin-top: 4rem;
}

@media (min-width: 768px) {
  .authority__stats { grid-template-columns: repeat(3, 1fr); }
}

.authority__stat {
  text-align: center;
  background-color: var(--dark);
  border-radius: var(--radius);
  padding: 2rem;
}

.authority__stat-value {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.authority__stat-label {
  color: var(--on-dark-muted);
  font-size: 0.875rem;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  background-color: var(--dark);
  border-top: 1px solid hsla(42, 45%, 55%, 0.1);
  padding-block: 3rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .footer__grid { grid-template-columns: repeat(3, 1fr); }
}

.footer__brand {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--on-dark);
  margin-bottom: 1rem;
}
.footer__brand span { color: var(--gold); }

.footer__brand-desc {
  color: var(--on-dark-muted);
  font-size: 0.875rem;
  line-height: 1.6;
}

.footer__heading {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--on-dark);
  margin-bottom: 1rem;
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--on-dark-muted);
  font-size: 0.875rem;
}

.footer__list li svg {
  width: 14px;
  height: 14px;
  stroke: var(--gold);
  fill: none;
  flex-shrink: 0;
}

.footer__list a {
  color: inherit;
  transition: color 0.2s;
}
.footer__list a:hover { color: var(--gold); }

.footer__links li {
  display: block;
}

.footer__bottom {
  border-top: 1px solid hsla(42, 45%, 55%, 0.1);
  padding-top: 1.5rem;
  text-align: center;
  color: var(--on-dark-muted);
  font-size: 0.75rem;
}

/* ==========================================
   LUCIDE ICON DEFAULTS
   ========================================== */
svg.lucide {
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: inline-block;
  vertical-align: middle;
}
