:root {
  --color-primary: #2D5A7B;
  --color-secondary: #E8B84A;
  --color-accent: #4A9B8C;
  --color-dark: #1A2E3D;
  --color-light: #F7F4EF;
  --color-white: #FFFFFF;
  --color-text: #3D4A54;
  --color-muted: #7A8B99;
  --font-heading: 'Georgia', serif;
  --font-body: 'Segoe UI', sans-serif;
  --max-width-narrow: 680px;
  --max-width-medium: 920px;
  --max-width-wide: 1140px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-light);
}

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

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

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

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-dark);
  line-height: 1.3;
  font-weight: 400;
}

h1 {
  font-size: 2.6rem;
  margin-bottom: 1.2rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
}

p {
  margin-bottom: 1.2rem;
}

.container-narrow {
  max-width: var(--max-width-narrow);
  margin: 0 auto;
  padding: 0 20px;
}

.container-medium {
  max-width: var(--max-width-medium);
  margin: 0 auto;
  padding: 0 20px;
}

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

/* Navigation */
.nav-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  z-index: 1000;
  border-bottom: 1px solid rgba(45, 90, 123, 0.08);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  max-width: var(--max-width-wide);
  margin: 0 auto;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--color-dark);
  font-weight: 400;
}

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

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

.nav-menu a {
  color: var(--color-text);
  font-size: 0.95rem;
  position: relative;
}

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

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

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

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-dark);
  transition: all 0.3s ease;
}

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

.hero-editorial .overline {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--color-accent);
  margin-bottom: 20px;
}

.hero-editorial h1 {
  font-size: 3.2rem;
  max-width: 800px;
  margin: 0 auto 24px;
}

.hero-editorial .lead {
  font-size: 1.25rem;
  color: var(--color-muted);
  max-width: 600px;
  margin: 0 auto 40px;
}

/* Editorial Content */
.editorial-section {
  padding: 80px 20px;
}

.editorial-section.alt-bg {
  background: var(--color-white);
}

.editorial-section.dark-bg {
  background: var(--color-dark);
  color: var(--color-light);
}

.editorial-section.dark-bg h2,
.editorial-section.dark-bg h3 {
  color: var(--color-white);
}

.editorial-section.accent-bg {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  color: var(--color-white);
}

.editorial-section.accent-bg h2 {
  color: var(--color-white);
}

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

.editorial-content {
  font-size: 1.1rem;
}

.editorial-content p {
  margin-bottom: 1.6rem;
}

.editorial-content blockquote {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-style: italic;
  color: var(--color-primary);
  border-left: 4px solid var(--color-secondary);
  padding-left: 28px;
  margin: 48px 0;
}

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

.inline-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(26, 46, 61, 0.12);
}

.inline-image figcaption {
  font-size: 0.85rem;
  color: var(--color-muted);
  text-align: center;
  margin-top: 12px;
}

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

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

.btn-primary:hover {
  background: #d4a43e;
  color: var(--color-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 184, 74, 0.35);
}

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

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

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

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

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

.btn-dark:hover {
  background: #0f1e29;
  color: var(--color-white);
}

.cta-inline {
  text-align: center;
  padding: 40px 0;
}

.cta-inline p {
  font-size: 1.1rem;
  color: var(--color-muted);
  margin-bottom: 20px;
}

/* Sticky CTA */
.sticky-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

.sticky-cta.visible {
  opacity: 1;
  transform: translateY(0);
}

.sticky-cta .btn {
  box-shadow: 0 8px 32px rgba(26, 46, 61, 0.25);
  padding: 16px 28px;
}

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

.service-card {
  flex: 1 1 calc(50% - 12px);
  min-width: 280px;
  background: var(--color-white);
  border-radius: 12px;
  padding: 36px;
  box-shadow: 0 4px 24px rgba(26, 46, 61, 0.06);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(26, 46, 61, 0.12);
}

.service-card .icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

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

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

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

.service-card .price {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.service-card .price-note {
  font-size: 0.85rem;
  color: var(--color-muted);
}

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

.testimonial-block::before {
  content: '"';
  font-family: var(--font-heading);
  font-size: 6rem;
  color: var(--color-secondary);
  opacity: 0.3;
  position: absolute;
  top: 10px;
  left: 24px;
  line-height: 1;
}

.testimonial-block p {
  font-size: 1.2rem;
  font-style: italic;
  position: relative;
  z-index: 1;
  margin-bottom: 20px;
}

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

.testimonial-author .avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent), var(--color-primary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-weight: 500;
}

.testimonial-author .info strong {
  display: block;
  color: var(--color-dark);
}

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

/* Form Styles */
.form-section {
  padding: 100px 20px;
  background: var(--color-white);
}

.form-wrapper {
  max-width: 560px;
  margin: 0 auto;
}

.form-intro {
  text-align: center;
  margin-bottom: 40px;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  font-size: 1rem;
  font-family: var(--font-body);
  border: 2px solid #e2e8ed;
  border-radius: 8px;
  background: var(--color-light);
  transition: all 0.3s ease;
}

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

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

.form-submit {
  text-align: center;
  margin-top: 32px;
}

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

/* Split Section */
.split-section {
  display: flex;
  flex-wrap: wrap;
  min-height: 500px;
}

