/* ==========================================================================
   ARD — Коллекторское агентство
   Design tokens
   ========================================================================== */

:root {
  --navy-900: #0a1c2e;
  --navy-800: #0f2740;
  --navy-700: #16344f;
  --navy-600: #1f4364;
  --gold-500: #c8973f;
  --gold-400: #dbb469;
  --gray-900: #16202b;
  --gray-700: #45525f;
  --gray-500: #6b7684;
  --gray-200: #e4e8ec;
  --gray-100: #f3f5f7;
  --white: #ffffff;

  --radius: 10px;
  --shadow-sm: 0 2px 10px rgba(10, 28, 46, 0.06);
  --shadow-md: 0 12px 32px rgba(10, 28, 46, 0.10);
  --container: 1140px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--white);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-700);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  color: var(--gray-900);
  margin: 0;
  line-height: 1.25;
}

p {
  margin: 0 0 18px;
}

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

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 16px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--gold-500);
  display: inline-block;
}

.section-head {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-head h2 {
  font-size: 34px;
  margin-bottom: 14px;
}

.section-head p {
  color: var(--gray-500);
  margin-bottom: 0;
}

section {
  padding: 90px 0;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-gold {
  background: var(--gold-500);
  color: var(--navy-900);
}

.btn-gold:hover {
  background: var(--gold-400);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   Header / Navigation
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 22px 0;
  transition: all 0.25s ease;
  background: transparent;
}

.site-header.is-scrolled {
  background: var(--navy-900);
  padding: 14px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 8px;
  background: linear-gradient(145deg, var(--gold-500), var(--gold-400));
  color: var(--navy-900);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
}

.brand-name {
  max-width: 220px;
}

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

.nav a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
}

.header-phone i {
  color: var(--gold-400);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.lang-link {
  color: rgba(255, 255, 255, 0.55);
}

.lang-link.is-active {
  color: var(--gold-400);
}

.lang-link:hover {
  color: var(--white);
}

.lang-sep {
  color: rgba(255, 255, 255, 0.3);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--white);
  display: block;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  background: url(../img/header-bg.jpg) center/cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(10, 28, 46, 0.94) 0%, rgba(10, 28, 46, 0.86) 45%, rgba(15, 39, 64, 0.75) 100%);
}

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

.hero-content {
  max-width: 720px;
}

.hero-content .eyebrow {
  color: var(--gold-400);
}

.hero h1 {
  color: var(--white);
  font-size: 46px;
  line-height: 1.3;
  margin-bottom: 22px;
}

.hero-lead {
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  max-width: 560px;
  margin-bottom: 36px;
}

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

/* ==========================================================================
   Platform section
   ========================================================================== */

.platform {
  background: var(--white);
}

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

.platform-cta {
  display: flex;
  align-items: center;
  gap: 28px;
  background: var(--navy-900);
  border-radius: var(--radius);
  padding: 36px 40px;
}

.platform-cta-icon {
  width: 56px;
  height: 56px;
  flex: none;
  border-radius: 50%;
  background: rgba(200, 151, 63, 0.16);
  color: var(--gold-400);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.platform-cta-text {
  flex: 1;
}

.platform-cta-text h3 {
  color: var(--white);
  font-size: 19px;
  margin-bottom: 8px;
}

.platform-cta-text p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
  margin-bottom: 0;
}

.platform-cta .btn {
  flex: none;
  white-space: nowrap;
}

/* ==========================================================================
   Notice / alert section
   ========================================================================== */

.notice {
  background: var(--gray-100);
}

.notice-card {
  background: var(--white);
  border-left: 4px solid var(--gold-500);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 40px 44px;
}

.notice-card-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

.notice-icon {
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 50%;
  background: rgba(200, 151, 63, 0.14);
  color: var(--gold-500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.notice-card-head h2 {
  font-size: 24px;
}

.notice-card p {
  color: var(--gray-700);
}

.notice-address {
  color: var(--gray-900);
  font-weight: 600;
}

.notice-phones {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.notice-phones li {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--gray-100);
  border-radius: 6px;
  padding: 12px 16px;
  font-weight: 600;
  color: var(--navy-800);
  font-size: 14px;
}

.notice-phones i {
  color: var(--gold-500);
}

/* ==========================================================================
   About
   ========================================================================== */

.about-intro {
  max-width: 780px;
  margin: 0 auto 56px;
  text-align: center;
  font-size: 18px;
  color: var(--gray-900);
  font-weight: 500;
}

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

.feature-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 32px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: var(--navy-900);
  color: var(--gold-400);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 15px;
  margin-bottom: 0;
  color: var(--gray-500);
}

/* ==========================================================================
   Contact
   ========================================================================== */

.contact {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.75);
}

.contact .section-head h2,
.contact .section-head p {
  color: var(--white);
}

.contact .section-head p {
  color: rgba(255, 255, 255, 0.6);
}

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

.contact-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
}

.contact-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: rgba(200, 151, 63, 0.14);
  color: var(--gold-400);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.contact-card h3 {
  color: var(--white);
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.contact-card p,
.contact-card a {
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
  font-size: 16px;
  font-weight: 500;
}

.contact-card a:hover {
  color: var(--gold-400);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--navy-800);
  padding: 22px 0;
  text-align: center;
}

.site-footer p {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

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

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

  .hero h1 {
    font-size: 34px;
  }

  .platform-cta {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 780px) {
  .nav,
  .header-phone {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .site-header.nav-open .nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--navy-900);
    padding: 20px 24px 28px;
    gap: 18px;
  }

  .notice-card {
    padding: 28px 22px;
  }

  section {
    padding: 64px 0;
  }
}
