:root {
  --primary: #1fa8ff;
  --primary-dark: #0d7ad0;
  --accent: #44d48a;
  --bg-soft: #f9fbff;
  --text-main: #1c2533;
  --text-muted: #7a8597;
  --border-soft: #e2e7f3;
  --card-radius: 20px;
  --shadow-soft: 0 18px 40px rgba(14, 34, 80, 0.08);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-main);
  background: #ffffff;
}

a { text-decoration: none; color: inherit; }

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 10% 20%, rgba(79, 209, 255, 0.16) 0, transparent 55%),
    radial-gradient(circle at 90% 10%, rgba(68, 212, 138, 0.16) 0, transparent 55%);
  background-attachment: fixed;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(226, 231, 243, 0.8);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 20px;
  color: var(--primary-dark);
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  box-shadow: 0 10px 25px rgba(31, 168, 255, 0.35);
}

.nav {
  display: flex;
  gap: 26px;
  font-size: 14px;
  color: var(--text-muted);
}

.nav a {
  position: relative;
  padding-bottom: 2px;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--primary);
  transition: width 0.2s ease;
}

.nav a:hover { color: var(--primary-dark); }
.nav a:hover::after { width: 100%; }

.header-contacts {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
}

.header-phone {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.header-phone span:first-child {
  font-size: 11px;
  color: var(--text-muted);
}

.header-phone a { font-weight: 600; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  box-shadow: 0 14px 30px rgba(31, 168, 255, 0.4);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(31, 168, 255, 0.5);
}

.btn-outline {
  border: 1px solid rgba(31, 168, 255, 0.4);
  color: var(--primary-dark);
  background: rgba(255, 255, 255, 0.9);
}

.btn-outline:hover { background: rgba(31, 168, 255, 0.05); }

.btn-sm { padding: 6px 14px; font-size: 12px; }

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(31, 168, 255, 0.06);
  color: var(--primary-dark);
  font-size: 11px;
}

.section { padding: 40px 0; }
.section-alt { background: var(--bg-soft); }

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 24px;
}

.section-title { font-size: 24px; margin: 0; }

.section-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 520px;
  margin: 6px 0 0;
}

/* Breadcrumbs */

.section-crumbs { padding-top: 16px; padding-bottom: 0; }

.breadcrumbs {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}

.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--primary-dark); }
.breadcrumbs-current { color: var(--text-main); }

/* Top stats */

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 26px;
}

.stat-card {
  border-radius: var(--card-radius);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  padding: 16px 18px;
  font-size: 13px;
  color: var(--text-muted);
}

.stat-card strong {
  display: block;
  font-size: 15px;
  color: var(--text-main);
  margin-bottom: 4px;
}

/* Main about block */

.about-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 22px;
  align-items: stretch;
}

.card {
  border-radius: var(--card-radius);
  background: white;
  box-shadow: var(--shadow-soft);
  padding: 20px 22px;
}

.card-soft {
  box-shadow: 0 10px 26px rgba(18, 40, 92, 0.06);
  border: 1px solid rgba(226, 231, 243, 0.9);
}

.about-text h2 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 20px;
}

.about-text p {
  font-size: 14px;
  color: var(--text-main);
  margin: 0 0 10px;
}

.about-text p + p { margin-top: 4px; }

.about-photo-card {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.about-photo-card-box {
  display: flex;
  width: 100%;
  justify-content: center;
}

.card img {
  width: 100%;
  height: auto;
  object-fit: cover;
  max-width: 300px;
  border-radius: var(--card-radius);
}

.about-photo-card::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.55), transparent 65%);
  right: -80px;
  top: -40px;
  opacity: 0.9;
}

.about-photo-card span {
  position: relative;
  z-index: 1;
  font-weight: 600;
  font-size: 18px;
  text-align: center;
  margin-bottom: 4px;
}

.about-photo-note {
  position: relative;
  z-index: 1;
  font-size: 12px;
  opacity: 0.9;
  margin-bottom: 4px;
}

/* Requisites & guarantees */

.about-bottom-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 18px;
  margin-top: 26px;
}

.requisites-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.requisites-table td {
  padding: 6px 0;
  border-bottom: 1px solid rgba(226, 231, 243, 0.8);
}

.requisites-table td:first-child {
  width: 160px;
  color: var(--text-muted);
}

.requisites-table tr:last-child td {
  border-bottom: none;
}

.about-block-title {
  font-weight: 600;
  margin-bottom: 10px;
}

.guarantees-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  color: var(--text-main);
}

.guarantee-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(68, 212, 138, 0.08);
  font-size: 12px;
}

.guarantee-pill-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #44d48a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 10px;
}

.about-note {
  margin-top: 10px;
  font-size: 12px;
  color: var(--text-muted);
}

/* History / values section */

.about-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 20px;
}

.about-list {
  padding-left: 18px;
  font-size: 13px;
  color: var(--text-main);
}

.about-list li + li {
  margin-top: 4px;
}

@media (max-width: 1024px) {
  .header-inner { gap: 12px; }
  .nav { gap: 18px; }
  .about-main-grid { grid-template-columns: 1fr; }
  .about-bottom-grid { grid-template-columns: 1fr; }
  .about-columns { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav { display: none; }
  .about-stats { grid-template-columns: 1fr; }
}

@media (max-width: 540px) {
  .section-title { font-size: 22px; }
}