:root {
  --background: #ffffff;
  --foreground: #1c2b5f;
  --primary: #1c2b5f;
  --primary-foreground: #ffffff;
  --secondary: #f3f4f7;
  --muted-foreground: #737782;
  --accent: #db1f2b;
  --border: #e3e5eb;
  --shadow: 0 18px 40px rgba(28, 43, 95, 0.09);
  --radius: 8px;
  --heading: "Space Grotesk", sans-serif;
  --body: "Inter", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

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

.container {
  width: min(100% - 48px, 1200px);
  margin: 0 auto;
}

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-nav.is-scrolled,
.site-nav.is-open {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(28, 43, 95, 0.06);
  backdrop-filter: blur(14px);
}

.nav-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

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

.nav-link {
  position: relative;
  color: var(--muted-foreground);
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.nav-link::after {
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  content: "";
  background: var(--accent);
  transition: width 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--primary);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  width: 100%;
}

.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  color: var(--primary);
  cursor: pointer;
}

.mobile-nav {
  max-height: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.98);
  transition: max-height 0.3s ease;
}

.site-nav.is-open .mobile-nav {
  max-height: 420px;
  border-top: 1px solid var(--border);
}

.mobile-nav-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 18px;
  padding-bottom: 22px;
}

.mobile-link {
  color: var(--muted-foreground);
  font-weight: 600;
  padding: 6px 0;
}

.mobile-link.is-active {
  color: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

.btn-sm {
  min-height: 38px;
  padding: 0 16px;
  font-size: 0.9rem;
}

.btn-accent {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 14px 26px rgba(219, 31, 43, 0.18);
}

.btn-accent:hover {
  background: #c51b26;
}

.btn-outline {
  border-color: var(--border);
  color: var(--primary);
  background: #ffffff;
}

main {
  min-height: calc(100vh - 330px);
  padding-top: 72px;
}

.section,
.section-hero {
  position: relative;
  overflow: hidden;
}

.section {
  padding: 96px 0;
}

.section-muted {
  background: rgba(243, 244, 247, 0.7);
}

.grid-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.32;
  background-image: linear-gradient(rgba(227, 229, 235, 0.8) 1px, transparent 1px), linear-gradient(90deg, rgba(227, 229, 235, 0.8) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero::before,
.hero::after {
  position: absolute;
  content: "";
  width: 280px;
  height: 280px;
  border-radius: 999px;
  background: rgba(219, 31, 43, 0.06);
  filter: blur(35px);
}

.hero::before {
  top: 14%;
  right: 8%;
}

.hero::after {
  bottom: 8%;
  left: 5%;
  width: 360px;
  height: 360px;
  background: rgba(28, 43, 95, 0.06);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--secondary);
  color: var(--muted-foreground);
  font-size: 0.9rem;
  font-weight: 700;
}

.eyebrow span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--heading);
  line-height: 1.12;
  letter-spacing: 0;
}

.hero h1 {
  margin-bottom: 24px;
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 800;
}

.hero h1 span,
.cta-section h2 span {
  color: var(--accent);
}

