/* About page styling. Shared navbar and footer remain owned by global.css. */

body {
  --about-ink: #142230;
  --about-heading: #102132;
  --about-muted: rgba(16, 33, 50, 0.72);
  --about-surface: rgba(255, 255, 255, 0.88);
  --about-surface-solid: #ffffff;
  --about-surface-soft: #edf3f7;
  --about-border: rgba(16, 33, 50, 0.10);
  --about-border-strong: rgba(20, 48, 78, 0.16);
  --about-accent: #1f6f7a;
  --about-accent-soft: rgba(31, 111, 122, 0.12);
  --about-navy-soft: rgba(31, 58, 95, 0.08);
  --about-radius: 18px;
  --about-radius-sm: 12px;
  --about-shadow: 0 14px 34px rgba(12, 32, 62, 0.07);
  --about-shadow-soft: 0 10px 24px rgba(12, 32, 62, 0.05);

  background:
    radial-gradient(circle at top right, rgba(31, 111, 122, 0.08), transparent 28%),
    linear-gradient(180deg, #f6f9fb 0%, #eef3f6 54%, #f7f9fb 100%);
  color: var(--about-ink);
}

.about-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 18px 52px;
  box-sizing: border-box;
}

.about-hero {
  padding: 42px 0 24px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.about-kicker {
  margin: 0 0 10px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--about-accent);
  font-weight: 700;
}

.about-title {
  max-width: 900px;
  margin: 0;
  color: var(--about-heading);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.about-subtitle {
  max-width: 80ch;
  margin: 16px 0 0;
  color: rgba(16, 33, 50, 0.86);
  font-size: 1.08rem;
  line-height: 1.72;
}

.about-foundation {
  margin: 16px 0 0;
  color: var(--about-muted);
  font-size: 14px;
}

.about-why {
  position: relative;
  margin: 30px 0 28px;
  padding: 28px 30px;
  overflow: hidden;
  border: 1px solid var(--about-border);
  border-radius: var(--about-radius);
  background: var(--about-surface);
  box-shadow: var(--about-shadow);
}

.about-why::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--about-accent), rgba(31, 111, 122, 0.16));
}

.about-why h2 {
  margin: 0 0 14px;
  color: var(--about-heading);
  font-size: 24px;
  letter-spacing: 0.2px;
}

.about-why p {
  max-width: 90ch;
  margin: 0 0 12px;
  color: rgba(16, 33, 50, 0.84);
  line-height: 1.68;
}

.about-why p:last-child {
  margin-bottom: 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
  padding: 10px 0 34px;
}

.about-card {
  position: relative;
  padding: 22px;
  border: 1px solid var(--about-border);
  border-radius: var(--about-radius);
  background: var(--about-surface);
  backdrop-filter: blur(6px);
  box-shadow: var(--about-shadow-soft);
}

.about-card::before {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 0;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(31, 111, 122, 0.72), rgba(31, 111, 122, 0.08));
}

.about-card-title {
  margin: 0 0 10px;
  color: var(--about-heading);
  font-size: 18px;
}

.about-card p {
  margin: 0;
  color: var(--about-muted);
  line-height: 1.6;
}

.about-list {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding-left: 0;
  list-style: none;
}

.about-list li {
  position: relative;
  margin: 0;
  padding-left: 18px;
  color: rgba(16, 33, 50, 0.82);
  line-height: 1.58;
}

.about-list li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(31, 111, 122, 0.72);
}

.about-section {
  padding: 0;
}

.about-section h2 {
  position: relative;
  margin: 0 0 14px;
  color: var(--about-heading);
  font-size: 20px;
  letter-spacing: 0.2px;
}

.about-section h2::after {
  content: "";
  display: block;
  width: 58px;
  height: 2px;
  margin-top: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(31, 111, 122, 0.64), rgba(31, 111, 122, 0.08));
}

