:root {
  --primary: #3D2B1F;
  --secondary: #7C5C3E;
  --bg: #FAF6F1;
  --bg-alt: #F0E9DF;
  --text: #2C2218;
  --white: #FFFFFF;
  --font-heading: Georgia, 'Times New Roman', serif;
  --font-body: system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

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

main {
  flex: 1;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary);
  font-weight: normal;
}

h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

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

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

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

header {
  padding: 20px 0;
  background-color: var(--bg);
  border-bottom: 1px solid rgba(61, 43, 31, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

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

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

nav a {
  font-weight: 500;
  color: var(--text);
}

nav a:hover {
  color: var(--secondary);
}

section {
  padding: 80px 0;
}

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

.hero {
  position: relative;
  background: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)), url('images/hero.jpg') center/cover no-repeat;
  color: var(--bg);
  padding: 120px 0;
  text-align: center;
}

.hero h1 {
  color: var(--bg);
  max-width: 800px;
  margin: 0 auto 1.5rem auto;
}

.hero p {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto 2.5rem auto;
  opacity: 0.9;
}

.btn {
  display: inline-block;
  background-color: var(--primary);
  color: var(--bg);
  padding: 15px 35px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
  text-decoration: none;
}

.btn:hover {
  background-color: #523A2A;
  color: var(--bg);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.card {
  background-color: var(--white);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(61, 43, 31, 0.05);
  height: 100%;
}

.card h3 {
  color: var(--primary);
}

.result-card {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(61, 43, 31, 0.08);
  background-color: var(--white);
}

.result-card img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  display: block;
}

.result-caption {
  padding: 20px;
  text-align: center;
  font-style: italic;
  color: var(--text);
}

.process-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.process-image {
  flex: 1;
}

.process-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(61, 43, 31, 0.08);
}

.process-text {
  flex: 1;
}

.process-list {
  list-style: none;
  margin-top: 2rem;
}

.process-list li {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
  position: relative;
}

.process-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--secondary);
}

.program-list {
  max-width: 700px;
  margin: 0 auto;
  list-style-type: none;
  counter-reset: program-counter;
}

.program-list li {
  position: relative;
  padding: 20px 20px 20px 60px;
  background-color: var(--white);
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(61, 43, 31, 0.03);
  font-size: 1.1rem;
}

.program-list li::before {
  counter-increment: program-counter;
  content: counter(program-counter);
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  background-color: var(--bg-alt);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: bold;
  font-family: var(--font-heading);
}

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

.faq-item {
  margin-bottom: 2rem;
}

.faq-item h3 {
  font-size: 1.25rem;
}

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

.lead-form-wrapper {
  max-width: 500px;
  margin: 0 auto;
  background-color: var(--white);
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(61, 43, 31, 0.08);
}

.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #D6CCC2;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 1rem;
  background-color: var(--bg);
  color: var(--text);
  transition: border-color 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--secondary);
}

.form-note {
  display: block;
  margin-top: 15px;
  font-size: 0.85rem;
  color: #666;
}

footer {
  background-color: var(--primary);
  color: var(--bg);
  padding: 60px 0 40px 0;
  margin-top: auto;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

footer h4 {
  color: var(--bg-alt);
  margin-bottom: 1rem;
}

footer p {
  opacity: 0.8;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

footer a {
  color: var(--bg-alt);
  opacity: 0.8;
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(250, 246, 241, 0.1);
  font-size: 0.85rem;
  opacity: 0.7;
}

#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--primary);
  color: var(--bg);
  padding: 20px;
  display: none;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.1);
}

.cookie-text {
  font-size: 0.9rem;
  margin-right: 20px;
}

.cookie-text a {
  color: var(--bg-alt);
  text-decoration: underline;
}

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

#cookie-accept {
  background-color: var(--bg);
  color: var(--primary);
  border: none;
  padding: 8px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  font-family: var(--font-body);
  transition: background-color 0.2s;
  white-space: nowrap;
}

#cookie-accept:hover {
  background-color: var(--bg-alt);
}

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

.success-content h1 {
  margin-bottom: 1rem;
}

.success-steps {
  text-align: left;
  background-color: var(--white);
  padding: 30px;
  border-radius: 8px;
  margin: 30px 0;
  box-shadow: 0 4px 15px rgba(61, 43, 31, 0.05);
}

.success-steps h3 {
  margin-bottom: 15px;
}

.success-steps ol {
  padding-left: 20px;
}

.success-steps li {
  margin-bottom: 10px;
}

.page-content {
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--white);
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(61, 43, 31, 0.05);
}

.page-content h1 {
  margin-bottom: 2rem;
}

.page-content h2 {
  text-align: left;
  font-size: 1.5rem;
  margin: 2rem 0 1rem 0;
}

.page-content p, .page-content ul {
  margin-bottom: 1rem;
}

.page-content ul {
  padding-left: 20px;
}

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

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  section { padding: 50px 0; }

  nav ul { display: none; }
  .logo { margin: 0 auto; }
  .header-inner { justify-content: center; }

  .hero { padding: 80px 0; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; gap: 20px; }
  .footer-inner { grid-template-columns: 1fr; gap: 30px; }

  .process-content { flex-direction: column; gap: 30px; }

  #cookie-banner {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  .cookie-text { margin-right: 0; }
}
