@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700&family=Fraunces:wght@400;600&display=swap');

:root {
  --primary-color: #1e3a5f;
  --primary-color-hover: #152b47;
  --accent-color: #c8853a;
  --accent-color-hover: #b07532;
  --bg-color: #faf8f4;
  --text-color: #333333;
  --text-light: #555555;
  --nav-height: 70px;
  --font-body: 'Nunito', sans-serif;
  --font-heading: 'Fraunces', serif;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

footer {
  margin-top: auto;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--accent-color-hover);
  margin-bottom: 1rem;
}

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

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

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

.text-center { text-align: center; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

section {
  padding: 5rem 0;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background-color: var(--bg-color);
  display: flex;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-color);
}

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

.nav-links a {
  font-weight: 600;
  color: var(--text-color);
}

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

.hamburger {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--primary-color);
  background: none;
  border: none;
}

.btn {
  display: inline-block;
  background-color: var(--accent-color);
  color: white;
  padding: 0.8rem 2rem;
  border-radius: 4px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

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

.hero {
  padding-top: calc(5rem + var(--nav-height));
  display: flex;
  align-items: center;
  min-height: 80vh;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.hero-content {
  flex: 1;
}

.hero-content h1 {
  font-size: 3rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

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

.hero-image {
  flex: 1;
}

.hero-image img {
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.split-section {
  display: flex;
  align-items: center;
  gap: 3rem;
}

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

.split-image, .split-content {
  flex: 1;
}

.split-image img {
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.faq-item {
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 1.5rem;
}

.faq-question {
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.lead-form-section {
  background-color: var(--primary-color);
  color: white;
  text-align: center;
}

.lead-form-section h2 {
  color: white;
}

.form-container {
  max-width: 500px;
  margin: 0 auto;
  background: white;
  padding: 2.5rem;
  border-radius: 8px;
  color: var(--text-color);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

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

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

.form-group input {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 1rem;
}

.form-container .btn {
  width: 100%;
  font-size: 1.1rem;
}

footer {
  background-color: var(--primary-color);
  color: white;
  padding: 4rem 0 2rem;
  text-align: center;
}

footer a {
  color: #94a3b8;
}

footer a:hover {
  color: white;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.footer-legal {
  font-size: 0.875rem;
  color: #94a3b8;
  margin-bottom: 1rem;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: white;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
  padding: 1.5rem;
  display: none;
  justify-content: space-between;
  align-items: center;
  z-index: 2000;
}

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

.cookie-text {
  flex: 1;
  margin-right: 2rem;
  font-size: 0.9rem;
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.legal-content {
  padding-top: calc(5rem + var(--nav-height));
  max-width: 800px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .hero-inner {
    flex-direction: column;
    text-align: center;
  }

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

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  }

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

  .hamburger {
    display: block;
  }

  .cookie-banner {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .cookie-text {
    margin-right: 0;
  }
}
