:root {
  --primary: #2d3a4a;
  --secondary: #c9a962;
  --accent: #e8dcc4;
  --light: #f7f4ef;
  --dark: #1a1f26;
  --text: #3d4654;
  --text-light: #6b7280;
  --white: #ffffff;
  --shadow: 0 4px 24px rgba(45, 58, 74, 0.10);
  --shadow-lg: 0 12px 48px rgba(45, 58, 74, 0.15);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: var(--secondary);
  text-decoration: none;
  transition: var(--transition);
}

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

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

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

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

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
}

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

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

.nav-links a {
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  position: relative;
}

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

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

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

.nav-hamburger span {
  width: 24px;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

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

.hero-editorial h1 {
  font-size: 42px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.25;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero-editorial .lead {
  font-size: 20px;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 36px;
}

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

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

/* Article Content */
.article-content {
  padding: 64px 0;
}

.article-content p {
  margin-bottom: 24px;
  font-size: 18px;
}

.article-content h2 {
  font-size: 32px;
  color: var(--primary);
  margin: 48px 0 24px;
  font-weight: 600;
}

.article-content h3 {
  font-size: 24px;
  color: var(--primary);
  margin: 36px 0 18px;
  font-weight: 600;
}

.inline-image {
  margin: 48px -60px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

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

.inline-image figcaption {
  padding: 16px 24px;
  background: var(--white);
  font-size: 14px;
  color: var(--text-light);
  text-align: center;
}

/* Inline CTA */
.inline-cta {
  background: var(--accent);
  padding: 36px 40px;
  border-radius: var(--radius-lg);
  margin: 48px 0;
  text-align: center;
}

.inline-cta p {
  margin-bottom: 20px;
  font-size: 19px;
  color: var(--primary);
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  background: var(--secondary);
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

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

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

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

.btn-lg {
  padding: 18px 42px;
  font-size: 18px;
}

/* Quote Block */
.quote-block {
  border-left: 4px solid var(--secondary);
  padding: 24px 32px;
  margin: 48px 0;
  background: var(--white);
  font-style: italic;
  font-size: 20px;
  color: var(--primary);
}

.quote-block cite {
  display: block;
  margin-top: 16px;
  font-size: 15px;
  font-style: normal;
  color: var(--text-light);
}

/* Services Section */
.services-section {
  background: var(--white);
  padding: 80px 0;
}

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

.section-header h2 {
  font-size: 36px;
  color: var(--primary);
  margin-bottom: 16px;
}

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

.services-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.service-card {
  display: flex;
  background: var(--light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.service-card:hover {
  box-shadow: var(--shadow);
  transform: translateX(8px);
}

.service-card:nth-child(even) {
  flex-direction: row-reverse;
}

.service-image {
  width: 280px;
  min-height: 220px;
  flex-shrink: 0;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-content {
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-content h3 {
  font-size: 22px;
  color: var(--primary);
  margin-bottom: 12px;
}

.service-content p {
  color: var(--text-light);
  margin-bottom: 16px;
  font-size: 16px;
}

.service-price {
  font-size: 24px;
  font-weight: 700;
  color: var(--secondary);
}

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

/* Testimonials */
.testimonials-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
}

.testimonials-section .section-header h2,
.testimonials-section .section-header p {
  color: var(--white);
}

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

.testimonial-card {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius-lg);
  max-width: 360px;
  flex: 1;
  min-width: 280px;
}

.testimonial-text {
  font-size: 16px;
  margin-bottom: 20px;
  line-height: 1.8;
}

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

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--primary);
}

.testimonial-info h4 {
  font-size: 15px;
  color: var(--primary);
  margin-bottom: 2px;
}

.testimonial-info span {
  font-size: 13px;
  color: var(--text-light);
}

/* About Section */
.about-section {
  padding: 80px 0;
}

.about-content {
  display: flex;
  gap: 48px;
  align-items: center;
}

.about-text {
  flex: 1;
}

.about-text h2 {
  font-size: 32px;
  color: var(--primary);
  margin-bottom: 20px;
}

.about-image {
  flex: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

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

/* Stats */
.stats-row {
  display: flex;
  gap: 32px;
  margin-top: 36px;
}

.stat-item {
  text-align: left;
}

.stat-number {
  font-size: 42px;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1;
}

.stat-label {
  font-size: 14px;
  color: var(--text-light);
  margin-top: 4px;
}

/* Contact Section */
.contact-section {
  padding: 80px 0;
  background: var(--white);
}

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

.contact-info {
  flex: 1;
}

.contact-info h2 {
  font-size: 32px;
  color: var(--primary);
  margin-bottom: 20px;
}

.contact-info p {
  margin-bottom: 32px;
  color: var(--text-light);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

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

.contact-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--primary);
}

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

.contact-item p {
  font-size: 15px;
  color: var(--text-light);
  margin: 0;
}

/* Form */
.contact-form {
  flex: 1;
  background: var(--light);
  padding: 40px;
  border-radius: var(--radius-lg);
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  font-size: 16px;
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  background: var(--white);
  transition: var(--transition);
  font-family: inherit;
}

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

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

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

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

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

.footer-col {
  flex: 1;
}

.footer-col h4 {
  font-size: 18px;
  margin-bottom: 20px;
  color: var(--white);
}

.footer-col p {
  color: rgba(255,255,255,0.7);
  font-size: 15px;
  line-height: 1.7;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  font-size: 15px;
}

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

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

/* Sticky CTA */
.sticky-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  animation: slideUp 0.4s ease;
}

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

.sticky-cta .btn {
  box-shadow: var(--shadow-lg);
  padding: 16px 28px;
}

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

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

.cookie-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1140px;
  margin: 0 auto;
}

.cookie-text {
  font-size: 14px;
  color: rgba(255,255,255,0.9);
}

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

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

.cookie-btn {
  padding: 10px 20px;
  font-size: 14px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  font-weight: 500;
  transition: var(--transition);
}

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

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

/* Thanks Page */
.thanks-section {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
}

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

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

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

.thanks-content h1 {
  font-size: 36px;
  color: var(--primary);
  margin-bottom: 16px;
}

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

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

.page-header h1 {
  color: var(--white);
  font-size: 42px;
  margin-bottom: 16px;
}

.page-header p {
  color: rgba(255,255,255,0.8);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto;
}

/* Legal Pages */
.legal-content {
  padding: 64px 0;
  background: var(--white);
}

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

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

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

.legal-content ul {
  margin: 16px 0 16px 24px;
}

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

/* Services Page Grid */
.services-page-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  padding: 64px 0;
}

.service-card-full {
  flex: 1;
  min-width: 320px;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.service-card-full:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-card-full .service-image {
  width: 100%;
  height: 200px;
}

.service-card-full .service-content {
  padding: 28px 32px;
}

/* About Page */
.about-team {
  padding: 80px 0;
  background: var(--white);
}

.team-intro {
  text-align: center;
  margin-bottom: 48px;
}

.team-intro h2 {
  font-size: 32px;
  color: var(--primary);
  margin-bottom: 16px;
}

.values-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.value-item {
  background: var(--light);
  padding: 32px;
  border-radius: var(--radius-lg);
  flex: 1;
  min-width: 260px;
  max-width: 340px;
  text-align: center;
}

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

.value-item h3 {
  font-size: 20px;
  color: var(--primary);
  margin-bottom: 12px;
}

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

/* Mobile Responsive */
@media (max-width: 900px) {
  .footer-grid {
    flex-wrap: wrap;
  }

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

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

  .contact-grid {
    flex-direction: column;
  }

  .service-card {
    flex-direction: column;
  }

  .service-card:nth-child(even) {
    flex-direction: column;
  }

  .service-image {
    width: 100%;
    height: 200px;
  }

  .stats-row {
    flex-wrap: wrap;
  }

  .inline-image {
    margin: 36px 0;
  }
}

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

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

  .nav-hamburger {
    display: flex;
  }

  .hero-editorial h1 {
    font-size: 32px;
  }

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

  .section-header h2 {
    font-size: 28px;
  }

  .testimonials-grid {
    flex-direction: column;
    align-items: center;
  }

  .testimonial-card {
    max-width: 100%;
  }

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

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

  .sticky-cta .btn {
    padding: 12px 20px;
    font-size: 14px;
  }
}

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

  .container {
    padding: 0 16px;
  }

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

  .hero-editorial h1 {
    font-size: 26px;
  }

  .article-content {
    padding: 40px 0;
  }

  .services-section,
  .testimonials-section,
  .about-section,
  .contact-section {
    padding: 56px 0;
  }

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