:root {
  /* Typography */
  --font-heading: "Inter", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;

  /* Colors */
  --bg-color: #fbfcff;
  --surface: #ffffff;
  --text-main: #101827;
  --text-muted: #52606d;
  --nav-bg: #1e4d8a;
  --brand-blue: #2f66b0;
  --brand-blue-soft: #e8efff;
  --accent-orange: #d7672e;
  --border: #d9e2ef;

  /* Layout */
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.7;
  margin: 0;
  padding: 0;
}

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

button,
a {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--nav-bg);
  color: white;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.14);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  color: white;
  text-decoration: none;
}

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

.brand span {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

nav ul {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: white;
  border-radius: 999px;
  padding: 0.75rem 1rem;
  cursor: pointer;
  font-weight: 700;
  text-transform: uppercase;
}

.nav-toggle svg {
  display: block;
}

.nav-menu {
  display: flex;
  align-items: center;
}

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

nav a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

nav a:hover,
nav a:focus-visible {
  color: #ffffff;
}

.hero {
  padding: 5rem 0 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 2.5rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-orange);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 4vw, 4.2rem);
  line-height: 1.02;
  margin: 0 0 1.25rem;
  letter-spacing: -0.04em;
}

.hero p {
  max-width: 44rem;
  margin: 0 0 2rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.8rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  background: white;
  color: var(--nav-bg);
  box-shadow: 0 18px 40px rgba(47, 102, 176, 0.16);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.14);
  color: white;
  border-color: rgba(255, 255, 255, 0.28);
}

.btn-outline {
  background: white;
  color: var(--nav-bg);
  border-color: rgba(47, 102, 176, 0.14);
  box-shadow: inset 0 0 0 1px rgba(47, 102, 176, 0.12);
}

.btn.on-dark {
  background: white;
  color: var(--nav-bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  width: 100%;
}

.contact-box {
  background: white;
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 2rem;
  box-shadow: 0 18px 40px rgba(47, 102, 176, 0.06);
}

.box-label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  color: var(--accent-orange);
  font-weight: 800;
  margin-bottom: 0.85rem;
}

.contact-box h3 {
  margin-top: 0;
  margin-bottom: 0.8rem;
  font-size: 1.35rem;
}

.contact-box p {
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1.4rem;
}

.newsletter-form,
.message-form {
  display: grid;
  gap: 1rem;
}

.message-form textarea {
  min-height: 140px;
  padding: 1rem;
  border-radius: 16px;
  border: 1px solid #cbd5e1;
  font: inherit;
  color: var(--text-main);
}

.newsletter-form label,
.message-form label {
  font-weight: 700;
  color: var(--text-main);
}

.newsletter-form input,
.message-form input {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  border: 1px solid #cbd5e1;
  font-size: 1rem;
  color: var(--text-main);
}

.newsletter-form input:focus,
.message-form input:focus,
.message-form textarea:focus {
  outline: none;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 4px rgba(47, 102, 176, 0.12);
}

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

.hero-panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), #f8fbff);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 1.5rem;
  box-shadow: 0 24px 60px rgba(20, 40, 80, 0.08);
}

.panel-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.95rem;
  background: rgba(221, 109, 56, 0.14);
  color: var(--accent-orange);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.35rem;
}

.panel-content {
  display: grid;
  gap: 1.5rem;
}

.panel-graphic {
  min-height: 280px;
  background: linear-gradient(180deg, #dce9ff 0%, #f8fbff 100%);
  border-radius: 24px;
  display: grid;
  place-items: center;
  color: var(--nav-bg);
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  padding: 2rem;
}

.section {
  padding: 4rem 0;
}

.section-header {
  max-width: 680px;
  margin-bottom: 2rem;
}

.section-label {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  color: var(--accent-orange);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.section-header h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  margin: 0;
  line-height: 1.1;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 18px 40px rgba(47, 102, 176, 0.06);
}

.feature-card h3 {
  margin-top: 0;
  margin-bottom: 0.85rem;
  font-size: 1.25rem;
}

.feature-card p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.7;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.media-tile {
  background: white;
  border: 1px solid var(--border);
  border-radius: 24px;
  min-height: 320px;
  display: grid;
  place-items: center;
}

.media-placeholder {
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.section-copy {
  margin-top: 1rem;
  max-width: 42rem;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.contact-box {
  background: white;
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 2rem;
  box-shadow: 0 18px 40px rgba(47, 102, 176, 0.06);
}

.box-label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  color: var(--accent-orange);
  font-weight: 800;
  margin-bottom: 0.85rem;
}

.contact-box h3 {
  margin-top: 0;
  margin-bottom: 0.8rem;
  font-size: 1.35rem;
}

.contact-box p {
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1.4rem;
}

.newsletter-form,
.message-form {
  display: grid;
  gap: 1rem;
}

.message-form textarea {
  min-height: 140px;
  padding: 1rem;
  border-radius: 16px;
  border: 1px solid #cbd5e1;
  font: inherit;
  color: var(--text-main);
}

.newsletter-form label,
.message-form label {
  font-weight: 700;
  color: var(--text-main);
}

.newsletter-form input,
.message-form input {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  border: 1px solid #cbd5e1;
  font-size: 1rem;
  color: var(--text-main);
}

.newsletter-form input:focus,
.message-form input:focus,
.message-form textarea:focus {
  outline: none;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 4px rgba(47, 102, 176, 0.12);
}

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

.newsletter-form label {
  font-weight: 700;
  color: var(--text-main);
}

.newsletter-form input {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  border: 1px solid #cbd5e1;
  font-size: 1rem;
  color: var(--text-main);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 4px rgba(47, 102, 176, 0.12);
}

.newsletter-form .form-note {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.site-footer {
  border-top: 1px solid rgba(34, 72, 146, 0.12);
  padding: 1.5rem 0 2.5rem;
  background: #f8fbff;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  color: #334155;
  font-size: 0.95rem;
}

.footer-inner a {
  color: var(--nav-bg);
  text-decoration: none;
  font-weight: 700;
}

@media (max-width: 900px) {
  .hero-grid,
  .feature-grid,
  .media-grid,
  .contact-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-menu {
    position: absolute;
    inset: 72px 1.5rem auto auto;
    display: none;
    flex-direction: column;
    gap: 1rem;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    padding: 1.25rem;
    box-shadow: 0 24px 45px rgba(15, 23, 42, 0.12);
    width: calc(100% - 3rem);
  }

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

  .nav-menu ul {
    flex-direction: column;
    gap: 0.9rem;
  }

  .nav-menu a {
    color: var(--text-main);
    font-size: 1rem;
    font-weight: 700;
  }

  .feature-grid,
  .media-grid {
    gap: 1rem;
  }
}

@media (max-width: 680px) {
  .hero {
    padding-top: 4rem;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

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

  .newsletter-form,
  .message-form {
    width: 100%;
  }
}