.about-section p {
  max-width: 95ch;
  margin: 0 0 12px;
  color: rgba(16, 33, 50, 0.80);
  line-height: 1.68;
}

.about-section p:last-child {
  margin-bottom: 0;
}

.about-narrative-group {
  display: grid;
  gap: 18px;
  margin: 6px 0 34px;
  padding: 24px;
  border: 1px solid rgba(20, 48, 78, 0.08);
  border-radius: var(--about-radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(237, 243, 247, 0.88));
  box-shadow: var(--about-shadow-soft);
}

.about-section--background,
.about-section--evolution {
  padding: 0;
}

.about-section--background {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(16, 33, 50, 0.08);
}

.about-section--capabilities,
.about-section--founder,
.about-section--structure,
.about-section--specialists {
  margin: 0 0 22px;
  padding: 24px;
  border: 1px solid var(--about-border);
  border-radius: var(--about-radius);
  background: var(--about-surface);
  box-shadow: var(--about-shadow-soft);
}

.about-section--capabilities {
  position: relative;
  margin-top: 6px;
  background: linear-gradient(180deg, #ffffff, #f4f8fa);
}

.about-section--capabilities::before {
  content: "";
  position: absolute;
  top: 0;
  right: 24px;
  left: 24px;
  height: 3px;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(90deg, rgba(31, 111, 122, 0.82), rgba(31, 111, 122, 0.12));
}

.about-section--capabilities .about-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.about-section--capabilities .about-list li {
  min-height: 100%;
  padding: 12px 14px 12px 28px;
  border: 1px solid rgba(16, 33, 50, 0.08);
  border-radius: var(--about-radius-sm);
  background: rgba(255, 255, 255, 0.72);
}

.about-section--capabilities .about-list li::before {
  top: 1.25em;
  left: 14px;
}

.about-section--founder {
  position: relative;
  padding: 28px 30px 28px 34px;
  border-color: rgba(47, 60, 126, 0.14);
  background: linear-gradient(180deg, #ffffff, #f3f5f9);
  box-shadow: var(--about-shadow);
}

.about-section--founder::before {
  content: "";
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 0;
  width: 4px;
  border-radius: 0 999px 999px 0;
  background: linear-gradient(180deg, rgba(47, 60, 126, 0.72), rgba(31, 111, 122, 0.18));
}

.about-section--founder h2 {
  font-size: 22px;
}

.about-founder-link {
  color: #176375;
  font-weight: 650;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.about-founder-link:hover {
  color: #0c5f87;
}

.about-section--structure,
.about-section--specialists {
  background: rgba(255, 255, 255, 0.78);
  box-shadow: none;
}

.about-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 30px 0 0;
  padding: 22px 24px;
  border: 1px solid var(--about-border-strong);
  border-radius: var(--about-radius);
  background: linear-gradient(180deg, #ffffff, #f1f6f8);
  box-shadow: var(--about-shadow-soft);
}

.about-cta strong {
  color: var(--about-heading);
  font-size: 16px;
}

.about-cta-subtitle {
  color: var(--about-muted);
}

.about-cta a {
  display: inline-block;
  padding: 10px 14px;
  border: 1px solid rgba(31, 111, 122, 0.22);
  border-radius: 12px;
  background: #fff;
  color: #0c5f87;
  font-weight: 700;
  text-decoration: none;
}

.about-cta a:hover {
  border-color: rgba(31, 111, 122, 0.36);
  background: #f8fbfc;
}

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

  .about-section--capabilities .about-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .about-wrap {
    padding-right: 14px;
    padding-left: 14px;
  }

  .about-hero {
    padding-top: 30px;
  }

  .about-why,
  .about-narrative-group,
  .about-section--capabilities,
  .about-section--founder,
  .about-section--structure,
  .about-section--specialists,
  .about-cta {
    padding: 20px;
    border-radius: 14px;
  }

  .about-section--founder {
    padding-left: 24px;
  }

  .about-card {
    padding: 20px;
  }
}
