:root {
  --primary: #1a4d7c;
  --secondary: #e8b54d;
  --dark: #1c1c1c;
  --light: #f9f7f3;
  --gray: #6b7280;
  --white: #ffffff;
  --accent: #2d6a9f;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --radius: 8px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.7;
  color: var(--dark);
  background: var(--white);
  font-size: 17px;
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

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

.narrow {
  max-width: 720px;
  margin: 0 auto;
}

/* Navigation */
.nav-wrapper {
  background: var(--white);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--dark);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  margin: 5px 0;
  transition: 0.3s;
}

/* Hero Editorial */
.hero-editorial {
  padding: 80px 20px 60px;
  background: linear-gradient(165deg, var(--light) 0%, var(--white) 100%);
}

.hero-editorial .narrow {
  text-align: center;
}

.hero-tag {
  display: inline-block;
  background: var(--secondary);
  color: var(--dark);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-editorial h1 {
  font-size: 2.8rem;
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: 24px;
  font-weight: 700;
}

.hero-editorial .lead {
  font-size: 1.25rem;
  color: var(--gray);
  margin-bottom: 36px;
}

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

.hero-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-decoration: none;
}

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

.btn-primary:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26,77,124,0.3);
}

.btn-secondary {
  background: var(--secondary);
  color: var(--dark);
}

.btn-secondary:hover {
  background: #d4a43d;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

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

/* Article Content Sections */
.article-section {
  padding: 70px 20px;
}

.article-section.alt-bg {
  background: var(--light);
}

.article-section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--dark);
}

.article-section h3 {
  font-size: 1.5rem;
  margin: 32px 0 16px;
  color: var(--primary);
}

.article-section p {
  margin-bottom: 20px;
  color: var(--dark);
}

.article-section p.highlight {
  font-size: 1.2rem;
  color: var(--primary);
  border-left: 4px solid var(--secondary);
  padding-left: 20px;
  margin: 32px 0;
}

.inline-image {
  margin: 40px 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.inline-image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.inline-image figcaption {
  padding: 12px 16px;
  background: var(--light);
  font-size: 0.9rem;
  color: var(--gray);
  font-style: italic;
}

/* Stats Row */
.stats-row {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 24px;
  padding: 48px 0;
  border-top: 1px solid rgba(0,0,0,0.08);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  margin: 40px 0;
}

.stat-item {
  text-align: center;
  flex: 1;
  min-width: 140px;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--gray);
  margin-top: 4px;
}

/* Services Cards */
.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 40px;
}

.service-card {
  flex: 1 1 320px;
  background: var(--white);
  border-radius: 12px;
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

.service-icon {
  width: 56px;
  height: 56px;
  background: var(--light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-icon svg {
  width: 28px;
  height: 28px;
  color: var(--primary);
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--dark);
}

.service-card p {
  color: var(--gray);
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.service-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.service-price span {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--gray);
}

/* Testimonials */
.testimonial-block {
  background: var(--primary);
  color: var(--white);
  padding: 48px 36px;
  border-radius: 12px;
  margin: 48px 0;
  position: relative;
}

.testimonial-block::before {
  content: '"';
  font-size: 6rem;
  position: absolute;
  top: -10px;
  left: 20px;
  opacity: 0.2;
  font-family: Georgia, serif;
}

.testimonial-text {
  font-size: 1.2rem;
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--dark);
}

.testimonial-info strong {
  display: block;
  font-size: 1rem;
}

.testimonial-info span {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Form Styles */
.form-section {
  padding: 80px 20px;
  background: linear-gradient(180deg, var(--light) 0%, var(--white) 100%);
}

.form-wrapper {
  background: var(--white);
  padding: 48px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  max-width: 580px;
  margin: 0 auto;
}

.form-wrapper h2 {
  text-align: center;
  margin-bottom: 8px;
}

.form-wrapper .form-subtitle {
  text-align: center;
  color: var(--gray);
  margin-bottom: 32px;
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--dark);
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid rgba(0,0,0,0.08);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s ease;
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-submit {
  width: 100%;
  padding: 16px;
  font-size: 1.1rem;
}

/* CTA Sections */
.cta-inline {
  text-align: center;
  padding: 48px 32px;
  background: var(--light);
  border-radius: 12px;
  margin: 48px 0;
}

.cta-inline h3 {
  font-size: 1.6rem;
  margin-bottom: 16px;
  color: var(--dark);
}

.cta-inline p {
  color: var(--gray);
  margin-bottom: 24px;
}

.sticky-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* Footer */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: 64px 20px 32px;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-col {
  flex: 1;
  min-width: 200px;
}

.footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--secondary);
}

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

