:root {
  --bg: #f4f8fc;
  --surface: #ffffff;
  --surface-muted: #eef4fb;
  --text: #0f2135;
  --text-muted: #46617d;
  --primary: #0f6ecb;
  --primary-strong: #094f93;
  --accent: #00a78e;
  --line: #d7e3f2;
  --shadow: 0 18px 38px rgba(5, 31, 62, 0.12);
  --radius-lg: 18px;
  --radius-md: 12px;
}

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

html,
body {
  overflow-x: hidden;
}

body {
  font-family: "Segoe UI", "Aptos", "Helvetica Neue", "Noto Sans", Arial, sans-serif;
  background:
    radial-gradient(circle at 15% 10%, rgba(15, 110, 203, 0.15), transparent 40%),
    radial-gradient(circle at 85% 20%, rgba(0, 167, 142, 0.16), transparent 36%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  background: var(--primary);
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: 0 0 8px 8px;
  text-decoration: none;
}

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

h1,
h2,
h3 {
  font-family: "Trebuchet MS", "Segoe UI Semibold", "Segoe UI", Arial, sans-serif;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-muted);
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(244, 248, 252, 0.9);
  border-bottom: 1px solid var(--line);
}

.header-container {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}

.brand {
  text-decoration: none;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
  flex-shrink: 0;
  white-space: nowrap;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-size: 0.95rem;
}

.brand-text {
  font-family: "Trebuchet MS", "Segoe UI Semibold", "Segoe UI", Arial, sans-serif;
  font-size: 1.05rem;
  line-height: 1;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text);
  padding: 0.48rem 0.85rem;
  border-radius: 999px;
  font-weight: 600;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--surface-muted);
  color: var(--primary-strong);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-weight: 700;
  cursor: pointer;
}

.hero {
  position: relative;
  padding: 92px 0 66px;
}

.hero .container {
  background:
    linear-gradient(140deg, rgba(15, 110, 203, 0.96), rgba(7, 74, 145, 0.95)),
    linear-gradient(220deg, rgba(0, 167, 142, 0.4), transparent 46%);
  color: #f4fbff;
  border-radius: 30px;
  padding: clamp(2rem, 4vw, 3.4rem);
  box-shadow: var(--shadow);
  animation: heroReveal 0.9s ease;
}

.eyebrow {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 800;
  color: rgba(244, 251, 255, 0.82);
  margin-bottom: 0.8rem;
}

.hero h1 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  max-width: 760px;
}

.hero p {
  margin-top: 1rem;
  max-width: 700px;
  color: rgba(244, 251, 255, 0.9);
}

.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 0;
  border-radius: 10px;
  font-weight: 700;
  padding: 0.76rem 1.2rem;
  transition: transform 0.18s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

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

.btn-primary {
  background: linear-gradient(135deg, #14b89a, #0c8e76);
  color: #fff;
  box-shadow: 0 10px 22px rgba(0, 121, 101, 0.26);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-dark {
  background: #0f2135;
  color: #fff;
  border: 1px solid #0f2135;
}

.btn-dark:hover {
  background: #173453;
  border-color: #173453;
}

.hero-metrics {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.hero-metrics article {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  padding: 0.95rem 1rem;
}

.hero-metrics .metric-title {
  font-size: 1.1rem;
  font-family: "Trebuchet MS", "Segoe UI Semibold", "Segoe UI", Arial, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0;
  color: #fff;
}

.hero-metrics p {
  margin-top: 0.2rem;
  color: rgba(244, 251, 255, 0.88);
  font-size: 0.92rem;
}

.section {
  margin-top: 70px;
}

.section-heading {
  max-width: 760px;
}

.section-heading .eyebrow {
  color: var(--primary-strong);
}

.section-heading h1,
.section-heading h2 {
  font-size: clamp(1.55rem, 3.5vw, 2.2rem);
}

.section-heading p {
  margin-top: 0.75rem;
}

.card-grid {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 26px rgba(7, 33, 63, 0.06);
  padding: 1.15rem;
  animation: staggerIn 0.5s ease both;
}

.card h3 {
  font-size: 1.07rem;
  margin-bottom: 0.45rem;
}

.section-cta {
  margin: 70px 0 10px;
}

.cta-inner {
  background: linear-gradient(120deg, #0f2035, #153a61);
  border-radius: 24px;
  padding: clamp(1.4rem, 3.2vw, 2.2rem);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.cta-inner .eyebrow,
.cta-inner p {
  color: rgba(238, 246, 255, 0.86);
}

.cta-inner h2 {
  color: #fff;
  margin-top: 0.35rem;
}

.contact-layout {
  margin-top: 1.3rem;
  display: grid;
  grid-template-columns: minmax(220px, 0.95fr) minmax(0, 1.4fr);
  gap: 1rem;
}

.contact-card p {
  margin-top: 0.45rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.58rem;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

label {
  font-weight: 600;
  color: var(--text);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 0.72rem 0.8rem;
  font: inherit;
  color: var(--text);
  background: #fff;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(15, 110, 203, 0.2);
  border-color: var(--primary);
}

.notice {
  margin-top: 1rem;
  padding: 0.8rem 0.95rem;
  border-radius: 12px;
  font-weight: 600;
}

.notice.success {
  background: #e9faf6;
  border: 1px solid #8ad7c8;
  color: #0b6958;
}

.notice.error {
  background: #fff1f1;
  border: 1px solid #f1bcbc;
  color: #9b2626;
}

footer {
  margin-top: 68px;
  padding: 1.6rem 0;
  background: #10253d;
  color: #d5e5f6;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-meta {
  color: #d5e5f6;
  font-size: 0.92rem;
  margin-top: 0.35rem;
}

.footer-links {
  margin-top: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
}

.footer-links a {
  display: inline-block;
  padding: 0.12rem 0.1rem;
  font-size: 0.86rem;
  color: #d5e5f6;
  text-decoration: underline;
  text-decoration-color: rgba(213, 229, 246, 0.35);
  text-underline-offset: 0.16em;
  border: 0;
  background: transparent;
  transition: color 0.18s ease, text-decoration-color 0.18s ease;
}

.footer-links a:hover {
  color: #ffffff;
  text-decoration-color: rgba(255, 255, 255, 0.9);
}

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

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

@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .header-container {
    gap: 0.6rem;
  }

  .brand {
    min-width: 0;
    max-width: calc(100% - 110px);
  }

  .brand-text {
    font-size: 0.92rem;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .nav-links {
    position: absolute;
    top: 74px;
    left: 4%;
    right: 4%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.8rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
    z-index: 120;
  }

  .nav-links.active {
    display: flex;
  }

  .hero {
    padding-top: 78px;
  }

  .footer-links {
    gap: 0.35rem;
  }
}