

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

:root {
  --cream:        #FAF7F2;
  --cream-dark:   #EFE8DC;
  --cream-mid:    #F4EFE7;
  --brown-deep:   #231710;
  --brown-dark:   #3B2515;
  --brown-mid:    #6B4530;
  --terracotta:   #C0643E;
  --terra-light:  #D98A6B;
  --terra-pale:   #F0D0BF;
  --mauve:        #B09AAE;
  --mauve-pale:   #E8E0E6;
  --sage:         #8A9E85;
  --sage-pale:    #D9E5D7;
  --white:        #FFFFFF;
  --text-main:    #2E1C0F;
  --text-mid:     #5A3E2B;
  --text-muted:   #8A7060;
  --border:       #DDD3C6;

  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'Manrope', system-ui, sans-serif;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-sm: 0 2px 8px rgba(44, 25, 10, 0.06);
  --shadow-md: 0 4px 20px rgba(44, 25, 10, 0.10);
  --shadow-lg: 0 8px 40px rgba(44, 25, 10, 0.14);

  --max-width: 1140px;
  --section-gap: 96px;
}

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

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

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text-main);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font: inherit;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.25;
  color: var(--brown-deep);
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 600; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 500; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); font-weight: 500; }
h4 { font-size: 1.1rem; font-weight: 500; }

p { color: var(--text-mid); }

.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }

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

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

.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 12px;
}

.section-heading {
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 580px;
  margin-bottom: 48px;
}

.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--terracotta);
  color: var(--white);
  box-shadow: 0 4px 18px rgba(192, 100, 62, 0.35);
}

.btn-primary:hover {
  background: var(--brown-mid);
  box-shadow: 0 6px 24px rgba(107, 69, 48, 0.38);
  transform: translateY(-1px);
}

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

.btn-outline:hover {
  background: var(--terracotta);
  color: var(--white);
  transform: translateY(-1px);
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 242, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s ease;
}

.header.scrolled {
  box-shadow: var(--shadow-sm);
}

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

.logo {
  font-family: var(--font-head);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--brown-deep);
  letter-spacing: -0.01em;
}

.logo span {
  color: var(--terracotta);
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-mid);
  transition: color 0.15s ease;
}

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

.nav-cta {
  padding: 10px 24px;
  font-size: 0.88rem;
}

.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 28px;
  height: 20px;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
}

.burger span {
  display: block;
  height: 2px;
  background: var(--brown-dark);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.burger.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0;
  padding: 8px 0 16px;
  border-top: 1px solid var(--border);
  background: var(--cream);
}

.mobile-nav.open { display: flex; }

.mobile-nav-link {
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-mid);
  transition: color 0.15s ease, background 0.15s ease;
}

.mobile-nav-link:hover {
  color: var(--terracotta);
  background: var(--cream-dark);
}

.mobile-nav .btn {
  margin: 8px 24px 0;
}

.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(35, 23, 16, 0.72) 0%,
    rgba(35, 23, 16, 0.45) 55%,
    rgba(35, 23, 16, 0.15) 100%
  );
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 600px;
  padding: 80px 0;
}

.hero-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terra-light);
  margin-bottom: 20px;
}

.hero-heading {
  color: var(--white);
  margin-bottom: 20px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.2);
}

.hero-text {
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-note {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 16px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-img img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.about-img:hover img { transform: scale(1.03); }

.about-text .section-sub { margin-bottom: 28px; }

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}

.highlight-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.highlight-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  background: var(--terra-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.highlight-item h4 {
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.highlight-item p {
  font-size: 0.88rem;
  line-height: 1.5;
}

.skills-section {
  background: var(--cream-dark);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.skill-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

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

.skill-num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--terra-pale);
  line-height: 1;
  margin-bottom: 12px;
}

.skill-card h4 {
  color: var(--brown-dark);
  margin-bottom: 8px;
}

.skill-card p {
  font-size: 0.88rem;
  line-height: 1.55;
}

.program-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.program-item {
  border-bottom: 1px solid var(--border);
  background: var(--white);
  transition: background 0.15s ease;
}

.program-item:last-child { border-bottom: none; }

.program-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
  cursor: pointer;
  user-select: none;
  transition: background 0.15s ease;
}

.program-header:hover { background: var(--cream); }

.program-num {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--terracotta);
  min-width: 32px;
}

.program-title {
  flex: 1;
  font-weight: 600;
  font-size: 1rem;
  color: var(--brown-deep);
}

.program-toggle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--terracotta);
  transition: transform 0.2s ease, background 0.15s ease;
  flex-shrink: 0;
}

.program-item.open .program-toggle {
  transform: rotate(45deg);
  background: var(--terra-pale);
}

.program-body {
  display: none;
  padding: 0 28px 24px 80px;
}

.program-item.open .program-body {
  display: block;
}

.program-body ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.program-body ul li {
  font-size: 0.92rem;
  color: var(--text-mid);
  padding-left: 20px;
  position: relative;
}

.program-body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--terracotta);
  opacity: 0.6;
}

.format-section {
  background: var(--brown-deep);
}

