:root {
  --primary: #2c5f4a;
  --primary-dark: #1e4435;
  --secondary: #d4a574;
  --accent: #8b4513;
  --text: #2d3436;
  --text-light: #636e72;
  --bg: #fdfcfa;
  --bg-alt: #f5f1eb;
  --bg-dark: #1a1a1a;
  --white: #ffffff;
  --border: #e0dcd5;
  --shadow: rgba(0, 0, 0, 0.08);
  --shadow-strong: rgba(0, 0, 0, 0.15);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--bg);
}

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

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

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

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

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

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

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

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

.logo span {
  color: var(--secondary);
}

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

.nav-links a {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 8px 0;
  position: relative;
}

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

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

.nav-cta {
  background: var(--primary);
  color: var(--white) !important;
  padding: 10px 24px !important;
  border-radius: 6px;
}

.nav-cta::after {
  display: none !important;
}

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

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s ease;
}

/* Hero Section */
.hero-editorial {
  padding: 80px 0 60px;
  background: linear-gradient(135deg, var(--bg-alt) 0%, var(--bg) 100%);
}

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

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

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

.hero-editorial .lead {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 32px;
  line-height: 1.6;
}

.hero-meta {
  display: flex;
  justify-content: center;
  gap: 24px;
  color: var(--text-light);
  font-size: 0.9rem;
}

.hero-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Inline Image Block */
.inline-image {
  margin: 48px 0;
  position: relative;
}

.inline-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 20px 60px var(--shadow-strong);
}

.inline-image figcaption {
  text-align: center;
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--text-light);
  font-style: italic;
}

/* Article Content */
.article-section {
  padding: 60px 0;
}

.article-section p {
  margin-bottom: 24px;
}

.article-section h2 {
  font-size: 1.8rem;
  color: var(--text);
  margin: 48px 0 24px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

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

.article-section blockquote {
  border-left: 4px solid var(--secondary);
  padding: 24px 32px;
  margin: 40px 0;
  background: var(--bg-alt);
  border-radius: 0 8px 8px 0;
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text);
}

.article-section blockquote cite {
  display: block;
  margin-top: 16px;
  font-size: 0.9rem;
  font-style: normal;
  color: var(--text-light);
}

/* Inline CTA */
.inline-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 40px;
  border-radius: 12px;
  margin: 48px 0;
  text-align: center;
}

.inline-cta h3 {
  color: var(--white) !important;
  margin: 0 0 16px !important;
  border: none !important;
  padding: 0 !important;
}

.inline-cta p {
  margin-bottom: 24px;
  opacity: 0.9;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-align: center;
}

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

.btn-primary:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
}

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

.btn-white:hover {
  background: var(--bg-alt);
  transform: translateY(-2px);
}

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

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

/* Services Cards */
.services-section {
  padding: 80px 0;
  background: var(--bg-alt);
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: 2.2rem;
  color: var(--text);
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.service-card {
  background: var(--white);
  border-radius: 12px;
  padding: 32px;
  flex: 1 1 340px;
  max-width: 380px;
  box-shadow: 0 4px 20px var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px var(--shadow-strong);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--white);
  fill: none;
  stroke-width: 2;
}

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

.service-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

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

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

.service-card .btn {
  width: 100%;
}

/* Stats Section */
.stats-section {
  padding: 60px 0;
  background: var(--primary);
  color: var(--white);
}

.stats-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 48px;
}

.stat-item {
  text-align: center;
  flex: 1 1 180px;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  display: block;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.95rem;
  opacity: 0.9;
}

/* Testimonials */
.testimonials-section {
  padding: 80px 0;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 24px;
}

.testimonial-content {
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 20px;
  line-height: 1.7;
}

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

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

.author-info h4 {
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 4px;
}

.author-info span {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* Form Section */
.form-section {
  padding: 80px 0;
  background: var(--bg-alt);
}

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

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

.form-wrapper > p {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 32px;
}

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

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

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(44, 95, 74, 0.1);
}

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

.form-submit {
  width: 100%;
  padding: 16px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.form-submit:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* About Page */
.about-hero {
  padding: 100px 0 60px;
  background: linear-gradient(135deg, var(--bg-alt) 0%, var(--bg) 100%);
  text-align: center;
}

.about-hero h1 {
  font-size: 2.6rem;
  color: var(--text);
  margin-bottom: 24px;
}

.about-hero p {
  font-size: 1.2rem;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto;
}

.about-content {
  padding: 60px 0;
}

.about-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: center;
  margin-bottom: 60px;
}

.about-text {
  flex: 1 1 400px;
}

.about-image {
  flex: 1 1 300px;
}

