:root {
  --primary: #1e3a5f;
  --secondary: #2d5a88;
  --accent: #d4a574;
  --text-dark: #1a1a1a;
  --text-light: #4a4a4a;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --border: #e0e0e0;
  --success: #27ae60;
  --shadow: rgba(0, 0, 0, 0.08);
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-dark);
  line-height: 1.7;
  background: var(--bg-white);
}

.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px;
}

.wide-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  background: var(--bg-white);
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px var(--shadow);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--primary);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 28px;
  align-items: center;
}

nav a {
  color: var(--text-dark);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.3s;
}

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

.hero-section {
  padding: 80px 0 60px;
  background: linear-gradient(135deg, #f5f7fa 0%, #e8eef5 100%);
}

.hero-content {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.hero-title {
  font-size: 42px;
  line-height: 1.3;
  margin-bottom: 24px;
  color: var(--primary);
  font-weight: 700;
}

.hero-subtitle {
  font-size: 19px;
  color: var(--text-light);
  margin-bottom: 32px;
  line-height: 1.6;
}

.cta-button {
  display: inline-block;
  background: var(--accent);
  color: var(--bg-white);
  padding: 14px 36px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.cta-button:hover {
  background: #c49563;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(212, 165, 116, 0.3);
}

.cta-button.primary {
  background: var(--secondary);
}

.cta-button.primary:hover {
  background: var(--primary);
}

.article-section {
  padding: 60px 0;
}

.article-section:nth-child(even) {
  background: var(--bg-light);
}

.section-title {
  font-size: 32px;
  margin-bottom: 28px;
  color: var(--primary);
  font-weight: 700;
  line-height: 1.3;
}

.section-text {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 24px;
  color: var(--text-dark);
}

.section-text strong {
  color: var(--primary);
  font-weight: 600;
}

.inline-cta {
  background: var(--bg-white);
  border-left: 4px solid var(--accent);
  padding: 28px;
  margin: 40px 0;
  border-radius: 0 8px 8px 0;
  box-shadow: 0 4px 12px var(--shadow);
}

.inline-cta h3 {
  font-size: 22px;
  margin-bottom: 14px;
  color: var(--primary);
}

.inline-cta p {
  margin-bottom: 18px;
  font-size: 16px;
  color: var(--text-light);
}

.image-block {
  margin: 48px 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px var(--shadow);
}

.image-block img {
  width: 100%;
  display: block;
  height: auto;
}

.list-styled {
  list-style: none;
  margin: 28px 0;
}

.list-styled li {
  padding-left: 32px;
  position: relative;
  margin-bottom: 18px;
  font-size: 17px;
  line-height: 1.7;
}

.list-styled li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 20px;
}

.services-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin: 48px 0;
}

.service-card {
  background: var(--bg-white);
  padding: 36px;
  border-radius: 10px;
  box-shadow: 0 4px 16px var(--shadow);
  border-left: 5px solid var(--accent);
}

.service-card h3 {
  font-size: 24px;
  margin-bottom: 14px;
  color: var(--primary);
}

.service-card p {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 18px;
  line-height: 1.7;
}

.service-price {
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 20px;
}

.service-price span {
  font-size: 16px;
  color: var(--text-light);
  font-weight: 400;
}

.form-section {
  background: linear-gradient(135deg, #1e3a5f 0%, #2d5a88 100%);
  padding: 70px 0;
  color: var(--bg-white);
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
}

.form-title {
  font-size: 32px;
  margin-bottom: 16px;
  text-align: center;
  color: var(--bg-white);
}

.form-subtitle {
  text-align: center;
  margin-bottom: 38px;
  font-size: 17px;
  opacity: 0.9;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  font-size: 15px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  font-size: 16px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--bg-white);
  transition: all 0.3s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.15);
}

.form-group select {
  cursor: pointer;
}

.form-group select option {
  background: var(--primary);
  color: var(--bg-white);
}

