:root {
  --navy: #0a2540;
  --blue-700: #0b3d91;
  --blue-600: #1e5cb3;
  --blue-500: #2e7fd6;
  --blue-400: #4a90e2;
  --blue-300: #7bb3f0;
  --blue-200: #b9dcff;
  --blue-100: #dbeeff;
  --bg: #f5f9ff;
  --white: #ffffff;
  --ink: #0e1b33;
  --ink-soft: #3d4c6b;
  --accent: #27c28a;
  --danger: #e14b4b;
  --shadow-sm: 0 2px 8px rgba(10, 37, 64, 0.08);
  --shadow-md: 0 10px 30px rgba(10, 37, 64, 0.14);
  --shadow-lg: 0 25px 60px rgba(10, 37, 64, 0.22);
  --radius: 14px;
  --radius-lg: 22px;
  --max: 1200px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue-600); text-decoration: none; }
a:hover { color: var(--blue-700); text-decoration: underline; }

img, svg { display: block; }

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

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,255,255,0.82));
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid rgba(10, 37, 64, 0.08);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.brand:hover { text-decoration: none; }

.brand__logo {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 10px rgba(11, 61, 145, 0.25));
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand__name {
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.brand__tagline {
  font-size: 0.72rem;
  color: var(--ink-soft);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav a {
  color: var(--ink-soft);
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav a:hover {
  background: var(--blue-100);
  color: var(--blue-700);
  text-decoration: none;
}

.nav a.is-active {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
  color: var(--white);
}

/* ---------- Hero / Splash ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(20px, 3vw, 40px) 0 clamp(36px, 6vw, 80px);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(123, 179, 240, 0.45), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(30, 92, 179, 0.35), transparent 60%),
    linear-gradient(160deg, #dbeeff 0%, #b9dcff 35%, #4a90e2 80%, #0b3d91 100%);
  color: var(--white);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px 0;
  height: 80px;
  background: linear-gradient(180deg, transparent, var(--bg));
  pointer-events: none;
}

.hero__inner {
  position: relative;
  text-align: center;
  z-index: 1;
}

.hero__eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #eaf4ff;
  backdrop-filter: blur(6px);
}

.hero__logo-wrap {
  margin: 0 auto clamp(12px, 2vw, 20px);
  width: clamp(78px, 15.6vw, 182px);
  aspect-ratio: 1 / 1;
  position: relative;
  display: grid;
  place-items: center;
}

/* Soft circular backdrop behind the logo — gives the emboss something to sit on */
.hero__logo-wrap::before {
  content: "";
  position: absolute;
  inset: 4%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.18) 40%, transparent 65%),
    radial-gradient(circle at 70% 78%, rgba(10, 22, 55, 0.45), transparent 55%);
  filter: blur(6px);
  z-index: 0;
}

.hero__logo {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* Embossed / raised effect — white highlight top-left, deep shadow bottom-right, ambient floor shadow */
  filter:
    drop-shadow(-5px -5px 10px rgba(255, 255, 255, 0.55))
    drop-shadow(7px 8px 14px rgba(5, 18, 48, 0.55))
    drop-shadow(0 32px 60px rgba(5, 18, 48, 0.45));
  animation: hero-float 6s ease-in-out infinite;
  transform-origin: center;
}

@keyframes hero-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

@media (prefers-reduced-motion: reduce) {
  .hero__logo { animation: none; }
}

.hero__title {
  margin: 0 0 14px;
  font-size: clamp(2.4rem, 7vw, 5.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.02;
  text-shadow: 0 6px 30px rgba(10, 37, 64, 0.35);
}

.hero__title .accent {
  background: linear-gradient(90deg, #ffffff, #dbeeff 60%, #7bb3f0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__subtitle {
  max-width: 720px;
  margin: 0 auto 20px;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: #eaf4ff;
}

.hero__cta {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.08s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  text-decoration: none;
}

.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: linear-gradient(135deg, #ffffff, #dbeeff);
  color: var(--blue-700);
  box-shadow: var(--shadow-md);
}

.btn--primary:hover { color: var(--navy); box-shadow: var(--shadow-lg); }

.btn--ghost {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(6px);
}

.btn--ghost:hover { background: rgba(255, 255, 255, 0.22); color: var(--white); }

.btn--solid {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn--solid:hover { box-shadow: var(--shadow-lg); }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; transform: none; }

/* ---------- Features row ---------- */
.features {
  padding: clamp(48px, 8vw, 96px) 0;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.feature {
  background: var(--white);
  border: 1px solid rgba(10, 37, 64, 0.06);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.feature__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  color: var(--white);
  margin-bottom: 14px;
  font-weight: 700;
}

.feature h3 {
  margin: 0 0 6px;
  font-size: 1.1rem;
  color: var(--navy);
}

.feature p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- Contact ---------- */
.section {
  padding: clamp(48px, 8vw, 96px) 0;
}

.section--tinted {
  background:
    radial-gradient(900px 500px at 90% 10%, rgba(123, 179, 240, 0.35), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #eef5ff 100%);
}

.section__header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px;
}

.section__kicker {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--blue-100);
  color: var(--blue-700);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section__title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}

.section__lead {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.contact-card {
  max-width: 640px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid rgba(10, 37, 64, 0.06);
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

.form-row label {
  font-weight: 600;
  color: var(--navy);
  font-size: 0.92rem;
}

.form-row input,
.form-row textarea {
  font: inherit;
  color: var(--ink);
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(10, 37, 64, 0.18);
  background: #fafcff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  width: 100%;
}

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

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(46, 127, 214, 0.18);
}

.form-row.has-error input,
.form-row.has-error textarea {
  border-color: var(--danger);
  box-shadow: 0 0 0 4px rgba(225, 75, 75, 0.12);
}

.field-error {
  font-size: 0.82rem;
  color: var(--danger);
  min-height: 1em;
}

/* honeypot */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}

.form-status {
  margin: 16px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 0.95rem;
  display: none;
}

.form-status.is-visible { display: block; }
.form-status.is-success { background: #e7f8f1; color: #15704c; border: 1px solid #a7e4cb; }
.form-status.is-error { background: #fdecec; color: #8f1f1f; border: 1px solid #f1b7b7; }

/* ---------- Footer ---------- */
.site-footer {
  margin-top: auto;
  background: linear-gradient(180deg, #0a2540 0%, #071a30 100%);
  color: #cadcf5;
  padding: 36px 0 28px;
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}

.site-footer .brand {
  color: #ffffff;
}

.site-footer .brand__tagline {
  color: #9ab3d8;
}

.footer__meta {
  font-size: 0.9rem;
  color: #9ab3d8;
}

.footer__meta a { color: #dbeeff; }

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  .nav a { padding: 8px 10px; font-size: 0.95rem; }
  .brand__tagline { display: none; }
  .site-footer .container { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
