:root {
  --primary: #5D4E37;
  --secondary: #8B7355;
  --accent: #C9A86C;
  --light: #F5F0E8;
  --dark: #2C2416;
  --text: #3D3426;
  --white: #FFFFFF;
  --shadow: rgba(93, 78, 55, 0.15);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Georgia', serif;
  font-size: 18px;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--light);
}

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

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

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

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

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

/* Header */
.site-header {
  background-color: var(--white);
  box-shadow: 0 2px 12px var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-top {
  background-color: var(--primary);
  color: var(--white);
  padding: 8px 0;
  font-size: 13px;
  text-align: center;
}

.header-top a {
  color: var(--accent);
}

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

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

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

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

.main-nav a {
  font-size: 15px;
  color: var(--text);
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

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

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--primary);
  margin: 6px 0;
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  background-color: var(--secondary);
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--secondary);
}

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

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  padding: 80px 0;
}

.hero h1 {
  font-size: 52px;
  line-height: 1.2;
  margin-bottom: 24px;
  max-width: 600px;
}

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

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

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

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

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

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

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

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

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

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

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

.section-title {
  font-size: 36px;
  margin-bottom: 16px;
  color: var(--primary);
}

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

.section-subtitle {
  font-size: 18px;
  color: var(--secondary);
  margin-bottom: 48px;
}

.section-dark .section-subtitle {
  color: var(--accent);
}

/* Editorial Content */
.editorial-content {
  font-size: 19px;
  line-height: 1.8;
}

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

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

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

.editorial-image {
  margin: 40px 0;
  background-color: var(--secondary);
}

.editorial-image img {
  width: 100%;
  display: block;
}

.editorial-image figcaption {
  font-size: 14px;
  color: var(--secondary);
  padding: 12px 0;
  font-style: italic;
}

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

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

/* Services Cards */
.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
}

.service-card {
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow);
  flex: 1 1 340px;
  max-width: 380px;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
}

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

.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 {
  font-size: 15px;
  margin-bottom: 16px;
  color: var(--text);
}

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

.service-price span {
  font-size: 14px;
  color: var(--secondary);
  font-weight: normal;
}

/* Testimonials */
.testimonial {
  background-color: var(--white);
  padding: 40px;
  margin: 40px 0;
  border-radius: 8px;
  box-shadow: 0 4px 20px var(--shadow);
}

.testimonial-text {
  font-size: 20px;
  font-style: italic;
  margin-bottom: 24px;
  color: var(--text);
}

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

.testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--secondary);
  overflow: hidden;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-name {
  font-weight: bold;
  color: var(--primary);
}

.testimonial-role {
  font-size: 14px;
  color: var(--secondary);
}

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

.benefit-item {
  flex: 1 1 280px;
  text-align: center;
  padding: 32px;
}

.benefit-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  background-color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

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

.section-dark .benefit-item h3 {
  color: var(--white);
}

.benefit-item p {
  font-size: 15px;
}

/* Form Styles */
.form-section {
  background-color: var(--white);
  padding: 48px;
  border-radius: 8px;
  box-shadow: 0 4px 20px var(--shadow);
}

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

.form-group label {
  display: block;
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 8px;
  color: var(--primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 16px;
  border: 2px solid #E0D6C8;
  border-radius: 4px;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

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

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

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

.form-submit .btn {
  width: 100%;
}

/* Split Layout */
.split-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.split-content {
  flex: 1 1 400px;
  padding: 60px;
}

.split-image {
  flex: 1 1 400px;
  min-height: 400px;
  background-color: var(--secondary);
}

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

/* Footer */
.site-footer {
  background-color: var(--dark);
  color: var(--white);
  padding: 60px 0 32px;
}

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

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

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

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

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

.footer-col a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
}

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

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 32px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.footer-bottom p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}

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

.footer-legal a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}

/* Disclaimer */
.disclaimer {
  background-color: #E8E0D4;
  padding: 24px;
  margin: 40px 0;
  border-radius: 4px;
  font-size: 14px;
  color: var(--secondary);
}

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

.cookie-banner.hidden {
  display: none;
}

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

.cookie-text {
  flex: 1 1 500px;
  font-size: 14px;
}

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

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

.cookie-btn {
  padding: 12px 24px;
  font-size: 14px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
}

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

.cookie-accept:hover {
  background-color: #D4B67A;
}

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

.cookie-reject:hover {
  border-color: var(--white);
}

/* Page Header */
.page-header {
  background-color: var(--primary);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}

.page-header h1 {
  font-size: 42px;
  margin-bottom: 16px;
}

.page-header p {
  font-size: 18px;
  opacity: 0.9;
}

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

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

.legal-content h3 {
  font-size: 22px;
  margin: 32px 0 16px;
  color: var(--secondary);
}

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

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

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

/* Contact Page */
.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
}

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

.contact-form-wrapper {
  flex: 2 1 400px;
}

.contact-item {
  margin-bottom: 32px;
}

.contact-item h3 {
  font-size: 18px;
  color: var(--primary);
  margin-bottom: 8px;
}

.contact-item p {
  color: var(--text);
}

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

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

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

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

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

.thanks-content p {
  font-size: 18px;
  margin-bottom: 32px;
}

/* References */
.references {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid #E0D6C8;
}

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

.references ol {
  margin-left: 24px;
}

.references li {
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--secondary);
}

.references a {
  word-break: break-all;
}

/* Responsive */
@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    box-shadow: 0 4px 20px var(--shadow);
  }

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

  .hero h1 {
    font-size: 36px;
  }

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

  .split-content {
    padding: 40px 24px;
  }
}

@media (max-width: 600px) {
  .hero {
    min-height: 50vh;
  }

  .hero h1 {
    font-size: 28px;
  }

  .section {
    padding: 48px 0;
  }

  .form-section {
    padding: 24px;
  }

  .footer-grid {
    gap: 32px;
  }
}
