:root {
  --color-background: #f6f8fb;
  --color-surface: #ffffff;
  --color-accent: #10375c;
  --color-accent-soft: #e7eff9;
  --color-primary: #0d6efd;
  --color-primary-dark: #0a58ca;
  --color-text: #1a1f2b;
  --color-muted: #5a6072;
  --color-border: rgba(16, 55, 92, 0.1);
  --shadow-soft: 0 20px 40px rgba(16, 55, 92, 0.07);
  --shadow-card: 0 24px 48px rgba(16, 55, 92, 0.12);
  --max-width: 1120px;
  --transition: 200ms ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI',
    sans-serif;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-background);
}

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

a:hover,
a:focus {
  color: var(--color-primary-dark);
  text-decoration: underline;
}

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

.container {
  width: min(var(--max-width), 92vw);
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  position: fixed;
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  background: var(--color-primary);
  color: #fff;
  border-radius: 999px;
  z-index: 1000;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 248, 251, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  color: var(--color-text);
}

.brand:hover,
.brand:focus {
  text-decoration: none;
  color: var(--color-primary);
}

.brand--footer {
  color: inherit;
}

.brand--footer:hover,
.brand--footer:focus {
  color: inherit;
}

.brand-logo--footer {
  height: 42px;
}

.brand-logo {
  display: block;
  height: 48px;
  width: auto;
  object-fit: contain;
}

.site-nav ul {
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-weight: 500;
}

.site-nav a {
  color: inherit;
  padding: 0.5rem 0;
  position: relative;
}

.site-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 100%;
  height: 2px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--transition);
}

.site-nav a:hover::after,
.site-nav a:focus::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--color-border);
  background: #fff;
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
  align-items: center;
  gap: 0.5rem;
}

.nav-toggle__icon {
  width: 18px;
  height: 2px;
  background: currentColor;
  position: relative;
  display: inline-block;
}

.nav-toggle__icon::before,
.nav-toggle__icon::after {
  content: '';
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform var(--transition);
}

.nav-toggle__icon::before {
  top: -6px;
}

.nav-toggle__icon::after {
  top: 6px;
}

.hero {
  padding: clamp(4rem, 10vw, 7rem) 0 4rem;
  background: radial-gradient(circle at 20% -10%, rgba(13, 110, 253, 0.25), transparent 60%),
    radial-gradient(circle at 90% 10%, rgba(52, 172, 224, 0.3), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, var(--color-background) 100%);
}

.hero__grid {
  display: grid;
  gap: 3rem;
  align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.85rem;
}

h1,
h2,
h3,
h4 {
  color: var(--color-text);
  margin-top: 0;
}

h1 {
  font-size: clamp(2.25rem, 4vw + 1rem, 3.5rem);
  line-height: 1.1;
}

h2 {
  font-size: clamp(2rem, 2vw + 1.2rem, 2.5rem);
}

h3 {
  font-size: 1.4rem;
}

.lead {
  font-size: 1.1rem;
  color: var(--color-muted);
  max-width: 52ch;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  border: none;
  background: var(--color-primary);
  color: #fff;
  font-weight: 600;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition);
}

.btn:hover,
.btn:focus {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.btn:focus-visible {
  outline: 3px solid rgba(13, 110, 253, 0.25);
  outline-offset: 3px;
}

.btn--ghost {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
  box-shadow: none;
}

.btn--ghost:hover,
.btn--ghost:focus {
  background: rgba(13, 110, 253, 0.08);
  color: var(--color-primary);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.hero__visual {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 32px;
  background: radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.75), transparent 55%),
    linear-gradient(180deg, rgba(13, 110, 253, 0.15), rgba(13, 110, 253, 0.45));
  overflow: hidden;
}

.mountain,
.sun,
.trail {
  position: absolute;
  border-radius: 999px;
}

.mountain {
  width: 120%;
  height: 70%;
  left: -10%;
  bottom: -10%;
  background: linear-gradient(200deg, #0f3057, #2f6690);
  clip-path: polygon(0 100%, 20% 40%, 38% 70%, 57% 20%, 78% 65%, 100% 35%, 100% 100%);
}

.sun {
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, #ffd166 0%, #f89d44 80%);
  top: 18%;
  right: 16%;
}

.trail {
  width: 20px;
  height: 180%;
  background: rgba(255, 255, 255, 0.5);
  bottom: -40%;
  left: 48%;
  transform: rotate(20deg);
}

.section {
  padding: clamp(3.5rem, 6vw, 5rem) 0;
}

.section--accent {
  background: var(--color-accent-soft);
}

.section--alt {
  background: #fff;
}

.section__header {
  text-align: center;
  margin-bottom: 3rem;
}

.section__lead {
  max-width: 60ch;
  margin: 0.75rem auto 0;
  color: var(--color-muted);
}

.section__split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.section__split--reverse {
  direction: rtl;
}

.section__split--reverse > * {
  direction: ltr;
}

.section__visual {
  display: grid;
  gap: 1.25rem;
}

.section__content p + p {
  margin-top: 1rem;
}

.stat-card {
  padding: 1.4rem 1.6rem;
  border-radius: 24px;
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.65);
}

