:root {
  --primary: #2c3e50;
  --secondary: #8b4513;
  --accent: #d4a574;
  --light: #f8f5f2;
  --dark: #1a1a2e;
  --text: #333;
  --text-light: #666;
  --white: #fff;
  --shadow: 0 4px 20px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: all 0.3s ease;
}

* {
  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(--text);
  background: var(--white);
}

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

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

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

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

.ad-disclosure {
  background: var(--dark);
  color: var(--white);
  text-align: center;
  padding: 8px;
  font-size: 12px;
}

.main-header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 1px;
}

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

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

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

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

.hero-section {
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background-color: var(--primary);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 60px 40px;
  color: var(--white);
}

.hero-content h1 {
  font-size: 52px;
  line-height: 1.2;
  margin-bottom: 24px;
  font-weight: 700;
}

.hero-content p {
  font-size: 20px;
  margin-bottom: 32px;
  opacity: 0.9;
}

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

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

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--secondary);
  padding: 14px 36px;
  border: 2px solid var(--secondary);
  border-radius: var(--radius);
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
}

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

.section {
  padding: 100px 0;
}

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

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

.section-title {
  font-size: 38px;
  text-align: center;
  margin-bottom: 20px;
  color: var(--primary);
}

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

.section-subtitle {
  text-align: center;
  font-size: 18px;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 50px;
}

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

.split-layout {
  display: flex;
  align-items: center;
  gap: 60px;
}

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

.split-content {
  flex: 1;
}

.split-image {
  flex: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--accent);
  min-height: 400px;
}

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

.split-content h2 {
  font-size: 36px;
  margin-bottom: 20px;
  color: var(--primary);
}

.split-content p {
  margin-bottom: 20px;
  color: var(--text-light);
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

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

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

.service-card-image {
  height: 220px;
  overflow: hidden;
  background-color: var(--accent);
}

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

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

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

.service-card p {
  color: var(--text-light);
  margin-bottom: 20px;
  font-size: 15px;
}

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

.features-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  margin-top: 50px;
}

.feature-item {
  flex: 1 1 280px;
  max-width: 320px;
  text-align: center;
  padding: 30px;
}

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

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

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

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

.testimonial-card {
  background: var(--white);
  padding: 35px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  flex: 1 1 300px;
  max-width: 400px;
}

.testimonial-card p {
  font-style: italic;
  margin-bottom: 20px;
  color: var(--text);
  line-height: 1.8;
}

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

.cta-section {
  background: linear-gradient(135deg, var(--primary), var(--dark));
  padding: 80px 0;
  text-align: center;
}

.cta-section h2 {
  color: var(--white);
  font-size: 36px;
  margin-bottom: 20px;
}

.cta-section p {
  color: rgba(255,255,255,0.85);
  font-size: 18px;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.form-section {
  background: var(--light);
  padding: 80px 0;
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
  background: var(--white);
  padding: 50px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.form-container h2 {
  text-align: center;
  margin-bottom: 30px;
  color: var(--primary);
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #e0e0e0;
  border-radius: var(--radius);
  font-size: 16px;
  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-submit {
  width: 100%;
  padding: 16px;
  background: var(--secondary);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.form-submit:hover {
  background: var(--accent);
}

.main-footer {
  background: var(--dark);
  color: var(--white);
  padding: 60px 0 30px;
}

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

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

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

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

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

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

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

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

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

.disclaimer {
  background: #f0f0f0;
  padding: 30px;
  border-radius: var(--radius);
  margin: 40px 0;
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.8;
}

.references {
  margin-top: 40px;
  padding: 30px;
  background: var(--light);
  border-radius: var(--radius);
}

.references h4 {
  margin-bottom: 15px;
  color: var(--primary);
}

.references ol {
  padding-left: 20px;
}

.references li {
  margin-bottom: 8px;
  font-size: 14px;
}

.references a {
  color: var(--secondary);
  word-break: break-all;
}

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

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

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

.cookie-inner p {
  flex: 1;
  font-size: 14px;
}

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

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

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

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

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

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

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

.page-header p {
  color: rgba(255,255,255,0.8);
  font-size: 18px;
}

.content-page {
  padding: 60px 0;
}

.content-page h2 {
  color: var(--primary);
  margin: 30px 0 15px;
  font-size: 24px;
}

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

.content-page ul {
  margin: 15px 0 15px 30px;
}

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

.contact-info {
  background: var(--light);
  padding: 40px;
  border-radius: var(--radius-lg);
  margin-top: 40px;
}

.contact-info h3 {
  color: var(--primary);
  margin-bottom: 20px;
}

.contact-info p {
  margin-bottom: 12px;
}

.thanks-page {
  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: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
  font-size: 48px;
  color: var(--white);
}

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

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

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

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

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

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

.story-content {
  max-width: 700px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.9;
}

.story-content p {
  margin-bottom: 25px;
}

.highlight-box {
  background: var(--secondary);
  color: var(--white);
  padding: 30px;
  border-radius: var(--radius);
  margin: 30px 0;
  font-size: 20px;
  text-align: center;
}

.stats-row {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin: 50px 0;
  flex-wrap: wrap;
}

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

.stat-number {
  font-size: 48px;
  font-weight: 700;
  color: var(--secondary);
}

.stat-label {
  color: var(--text-light);
  margin-top: 8px;
}

@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: 15px;
    box-shadow: var(--shadow);
  }

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

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

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

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

  .section-title {
    font-size: 28px;
  }

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

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

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