/* Основные переменные цвета */
:root {
  --primary: #0057a7;
  --secondary: #f5f5f5;
  --accent: #e06c75;
  --text: #333333;
  --light-text: #666666;
  --bg: #ffffff;
}

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

body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

.container {
  width: min(1200px, 90%);
  margin: 0 auto;
  padding: 20px 0;
}

/* Header */
header {
  background: var(--primary);
  color: #fff;
}

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

header .logo {
  font-size: 1.4rem;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 15px;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

nav a:hover {
  text-decoration: underline;
}

/* Hero Section */
.hero {
  position: relative;
  color: #fff;
  text-align: center;
}

.hero-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  filter: brightness(0.65);
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin: 5px;
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
  transition: background 0.2s, color 0.2s;
}

.btn:hover {
  background: var(--primary);
  color: #fff;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.btn-primary:hover {
  background: #004080;
}

/* Sections */
section {
  padding: 40px 0;
}

section h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 1.8rem;
}

/* Cards Grid */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.card {
  background: var(--secondary);
  border: 1px solid #ddd;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 10px;
}

/* Reviews */
.reviews .review {
  background: var(--secondary);
  border: 1px solid #ddd;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 15px;
}

.review-header {
  display: flex;
  justify-content: space-between;
  font-weight: bold;
  margin-bottom: 10px;
}

/* Wins / Discoveries List */
.wins-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.win-item {
  background: var(--secondary);
  border: 1px solid #ddd;
  padding: 15px;
  border-radius: 8px;
  text-align: center;
}

/* Article Section */
.article-section .article-img {
  width: 100%;
  max-width: 600px;
  margin: 0 auto 20px auto;
  display: block;
  border-radius: 8px;
}

.article-content h3 {
  margin-top: 15px;
  font-size: 1.3rem;
}

.article-content p {
  margin-top: 10px;
}

/* FAQ Section */
.faq-section .faq-item {
  background: var(--secondary);
  border: 1px solid #ddd;
  margin-bottom: 10px;
  padding: 15px;
  border-radius: 8px;
}

.faq-question {
  font-weight: bold;
  cursor: pointer;
}

.faq-answer {
  margin-top: 8px;
}

/* CTA Section */
.cta {
  background: var(--primary);
  color: #fff;
  padding: 40px 0;
}

.cta .btn-primary {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}

.cta .btn-primary:hover {
  background: #e5e5e5;
}

/* Footer */
footer {
  background: #f1f1f1;
  padding: 30px 0;
  color: var(--text);
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.footer-section h3 {
  margin-bottom: 10px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 5px;
}

.footer-section ul li a {
  text-decoration: none;
  color: var(--text);
}

.footer-section ul li a:hover {
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  margin-top: 20px;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  nav ul {
    flex-wrap: wrap;
    gap: 10px;
  }
  .hero-img {
    height: 300px;
  }
  .hero-content h1 {
    font-size: 2rem;
  }
}



/* Футер */
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #ffd700;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-decoration: none;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

.payment-methods-footer {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.payment-methods-footer img {
    height: 30px;
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

/* Адаптивность футера */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .payment-methods-footer {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
}