@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;1,400&family=Plus+Jakarta+Sans:wght@400;500;600&display=swap');

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

:root {
  --bg: #F9F6F0;
  --fg: #2D2A26;
  --primary: #C07C5F;
  --primary-hover: #A96848;
  --secondary: #8E9E82;
  --card: #FDFBF8;
  --border: #E5E0D8;
  --muted-fg: #787270;
  --input-border: #E0DAD0;
  --font-sans: 'Plus Jakarta Sans', sans-serif;
  --font-serif: 'Playfair Display', serif;
  --radius: 1rem;
  --radius-sm: 0.5rem;
  --radius-full: 9999px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  line-height: 1.2;
}

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

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

ul {
  list-style: none;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

.btn:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(192, 124, 95, 0.25);
}

.btn:active {
  transform: translateY(0);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(249, 246, 240, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--primary);
  letter-spacing: 0.04em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(45, 42, 38, 0.75);
  transition: color 0.2s;
}

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

.nav-links .btn {
  padding: 0.6rem 1.4rem;
  font-size: 0.9rem;
}

.nav-mobile-only {
  display: none;
}

@media (max-width: 600px) {
  .nav-desktop-only {
    display: none;
  }
  .nav-mobile-only {
    display: block;
  }
}

section {
  padding: 6rem 1.5rem;
}

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

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

.section-header {
  max-width: 680px;
  margin: 0 auto 4rem;
  text-align: center;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--muted-fg);
}

.hero {
  padding-top: 10rem;
  padding-bottom: 5rem;
  overflow: hidden;
}

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

.hero-text .eyebrow {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1.25rem;
}