.about-image img {
  border-radius: 12px;
  box-shadow: 0 20px 60px var(--shadow-strong);
}

.values-section {
  padding: 80px 0;
  background: var(--bg-alt);
}

.values-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}

.value-item {
  flex: 1 1 280px;
  text-align: center;
  padding: 32px;
}

.value-icon {
  width: 80px;
  height: 80px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 4px 20px var(--shadow);
}

.value-icon svg {
  width: 36px;
  height: 36px;
  stroke: var(--primary);
}

.value-item h3 {
  font-size: 1.2rem;
  color: var(--text);
  margin-bottom: 12px;
}

.value-item p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* Contact Page */
.contact-hero {
  padding: 100px 0 60px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  text-align: center;
}

.contact-hero h1 {
  font-size: 2.6rem;
  margin-bottom: 16px;
}

.contact-hero p {
  font-size: 1.15rem;
  opacity: 0.9;
}

.contact-content {
  padding: 80px 0;
}

.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
}

.contact-info {
  flex: 1 1 300px;
}

.contact-info h2 {
  font-size: 1.8rem;
  margin-bottom: 24px;
  color: var(--text);
}

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  padding: 20px;
  background: var(--bg-alt);
  border-radius: 8px;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--white);
}

.contact-details h4 {
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 4px;
}

.contact-details p {
  color: var(--text-light);
  font-size: 0.95rem;
}

.contact-form-wrapper {
  flex: 1 1 400px;
}

/* Thanks Page */
.thanks-hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg-alt) 0%, var(--bg) 100%);
  padding: 60px 24px;
}

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

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

.thanks-icon svg {
  width: 50px;
  height: 50px;
  stroke: var(--white);
  stroke-width: 3;
}

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

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

/* Legal Pages */
.legal-hero {
  padding: 80px 0 40px;
  background: var(--bg-alt);
  text-align: center;
}

.legal-hero h1 {
  font-size: 2.2rem;
  color: var(--text);
}

.legal-content {
  padding: 60px 0;
}

.legal-content h2 {
  font-size: 1.5rem;
  color: var(--text);
  margin: 40px 0 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.legal-content h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

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

.legal-content ul {
  margin: 16px 0 24px 24px;
  color: var(--text);
}

.legal-content li {
  margin-bottom: 8px;
}

/* Footer */
.footer {
  background: var(--bg-dark);
  color: var(--white);
  padding: 60px 0 24px;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-col {
  flex: 1 1 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-logo {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-logo span {
  color: var(--secondary);
}

.footer-about p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
}

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

/* Sticky CTA */
.sticky-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.sticky-cta.visible {
  opacity: 1;
  visibility: visible;
}

.sticky-cta .btn {
  box-shadow: 0 4px 20px var(--shadow-strong);
  padding: 16px 28px;
}

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

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

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

.cookie-text {
  flex: 1 1 400px;
  font-size: 0.95rem;
  line-height: 1.5;
}

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

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

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

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

.cookie-accept:hover {
  background: var(--primary-dark);
}

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

.cookie-reject:hover {
  border-color: var(--white);
}

/* Team Section */
.team-section {
  padding: 80px 0;
}

.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
}

.team-card {
  flex: 1 1 260px;
  max-width: 300px;
  text-align: center;
}

.team-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2.5rem;
  color: var(--white);
  font-weight: 700;
}

.team-card h3 {
  font-size: 1.2rem;
  color: var(--text);
  margin-bottom: 4px;
}

.team-card .role {
  color: var(--primary);
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.team-card p {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Feature Boxes */
.feature-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  margin-bottom: 20px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: box-shadow 0.3s ease;
}

.feature-box:hover {
  box-shadow: 0 8px 30px var(--shadow);
}

.feature-number {
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.feature-content h3 {
  font-size: 1.15rem;
  color: var(--text);
  margin-bottom: 8px;
}

.feature-content p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .hamburger {
    display: flex;
  }

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

  .hero-editorial .lead {
    font-size: 1.1rem;
  }

  .hero-meta {
    flex-direction: column;
    gap: 8px;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .about-hero h1,
  .contact-hero h1,
  .thanks-content h1 {
    font-size: 2rem;
  }

  .form-wrapper {
    padding: 32px 24px;
  }

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

  .footer-grid {
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

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

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

  .article-section blockquote {
    padding: 20px 24px;
    font-size: 1.05rem;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 16px;
  }

  .container,
  .narrow-content {
    padding: 0 16px;
  }

  .hero-editorial {
    padding: 60px 0 40px;
  }

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

  .services-section,
  .form-section,
  .testimonials-section {
    padding: 60px 0;
  }

  .service-card {
    padding: 24px;
  }

  .btn {
    padding: 12px 24px;
  }
}
