:root {
  --primary: #8B4513;
  --primary-dark: #6B3410;
  --secondary: #D4A574;
  --accent: #C9A86C;
  --dark: #2C2416;
  --light: #FBF7F0;
  --gray: #6B6560;
  --white: #FFFFFF;
  --shadow: 0 4px 20px rgba(44, 36, 22, 0.1);
  --shadow-lg: 0 8px 40px rgba(44, 36, 22, 0.15);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.7;
  color: var(--dark);
  background: var(--light);
}

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

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

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

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

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

header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: relative;
  z-index: 100;
}

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

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

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

nav {
  display: flex;
  gap: 32px;
}

nav a {
  color: var(--dark);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 4px 0;
}

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

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

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

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

.hero-editorial {
  padding: 80px 20px 60px;
  background: linear-gradient(135deg, var(--light) 0%, var(--white) 100%);
}

.hero-editorial h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--dark);
  margin-bottom: 24px;
  line-height: 1.2;
  font-weight: 700;
}

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

.hero-image {
  width: 100%;
  height: 400px;
  background: linear-gradient(45deg, var(--secondary) 0%, var(--accent) 100%);
  border-radius: 12px;
  margin: 40px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-image svg {
  width: 120px;
  height: 120px;
  opacity: 0.6;
}

.section {
  padding: 60px 20px;
}

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

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

.section-accent {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
}

.section h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  margin-bottom: 24px;
  color: var(--dark);
  font-weight: 700;
}

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

.section p {
  margin-bottom: 20px;
}

.inline-image {
  width: 100%;
  height: 280px;
  background: var(--secondary);
  border-radius: 8px;
  margin: 30px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.inline-image svg {
  width: 80px;
  height: 80px;
  opacity: 0.5;
}

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

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

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

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

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

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

.cta-inline {
  margin: 30px 0;
  padding: 30px;
  background: var(--light);
  border-left: 4px solid var(--primary);
  border-radius: 0 8px 8px 0;
}

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

.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 40px;
}

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

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

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

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

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

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

.testimonial {
  padding: 40px;
  background: var(--white);
  border-radius: 12px;
  margin: 30px 0;
  position: relative;
  box-shadow: var(--shadow);
}

.testimonial::before {
  content: '"';
  font-size: 4rem;
  color: var(--secondary);
  position: absolute;
  top: 10px;
  left: 20px;
  line-height: 1;
}

.testimonial p {
  font-style: italic;
  padding-left: 40px;
  margin-bottom: 16px;
}

.testimonial-author {
  padding-left: 40px;
  font-weight: 600;
  color: var(--primary);
}

.form-wrapper {
  background: var(--white);
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  margin-top: 30px;
}

.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 16px;
  border: 2px solid #E5E0D8;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  font-family: inherit;
}

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

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

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 30px;
}

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

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

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

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

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

.features-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 30px 0;
}

.feature-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.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 h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--dark);
}

.feature-content p {
  color: var(--gray);
  margin: 0;
  font-size: 0.95rem;
}

.two-column {
  display: flex;
  gap: 40px;
  align-items: center;
}

.two-column > div {
  flex: 1;
}

.sticky-cta {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

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

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

footer {
  background: var(--dark);
  color: var(--light);
  padding: 60px 20px 30px;
}

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

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

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

.footer-col a {
  display: block;
  color: var(--secondary);
  margin-bottom: 10px;
  font-size: 0.95rem;
}

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

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

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  padding: 20px;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
  z-index: 1000;
  display: none;
}

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

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

.cookie-content p {
  flex: 1;
  margin: 0;
  font-size: 0.95rem;
}

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

.cookie-buttons .btn {
  padding: 10px 20px;
  font-size: 0.9rem;
}

.thanks-wrapper {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
}

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

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

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

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

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

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

.legal-content h1 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: var(--dark);
}

.legal-content h2 {
  font-size: 1.4rem;
  margin: 30px 0 15px;
  color: var(--dark);
}

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

.legal-content ul {
  padding-left: 24px;
}

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

.about-hero {
  padding: 80px 20px;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 50%, var(--primary) 100%);
  color: var(--white);
  text-align: center;
}

.about-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 20px;
}

.about-hero p {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

.split-section {
  display: flex;
  gap: 0;
  min-height: 400px;
}

.split-section > div {
  flex: 1;
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.split-image {
  background: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.split-image svg {
  width: 100px;
  height: 100px;
  opacity: 0.5;
}

.stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin: 40px 0;
}

.stat-item {
  flex: 1 1 150px;
  text-align: center;
  padding: 30px 20px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
}

.stat-label {
  color: var(--gray);
  font-size: 0.95rem;
  margin-top: 8px;
}

.page-header {
  padding: 60px 20px;
  background: var(--white);
  text-align: center;
  border-bottom: 1px solid #E5E0D8;
}

.page-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--dark);
  margin-bottom: 12px;
}

.page-header p {
  color: var(--gray);
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    box-shadow: var(--shadow);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

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

  .hamburger {
    display: flex;
  }

  .two-column {
    flex-direction: column;
  }

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

  .split-section > div {
    padding: 40px 20px;
  }

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

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

  .hero-image {
    height: 250px;
  }

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

@media (max-width: 480px) {
  .header-inner {
    padding: 14px 16px;
  }

  .logo {
    font-size: 1.3rem;
  }

  .section {
    padding: 40px 16px;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.95rem;
  }

  .service-card {
    padding: 24px;
  }

  .testimonial {
    padding: 30px 20px;
  }

  .stats-row {
    gap: 16px;
  }

  .stat-item {
    padding: 20px 16px;
  }

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