.hero-text h1 {
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-text h1 em {
  color: var(--primary);
  font-style: italic;
}

.hero-text p {
  font-size: 1.15rem;
  color: var(--muted-fg);
  max-width: 420px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-image {
  position: relative;
}

.hero-image::before {
  content: '';
  position: absolute;
  inset: -20% -10%;
  background: radial-gradient(circle, rgba(142, 158, 130, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.hero-image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 1.5rem;
  box-shadow: 0 24px 64px rgba(45, 42, 38, 0.12);
  position: relative;
  z-index: 1;
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-image {
    order: -1;
  }
  .hero-image img {
    aspect-ratio: 16 / 9;
  }
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.why-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
}

.why-card .num {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(192, 124, 95, 0.1);
  color: var(--primary);
  font-family: var(--font-serif);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.why-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.why-card p {
  color: var(--muted-fg);
  line-height: 1.7;
}

@media (max-width: 800px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}

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

.two-col img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(45, 42, 38, 0.1);
}

@media (max-width: 900px) {
  .two-col {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .two-col .order-first {
    order: -1;
  }
}

.curriculum-title {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.curriculum-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.curriculum-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.curriculum-item .dot {
  margin-top: 0.5rem;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: rgba(142, 158, 130, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.curriculum-item .dot::after {
  content: '';
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--secondary);
}

.curriculum-item span {
  font-size: 1.05rem;
  color: rgba(45, 42, 38, 0.85);
  line-height: 1.7;
}

.results-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.results-text p {
  font-size: 1.05rem;
  color: var(--muted-fg);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.results-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(45, 42, 38, 0.1);
}

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

.format-grid img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(45, 42, 38, 0.08);
}

.format-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.format-item h4 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.format-item p {
  color: var(--muted-fg);
  line-height: 1.7;
}

@media (max-width: 900px) {
  .format-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--fg);
  gap: 1rem;
}

.faq-icon {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
  transition: transform 0.3s;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.3s;
  padding: 0 2rem;
}

.faq-item.open .faq-answer {
  max-height: 200px;
  padding: 0 2rem 1.5rem;
}

.faq-answer p {
  color: var(--muted-fg);
  line-height: 1.7;
}

.form-section {
  background: rgba(192, 124, 95, 0.04);
}

.form-card {
  max-width: 720px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 4rem;
  box-shadow: 0 4px 24px rgba(45, 42, 38, 0.06);
}

.form-card-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.form-card-header h2 {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
}

.form-card-header p {
  color: var(--muted-fg);
  font-size: 1.05rem;
}

.form-inner {
  max-width: 440px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--fg);
}

.form-group input[type="text"],
.form-group input[type="tel"] {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--input-border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-group input[type="text"]:focus,
.form-group input[type="tel"]:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(192, 124, 95, 0.12);
}

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

.form-error {
  font-size: 0.8rem;
  color: #d1556f;
  min-height: 1rem;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: var(--bg);
  border: 1px solid var(--input-border);
  border-radius: var(--radius-sm);
  padding: 1rem;
}

.checkbox-row input[type="checkbox"] {
  margin-top: 0.15rem;
  accent-color: var(--primary);
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  cursor: pointer;
}

.checkbox-row label {
  font-size: 0.875rem;
  color: var(--muted-fg);
  cursor: pointer;
  line-height: 1.5;
}

.checkbox-row a {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: text-decoration-color 0.2s;
}

.checkbox-row a:hover {
  text-decoration-color: var(--primary);
}

.btn-full {
  width: 100%;
  padding: 1rem;
  font-size: 1.05rem;
  border-radius: var(--radius-sm);
}

@media (max-width: 640px) {
  .form-card {
    padding: 2rem 1.5rem;
  }
}

footer {
  background: var(--fg);
  color: rgba(249, 246, 240, 0.9);
  padding: 5rem 1.5rem 2.5rem;
  margin-top: 4rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .logo {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 1rem;
  display: block;
}

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(249, 246, 240, 0.5);
  line-height: 1.7;
  max-width: 260px;
}

.footer-nav h4,
.footer-legal h4 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 1.25rem;
}

.footer-nav-links,
.footer-legal-lines {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-nav-links a {
  font-size: 0.9rem;
  color: rgba(249, 246, 240, 0.5);
  transition: color 0.2s;
}

.footer-nav-links a:hover {
  color: #fff;
}

.footer-legal-lines p {
  font-size: 0.85rem;
  color: rgba(249, 246, 240, 0.45);
}

.footer-bottom {
  border-top: 1px solid rgba(249, 246, 240, 0.1);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(249, 246, 240, 0.35);
}

@media (max-width: 800px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 1.25rem 1.5rem;
  box-shadow: 0 -4px 24px rgba(45, 42, 38, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cookie-banner.hidden {
  display: none;
}

.cookie-banner p {
  font-size: 0.9rem;
  color: var(--muted-fg);
  max-width: 760px;
}

.cookie-banner a {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: text-decoration-color 0.2s;
}

.cookie-banner a:hover {
  text-decoration-color: var(--primary);
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .cookie-banner .btn {
    width: 100%;
    text-align: center;
  }
}

.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }

.success-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.success-page main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 1.5rem 4rem;
}

.success-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 4rem 3rem;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: 0 4px 24px rgba(45, 42, 38, 0.06);
}

.success-icon {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background: rgba(192, 124, 95, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  color: var(--primary);
}

.success-icon svg {
  width: 2.5rem;
  height: 2.5rem;
}

.success-card h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.success-card p {
  color: var(--muted-fg);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.legal-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.legal-page main {
  flex: 1;
  padding: 8rem 1.5rem 5rem;
  max-width: 760px;
  margin: 0 auto;
  width: 100%;
}

.legal-page h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.legal-date {
  color: var(--muted-fg);
  font-size: 0.9rem;
  margin-bottom: 3rem;
  display: block;
}

.legal-page h2 {
  font-size: 1.4rem;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

.legal-page p {
  color: var(--fg);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.legal-page ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-page ul li {
  color: var(--fg);
  line-height: 1.8;
  margin-bottom: 0.25rem;
}
