:root {
  --bg: #0f1115;
  --surface: #16191f;
  --border: #2a2e37;
  --text-main: #f0f2f5;
  --text-muted: #8b92a5;
  --text-soft: #b0b8c8;
  --accent-boy: #5eead4;
  --accent-girl: #fda4af;

  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;

  --transition: 0.2s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
               Helvetica, Arial, sans-serif;
  background-color: var(--bg);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent-boy);
  outline-offset: 3px;
  border-radius: 4px;
}

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 17, 21, 0.8);
  border-bottom: 1px solid var(--border);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.logo span {
  color: var(--text-muted);
  font-weight: 400;
}

.nav-links {
  display: flex;
  gap: 24px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.nav-links a:hover { color: var(--text-main); }

section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 24px;
}

.section-title {
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: -0.5px;
  margin-bottom: 40px;
}

.hero {
  padding: 120px 24px 80px;
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero p {
  max-width: 600px;
  margin: 0 auto 16px;
  font-size: 1.15rem;
  color: var(--text-muted);
}

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

.team-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.profile-card {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition), transform var(--transition);
}

.profile-card:hover {
  border-color: var(--text-muted);
  transform: translateY(-2px);
}

.photo {
  flex-shrink: 0;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  background: #222;
  border: 3px solid var(--border);
}

.boy .photo { border-color: var(--accent-boy); }
.girl .photo { border-color: var(--accent-girl); }

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.info { flex: 1; }

.info h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.info .role {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.info .bio {
  font-size: 1rem;
  color: var(--text-soft);
}

.socials {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: all var(--transition);
}

.socials a svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.socials a:hover {
  color: var(--text-main);
  border-color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
}

.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.service-card {
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition), transform var(--transition);
}

.service-card:hover {
  border-color: var(--text-muted);
  transform: translateY(-2px);
}

.service-card h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

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

.cat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
}

.cat-card:hover {
  border-color: var(--text-muted);
  transform: translateY(-4px);
}

.cat-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #222;
  border-bottom: 1px solid var(--border);
}

.cat-info {
  padding: 20px;
  text-align: center;
}

.cat-info h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.cat-info p {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.contact-block {
  padding: 48px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
}

.contact-block h2 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.contact-block p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.btn-group {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.btn {
  display: inline-block;
  padding: 12px 32px;
  font-size: 0.95rem;
  font-weight: 600;
  background: var(--text-main);
  color: var(--bg);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  transition: opacity var(--transition);
}

.btn:hover { opacity: 0.9; }

.btn.btn-telegram {
  background: #2AABEE;
  color: #fff;
}

.btn.btn-telegram:hover { opacity: 0.85; }

footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 40px 24px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.85rem;
}

footer p {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  line-height: 1.5;
}

.btn-dalink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-weight: 500;
  transition: all var(--transition);
}

.btn-dalink:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--text-muted);
}

@media (max-width: 850px) {
  .profile-card {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
    gap: 24px;
  }

  .socials {
    justify-content: center;
    width: 100%;
  }

  .nav-links { display: none; }

  .contact-block { padding: 40px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}