:root {
  --bg: #f5f8ff;
  --bg-soft: #edf2ff;
  --surface: #ffffff;
  --surface-soft: #f4f7ff;
  --text: #0f172a;
  --muted: #4b5563;
  --primary: #2f6bff;
  --primary-strong: #2457d6;
  --line: #d7e0f4;
  --radius: 18px;
  --radius-sm: 14px;
  --shadow: 0 16px 38px rgba(23, 33, 71, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 0%, #e4ecff 0, transparent 40%),
    radial-gradient(circle at 100% 0%, #ebf1ff 0, transparent 32%),
    var(--bg);
  line-height: 1.6;
  scroll-behavior: smooth;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(215, 224, 244, 0.95);
  z-index: 20;
  animation: fade-down 480ms ease-out;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.brand img {
  width: clamp(140px, 15vw, 180px);
  height: auto;
  display: block;
}

.menu {
  display: flex;
  gap: 1.2rem;
  color: var(--muted);
  font-weight: 500;
}

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

.menu a {
  transition: color 180ms ease;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  padding: 0.84rem 1.28rem;
  border: 1px solid transparent;
  transition: transform 220ms ease, background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
  box-shadow: 0 10px 22px rgba(31, 63, 157, 0.32);
}

.button:hover {
  background: var(--primary-strong);
  transform: translateY(-2px);
}

.button-outline {
  background: transparent;
  color: #1d4ed8;
  border-color: rgba(37, 99, 235, 0.28);
}

.button-muted {
  background: #e8efff;
  color: #1e3a8a;
}

.hero {
  padding: 6.4rem 0 4.8rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2.6rem;
  align-items: center;
}

.kicker {
  display: inline-block;
  font-weight: 700;
  color: #2563eb;
  letter-spacing: 0.08em;
  margin-bottom: 0.7rem;
  font-size: 0.77rem;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(2.4rem, 5.2vw, 4.1rem);
  line-height: 1.05;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.95rem, 3.6vw, 2.95rem);
  line-height: 1.13;
  margin-bottom: 0.8rem;
  letter-spacing: -0.02em;
}

.lead,
.section-copy {
  color: var(--muted);
  max-width: 62ch;
  font-size: 1.05rem;
}

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

.hero-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.9rem;
  position: relative;
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: -30% -20% auto auto;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(47, 107, 255, 0.26), transparent 68%);
  pointer-events: none;
}

.hero-logo {
  width: min(210px, 70%);
  height: auto;
  display: block;
  margin-bottom: 0.75rem;
}

.team-photo {
  width: min(340px, 92%);
  height: auto;
  object-fit: cover;
  border-radius: 14px;
  display: block;
  margin-bottom: 0.9rem;
}

.hero-panel ul {
  margin: 0.6rem 0 0;
  padding-left: 1.2rem;
}

.contact-list {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.contact-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.48rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(129, 157, 235, 0.55);
  color: #1e3a8a;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.contact-list a:hover {
  background: rgba(59, 130, 246, 0.12);
  color: #1d4ed8;
  transform: translateY(-1px);
}

.contact-list svg,
.social-button svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  flex: 0 0 auto;
}

.social-button {
  gap: 0.45rem;
}

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

.hero-stats article {
  background: #f3f7ff;
  border: 1px solid #d6e1fb;
  border-radius: var(--radius-sm);
  padding: 1.05rem;
}

.hero-stats h3 {
  margin: 0 0 0.2rem;
  font-size: 0.95rem;
}

.hero-stats p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.section {
  padding: 5.4rem 0;
}

.trust-strip {
  padding-top: 1.5rem;
  padding-bottom: 1.2rem;
}

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

.trust-grid article {
  background: #ffffff;
  border: 1px solid #d7e0f4;
  border-radius: var(--radius-sm);
  padding: 1.2rem;
}

.trust-grid h3 {
  margin: 0 0 0.2rem;
  font-size: 1rem;
}

.trust-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.section-alt {
  background: linear-gradient(180deg, #f7faff 0%, #f1f6ff 100%);
  border-top: 1px solid #dbe5f8;
  border-bottom: 1px solid #dbe5f8;
}

.section-label {
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.07em;
  font-size: 0.78rem;
  color: #2563eb;
  margin-bottom: 0.8rem;
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.45rem;
}

.card h3 {
  margin-bottom: 0.35rem;
}

.card p,
.profile p,
.quote-card p {
  color: var(--muted);
}

.compact {
  margin-top: 1.5rem;
}

.journey-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}

.journey-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.45rem;
}