.footer-col li {
  margin-bottom: 12px;
}

.footer-col a {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  text-align: center;
  padding-top: 32px;
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--dark);
  color: var(--white);
  padding: 20px;
  z-index: 1000;
  display: none;
}

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

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-text {
  flex: 1;
  min-width: 280px;
  font-size: 0.95rem;
}

.cookie-text a {
  color: var(--secondary);
}

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

.cookie-btn {
  padding: 10px 24px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

.cookie-accept {
  background: var(--secondary);
  color: var(--dark);
}

.cookie-reject {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
}

/* Thanks Page */
.thanks-wrapper {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: linear-gradient(165deg, var(--light) 0%, var(--white) 100%);
}

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

.thanks-icon {
  width: 80px;
  height: 80px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 32px;
}

.thanks-icon svg {
  width: 40px;
  height: 40px;
  color: var(--white);
}

.thanks-content h1 {
  font-size: 2.4rem;
  margin-bottom: 16px;
  color: var(--dark);
}

.thanks-content p {
  font-size: 1.15rem;
  color: var(--gray);
  margin-bottom: 32px;
}

/* Page Headers */
.page-header {
  padding: 80px 20px 60px;
  background: linear-gradient(165deg, var(--light) 0%, var(--white) 100%);
  text-align: center;
}

.page-header h1 {
  font-size: 2.6rem;
  color: var(--dark);
  margin-bottom: 16px;
}

.page-header p {
  font-size: 1.15rem;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
}

/* Contact Info */
.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 40px;
}

.contact-item {
  flex: 1;
  min-width: 240px;
  padding: 28px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.contact-item h4 {
  color: var(--primary);
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.contact-item p {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Legal Pages */
.legal-content {
  padding: 60px 20px;
}

.legal-content h2 {
  font-size: 1.6rem;
  margin: 40px 0 16px;
  color: var(--dark);
}

.legal-content h3 {
  font-size: 1.3rem;
  margin: 28px 0 12px;
  color: var(--primary);
}

.legal-content p,
.legal-content li {
  color: var(--gray);
  margin-bottom: 16px;
}

.legal-content ul {
  padding-left: 24px;
  margin-bottom: 20px;
}

/* Benefits List */
.benefits-list {
  list-style: none;
  margin: 32px 0;
}

.benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.benefits-list .icon {
  width: 28px;
  height: 28px;
  background: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.benefits-list .icon svg {
  width: 14px;
  height: 14px;
}

/* Split Section */
.split-section {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: center;
  padding: 70px 20px;
}

.split-section.reverse {
  flex-direction: row-reverse;
}

.split-text {
  flex: 1;
  min-width: 300px;
}

.split-image {
  flex: 1;
  min-width: 300px;
}

.split-image img {
  border-radius: 12px;
  box-shadow: var(--shadow);
  height: 380px;
  object-fit: cover;
  width: 100%;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .hero-editorial h1 {
    font-size: 2rem;
  }

  .hero-image img {
    height: 280px;
  }

  .stats-row {
    gap: 16px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .form-wrapper {
    padding: 28px 20px;
  }

  .split-section {
    gap: 32px;
  }

  .split-image img {
    height: 260px;
  }

  .footer-grid {
    gap: 32px;
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

  .sticky-cta {
    bottom: 80px;
    right: 16px;
  }

  .article-section {
    padding: 50px 20px;
  }
}

@media (max-width: 480px) {
  .hero-editorial h1 {
    font-size: 1.7rem;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.95rem;
  }

  .service-card {
    padding: 24px;
  }
}
