:root {
  --bg: #f8f7f3;
  --bg-dark: #0f172a;
  --text: #0f172a;
  --muted: #5b6577;
  --accent: #f59e0b;
  --card: #ffffff;
  --border: rgba(15, 23, 42, 0.12);
  --max: 1200px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Montserrat", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

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

.container {
  width: min(var(--max), 100% - 2rem);
  margin: 0 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: #111827;
}

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

.btn-outline {
  border-color: rgba(255, 255, 255, 0.4);
  color: #0f172a;
  background: #ffffff;
}

header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 247, 243, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0;
}

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

.logo img {
  width: 44px;
  height: 44px;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-links a {
  font-size: 0.9rem;
  color: rgba(15, 23, 42, 0.75);
  font-weight: 600;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  padding: 0.5rem 0.7rem;
  border-radius: 0.75rem;
}

.hero {
  position: relative;
  min-height: 100vh;
  color: #fff;
  display: flex;
  align-items: flex-start;
  padding: 6rem 0 4rem;
  overflow: hidden;
}

.hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.25) 60%, rgba(0,0,0,0.1) 100%);
  z-index: -1;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.1;
  font-weight: 700;
}

.hero p {
  max-width: 620px;
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.85);
  margin-top: 1rem;
}

.hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  font-weight: 600;
}

.hero .actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero .highlights {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
}

.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: rgba(15, 23, 42, 0.04);
}

.section h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 0.6rem;
}

.section p.lead {
  color: var(--muted);
  max-width: 640px;
}

.cards {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

.cards.two {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.cards.three {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 1.5rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
}

.stat {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 1.5rem;
}

.contact {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

footer {
  border-top: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.03);
  padding: 2.5rem 0;
  color: var(--muted);
  font-size: 0.9rem;
}

footer .footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .nav.open .nav-links {
    display: flex;
    position: absolute;
    top: 64px;
    right: 1rem;
    flex-direction: column;
    background: #fff;
    padding: 1rem;
    border-radius: 1rem;
    border: 1px solid var(--border);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
    min-width: 200px;
  }
}
