:root {
  --navy: #002d5a;
  --navy-deep: #001a36;
  --navy-light: #0a4a8a;
  --white: #ffffff;
  --gray: #727271;
  --gray-light: #f4f6f8;
  --text: #1a1a1a;
  --text-muted: #5a5a5a;
  --border: rgba(0, 45, 90, 0.12);
  --font: 'Manrope', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: min(1120px, calc(100% - 3rem));
  margin-inline: auto;
}

.section { padding: 6rem 0; }

.section__title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.section__title--light { color: var(--white); }

/* Header */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(0, 29, 54, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
  gap: 2rem;
}

.logo img {
  display: block;
  height: 2.5rem;
  width: auto;
  filter: brightness(0) invert(1);
}

.nav {
  display: flex;
  gap: 2rem;
}

.nav a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav a:hover { color: var(--white); }

.header__cta {
  padding: 0.55rem 1.25rem;
  background: var(--white);
  color: var(--navy);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 4px;
  transition: opacity 0.2s;
}

.header__cta:hover { opacity: 0.9; }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  background: var(--navy-deep);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 85% 30%, rgba(10, 74, 138, 0.5) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 95% 70%, rgba(0, 45, 90, 0.6) 0%, transparent 50%);
}
.hero__photo {
  position: absolute;
  inset: 0;
  background: url(../../assets/hero-security.jpg) center/cover no-repeat;
  opacity: 0.22;
  pointer-events: none;
}
.visual-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 3.5rem;
}
.visual-band img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  padding-top: 4.5rem;
}

.hero__year {
  position: absolute;
  top: 6rem;
  left: 0;
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  font-weight: 500;
}

.hero__content {
  max-width: 42rem;
}

.hero__title {
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 1.5rem;
}

.hero__tagline {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: rgba(255,255,255,0.88);
  font-weight: 500;
  max-width: 28rem;
}

.hero__link {
  position: absolute;
  bottom: 3rem;
  right: 0;
  color: var(--navy);
  background: var(--white);
  padding: 1rem 2rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

/* About */
.about { background: var(--white); }

.about__header {
  max-width: 52rem;
  margin-bottom: 4rem;
}

.about__intro {
  margin-top: 1.25rem;
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.principles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem 4rem;
}

.principle__num {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.principle__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.principle__text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Services */
.services {
  position: relative;
  background: var(--navy);
  overflow: hidden;
}

.services__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 10% 80%, rgba(10, 74, 138, 0.4) 0%, transparent 55%),
    radial-gradient(ellipse 40% 30% at 90% 20%, rgba(0, 26, 54, 0.8) 0%, transparent 50%);
}

.services__inner { position: relative; z-index: 1; }

.services__header {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 4rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.services__intro {
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  line-height: 1.7;
  align-self: end;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem 3rem;
}

.service__index {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.service__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.6rem;
}

.service__text {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.65;
}

/* Contacts */
.contacts {
  display: grid;
  grid-template-columns: 2fr 3fr;
  min-height: 28rem;
  padding: 0;
}

.contacts__panel {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 3rem 4rem;
}

.contacts__panel--dark {
  /* Отличается от navy hero/услуг — глубокий бирюзовый */
  background: #0a4f5c;
  position: relative;
}

.contacts__title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}

.contacts__panel--light {
  background: var(--white);
  justify-content: center;
  gap: 0;
}

.contact-item {
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--border);
}

.contact-item:first-child { padding-top: 0; }
.contact-item:last-child { border-bottom: none; }

.contact-item__label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.contact-item__value {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
}

a.contact-item__value:hover { text-decoration: underline; }

/* Footer */
.footer {
  background: var(--gray-light);
  padding: 2rem 0;
}

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

.footer__inner img { height: 2rem; width: auto; opacity: 0.7; }
.footer__inner p { font-size: 0.85rem; color: var(--text-muted); }

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Responsive */
@media (max-width: 900px) {
  .nav { display: none; }

  .principles,
  .services__header,
  .services__grid,
  .visual-band { grid-template-columns: 1fr; }

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

  .contacts__panel { padding: 2.5rem 1.5rem; }

  .hero__link {
    position: static;
    margin-top: 3rem;
    align-self: flex-start;
  }
}

@media (max-width: 600px) {
  .header__cta { display: none; }
  .section { padding: 4rem 0; }
}
