:root {
  --primary: #2c3e50;
  --secondary: #8e44ad;
  --accent: #e74c3c;
  --light: #f8f9fa;
  --dark: #1a1a2e;
  --text: #333;
  --text-light: #666;
  --white: #fff;
  --shadow: 0 4px 20px rgba(0,0,0,0.1);
  --shadow-strong: 0 8px 40px rgba(0,0,0,0.15);
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

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

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

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

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

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

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

h1, h2, h3, h4, h5, h6 {
  color: var(--dark);
  line-height: 1.3;
  margin-bottom: 1rem;
}

h1 { font-size: 2.8rem; font-weight: 700; }
h2 { font-size: 2.2rem; font-weight: 600; }
h3 { font-size: 1.6rem; font-weight: 600; }
h4 { font-size: 1.3rem; font-weight: 500; }

p {
  margin-bottom: 1.2rem;
  color: var(--text-light);
}

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

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

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

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

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

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

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

/* Navigation */
.nav-header {
  background: var(--white);
  padding: 15px 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
}

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

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

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

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

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

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

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: var(--dark);
  transition: var(--transition);
}

/* Hero Editorial */
.hero-editorial {
  padding: 160px 0 80px;
  background: linear-gradient(135deg, #f5f7fa 0%, #e8edf2 100%);
}

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

.hero-editorial h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--dark);
}

.hero-editorial .lead {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-image {
  margin-top: 50px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-strong);
}

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

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

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

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

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

.editorial-section.dark-bg p {
  color: rgba(255,255,255,0.8);
}

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

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  max-width: 600px;
  margin: 0 auto;
}

/* Inline Image */
.inline-image {
  margin: 40px 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.inline-image.float-left {
  float: left;
  margin-right: 30px;
  margin-bottom: 20px;
  max-width: 45%;
}

.inline-image.float-right {
  float: right;
  margin-left: 30px;
  margin-bottom: 20px;
  max-width: 45%;
}

.clearfix::after {
  content: '';
  display: table;
  clear: both;
}

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

.service-card {
  flex: 1 1 calc(33.333% - 20px);
  min-width: 280px;
  background: var(--white);
  border-radius: 12px;
  padding: 35px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-strong);
}

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

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

.service-card h3 {
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.95rem;
  margin-bottom: 20px;
}

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

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

/* Testimonial */
.testimonial-block {
  background: var(--light);
  border-left: 4px solid var(--secondary);
  padding: 30px 40px;
  margin: 40px 0;
  border-radius: 0 8px 8px 0;
}

.testimonial-block blockquote {
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text);
  margin-bottom: 15px;
}

.testimonial-block cite {
  font-style: normal;
  font-weight: 600;
  color: var(--secondary);
}

/* CTA Section */
.cta-inline {
  background: linear-gradient(135deg, var(--secondary) 0%, #6c3483 100%);
  padding: 50px;
  border-radius: 12px;
  text-align: center;
  margin: 60px 0;
}

.cta-inline h3 {
  color: var(--white);
  margin-bottom: 15px;
}

.cta-inline p {
  color: rgba(255,255,255,0.9);
  margin-bottom: 25px;
}

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

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

/* Process Steps */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 40px;
}

.process-step {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

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

.step-content h4 {
  margin-bottom: 8px;
}

/* Benefits */
.benefits-list {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  margin-top: 30px;
}

.benefit-item {
  flex: 1 1 calc(50% - 15px);
  min-width: 250px;
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

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

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

/* Form Styles */
.contact-form {
  background: var(--white);
  padding: 50px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  max-width: 600px;
  margin: 0 auto;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #e1e5ea;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
}

.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 {
  text-align: center;
}

.form-submit .btn {
  min-width: 200px;
}

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

.contact-info-item {
  flex: 1 1 calc(50% - 15px);
  min-width: 250px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 25px;
  background: var(--light);
  border-radius: 10px;
}

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

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

.contact-info-text h4 {
  margin-bottom: 5px;
}

.contact-info-text p {
  margin-bottom: 0;
}

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

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

.thanks-icon {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--secondary) 0%, #27ae60 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
}

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

.thanks-content h1 {
  margin-bottom: 20px;
}

.thanks-content p {
  font-size: 1.15rem;
  margin-bottom: 30px;
}

/* Footer */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 30px;
}

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

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

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

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

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

.footer-col ul a {
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
}

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

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

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

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

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

.cookie-text {
  flex: 1;
  min-width: 280px;
}

.cookie-text p {
  margin: 0;
  color: rgba(255,255,255,0.9);
}

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

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

.cookie-btn {
  padding: 10px 25px;
  border: none;
  border-radius: 5px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

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

.cookie-btn.accept:hover {
  background: var(--accent);
}

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

.cookie-btn.reject:hover {
  background: rgba(255,255,255,0.1);
}

/* Sticky CTA */
.sticky-cta {
  position: fixed;
  bottom: 100px;
  right: 20px;
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

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

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

/* Legal Pages */
.legal-content {
  padding: 140px 0 80px;
}

.legal-content h1 {
  margin-bottom: 30px;
}

.legal-content h2 {
  font-size: 1.5rem;
  margin-top: 40px;
  margin-bottom: 15px;
}

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

.legal-content li {
  margin-bottom: 8px;
  color: var(--text-light);
}

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

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

.team-visual {
  background: var(--light);
  border-radius: 12px;
  padding: 60px;
  text-align: center;
  margin-top: 40px;
}

.values-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 40px;
}

.value-card {
  flex: 1 1 calc(50% - 15px);
  min-width: 280px;
  padding: 30px;
  background: var(--white);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.value-card h4 {
  margin-bottom: 10px;
  color: var(--secondary);
}

/* Responsive */
@media (max-width: 992px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }

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

  .service-card {
    flex: 1 1 calc(50% - 15px);
  }

  .inline-image.float-left,
  .inline-image.float-right {
    float: none;
    max-width: 100%;
    margin: 30px 0;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    gap: 0;
    box-shadow: var(--shadow);
    display: none;
  }

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

  .nav-menu li {
    border-bottom: 1px solid var(--light);
  }

  .nav-menu a {
    display: block;
    padding: 15px 0;
  }

  .nav-toggle {
    display: flex;
  }

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

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

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

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

  .cta-inline {
    padding: 35px 25px;
  }

  .process-step {
    flex-direction: column;
    gap: 15px;
  }

  .benefit-item {
    flex: 1 1 100%;
  }

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

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

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

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

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

  .btn {
    padding: 12px 24px;
  }

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