:root {
  --primary: #1a3a5c;
  --secondary: #2e7d6d;
  --accent: #d4a03e;
  --light: #f8f6f2;
  --dark: #1c1c1c;
  --gray: #6b7280;
  --white: #ffffff;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
}

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

html {
  scroll-behavior: smooth;
}

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

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

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

a {
  color: inherit;
  text-decoration: none;
}

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

/* Header */
.site-header {
  background: var(--white);
  padding: 18px 0;
  position: relative;
  z-index: 100;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

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

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

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

.main-nav {
  display: flex;
  gap: 32px;
}

.main-nav a {
  font-size: 0.95rem;
  color: var(--gray);
  transition: color 0.2s;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--primary);
}

.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 0 60px;
  background: linear-gradient(135deg, var(--light) 0%, var(--white) 100%);
}

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

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

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

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

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

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

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

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

.btn-primary:hover {
  background: #0f2940;
  transform: translateY(-2px);
}

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

.btn-secondary:hover {
  background: #1f5c50;
}

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

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

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

.btn-accent:hover {
  background: #c4922e;
}

/* Sections */
.section {
  padding: 80px 0;
}

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

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

.section-title {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 16px;
  font-weight: 700;
}

.section-dark .section-title {
  color: var(--white);
}

.section-subtitle {
  color: var(--gray);
  font-size: 1.1rem;
  margin-bottom: 40px;
}

.section-dark .section-subtitle {
  color: rgba(255,255,255,0.8);
}

/* Editorial Content */
.editorial-content {
  font-size: 1.1rem;
  color: #444;
}

.editorial-content p {
  margin-bottom: 24px;
}

.editorial-content h2 {
  font-size: 1.8rem;
  color: var(--primary);
  margin: 48px 0 20px;
}

.editorial-content h3 {
  font-size: 1.4rem;
  color: var(--primary);
  margin: 36px 0 16px;
}

.editorial-content ul {
  margin: 20px 0 24px 24px;
}

.editorial-content li {
  margin-bottom: 10px;
}

.content-image {
  margin: 40px 0;
  border-radius: 8px;
  overflow: hidden;
}

.content-image img {
  width: 100%;
}

.content-image figcaption {
  padding: 12px;
  background: var(--light);
  font-size: 0.9rem;
  color: var(--gray);
  text-align: center;
}

/* Inline CTA */
.inline-cta {
  background: var(--light);
  padding: 32px;
  border-radius: 8px;
  margin: 40px 0;
  border-left: 4px solid var(--secondary);
}

.inline-cta p {
  margin-bottom: 16px;
}

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

.service-card {
  flex: 1 1 calc(50% - 12px);
  background: var(--white);
  border-radius: 12px;
  padding: 32px;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px 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;
  stroke: var(--secondary);
}

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

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

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

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

/* Stats */
.stats-row {
  display: flex;
  justify-content: center;
  gap: 60px;
  padding: 40px 0;
}

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

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.8);
  margin-top: 8px;
}

/* Split Section */
.split-section {
  display: flex;
  align-items: center;
  gap: 60px;
}

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

.split-content {
  flex: 1;
}

.split-image {
  flex: 1;
  border-radius: 12px;
  overflow: hidden;
}

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

/* Testimonials */
.testimonial-single {
  background: var(--white);
  padding: 48px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  position: relative;
}

.testimonial-single::before {
  content: '"';
  font-size: 6rem;
  color: var(--light);
  position: absolute;
  top: 20px;
  left: 30px;
  line-height: 1;
  font-family: Georgia, serif;
}

.testimonial-text {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--dark);
  position: relative;
  z-index: 1;
  margin-bottom: 24px;
}

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

.testimonial-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;
}

.testimonial-info h4 {
  color: var(--primary);
  font-size: 1rem;
}

.testimonial-info p {
  color: var(--gray);
  font-size: 0.9rem;
}

/* Form */
.form-container {
  background: var(--white);
  padding: 48px;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  font-size: 1rem;
  border: 2px solid #e5e5e5;
  border-radius: 6px;
  transition: border-color 0.2s;
  font-family: inherit;
}

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

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

/* Contact Info */
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

.contact-icon {
  width: 48px;
  height: 48px;
  background: var(--secondary);
  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-item h4 {
  color: var(--primary);
  margin-bottom: 4px;
}

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

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

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 40px;
}

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

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

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

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

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.95rem;
  max-width: 280px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 24px;
}

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

/* 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-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cookie-text {
  font-size: 0.95rem;
}

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

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

.cookie-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
}

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

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

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

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

.sticky-cta .btn {
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

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

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

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

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

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

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

/* About Page */
.about-hero {
  padding: 100px 0 60px;
  background: var(--light);
}

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

.about-hero .lead {
  font-size: 1.2rem;
  color: var(--gray);
}

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

.team-member {
  flex: 1 1 calc(33.333% - 22px);
  text-align: center;
}

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

.team-member h3 {
  color: var(--primary);
  margin-bottom: 4px;
}

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

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

.legal-content h1 {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 32px;
}

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

.legal-content p {
  margin-bottom: 16px;
  color: #444;
}

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

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

/* Responsive */
@media (max-width: 992px) {
  .split-section {
    flex-direction: column;
  }

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

  .footer-grid {
    flex-wrap: wrap;
  }

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

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    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);
  }

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

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

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

  .stats-row {
    flex-wrap: wrap;
    gap: 30px;
  }

  .stat-item {
    flex: 1 1 40%;
  }

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

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

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

  .team-member {
    flex: 1 1 100%;
  }
}
