:root {
  --bg-dark: #0F1115;
  --bg-surface: #171A21;
  --bg-light: #F7F7F5;
  --bg-white: #FFFFFF;
  --accent: #E63946;
  --accent-hover: #C82333;
  --text-dark: #111318;
  --text-muted: #5A606E;
  --text-light: #F4F5F7;
  --text-light-muted: #A0A6B5;
  --border-light: #E4E6EB;
  --border-dark: #262A35;
  --radius: 10px;
  --max-width: 1180px;
  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 17, 21, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-dark);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand-dot {
  color: var(--accent);
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 32px;
}

.nav-menu a {
  color: var(--text-light-muted);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--text-light);
}

.nav-menu a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-dark);
  color: var(--text-light);
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.1rem;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #0F1115 0%, #191D26 100%);
  color: var(--text-light);
  padding: 104px 0 96px;
  position: relative;
  overflow: hidden;
}

.hero-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(230, 57, 70, 0.14);
  border: 1px solid rgba(230, 57, 70, 0.4);
  color: #FF6B76;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2.3rem, 5vw, 3.8rem);
  font-weight: 700;
  max-width: 820px;
  margin-bottom: 22px;
}

.hero p {
  font-size: 1.12rem;
  color: var(--text-light-muted);
  max-width: 640px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Page Header (Subpages) */
.page-header {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 76px 0 64px;
  border-bottom: 1px solid var(--border-dark);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-light-muted);
  margin-bottom: 16px;
}

.breadcrumb a:hover {
  color: var(--accent);
}

.page-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 14px;
}

.page-header p {
  color: var(--text-light-muted);
  max-width: 680px;
  font-size: 1.05rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: background-color var(--transition), transform var(--transition), border-color var(--transition);
}

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

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-1px);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-light);
  border: 1px solid var(--border-dark);
}

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

/* Sections */
.section {
  padding: 80px 0;
}

.section-white {
  background-color: var(--bg-white);
}

.section-dark {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.section-title {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  margin-bottom: 14px;
}

.section-subtitle {
  color: var(--text-muted);
  max-width: 660px;
  margin-bottom: 44px;
  font-size: 1.02rem;
}

.section-dark .section-subtitle {
  color: var(--text-light-muted);
}

/* Grids & Cards */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(15, 17, 21, 0.06);
}

.card-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 12px;
}

.card h3 {
  font-size: 1.28rem;
  margin-bottom: 12px;
}

.card p {
  color: var(--text-muted);
  font-size: 0.96rem;
}

/* Stats Strip */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 36px;
  background: var(--bg-surface);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
}

.stat-item strong {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.1rem;
  color: var(--text-light);
  margin-bottom: 4px;
}

.stat-item span {
  font-size: 0.9rem;
  color: var(--text-light-muted);
}

/* Content Blocks */
.prose h2 {
  font-size: 1.7rem;
  margin: 28px 0 14px;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p {
  color: var(--text-muted);
  margin-bottom: 18px;
  font-size: 1rem;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-light);
}

.info-table th,
.info-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.95rem;
}

.info-table th {
  width: 34%;
  background: #FAFAFA;
  font-weight: 600;
  color: var(--text-dark);
}

.info-table td {
  color: var(--text-muted);
}

.info-table tr:last-child th,
.info-table tr:last-child td {
  border-bottom: none;
}

/* Vision & Mission List */
.mission-list {
  list-style: none;
  display: grid;
  gap: 16px;
}

.mission-list li {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  padding: 20px 24px;
}

.mission-list strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 6px;
  color: var(--text-dark);
}

.mission-list span {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Contact Form */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--bg-white);
  transition: border-color var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
}

textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

.form-status {
  margin-top: 14px;
  font-size: 0.92rem;
  font-weight: 500;
  color: #166534;
  display: none;
}

/* Footer */
.site-footer {
  background: var(--bg-dark);
  color: var(--text-light-muted);
  padding: 64px 0 32px;
  border-top: 1px solid var(--border-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 44px;
}

.footer-heading {
  color: var(--text-light);
  font-size: 1rem;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: grid;
  gap: 10px;
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid var(--border-dark);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.86rem;
}

/* Responsive */
@media (max-width: 900px) {
  .grid-3, .stats-grid, .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .nav-menu {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--bg-dark);
    border-bottom: 1px solid var(--border-dark);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px;
    gap: 16px;
  }

  .nav-menu.open {
    display: flex;
  }

  .grid-3, .grid-2, .stats-grid, .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 72px 0 68px;
  }
}