.stat-card__label {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  color: var(--color-muted);
}

.stat-card__value {
  font-size: 1.4rem;
  font-weight: 600;
  margin: 0.35rem 0 0.2rem;
}

.stat-card__meta {
  color: var(--color-muted);
  margin: 0;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.8rem;
}

.card {
  background: var(--color-surface);
  border-radius: 24px;
  padding: 1.8rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.7);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
  overflow: hidden;
}

.card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.12), transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
}

.card:hover::after,
.card:focus-within::after {
  opacity: 1;
}

.card h3 {
  margin: 0;
}

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

.profile {
  width: min(420px, 70vw);
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.12), rgba(13, 110, 253, 0.35));
  border-radius: 32px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  padding: clamp(1.25rem, 3vw, 1.75rem);
  display: grid;
  place-items: center;
}

.profile img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

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

.tile {
  background: var(--color-surface);
  border-radius: 24px;
  padding: 1.6rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.7);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  position: relative;
  align-items: flex-start;
}

.tile__badge {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.2), rgba(52, 172, 224, 0.35));
  display: grid;
  place-items: center;
  font-weight: 600;
  color: var(--color-accent);
  font-size: 1.2rem;
}

.tile__logo {
  width: min(200px, 80%);
  height: auto;
  display: block;
  object-fit: contain;
}

.tile__title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
}

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

.tile__link {
  font-weight: 600;
  font-size: 0.95rem;
}

.tile__link span {
  display: inline-flex;
  transition: transform var(--transition);
}

.tile__link:hover span,
.tile__link:focus span {
  transform: translateX(4px);
}

.testimonial {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem;
  align-items: center;
}

.testimonial__viewport {
  overflow: hidden;
  border-radius: 32px;
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
  min-height: 260px;
  display: flex;
  align-items: stretch;
}

.testimonial__slide {
  padding: clamp(2rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.testimonial__quote {
  font-size: 1.1rem;
  color: var(--color-text);
  font-weight: 500;
}

.person {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.person__avatar,
.person__photo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
}

.person__avatar {
  display: grid;
  place-items: center;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.25), rgba(52, 172, 224, 0.4));
}

.person__photo {
  display: block;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.18), rgba(52, 172, 224, 0.32));
}

.person__name {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0;
}

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

.testimonial__control {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: rgba(13, 110, 253, 0.12);
  color: var(--color-accent);
  font-size: 1.5rem;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition);
  display: grid;
  place-items: center;
}

.testimonial__control:hover,
.testimonial__control:focus {
  transform: scale(1.05);
  background: rgba(13, 110, 253, 0.2);
}

.testimonial__dots {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.testimonial__dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  border: none;
  background: rgba(16, 55, 92, 0.25);
  padding: 0;
  cursor: pointer;
  transition: width var(--transition), background var(--transition);
}

.testimonial__dot[aria-selected='true'] {
  width: 36px;
  background: var(--color-primary);
}

.contact-card {
  background: var(--color-surface);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.contact-card__lead {
  font-weight: 600;
  margin: 0;
}

.contact-card__link {
  font-weight: 700;
  font-size: 1.1rem;
}

.contact-card__note {
  margin: 0;
  color: var(--color-muted);
}

.site-footer {
  background: #0c1f33;
  color: rgba(255, 255, 255, 0.8);
  padding: 2rem 0;
}

.site-footer__layout {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.back-to-top {
  color: rgba(255, 255, 255, 0.9);
}

.back-to-top:hover,
.back-to-top:focus {
  color: #fff;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

[data-observed] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 400ms ease, transform 400ms ease;
}

[data-observed].is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .site-nav {
    position: absolute;
    top: 100%;
    right: 1rem;
    background: var(--color-surface);
    border-radius: 20px;
    box-shadow: var(--shadow-card);
    padding: 1rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.7);
    transform-origin: top right;
    transform: scale(0.95);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--transition), opacity var(--transition),
      visibility var(--transition);
  }

  .site-nav ul {
    flex-direction: column;
    gap: 1rem;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
  }

  .hero__visual {
    max-width: 360px;
    margin: 0 auto;
  }

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

  .testimonial__control {
    order: 1;
    justify-self: center;
  }

  .testimonial__viewport {
    order: 0;
    min-height: auto;
  }
}

@media (max-width: 600px) {
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .section__header {
    text-align: left;
  }

  .section__lead {
    margin-left: 0;
  }

  .site-footer__layout {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
