@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300..900;1,9..144,300..900&family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');

:root {
  --bg-color: #FAFAF7;
  --text-color: #2D2825;
  --text-muted: #5A514B;
  --primary: #D96C4A;
  --primary-hover: #C25B3B;
  --secondary: #E8A35A;
  --accent: #8B6A56;
  --surface: #FFFFFF;
  --surface-alt: #F2EFE9;
  --border: #E5E0D8;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --shadow-sm: 0 2px 8px rgba(45, 40, 37, 0.05);
  --shadow-md: 0 8px 24px rgba(45, 40, 37, 0.08);
  --font-heading: 'Fraunces', serif;
  --font-body: 'Nunito', sans-serif;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
}

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

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

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

main {
  flex: 1;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text-color);
  margin-bottom: var(--space-sm);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }

p {
  margin-bottom: var(--space-sm);
}

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

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

img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  object-fit: cover;
}

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

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

.header {
  position: sticky;
  top: 0;
  background-color: rgba(250, 250, 247, 0.95);
  backdrop-filter: blur(10px);
  z-index: 100;
  border-bottom: 1px solid var(--border);
  padding: var(--space-sm) 0;
}

.header .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);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn {
  display: inline-block;
  background-color: var(--primary);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-align: center;
  transition: all 0.3s ease;
  font-family: var(--font-body);
  font-size: 1rem;
}

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

.btn-secondary {
  background-color: var(--surface);
  color: var(--primary);
  border: 1px solid var(--primary);
}

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

.hero {
  padding: var(--space-xl) 0 var(--space-lg);
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: var(--space-md);
}

.hero-content p {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}

.hero-image {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  display: block;
}

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

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

.card {
  background: var(--surface);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.card-icon {
  font-size: 2rem;
  margin-bottom: var(--space-sm);
  display: inline-block;
  color: var(--secondary);
}

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

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

.section-header {
  margin-bottom: var(--space-lg);
}

.form-card {
  background: var(--surface);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  max-width: 500px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: var(--space-xs);
  color: var(--text-muted);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.3s ease;
  background-color: var(--bg-color);
}

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

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.checkbox-group input[type="checkbox"] {
  margin-top: 0.25rem;
}

.testimonial-card {
  font-style: italic;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  font-family: var(--font-heading);
  font-size: 4rem;
  color: var(--surface-alt);
  position: absolute;
  top: -1rem;
  left: 0.5rem;
  z-index: 0;
}

.testimonial-text {
  position: relative;
  z-index: 1;
}

.testimonial-author {
  margin-top: var(--space-md);
  font-style: normal;
  font-weight: 600;
  color: var(--primary);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: var(--space-sm) 0;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--text-color);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-sm) 0;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-muted);
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-bottom: var(--space-sm);
}

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

.footer {
  background-color: var(--surface-alt);
  padding: var(--space-lg) 0 var(--space-md);
  margin-top: auto;
}

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

.footer-legal p {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.875rem;
}

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

.footer-bottom {
  text-align: center;
  padding-top: var(--space-md);
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--text-muted);
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  background: var(--surface);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.legal-content h1 {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
  color: var(--primary);
}

.legal-content h2 {
  font-size: 1.5rem;
  margin-top: var(--space-md);
  margin-bottom: var(--space-sm);
}

.success-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 75vh;
}

.success-content {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.success-image {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  margin-bottom: var(--space-lg);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--surface);
  padding: var(--space-sm);
  box-shadow: 0 -4px 12px rgba(0,0,0,0.05);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-md);
  z-index: 1000;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

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

.cookie-text {
  font-size: 0.875rem;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }

  .hero {
    text-align: center;
    padding: var(--space-md) 0;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .grid-2, .grid-3, .footer-grid {
    grid-template-columns: 1fr;
  }

  .reverse-mobile {
    display: flex;
    flex-direction: column-reverse;
  }

  section {
    padding: var(--space-md) 0;
  }

  .cookie-banner {
    flex-direction: column;
    text-align: center;
    gap: var(--space-sm);
  }
}