.submit-button {
  width: 100%;
  padding: 16px;
  background: var(--accent);
  color: var(--bg-white);
  border: none;
  border-radius: 6px;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.submit-button:hover {
  background: #c49563;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 165, 116, 0.4);
}

.sticky-cta {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 90;
  display: none;
}

.sticky-cta.visible {
  display: block;
  animation: slideIn 0.4s ease;
}

@keyframes slideIn {
  from {
    transform: translateY(100px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.quote-block {
  background: var(--bg-white);
  padding: 36px;
  margin: 48px 0;
  border-radius: 10px;
  box-shadow: 0 6px 20px var(--shadow);
  border-top: 4px solid var(--accent);
  font-style: italic;
  position: relative;
}

.quote-block:before {
  content: '"';
  font-size: 80px;
  position: absolute;
  top: -10px;
  left: 20px;
  color: var(--accent);
  opacity: 0.3;
  line-height: 1;
}

.quote-block p {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 16px;
  padding-left: 20px;
}

.quote-author {
  text-align: right;
  font-weight: 600;
  color: var(--primary);
  font-style: normal;
}

footer {
  background: var(--primary);
  color: var(--bg-white);
  padding: 60px 0 30px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-section h4 {
  margin-bottom: 18px;
  font-size: 18px;
  color: var(--accent);
}

.footer-section p,
.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 15px;
  line-height: 1.8;
}

.footer-section a:hover {
  color: var(--bg-white);
  text-decoration: underline;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-white);
  padding: 24px;
  box-shadow: 0 -4px 20px var(--shadow);
  z-index: 200;
  display: none;
}

.cookie-banner.visible {
  display: block;
}

.cookie-content {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.cookie-text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-dark);
  text-align: center;
}

.cookie-buttons {
  display: flex;
  gap: 12px;
}

.cookie-button {
  padding: 10px 24px;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.cookie-accept {
  background: var(--accent);
  color: var(--bg-white);
}

.cookie-accept:hover {
  background: #c49563;
}

.cookie-reject {
  background: var(--border);
  color: var(--text-dark);
}

.cookie-reject:hover {
  background: #d0d0d0;
}

.thanks-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
}

.thanks-content {
  text-align: center;
  max-width: 600px;
}

.thanks-icon {
  font-size: 72px;
  color: var(--success);
  margin-bottom: 24px;
}

.thanks-title {
  font-size: 38px;
  margin-bottom: 20px;
  color: var(--primary);
}

.thanks-text {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: 32px;
}

.contact-info {
  background: var(--bg-light);
  padding: 36px;
  border-radius: 10px;
  margin: 32px 0;
}

.contact-item {
  margin-bottom: 24px;
}

.contact-item h4 {
  font-size: 18px;
  color: var(--primary);
  margin-bottom: 8px;
}

.contact-item p {
  font-size: 16px;
  color: var(--text-dark);
  line-height: 1.7;
}

.policy-section {
  padding: 60px 0;
}

.policy-section h2 {
  font-size: 28px;
  margin: 40px 0 20px;
  color: var(--primary);
}

.policy-section h3 {
  font-size: 22px;
  margin: 32px 0 16px;
  color: var(--secondary);
}

.policy-section p {
  margin-bottom: 18px;
  font-size: 16px;
  line-height: 1.8;
}

.policy-section ul {
  margin: 20px 0 20px 24px;
  line-height: 1.8;
}

.policy-section li {
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-white);
    border-top: 1px solid var(--border);
    box-shadow: 0 4px 12px var(--shadow);
  }

  nav.active {
    display: block;
  }

  nav ul {
    flex-direction: column;
    padding: 20px;
    gap: 16px;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 17px;
  }

  .section-title {
    font-size: 26px;
  }

  .cookie-content {
    flex-direction: column;
  }

  .cookie-buttons {
    flex-direction: column;
    width: 100%;
  }

  .cookie-button {
    width: 100%;
  }

  .sticky-cta {
    bottom: 10px;
    right: 10px;
  }
}