.journey-card h3 {
  margin-bottom: 0.35rem;
}

.journey-card p {
  margin: 0;
  color: var(--muted);
}

.split {
  display: grid;
  gap: 1.35rem;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: stretch;
}

.quote-card {
  background: linear-gradient(155deg, #2f6bff, #2149c6);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.quote-card p {
  color: #eef2ff;
  margin: 0;
  font-weight: 500;
  font-size: clamp(1.22rem, 1.9vw, 1.62rem);
  line-height: 1.5;
}

.profile {
  margin-top: 1.55rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.55rem;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 980px;
  margin: 0 auto;
}

.team-grid .profile {
  margin-top: 0;
}

.team-member {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 1.15rem;
  align-items: start;
  padding: 1.2rem;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff, #f5f9ff);
  border: 1px solid #d6e1fb;
  border-left: 4px solid #3b82f6;
}

.team-member .team-photo {
  width: 100%;
  max-width: 190px;
  margin-bottom: 0;
  border-radius: 12px;
}

.team-member-content p {
  margin-bottom: 0.72rem;
  color: #334155;
  line-height: 1.62;
}

.team-member .profile-name {
  font-size: 1.42rem;
  line-height: 1.2;
  margin-bottom: 0.2rem;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.team-member .profile-role {
  font-size: 1.08rem;
  margin-bottom: 0.9rem;
  color: #2563eb;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.team-hero .hero-grid {
  grid-template-columns: 1fr;
  max-width: 980px;
  margin: 0 auto;
}

.team-hero .hero-copy,
.contact-hero .hero-copy {
  max-width: 940px;
}

.contact-hero .hero-grid {
  grid-template-columns: 1fr;
  max-width: 980px;
  margin: 0 auto;
}

.contact-hero h1 {
  font-size: clamp(2.9rem, 6.2vw, 5rem);
  max-width: 20ch;
}

.profile-name {
  margin-bottom: 0.15rem;
  color: #0f172a;
  font-weight: 700;
}

.profile-role {
  margin-bottom: 0.8rem;
  color: #2563eb;
  font-weight: 600;
}

.cta {
  padding-top: 5.6rem;
  padding-bottom: 6rem;
}

.cta-wrap {
  text-align: center;
  background: linear-gradient(145deg, #2f6bff, #1f3f9d);
  border-radius: 24px;
  padding: 3rem 1.7rem;
  box-shadow: var(--shadow);
}

.cta-wrap h2 {
  margin-bottom: 0.5rem;
}

.cta-wrap p {
  margin: 0 auto 1.2rem;
  max-width: 62ch;
  color: #d8e5ff;
}

.cta-wrap .button {
  background: #ffffff;
  color: #14358e;
}

.site-footer {
  padding: 2.4rem 0;
  border-top: 1px solid var(--line);
}

.footer-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  color: var(--muted);
}

.card,
.journey-card,
.trust-grid article,
.profile,
.hero-stats article {
  transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease, background-color 260ms ease;
}

.card:hover,
.journey-card:hover,
.trust-grid article:hover,
.profile:hover,
.hero-stats article:hover {
  transform: translateY(-4px);
  border-color: rgba(129, 157, 235, 0.6);
  box-shadow: 0 18px 34px rgba(9, 18, 44, 0.4);
}

.quote-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(19, 50, 132, 0.5);
}

.hero-copy {
  animation: fade-up 650ms ease-out both;
}

.hero-panel {
  animation: fade-up 700ms ease-out 120ms both;
}

.hero-stats article:nth-child(1),
.trust-grid article:nth-child(1),
.card:nth-child(1),
.journey-card:nth-child(1) {
  animation: fade-up 600ms ease-out 100ms both;
}

.hero-stats article:nth-child(2),
.trust-grid article:nth-child(2),
.card:nth-child(2),
.journey-card:nth-child(2) {
  animation: fade-up 650ms ease-out 180ms both;
}

.trust-grid article:nth-child(3),
.card:nth-child(3),
.journey-card:nth-child(3) {
  animation: fade-up 700ms ease-out 240ms both;
}

.journey-card:nth-child(4) {
  animation: fade-up 760ms ease-out 300ms both;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@media (max-width: 900px) {
  .menu {
    display: none;
  }

  .hero-grid,
  .cards,
  .split,
  .journey-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

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

  .team-member {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .team-member .team-photo {
    max-width: 220px;
  }

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

  .hero {
    padding-top: 5rem;
    padding-bottom: 3.8rem;
  }

  .hero-logo {
    width: min(170px, 55%);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
