:root {
  --primary: #1a365d;
  --primary-light: #2b4c7e;
  --accent: #c9a054;
  --accent-hover: #b0883e;
  --bg: #fcfbfa;
  --card-bg: #ffffff;
  --text: #2d3748;
  --text-muted: #718096;
  --border: #e2e8f0;
  --font-title: 'Playfair Display', Georgia, serif;
  --font-body: 'Source Sans Pro', Arial, sans-serif;
  --max-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--accent);
  color: white;
  padding: 8px;
  z-index: 100;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
}

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

header {
  background-color: var(--primary);
  color: white;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

.brand-name {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  align-items: center;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

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

.burger-menu {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
}

.hero {
  padding: 5rem 0;
  background: linear-gradient(135deg, rgba(26,54,93,0.95) 0%, rgba(15,32,56,0.98) 100%), url('images/hero.jpg') no-repeat center center/cover;
  color: white;
  text-align: center;
}

.hero h1 {
  font-family: var(--font-title);
  font-size: 3rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero p {
  font-size: 1.25rem;
  max-width: 800px;
  margin: 0 auto 2rem;
  color: #e2e8f0;
}

.btn-primary {
  display: inline-block;
  background-color: var(--accent);
  color: white;
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s;
}

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

.stats {
  padding: 3rem 0;
  background-color: white;
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-item h3 {
  font-family: var(--font-title);
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.stat-item p {
  color: var(--text-muted);
}

.section {
  padding: 5rem 0;
}

.section-alt {
  background-color: white;
}

.section-title {
  font-family: var(--font-title);
  font-size: 2.25rem;
  text-align: center;
  color: var(--primary);
  margin-bottom: 3rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.step-card {
  background-color: white;
  padding: 2rem;
  border-radius: 6px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  text-align: center;
  border-top: 4px solid var(--accent);
}

.step-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.step-card h3 {
  font-family: var(--font-title);
  margin-bottom: 1rem;
}

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

.service-card {
  background-color: var(--card-bg);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  transition: transform 0.2s;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-content {
  padding: 1.5rem;
}

.service-content h3 {
  font-family: var(--font-title);
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.about-asymmetric {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-img img {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 10px 15px rgba(0,0,0,0.08);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.price-card {
  background-color: white;
  padding: 3rem 2rem;
  border-radius: 6px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  position: relative;
  border: 1px solid var(--border);
}

.price-card.popular {
  border: 2px solid var(--accent);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.popular-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: var(--accent);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
}

.price-card h3 {
  font-family: var(--font-title);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.price-val {
  font-family: var(--font-title);
  font-size: 3rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.price-list {
  list-style: none;
  margin-bottom: 2rem;
  text-align: left;
}

.price-list li {
  margin-bottom: 0.5rem;
  color: var(--text-muted);
}

.price-list li i {
  color: var(--accent);
  margin-right: 0.5rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.form-wrapper {
  background-color: white;
  padding: 2.5rem;
  border-radius: 6px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: var(--font-body);
}

.form-group input:focus, .form-group textarea:focus {
  outline: 2px solid var(--accent);
}

.form-group.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.form-group.checkbox input {
  width: auto;
  margin-top: 0.3rem;
}

.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: white;
  border-radius: 4px;
  margin-bottom: 1rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.03);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.5rem;
  font-size: 1.1rem;
  font-family: var(--font-title);
  color: var(--primary);
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 1.5rem;
  color: var(--text-muted);
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-bottom: 1.5rem;
}

.trust-layer {
  background-color: var(--primary);
  color: white;
  padding: 4rem 0;
  border-top: 3px solid var(--accent);
}

.trust-layer h3 {
  font-family: var(--font-title);
  color: var(--accent);
  margin-bottom: 1rem;
}

.trust-layer p {
  color: #e2e8f0;
  margin-bottom: 1rem;
}

.trust-layer .disclaimer {
  font-size: 0.9rem;
  border-left: 2px solid var(--accent);
  padding-left: 1rem;
  color: #cbd5e0;
}

footer {
  background-color: #0f2038;
  color: white;
  padding: 3rem 0;
  text-align: center;
  border-top: 1px solid #1a365d;
}

.footer-links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: #e2e8f0;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--accent);
}

.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  background-color: white;
  color: var(--text);
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  z-index: 1000;
  display: none;
  border: 1px solid var(--border);
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.cookie-btns {
  display: flex;
  gap: 1rem;
}

.btn-secondary {
  background-color: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  padding: 0.5rem 1.5rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-secondary:hover {
  background-color: #f7fafc;
}

/* Сетка для встраивания карт */
.map-container {
  position: relative;
  overflow: hidden;
  padding-top: 56.25%;
  border-radius: 6px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: var(--primary);
    position: absolute;
    top: 100%;
    left: 0;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .burger-menu {
    display: block;
  }
  
  .about-asymmetric, .contact-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-delay: 0s !important;
    animation-duration: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0s !important;
    scroll-behavior: auto !important;
  }
}