/* Vypiski24 Marketing Site Styles */
/* Единый стиль с личным кабинетом */

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

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.6;
  color: #313345;
  background: #FFFFFF;
}

/* Header Navigation - в стиле ЛК */
header {
  position: sticky;
  top: 0;
  background: #FFFFFF;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid #E6EAF2;
  z-index: 1000;
  padding: 0;
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #0d3b66;
  font-weight: 600;
  font-size: 18px;
}

.header-logo img {
  height: 40px;
  width: auto;
}

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

nav a {
  padding: 8px 16px;
  color: #313345;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  border-radius: 6px;
  transition: all 0.2s;
}

nav a:hover {
  background: rgba(13, 59, 102, 0.08);
  color: #0d3b66;
}

nav a.active {
  background: rgba(13, 59, 102, 0.1);
  color: #0d3b66;
}

nav a.button-primary {
  background: #0d3b66;
  color: #FFFFFF;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  color: #0d3b66;
  padding: 4px 8px;
  border-radius: 6px;
}
.menu-toggle:focus-visible {
  outline: 2px solid #0d3b66;
}

/* Accessibility helper */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  border: 0;
}

@media (max-width: 860px) {
  .menu-toggle { display: inline-flex; }
  nav#site-nav {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #FFFFFF;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 24px 24px;
    border-bottom: 1px solid #E6EAF2;
    display: none;
    gap: 0;
  }
  nav#site-nav a { width: 100%; margin: 4px 0; }
  nav#site-nav.open { display: flex; }
  .header-container { position: relative; }
}

nav a.button-primary:hover {
  background: #12508f;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #0d3b66 0%, #80b500 100%);
  color: #FFFFFF;
  text-align: center;
  padding: 80px 24px;
}

.hero h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}

.hero p {
  font-size: 20px;
  margin-bottom: 32px;
  opacity: 0.95;
}

/* Main Content */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px;
}

section {
  margin-bottom: 64px;
}

h2 {
  font-size: 32px;
  font-weight: 700;
  color: #0d3b66;
  margin-bottom: 24px;
}

h3 {
  font-size: 20px;
  font-weight: 600;
  color: #313345;
  margin-bottom: 12px;
}

p {
  margin-bottom: 16px;
  font-size: 16px;
}

/* Buttons */
.button {
  display: inline-block;
  background: #0d3b66;
  color: #FFFFFF;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.button:hover {
  background: #12508f;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(13, 59, 102, 0.25);
}

.button-secondary {
  background: #FFFFFF;
  color: #0d3b66;
  border: 2px solid #0d3b66;
}

.button-secondary:hover {
  background: rgba(13, 59, 102, 0.1);
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin: 32px 0;
}

.service-card {
  background: #FFFFFF;
  border: 2px solid #E6EAF2;
  border-radius: 12px;
  padding: 32px;
  transition: all 0.3s;
  position: relative;
}

.service-card:hover {
  border-color: #0d3b66;
  box-shadow: 0 8px 24px rgba(13, 59, 102, 0.15);
  transform: translateY(-4px);
}

.service-card h3 {
  color: #0d3b66;
  margin-top: 0;
  font-size: 22px;
}

.service-card .price {
  font-size: 36px;
  font-weight: 700;
  color: #0d3b66;
  margin: 16px 0;
}

.service-card ul {
  list-style: none;
  margin: 20px 0;
  padding: 0;
}

.service-card li {
  padding: 8px 0;
  padding-left: 28px;
  position: relative;
  font-size: 15px;
}

.service-card li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #80b500;
  font-weight: 700;
  font-size: 18px;
}

/* Advantages Section */
.advantages {
  background: #F5F7FB;
  padding: 48px;
  border-radius: 12px;
  border-left: 4px solid #0d3b66;
}

.advantages ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.advantages li {
  padding: 16px;
  background: #FFFFFF;
  border-radius: 8px;
  border: 1px solid #E6EAF2;
  position: relative;
  padding-left: 48px;
}

.advantages li:before {
  content: "✓";
  position: absolute;
  left: 16px;
  top: 16px;
  background: #80b500;
  color: #FFFFFF;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  text-align: center;
  line-height: 24px;
  font-weight: 700;
  font-size: 16px;
}

/* Steps List with Numbers */
.steps-list {
  list-style: none;
  counter-reset: step-counter;
  margin: 32px 0;
}

.steps-list li {
  counter-increment: step-counter;
  margin: 24px 0;
  padding-left: 60px;
  position: relative;
  font-size: 16px;
}

.steps-list li:before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  background: linear-gradient(135deg, #0d3b66 0%, #80b500 100%);
  color: #FFFFFF;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  font-weight: 700;
  font-size: 18px;
}

/* Regular Lists */
.content-list {
  list-style: none;
  margin: 20px 0;
  padding: 0;
}

.content-list li {
  padding: 12px 0 12px 32px;
  position: relative;
  border-bottom: 1px solid #E6EAF2;
}

.content-list li:last-child {
  border-bottom: none;
}

.content-list li:before {
  content: "→";
  position: absolute;
  left: 0;
  color: #0d3b66;
  font-weight: 700;
}

/* Warning Box */
.warning {
  background: #FFF3CD;
  border-left: 4px solid #FFC107;
  padding: 20px;
  margin: 32px 0;
  border-radius: 8px;
}

.warning p {
  margin: 0;
  color: #856404;
}

/* Info Box */
.info-box {
  background: #E3F2FD;
  border-left: 4px solid #2196F3;
  padding: 20px;
  margin: 32px 0;
  border-radius: 8px;
}

.info-box p {
  margin: 0;
  color: #1565C0;
}

/* Footer */
footer {
  background: #F5F7FB;
  padding: 48px 24px;
  text-align: center;
  border-top: 1px solid #E6EAF2;
}

footer p {
  font-size: 14px;
  color: #6B7280;
  margin: 8px 0;
}

footer a {
  color: #0d3b66;
  text-decoration: none;
  margin: 0 8px;
  transition: color 0.2s;
}

footer a:hover {
  color: #12508f;
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .header-container {
    padding: 0 16px;
  }
  
  nav {
    flex-wrap: wrap;
    gap: 4px;
  }
  
  nav a {
    font-size: 14px;
    padding: 6px 12px;
  }
  
  .hero {
    padding: 60px 20px;
  }
  
  .hero h1 {
    font-size: 32px;
  }
  
  .hero p {
    font-size: 18px;
  }
  
  main {
    padding: 32px 16px;
  }
  
  h2 {
    font-size: 28px;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .advantages {
    padding: 24px;
  }
  
  .advantages ul {
    grid-template-columns: 1fr;
  }
}
