@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Nunito:wght@300;400;500;600&display=swap');

:root {
  --primary: #2D4A3E;
  --primary-light: #3F6354;
  --secondary: #6B2D3E;
  --background: #F5EDD6;
  --background-alt: #EBE1C7;
  --text: #2A241F;
  --text-light: #5A4E44;
  --accent: #D4A373;
  --accent-hover: #b88b5d;
  --white: #FFFFFF;
  --error: #9e2a2b;

  --font-serif: 'Cormorant Garamond', serif;
  --font-sans: 'Nunito', sans-serif;

  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;
  --spacing-xxl: 8rem;

  --border-radius: 4px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--primary);
  line-height: 1.2;
}

h1 { font-size: 3rem; margin-bottom: 1.5rem; }
h2 { font-size: 2.5rem; margin-bottom: 1.5rem; }
h3 { font-size: 1.75rem; margin-bottom: 1rem; }

p {
  margin-bottom: 1rem;
}

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

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

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

section {
  padding: var(--spacing-xl) 0;
}

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

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

.section-dark h2, .section-dark h3 {
  color: var(--accent);
}

.section-dark p {
  color: #D3DBD8;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(245, 237, 214, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(45, 74, 62, 0.1);
}

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

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

.nav-links {
  display: flex;
  gap: var(--spacing-md);
  list-style: none;
}

.nav-links a {
  font-weight: 500;
  font-size: 1.1rem;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--primary);
  margin: 5px 0;
  transition: 0.3s;
}

.hero {
  padding-top: 120px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
  align-items: center;
}

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

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

.hero-image {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(45, 74, 62, 0.15);
}

.hero-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: inset 0 0 40px rgba(45, 74, 62, 0.1);
  pointer-events: none;
}

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

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

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(45, 74, 62, 0.2);
  border-radius: var(--border-radius);
  font-family: var(--font-sans);
  font-size: 1rem;
  background-color: var(--white);
  color: var(--text);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(45, 74, 62, 0.1);
}

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.1rem;
  text-align: center;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s, box-shadow 0.3s;
  border: none;
}

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

.btn-primary:hover {
  background-color: var(--accent-hover);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(212, 163, 115, 0.3);
}

.btn-block {
  display: block;
  width: 100%;
}

.lead-form-card {
  background-color: var(--white);
  padding: 2.5rem;
  border-radius: var(--border-radius);
  box-shadow: 0 15px 35px rgba(45, 74, 62, 0.08);
  border-top: 4px solid var(--accent);
}

.lead-form-card h3 {
  margin-bottom: 1.5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-md);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-lg);
  align-items: center;
}

.feature-card {
  padding: 2rem;
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px rgba(45, 74, 62, 0.05);
  transition: transform 0.3s;
}

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

.feature-card .icon {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.faq-item {
  border-bottom: 1px solid rgba(45, 74, 62, 0.1);
  padding: 1.5rem 0;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  color: var(--text-light);
}

.faq-answer p {
  margin-top: 1rem;
  margin-bottom: 0;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-icon {
  font-size: 1.5rem;
  color: var(--accent);
  transition: transform 0.3s;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.legal-content {
  padding-top: 120px;
  max-width: 800px;
  margin: 0 auto;
}

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

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

.success-content {
  padding-top: 120px;
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.success-icon {
  font-size: 5rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

footer {
  background-color: var(--text);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--spacing-md);
  margin-bottom: 3rem;
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-links h4 {
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

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

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
}

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

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

.cookie-banner {
  position: fixed;
  bottom: -100%;
  left: 0;
  right: 0;
  background-color: var(--primary);
  color: var(--white);
  padding: 1.5rem;
  z-index: 2000;
  box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
  transition: bottom 0.5s ease;
}

.cookie-banner.show {
  bottom: 0;
}

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

.cookie-banner p {
  margin: 0;
  font-size: 0.95rem;
}

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

.cookie-banner .btn {
  padding: 0.6rem 1.5rem;
  white-space: nowrap;
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content h1 {
    font-size: 3rem;
  }
  .hero-image {
    order: -1;
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--background);
    flex-direction: column;
    align-items: center;
    padding-top: 2rem;
    transition: 0.3s;
  }
  .nav-links.active {
    left: 0;
  }
  .mobile-menu-btn {
    display: block;
  }
  .grid-3, .grid-2 {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .cookie-inner {
    flex-direction: column;
    text-align: center;
  }
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  .hero-content h1 { font-size: 2.5rem; }
}