.format-section .section-label { color: var(--terra-light); }
.format-section .section-heading { color: var(--white); }
.format-section .section-sub { color: rgba(255,255,255,0.6); }

.format-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.format-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.format-card:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(192, 100, 62, 0.5);
}

.format-icon {
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.format-card h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 8px;
}

.format-card p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.88rem;
  line-height: 1.55;
}

.faq-section { background: var(--cream-mid); }

.faq-list {
  max-width: 740px;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.faq-item {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.faq-item:last-child { border-bottom: none; }

.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  cursor: pointer;
  user-select: none;
  font-weight: 600;
  font-size: 0.97rem;
  color: var(--brown-dark);
  transition: background 0.15s ease;
}

.faq-q:hover { background: var(--cream); }

.faq-arrow {
  font-size: 1rem;
  color: var(--terracotta);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.faq-item.open .faq-arrow { transform: rotate(180deg); }

.faq-a {
  display: none;
  padding: 0 24px 20px;
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.65;
}

.faq-item.open .faq-a { display: block; }

.form-section {
  background: var(--cream);
}

.form-wrap {
  max-width: 560px;
  margin: 0 auto;
}

.form-section .section-sub { margin-bottom: 40px; }

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brown-dark);
}

.field-group input,
.field-group textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  color: var(--text-main);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  outline: none;
}

.field-group input:focus,
.field-group textarea:focus {
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(192, 100, 62, 0.12);
}

.field-group textarea {
  resize: vertical;
  min-height: 90px;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.form-consent input[type="checkbox"] {
  margin-top: 2px;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: var(--terracotta);
  cursor: pointer;
}

.form-consent a {
  color: var(--terracotta);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.btn-submit {
  padding: 16px 40px;
  font-size: 1rem;
  align-self: flex-start;
}

.form-info {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.footer {
  background: var(--brown-deep);
  color: rgba(255, 255, 255, 0.7);
  padding: 56px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 28px;
}

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 12px;
  display: block;
}

.footer-brand p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
}

.footer-col h5 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 14px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.15s ease;
}

.footer-col a:hover { color: var(--terra-light); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
  flex-wrap: wrap;
}

.footer-legal {
  line-height: 1.8;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--brown-dark);
  color: rgba(255, 255, 255, 0.88);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.2);
  transform: translateY(0);
  transition: transform 0.3s ease;
}

.cookie-banner.hidden {
  transform: translateY(110%);
  pointer-events: none;
}

.cookie-text {
  font-size: 0.88rem;
  line-height: 1.5;
  flex: 1;
  min-width: 200px;
}

.cookie-text a {
  color: var(--terra-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-accept {
  padding: 9px 22px;
  background: var(--terracotta);
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease;
}

.cookie-accept:hover { background: var(--terra-light); }

.cookie-decline {
  padding: 9px 18px;
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  font-size: 0.88rem;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.cookie-decline:hover {
  border-color: rgba(255, 255, 255, 0.5);
  color: rgba(255, 255, 255, 0.85);
}

.page-hero {
  background: var(--brown-deep);
  padding: 64px 0 48px;
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.page-hero p {
  color: rgba(255, 255, 255, 0.55);
  margin-top: 8px;
  font-size: 0.92rem;
}

.legal-content {
  padding: 56px 0 80px;
  max-width: 720px;
}

.legal-content h2 {
  font-size: 1.25rem;
  margin: 40px 0 12px;
  color: var(--brown-dark);
}

.legal-content p {
  font-size: 0.95rem;
  color: var(--text-mid);
  margin-bottom: 12px;
  line-height: 1.75;
}

.legal-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 12px;
}

.legal-content ul li {
  font-size: 0.95rem;
  color: var(--text-mid);
  margin-bottom: 6px;
  line-height: 1.65;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--terracotta);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 40px;
  transition: gap 0.15s ease;
}

.legal-back:hover { gap: 12px; }

.success-page {
  min-height: 100vh;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}

.success-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  text-align: center;
  max-width: 540px;
  width: 100%;
  box-shadow: var(--shadow-lg);
}

.success-img-wrap {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 32px;
  box-shadow: var(--shadow-md);
}

.success-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--sage-pale);
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.success-card h1 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 14px;
}

.success-card p {
  font-size: 0.97rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 32px;
}

.back-home {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--terracotta);
  font-size: 0.92rem;
  font-weight: 500;
}

.back-home:hover { text-decoration: underline; }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  :root { --section-gap: 72px; }

  .nav { display: none; }
  .burger { display: flex; }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-img img { height: 300px; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  :root { --section-gap: 56px; }

  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.45rem; }

  .hero { min-height: 80vh; }
  .hero-content { padding: 60px 0; }

  .hero-actions { flex-direction: column; align-items: flex-start; }

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

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

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

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }

  .program-body { padding-left: 28px; }

  .success-card { padding: 36px 24px; }

  .cookie-banner { flex-direction: column; align-items: flex-start; }

  .btn-submit { align-self: stretch; text-align: center; }
}

@media (max-width: 400px) {
  .format-cards { grid-template-columns: 1fr; }
}
