:root {
  --ink: #14110f;
  --ink-soft: #2a241f;
  --cream: #faf6ef;
  --paper: #ffffff;
  --muted: #6b635a;
  --line: rgba(20, 17, 15, 0.1);
  --gold: #b8893a;
  --gold-light: #d4a84b;
  --navy: #0f1c2e;
  --navy-deep: #0a1420;
  --shadow-soft: 0 18px 50px rgba(15, 28, 46, 0.14);
  --radius: 6px;
  --container: 1140px;
  --header-h: 78px;
  --font-display: "Montserrat", sans-serif;
  --font-body: "Poppins", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(184, 137, 58, 0.08), transparent 35%),
    linear-gradient(180deg, #f7f2e9 0%, var(--cream) 35%, #ffffff 100%);
  line-height: 1.65;
  overflow-x: hidden;
}

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
.footer-brand {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
}

h3 {
  font-size: 1.15rem;
  font-weight: 700;
}

p {
  margin: 0 0 1rem;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  background: var(--gold);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 1000;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 1rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.muted {
  color: var(--muted);
}

.mb-0 {
  margin-bottom: 0 !important;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.85rem;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.8rem 1.35rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #111;
  box-shadow: 0 10px 28px rgba(184, 137, 58, 0.28);
}

.btn-primary:hover {
  filter: brightness(1.05);
}

.btn-outline,
.btn-outline-light {
  background: transparent;
  border-color: rgba(20, 17, 15, 0.22);
  color: var(--ink);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #fff;
}

.btn-lg {
  min-height: 54px;
  padding-inline: 1.6rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(250, 246, 239, 0.86);
  border-bottom: 1px solid transparent;
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(250, 246, 239, 0.96);
}

.site-header.is-hidden {
  transform: translateY(-110%);
}

.header-inner {
  width: min(100% - 2rem, 1200px);
  margin: 0 auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand img {
  width: 140px;
  height: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav-list > li > a {
  display: inline-flex;
  padding: 0.65rem 0.8rem;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.nav-list > li > a:hover,
.nav-list > li > a[aria-current="page"] {
  color: var(--gold);
}

.has-dropdown {
  position: relative;
}

.dropdown {
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 0;
  min-width: 220px;
  padding: 0.6rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: 0.2s ease;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 0.7rem 0.85rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
}

.dropdown a:hover {
  background: rgba(184, 137, 58, 0.1);
  color: var(--gold);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
  transition: 0.25s ease;
}

section {
  padding: 5.5rem 0;
}

.hero {
  padding: 2.5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(15, 28, 46, 0.92) 0%, rgba(15, 28, 46, 0.72) 42%, rgba(15, 28, 46, 0.35) 100%),
    url("../images/hero-crowd.jpg") center/cover no-repeat;
  z-index: 0;
}

.hero-grid {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, 1200px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
  min-height: calc(100vh - var(--header-h) - 2rem);
  color: #fff;
}

.hero h1 {
  max-width: 12ch;
  animation: rise 0.8s ease both;
}

.hero-lede {
  max-width: 42ch;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
  animation: rise 0.8s ease 0.1s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
  animation: rise 0.8s ease 0.2s both;
}

.hero-figure {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  animation: rise 1s ease 0.15s both;
}

.hero-figure img {
  width: 100%;
  height: min(64vh, 560px);
  object-fit: cover;
}

.section-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(247, 242, 233, 0.9));
}

.section-dim {
  background:
    radial-gradient(circle at right, rgba(184, 137, 58, 0.16), transparent 40%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
}

.section-dim .muted,
.section-dim p {
  color: rgba(255, 255, 255, 0.78);
}

.section-dim .btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.section-dim .btn-outline:hover {
  border-color: var(--gold-light);
  color: var(--gold-light);
}

.section-head {
  max-width: 560px;
  margin-bottom: 2.5rem;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
}

.card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(20, 17, 15, 0.06);
  border-radius: 16px;
  padding: 1.4rem;
  box-shadow: 0 10px 30px rgba(20, 17, 15, 0.04);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
}

.card p {
  color: var(--muted);
  margin-bottom: 0;
  font-size: 0.95rem;
}

.icon-badge,
.card.num {
  width: 2.2rem;
  height: 2.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: rgba(184, 137, 58, 0.14);
  color: var(--gold);
  font-family: var(--font-display);
  font-weight: 800;
}

.card.num {
  width: auto;
  height: auto;
  background: none;
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 0.2rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.split.reverse > :first-child {
  order: 2;
}

.split-media {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 360px;
}

.testimonial-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}

.testimonial-card {
  background: #fff;
  border-radius: 16px;
  padding: 1.4rem;
  border: 1px solid rgba(20, 17, 15, 0.06);
  box-shadow: 0 12px 30px rgba(20, 17, 15, 0.05);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 100%;
}

.stars {
  color: var(--gold);
  letter-spacing: 0.08em;
}

.testimonial-card > p {
  flex: 1;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.testimonial-person {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.testimonial-person img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-person strong,
.testimonial-person span {
  display: block;
}

.testimonial-person span {
  color: var(--muted);
  font-size: 0.82rem;
}

.newsletter-box {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
  padding: 2rem;
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(247, 242, 233, 0.95)),
    repeating-linear-gradient(135deg, rgba(184, 137, 58, 0.05) 0 2px, transparent 2px 10px);
  border: 1px solid rgba(184, 137, 58, 0.18);
}

.form-row {
  display: flex;
  gap: 0.65rem;
}

.form-row input {
  flex: 1;
  min-width: 0;
  border: 1px solid rgba(20, 17, 15, 0.12);
  border-radius: 999px;
  padding: 0.9rem 1.1rem;
  font: inherit;
  background: #fff;
}

.form-row input:focus {
  outline: 2px solid rgba(184, 137, 58, 0.35);
  border-color: var(--gold);
}

.form-note {
  margin: 0.7rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.form-success {
  display: none;
  margin: 0.7rem 0 0;
  color: #1d6b3f;
  font-weight: 600;
}

form.is-success .form-success {
  display: block;
}

form.is-success .form-note {
  display: none;
}

.cta-banner {
  text-align: center;
  padding: 3.5rem 2rem;
  border-radius: 24px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(15, 28, 46, 0.94), rgba(10, 20, 32, 0.9)),
    url("../images/mandate-banner.jpg") center/cover no-repeat;
  box-shadow: var(--shadow-soft);
}

.cta-banner p {
  max-width: 52ch;
  margin-inline: auto  ;
  color: rgba(255, 255, 255, 0.8);
}

.cta-banner .btn {
  margin-top: 0.5rem;
}

.site-footer {
  background: var(--navy-deep);
  color: #faf6ef;
  padding: 4rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.footer-col h4 {
  font-size: 0.95rem;
  margin-bottom: 1rem;
  color: var(--gold-light);
}

.footer-col li + li {
  margin-top: 0.55rem;
}

.footer-col a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(250, 246, 239, 0.55);
  font-size: 0.88rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.page-hero {
  padding: 4rem 0 3rem;
  background: linear-gradient(160deg, var(--navy), var(--navy-deep));
  color: #fff;
}

.page-hero p {
  max-width: 50ch;
  color: rgba(255, 255, 255, 0.75);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1100px) {
  .grid-4,
  .testimonial-track {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 960px) {
  .nav-toggle {
    display: inline-block;
  }

  .header-actions .btn {
    display: none;
  }

  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: rgba(250, 246, 239, 0.98);
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }

  .main-nav.is-open {
    max-height: 80vh;
    overflow: auto;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.5rem;
  }

  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    box-shadow: none;
    border: 0;
    background: transparent;
    padding: 0 0 0 0.75rem;
  }

  .has-dropdown.is-open .dropdown {
    display: block;
  }

  .hero-grid,
  .split,
  .split.reverse,
  .newsletter-box {
    grid-template-columns: 1fr;
  }

  .split.reverse > :first-child {
    order: 0;
  }

  .hero-grid {
    min-height: auto;
    padding: 3rem 0;
  }

  .hero h1 {
    max-width: none;
  }

  .hero-figure img,
  .split-media img {
    min-height: 260px;
    height: 320px;
  }
}

@media (max-width: 640px) {
  section {
    padding: 3.5rem 0;
  }

  .grid-4,
  .testimonial-track,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    flex-direction: column;
  }

  .cta-banner {
    padding: 2.5rem 1.25rem;
  }
}