.lead {
  max-width: 620px;
  margin: 0 0 32px;
  color: var(--muted-foreground);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.section-heading {
  margin: 0 auto 56px;
  text-align: center;
}

.section-heading p,
.page-header p {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-heading h2 {
  font-size: clamp(2rem, 4.5vw, 4rem);
}

.service-mini-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.mini-card,
.value-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.mini-card {
  padding: 24px;
}

.mini-card:hover,
.value-card:hover {
  border-color: rgba(219, 31, 43, 0.35);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.icon-box {
  display: inline-flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(219, 31, 43, 0.1);
  color: var(--accent);
}

.icon-box.dark {
  background: rgba(219, 31, 43, 0.2);
}

.mini-card h3,
.value-card h3 {
  margin: 18px 0 8px;
  font-size: 1rem;
}

.mini-card p,
.value-card p,
.team-card p,
.contact-item p,
.story-grid p,
.mission-grid p {
  margin: 0;
  color: var(--muted-foreground);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat strong {
  display: block;
  font-family: var(--heading);
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 1;
}

.stat em {
  color: var(--accent);
  font-style: normal;
}

.stat p {
  margin: 12px 0 0;
  color: var(--muted-foreground);
  font-size: 0.95rem;
}

.cta-section {
  position: relative;
  overflow: hidden;
  padding: 96px 0;
  background: var(--primary);
  color: #ffffff;
  text-align: center;
}

.cta-section .grid-pattern {
  opacity: 0.08;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  margin: 0 auto 22px;
  max-width: 840px;
  font-size: clamp(2rem, 4.5vw, 4rem);
}

.cta-section p {
  max-width: 600px;
  margin: 0 auto 30px;
  color: rgba(255, 255, 255, 0.72);
}

.page-header {
  position: relative;
  overflow: hidden;
  padding: 96px 0;
  background: rgba(243, 244, 247, 0.75);
  text-align: center;
}

.page-header .container {
  position: relative;
  z-index: 1;
}

.page-header h1 {
  margin-bottom: 18px;
  font-size: clamp(2.6rem, 6vw, 5.5rem);
}

.page-header span {
  display: block;
  max-width: 700px;
  margin: 0 auto;
  color: var(--muted-foreground);
  font-size: 1.1rem;
}

.service-list {
  display: grid;
  gap: 70px;
}

.service-row {
  display: flex;
  align-items: center;
  gap: 56px;
}

.service-row.reverse {
  flex-direction: row-reverse;
}

.service-symbol {
  display: flex;
  width: min(100%, 340px);
  min-height: 240px;
  flex: 0 0 32%;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--secondary);
  color: var(--accent);
}

.service-symbol svg {
  width: 76px;
  height: 76px;
  stroke-width: 1.5;
}

.service-detail h2,
.story-grid h2 {
  margin-bottom: 18px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.service-detail p {
  margin: 0 0 24px;
  color: var(--muted-foreground);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.feature-grid span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
}

.feature-grid svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: var(--accent);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.story-grid p + p {
  margin-top: 16px;
}

.mission-card {
  position: relative;
  display: grid;
  aspect-ratio: 1;
  place-content: center;
  justify-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(28, 43, 95, 0.1), rgba(219, 31, 43, 0.1));
  text-align: center;
}

.mission-card svg {
  width: 70px;
  height: 70px;
  margin-bottom: 18px;
  color: var(--accent);
  stroke-width: 1.5;
}

.mission-card strong {
  font-family: var(--heading);
  font-size: 1.45rem;
}

.mission-card span {
  color: var(--muted-foreground);
}

.mission-band {
  padding: 84px 0;
  background: var(--primary);
  color: #ffffff;
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 56px;
}

.mission-grid h2 {
  margin: 18px 0 14px;
  font-size: 2rem;
}

.mission-grid p {
  color: rgba(255, 255, 255, 0.72);
}

.team-grid,
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.team-card {
  text-align: center;
}

.avatar {
  display: grid;
  width: 132px;
  height: 132px;
  place-items: center;
  margin: 0 auto 18px;
  border: 2px solid var(--border);
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(28, 43, 95, 0.1), rgba(219, 31, 43, 0.1));
  color: rgba(28, 43, 95, 0.35);
  font-family: var(--heading);
  font-size: 2rem;
  font-weight: 800;
}

.team-card h3 {
  margin-bottom: 4px;
  font-size: 1.05rem;
}

.value-card {
  padding: 28px;
  text-align: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
}

.contact-info h2 {
  margin-bottom: 32px;
  font-size: 2rem;
}

.contact-list {
  display: grid;
  gap: 24px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-item h3 {
  margin-bottom: 2px;
  font-size: 1rem;
}

.contact-form {
  display: grid;
  gap: 20px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--foreground);
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #ffffff;
  color: var(--foreground);
  font: inherit;
  font-weight: 400;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input {
  height: 46px;
  padding: 0 14px;
}

textarea {
  min-height: 150px;
  padding: 12px 14px;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: rgba(219, 31, 43, 0.6);
  box-shadow: 0 0 0 3px rgba(219, 31, 43, 0.1);
}

.not-found {
  display: grid;
  min-height: 70vh;
  place-items: center;
  background: var(--secondary);
  text-align: center;
}

.not-found h1 {
  font-size: 4rem;
}

.not-found p {
  color: var(--muted-foreground);
  font-size: 1.2rem;
}

.not-found a {
  color: var(--primary);
  text-decoration: underline;
}

.site-footer {
  background: var(--primary);
  color: #ffffff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 1fr 1.2fr;
  gap: 46px;
  padding-top: 64px;
  padding-bottom: 48px;
}

.footer-logo {
  height: 32px;
  width: auto;
  margin-bottom: 18px;
  filter: brightness(0) invert(1);
}

.footer-grid p,
.footer-list a,
.footer-list span,
.footer-contact span,
.footer-bottom {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
}

.footer-grid h4 {
  margin-bottom: 18px;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-list,
.footer-contact {
  display: grid;
  gap: 10px;
}

.footer-list a {
  transition: color 0.2s ease;
}

.footer-list a:hover,
.footer-bottom a:hover {
  color: var(--accent);
}

.footer-contact span {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.footer-contact svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  color: var(--accent);
  margin-top: 3px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 28px;
  padding-bottom: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom div {
  display: flex;
  gap: 28px;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  max-width: min(360px, calc(100vw - 40px));
  padding: 14px 16px;
  border-radius: 8px;
  background: var(--primary);
  color: #ffffff;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.toast.is-error {
  background: var(--accent);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .service-mini-grid,
  .team-grid,
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-row,
  .service-row.reverse {
    gap: 36px;
  }
}

@media (max-width: 820px) {
  .container {
    width: min(100% - 32px, 1200px);
  }

  .desktop-nav {
    display: none;
  }

  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .section,
  .cta-section {
    padding: 72px 0;
  }

  .page-header {
    padding: 72px 0;
  }

  .hero {
    min-height: 78vh;
  }

  .stats-grid,
  .story-grid,
  .mission-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .service-row,
  .service-row.reverse {
    flex-direction: column;
    align-items: flex-start;
  }

  .service-symbol {
    width: 100%;
    flex-basis: auto;
  }

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

@media (max-width: 560px) {
  .service-mini-grid,
  .team-grid,
  .values-grid,
  .feature-grid,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .btn {
    width: 100%;
  }

  .mobile-cta,
  .contact-form .btn {
    width: fit-content;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}
