/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-terracotta: #C4704A;
  --color-terracotta-dark: #A65A36;
  --color-sage: #8BA68A;
  --color-sage-light: #B4C6B3;
  --color-cream: #F7F2EC;
  --color-sand: #E8DFD5;
  --color-brown: #4A3B32;
  --color-brown-light: #6A5B52;
  
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Lato', sans-serif;
}

body {
  font-family: var(--font-body);
  color: var(--color-brown);
  background-color: var(--color-cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-brown);
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
}

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

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

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

/* Layout Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-light {
  background-color: #fff;
}

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

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  background-color: var(--color-terracotta);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.1rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.3s ease, transform 0.2s ease;
  text-decoration: none;
}

.btn:hover {
  background-color: var(--color-terracotta-dark);
  color: #fff;
  transform: translateY(-2px);
}

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

.btn-secondary:hover {
  background-color: #728D71;
}

/* Header */
.header {
  padding: 1.5rem 0;
  background-color: var(--color-cream);
  border-bottom: 1px solid var(--color-sand);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-terracotta);
}

.header-nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.header-nav a {
  color: var(--color-brown);
  font-weight: 500;
}

.header-nav a:hover {
  color: var(--color-terracotta);
}

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

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  min-height: 80vh;
  padding: 4rem 0;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-text h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.hero-text p {
  font-size: 1.2rem;
  color: var(--color-brown-light);
  margin-bottom: 2rem;
}

.hero-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(74, 59, 50, 0.1);
}

@media (max-width: 900px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-text h1 {
    font-size: 2.5rem;
  }
}

/* Content Sections */
.section-title {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  text-align: center;
}

/* Grid Layouts */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

@media (max-width: 900px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(74, 59, 50, 0.05);
  transition: transform 0.3s ease;
}

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

.card-image {
  height: 240px;
  width: 100%;
  object-fit: cover;
}

.card-content {
  padding: 2rem;
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* Features List */
.features-list {
  list-style: none;
}

.features-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.features-list li::before {
  content: "•";
  color: var(--color-terracotta);
  font-size: 2rem;
  position: absolute;
  left: 0;
  top: -0.5rem;
}

/* Step Process */
.process-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3rem;
}

.process-grid:nth-child(even) {
  direction: rtl;
}

.process-grid:nth-child(even) > * {
  direction: ltr;
}

.process-image {
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(74, 59, 50, 0.1);
}

.process-text h3 {
  font-size: 2rem;
  color: var(--color-sage);
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .process-grid {
    grid-template-columns: 1fr;
    text-align: center;
    direction: ltr !important;
  }
}

/* Lead Form */
.lead-form-wrapper {
  max-width: 600px;
  margin: 0 auto;
  background: #fff;
  padding: 3rem;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(74, 59, 50, 0.08);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 1rem;
  background-color: #fafafa;
}

.form-control:focus {
  outline: none;
  border-color: var(--color-sage);
  background-color: #fff;
}

.lead-form-wrapper .btn {
  width: 100%;
  margin-top: 1rem;
}

.form-note {
  font-size: 0.85rem;
  color: var(--color-brown-light);
  margin-top: 1rem;
  text-align: center;
}

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--color-sand);
  padding: 1.5rem 0;
}

.faq-item h4 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--color-terracotta-dark);
}

.faq-item p {
  color: var(--color-brown-light);
  margin-bottom: 0;
}

/* Footer */
.footer {
  background-color: var(--color-brown);
  color: var(--color-cream);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer h4 {
  color: var(--color-sand);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.footer a {
  color: var(--color-cream);
  opacity: 0.8;
  display: block;
  margin-bottom: 0.5rem;
}

.footer a:hover {
  opacity: 1;
  color: var(--color-terracotta);
}

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

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #fff;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  z-index: 1000;
  transform: translateY(100%);
  transition: transform 0.4s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.cookie-banner.visible {
  transform: translateY(0);
}

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

.cookie-actions {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

.cookie-actions .btn {
  padding: 0.6rem 1.5rem;
  font-size: 0.9rem;
}

.cookie-actions a {
  display: inline-block;
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    text-align: center;
  }
}

/* Legal Pages */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.legal-content h1 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--color-terracotta);
  border-bottom: 2px solid var(--color-sand);
  padding-bottom: 1rem;
}

.legal-content h2 {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.legal-content p {
  margin-bottom: 1rem;
  color: var(--color-brown-light);
}

.legal-content ul {
  margin-left: 2rem;
  margin-bottom: 1.5rem;
  color: var(--color-brown-light);
}

/* Success Page */
.success-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.success-icon {
  font-size: 4rem;
  color: var(--color-sage);
  margin-bottom: 1.5rem;
}