.split-section .split-content {
  flex: 1 1 50%;
  min-width: 300px;
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.split-section .split-image {
  flex: 1 1 50%;
  min-width: 300px;
  min-height: 400px;
  background-size: cover;
  background-position: center;
}

/* Stats Section */
.stats-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 48px;
  text-align: center;
  padding: 60px 20px;
}

.stat-item .number {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  color: var(--color-secondary);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-item .label {
  font-size: 0.95rem;
  color: var(--color-muted);
}

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

.benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.benefits-list .check {
  width: 28px;
  height: 28px;
  background: var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.benefits-list .check svg {
  width: 14px;
  height: 14px;
  fill: var(--color-white);
}

/* Footer */
.footer {
  background: var(--color-dark);
  color: var(--color-light);
  padding: 80px 20px 40px;
}

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

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

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

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

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

.footer-col a {
  color: var(--color-muted);
  font-size: 0.95rem;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 32px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--color-muted);
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-dark);
  color: var(--color-light);
  padding: 24px;
  z-index: 10000;
  display: none;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.2);
}

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

.cookie-inner {
  max-width: var(--max-width-wide);
  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;
}

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

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

.cookie-buttons .btn {
  padding: 12px 24px;
  font-size: 0.9rem;
}

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

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

.thanks-content .icon-success svg {
  width: 48px;
  height: 48px;
  fill: var(--color-white);
}

.thanks-content h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
}

.thanks-content p {
  font-size: 1.2rem;
  color: var(--color-muted);
  max-width: 500px;
  margin: 0 auto 40px;
}

/* About Page */
.about-hero {
  padding: 160px 20px 80px;
  text-align: center;
  background: var(--color-white);
}

.about-hero h1 {
  font-size: 3rem;
  max-width: 700px;
  margin: 0 auto 24px;
}

.team-section {
  padding: 80px 20px;
}

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

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

.team-card .photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-card .photo span {
  font-size: 2.5rem;
  color: var(--color-white);
  font-family: var(--font-heading);
}

.team-card h3 {
  margin-bottom: 8px;
}

.team-card .role {
  color: var(--color-accent);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.team-card p {
  color: var(--color-muted);
  font-size: 0.95rem;
}

/* Contact Page */
.contact-hero {
  padding: 160px 20px 80px;
  text-align: center;
  background: var(--color-white);
}

.contact-info {
  padding: 80px 20px;
}

.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  max-width: var(--max-width-medium);
  margin: 0 auto;
}

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

.contact-item {
  display: flex;
  gap: 20px;
  margin-bottom: 32px;
}

.contact-item .icon {
  width: 52px;
  height: 52px;
  background: var(--color-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

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

.contact-item h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.contact-item p {
  color: var(--color-muted);
  font-size: 0.95rem;
  margin-bottom: 0;
}

.contact-map {
  flex: 1 1 400px;
  min-height: 300px;
  background: var(--color-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Legal Pages */
.legal-page {
  padding: 160px 20px 80px;
}

.legal-page h1 {
  margin-bottom: 40px;
}

.legal-page h2 {
  margin-top: 48px;
  font-size: 1.5rem;
}

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

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

/* Services Page */
.services-hero {
  padding: 160px 20px 80px;
  text-align: center;
  background: linear-gradient(165deg, var(--color-white) 0%, var(--color-light) 100%);
}

.services-hero h1 {
  max-width: 700px;
  margin: 0 auto 20px;
}

.services-hero p {
  font-size: 1.2rem;
  color: var(--color-muted);
  max-width: 600px;
  margin: 0 auto;
}

.services-list {
  padding: 80px 20px;
}

.service-detail {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  padding: 60px 0;
  border-bottom: 1px solid #e2e8ed;
}

.service-detail:last-child {
  border-bottom: none;
}

.service-detail.reverse {
  flex-direction: row-reverse;
}

.service-detail .content {
  flex: 1 1 400px;
}

.service-detail .visual {
  flex: 1 1 300px;
  min-height: 280px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-detail .visual svg {
  width: 80px;
  height: 80px;
  fill: var(--color-white);
  opacity: 0.9;
}

.service-detail .tag {
  display: inline-block;
  background: var(--color-light);
  color: var(--color-accent);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.service-detail h2 {
  font-size: 1.8rem;
}

.service-detail .price-tag {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--color-primary);
  margin: 20px 0;
}

.service-detail .price-tag span {
  font-size: 1rem;
  color: var(--color-muted);
}

/* Mobile Styles */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.6rem;
  }

  .hero-editorial {
    padding: 120px 20px 60px;
  }

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

  .nav-menu {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--color-white);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    display: none;
  }

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

  .nav-toggle {
    display: flex;
  }

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

  .split-section .split-content {
    padding: 48px 24px;
  }

  .footer-grid {
    gap: 32px;
  }

  .footer-col {
    flex: 1 1 100%;
  }

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

  .stats-row {
    gap: 32px;
  }

  .stat-item .number {
    font-size: 2.5rem;
  }

  .editorial-section {
    padding: 60px 20px;
  }

  .service-card {
    flex: 1 1 100%;
  }

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

  .sticky-cta .btn {
    width: 100%;
  }
}

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

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

  .editorial-content blockquote {
    font-size: 1.3rem;
    padding-left: 20px;
    margin: 32px 0;
  }

  .testimonial-block {
    padding: 28px 24px;
  }

  .testimonial-block p {
    font-size: 1.05rem;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 12px 14px;
  }
}
