@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;600;700&family=PT+Sans:wght@400;700&display=swap');

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

:root {
  --cream: #F7F3EE;
  --warm-section: #EDE8E0;
  --wood-dark: #3D2B1A;
  --wood-medium: #5C4A3A;
  --terracotta: #C4783A;
  --terracotta-hover: #A86530;
  --white: #FFFFFF;
  --warm-gray: #8A7A6A;
  --border-light: #D4CCC0;
  --font-heading: 'Cormorant Garamond', serif;
  --font-body: 'PT Sans', sans-serif;
  --section-padding: 100px;
  --section-padding-mobile: 60px;
  --content-max-width: 1200px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  color: var(--wood-dark);
  background-color: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

h1 {
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2.75rem;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.75rem;
}

p {
  margin-bottom: 1rem;
}

.container {
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: var(--section-padding) 0;
}

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

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

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

.logo {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--wood-dark);
  letter-spacing: -0.01em;
}

.cta-button-header {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  background-color: var(--terracotta);
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 4px;
  transition: background-color 0.2s ease;
  border: none;
  cursor: pointer;
}

.cta-button-header:hover {
  background-color: var(--terracotta-hover);
}

.hero {
  padding: 6rem 0 8rem;
  background-color: var(--cream);
}

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

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

.hero-text .subhead {
  font-size: 1.15rem;
  color: var(--wood-medium);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.cta-button-large {
  display: inline-block;
  padding: 1rem 2.5rem;
  background-color: var(--terracotta);
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 4px;
  transition: background-color 0.2s ease;
  border: none;
  cursor: pointer;
}

.cta-button-large:hover {
  background-color: var(--terracotta-hover);
}

.hero-image {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(61, 43, 26, 0.12);
}

.hero-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.who-for-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.who-for-content h2 {
  margin-bottom: 2rem;
}

.who-for-content p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--wood-medium);
}

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

.outcome-item {
  background: var(--white);
  padding: 2rem;
  border-radius: 6px;
  box-shadow: 0 2px 12px rgba(61, 43, 26, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.outcome-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(61, 43, 26, 0.1);
}

.outcome-icon {
  width: 48px;
  height: 48px;
  background-color: var(--terracotta);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
}

.outcome-item h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.outcome-item p {
  font-size: 1rem;
  color: var(--warm-gray);
  margin-bottom: 0;
  line-height: 1.6;
}

.format-content {
  max-width: 900px;
  margin: 0 auto;
}

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

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

.format-item h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: var(--terracotta);
}

.format-item p {
  color: var(--wood-medium);
  margin-bottom: 0;
}

.program-list {
  max-width: 900px;
  margin: 3rem auto 0;
}

.module-item {
  background: var(--white);
  padding: 2rem;
  margin-bottom: 1.5rem;
  border-radius: 6px;
  border-left: 4px solid var(--terracotta);
  box-shadow: 0 2px 10px rgba(61, 43, 26, 0.05);
}

.module-item h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.module-item p {
  color: var(--warm-gray);
  margin-bottom: 0;
  font-size: 1.05rem;
}

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

.gallery-item {
  background: var(--white);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(61, 43, 26, 0.08);
  transition: transform 0.2s ease;
}

.gallery-item:hover {
  transform: scale(1.02);
}

.gallery-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.gallery-caption {
  padding: 1.5rem;
}

.gallery-caption p {
  color: var(--wood-medium);
  margin-bottom: 0;
  font-size: 1.05rem;
}

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

.trust-content h2 {
  margin-bottom: 2rem;
}

.trust-content p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--wood-medium);
}

.faq-list {
  max-width: 900px;
  margin: 3rem auto 0;
}

.faq-item {
  background: var(--white);
  margin-bottom: 1rem;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(61, 43, 26, 0.05);
}

.faq-question {
  width: 100%;
  padding: 1.5rem 2rem;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--wood-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.2s ease;
}

.faq-question:hover {
  background-color: rgba(196, 120, 58, 0.05);
}

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

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer-inner {
  padding: 0 2rem 1.5rem;
  color: var(--wood-medium);
  line-height: 1.7;
}

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

.form-section {
  background: linear-gradient(135deg, var(--terracotta) 0%, #A86530 100%);
  color: var(--white);
}

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

.form-content h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.form-content .form-intro {
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  opacity: 0.95;
}

.lead-form {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 700;
  color: var(--wood-dark);
  font-size: 1rem;
}

.form-group input {
  width: 100%;
  padding: 0.95rem 1.25rem;
  border: 2px solid var(--border-light);
  border-radius: 4px;
  font-size: 1rem;
  font-family: var(--font-body);
  transition: border-color 0.2s ease;
}

.form-group input:focus {
  outline: none;
  border-color: var(--terracotta);
}

.form-group.error input {
  border-color: #d32f2f;
}

.error-message {
  color: #d32f2f;
  font-size: 0.9rem;
  margin-top: 0.5rem;
  display: none;
}

.form-group.error .error-message {
  display: block;
}

.submit-button {
  width: 100%;
  padding: 1.1rem 2rem;
  background-color: var(--terracotta);
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.submit-button:hover {
  background-color: var(--terracotta-hover);
}

.form-reassurance {
  margin-top: 1.25rem;
  font-size: 0.95rem;
  color: var(--warm-gray);
}

.footer {
  background-color: var(--wood-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 3rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-company h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.footer-company p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.footer-links h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

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

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

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s ease;
}

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

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

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--wood-dark);
  color: var(--white);
  padding: 1.5rem 2rem;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  display: none;
}

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

.cookie-banner-content {
  max-width: var(--content-max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.cookie-banner p {
  margin: 0;
  flex: 1;
}

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

.cookie-accept {
  padding: 0.75rem 1.75rem;
  background-color: var(--terracotta);
  color: var(--white);
  border: none;
  border-radius: 4px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.cookie-accept:hover {
  background-color: var(--terracotta-hover);
}

.cookie-more {
  color: var(--white);
  text-decoration: underline;
}

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

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

.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.success-content {
  max-width: 600px;
}

.success-content h1 {
  margin-bottom: 1.5rem;
  color: var(--terracotta);
}

.success-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--wood-medium);
}

.back-link {
  display: inline-block;
  padding: 1rem 2.5rem;
  background-color: var(--terracotta);
  color: var(--white);
  font-weight: 700;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

.back-link:hover {
  background-color: var(--terracotta-hover);
}

.legal-page {
  padding: 4rem 0;
  min-height: 100vh;
}

.legal-content {
  max-width: 900px;
  margin: 0 auto;
  background: var(--white);
  padding: 3rem;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(61, 43, 26, 0.08);
}

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

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

.legal-content h3 {
  font-size: 1.35rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.legal-content p {
  margin-bottom: 1.25rem;
}

.legal-content ul, .legal-content ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.legal-content li {
  margin-bottom: 0.75rem;
}

@media (max-width: 768px) {
  :root {
    --section-padding: 60px;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  h3 {
    font-size: 1.4rem;
  }

  body {
    font-size: 16px;
  }

  .container {
    padding: 0 1.5rem;
  }

  .header-inner {
    flex-direction: column;
    gap: 1rem;
  }

  .hero {
    padding: 3rem 0 4rem;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

  .outcomes-grid {
    grid-template-columns: 1fr;
  }

  .format-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .cookie-banner-content {
    flex-direction: column;
    text-align: center;
  }

  .cookie-banner-actions {
    flex-direction: column;
    width: 100%;
  }

  .cookie-accept, .cookie-more {
    width: 100%;
  }

  .legal-content {
    padding: 2rem 1.5rem;
  }
}
