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

:root {
  --cream: #F3EAE0;
  --cream-light: #FAF6F2;
  --brown-deep: #180E06;
  --brown-dark: #2A160A;
  --brown-mid: #5C3A22;
  --brown-warm: #8B5C3A;
  --amber: #C4872C;
  --amber-hover: #A3701E;
  --border: #D8C4B0;
  --border-light: #EDE0D4;
  --text: #180E06;
  --text-mid: #5C3A22;
  --text-light: #9E7860;
  --section-pad: 88px 0;
  --container: 1160px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--cream-light);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, textarea { font: inherit; }

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  line-height: 1.2;
  color: var(--brown-deep);
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); font-weight: 600; }
h3 { font-size: clamp(1rem, 2.5vw, 1.3rem); font-weight: 600; }

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.875rem;
}

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

section { position: relative; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 30px;
  border-radius: 3px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
  cursor: pointer;
  font-family: inherit;
}
.btn:active { transform: scale(0.985); }

.btn-primary {
  background: var(--brown-dark);
  color: #fff;
  border: 1px solid var(--brown-dark);
}
.btn-primary:hover { background: var(--brown-mid); border-color: var(--brown-mid); }

.btn-accent {
  background: var(--amber);
  color: #fff;
  border: 1px solid var(--amber);
}
.btn-accent:hover { background: var(--amber-hover); border-color: var(--amber-hover); }

.btn-ghost {
  background: transparent;
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.35);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.6); }

.btn-lg { padding: 16px 44px; font-size: 0.95rem; }

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: background 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
}
.site-header.scrolled {
  background: var(--brown-deep);
  padding: 14px 0;
  box-shadow: 0 2px 24px rgba(0,0,0,0.35);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.1em;
  flex-shrink: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
.site-nav a {
  color: rgba(255,255,255,0.75);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.site-nav a:hover { color: #fff; }

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--brown-deep);
  overflow: hidden;
  position: relative;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('images/hero-bg.jpg');
  background-size: cover;
  background-position: center 30%;
  opacity: 0.38;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(24, 14, 6, 0.85) 0%,
    rgba(24, 14, 6, 0.55) 55%,
    rgba(24, 14, 6, 0.3) 100%
  );
}

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

.hero-content {
  max-width: 660px;
  padding: 140px 0 110px;
}

.hero-content .eyebrow { color: var(--amber); }

.hero-content h1 {
  color: #fff;
  margin: 0.5rem 0 1.25rem;
  text-shadow: 0 2px 24px rgba(0,0,0,0.3);
}

.hero-lead {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.75;
  margin-bottom: 2.25rem;
  max-width: 520px;
  font-weight: 300;
}

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

.hero-scroll {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 56px;
  color: rgba(255,255,255,0.4);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-scroll::before {
  content: '';
  width: 32px;
  height: 1px;
  background: rgba(255,255,255,0.25);
}

.about-section {
  padding: var(--section-pad);
  background: var(--cream-light);
}

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

.about-image-wrap {
  position: relative;
}

.about-image-wrap::before {
  content: '';
  position: absolute;
  inset: -20px 20px 20px -20px;
  border: 1px solid var(--amber);
  border-radius: 2px;
  opacity: 0.4;
}

.about-image {
  border-radius: 2px;
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
}

.about-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.about-image:hover img { transform: scale(1.03); }

.about-text { padding-right: 8px; }
.about-text h2 { margin-bottom: 1rem; }
.about-text .lead-text {
  font-size: 1.05rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 1.75rem;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.5;
}
.feature-list li::before {
  content: '';
  flex-shrink: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--amber);
  margin-top: 1px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'%3E%3Cpath d='M13.5 4.5L6.5 11.5 2.5 7.5' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  background-size: 10px;
  background-repeat: no-repeat;
  background-position: center;
}

.curriculum-section {
  padding: var(--section-pad);
  background: var(--brown-deep);
}

.curriculum-header {
  max-width: 560px;
  margin-bottom: 3rem;
}
.curriculum-header .eyebrow { color: var(--amber); }
.curriculum-header h2 { color: #fff; margin-bottom: 0.75rem; }
.curriculum-header p { color: rgba(255,255,255,0.55); font-size: 1rem; line-height: 1.7; }

.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 3px;
  overflow: hidden;
}

.module {
  padding: 36px 30px;
  border-right: 1px solid rgba(255,255,255,0.07);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: background 0.2s;
}
.module:hover { background: rgba(255,255,255,0.03); }
.module:nth-child(3n) { border-right: none; }
.module:nth-child(n+4) { border-bottom: none; }

.module-num {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--amber);
  opacity: 0.5;
  line-height: 1;
  margin-bottom: 1.25rem;
}
.module h3 { color: #fff; font-size: 1.05rem; margin-bottom: 0.75rem; }
.module p { font-size: 0.875rem; color: rgba(255,255,255,0.5); line-height: 1.7; }

.for-whom-section {
  padding: var(--section-pad);
  background: var(--cream);
}

.section-intro {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 3rem;
}
.section-intro .eyebrow { color: var(--amber); }
.section-intro h2 { margin-bottom: 0.75rem; }
.section-intro p { color: var(--text-mid); font-size: 1rem; }

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

.whom-card {
  background: var(--cream-light);
  border: 1px solid var(--border-light);
  border-radius: 3px;
  padding: 40px 32px;
  transition: box-shadow 0.25s, transform 0.25s;
}
.whom-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}

.whom-mark {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(196,135,44,0.12);
  border: 1px solid rgba(196,135,44,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--amber);
  font-size: 1.1rem;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
}
.whom-card h3 { font-size: 1.05rem; margin-bottom: 0.75rem; color: var(--brown-deep); }
.whom-card p { font-size: 0.9rem; color: var(--text-mid); line-height: 1.7; }

.process-section {
  padding: var(--section-pad);
  background: var(--cream-light);
}

.process-section .section-intro { text-align: left; margin-left: 0; }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-top: 3rem;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 30px;
  left: calc(100% / 8 + 8px);
  right: calc(100% / 8 + 8px);
  height: 1px;
  background: var(--border);
}

.step { position: relative; }

.step-circle {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--cream-light);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--amber);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
  transition: border-color 0.2s, background 0.2s;
}
.step:hover .step-circle {
  border-color: var(--amber);
  background: rgba(196,135,44,0.06);
}

.step h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.step p { font-size: 0.875rem; color: var(--text-mid); line-height: 1.65; }

.materials-section {
  padding: var(--section-pad);
  background: var(--cream);
}

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

.materials-text h2 { margin-bottom: 1rem; }
.materials-text .lead-text {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 1.75rem;
}

.materials-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.materials-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.55;
}
.materials-list li::before {
  content: '—';
  color: var(--amber);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0;
}
.materials-list li strong { color: var(--text); }

.materials-image {
  border-radius: 2px;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.materials-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.materials-image:hover img { transform: scale(1.03); }

.result-section {
  padding: var(--section-pad);
  background: var(--brown-dark);
}

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

.result-image {
  border-radius: 2px;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.result-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.result-image:hover img { transform: scale(1.03); }

.result-text .eyebrow { color: var(--amber); }
.result-text h2 { color: #fff; margin-bottom: 1rem; }
.result-text .lead-text {
  color: rgba(255,255,255,0.62);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 2rem;
}

.result-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.result-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  font-size: 0.92rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.55;
}
.result-list li::before {
  content: '✓';
  color: var(--amber);
  font-weight: 700;
  flex-shrink: 0;
  font-size: 0.85rem;
  margin-top: 1px;
}

.form-section {
  padding: 96px 0;
  background: var(--amber);
  position: relative;
  overflow: hidden;
}
.form-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.12) 0%, transparent 60%);
  pointer-events: none;
}

.form-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}
.form-inner h2 { color: #fff; margin-bottom: 0.75rem; }
.form-inner .form-subtitle {
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  margin-bottom: 2.75rem;
  line-height: 1.65;
}

.lead-form {
  max-width: 460px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}

.lead-form input[type="text"],
.lead-form input[type="tel"],
.lead-form input[type="email"] {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 3px;
  background: rgba(255,255,255,0.14);
  color: #fff;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.lead-form input::placeholder { color: rgba(255,255,255,0.5); }
.lead-form input:focus {
  border-color: rgba(255,255,255,0.65);
  background: rgba(255,255,255,0.2);
}

.btn-submit {
  width: 100%;
  margin-top: 8px;
  padding: 16px;
  background: var(--brown-deep);
  color: #fff;
  border: none;
  border-radius: 3px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s, transform 0.15s;
}
.btn-submit:hover { background: var(--brown-mid); }
.btn-submit:active { transform: scale(0.988); }

.form-note {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  text-align: center;
  margin-top: 12px;
  line-height: 1.6;
}
.form-note a {
  color: rgba(255,255,255,0.8);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.site-footer {
  background: var(--brown-deep);
  color: rgba(255,255,255,0.55);
  padding: 64px 0 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1.5fr;
  gap: 56px;
  padding-bottom: 48px;
  margin-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-brand .logo { margin-bottom: 14px; }
.footer-brand p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  max-width: 280px;
}

.footer-col-title {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 18px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.footer-links a:hover { color: rgba(255,255,255,0.9); }

.footer-company-info p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.38);
  line-height: 1.85;
}

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

.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(140px);
  z-index: 300;
  background: var(--brown-deep);
  color: rgba(255,255,255,0.78);
  padding: 18px 24px;
  border-radius: 6px;
  box-shadow: 0 8px 48px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  gap: 20px;
  width: min(560px, calc(100vw - 32px));
  font-size: 0.875rem;
  line-height: 1.55;
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.35s ease;
  pointer-events: none;
}
.cookie-banner.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: all;
}

.cookie-banner p { flex: 1; }
.cookie-banner a { color: var(--amber); text-decoration: underline; text-underline-offset: 2px; }

.cookie-accept {
  flex-shrink: 0;
  background: var(--amber);
  color: #fff;
  border: none;
  border-radius: 3px;
  padding: 9px 22px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition: background 0.2s;
}
.cookie-accept:hover { background: var(--amber-hover); }

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.revealed { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

.legal-page {
  padding-top: 100px;
  min-height: 100vh;
  background: var(--cream-light);
}
.legal-header {
  padding: 56px 0 48px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 56px;
}
.legal-header a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-mid);
  margin-bottom: 24px;
  transition: color 0.2s;
}
.legal-header a:hover { color: var(--text); }
.legal-header h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); }
.legal-header .eyebrow { color: var(--amber); }
.legal-date {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 12px;
}

.legal-content {
  max-width: 740px;
  padding-bottom: 96px;
}
.legal-content h2 {
  font-size: 1.25rem;
  margin: 2.5rem 0 0.75rem;
  color: var(--brown-deep);
}
.legal-content p {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 1rem;
}
.legal-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 1rem;
}
.legal-content li {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 6px;
}
.legal-content a { color: var(--amber); text-decoration: underline; }

.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brown-deep);
  text-align: center;
  padding: 40px 24px;
}
.success-inner { max-width: 480px; }
.success-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(196,135,44,0.15);
  border: 1px solid rgba(196,135,44,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  font-size: 1.75rem;
}
.success-inner .logo {
  display: block;
  margin: 0 auto 3rem;
  font-size: 1.4rem;
}
.success-inner h1 { color: #fff; font-size: clamp(1.6rem, 4vw, 2rem); margin-bottom: 1rem; }
.success-inner p { color: rgba(255,255,255,0.6); font-size: 1rem; line-height: 1.7; margin-bottom: 2rem; }
.success-inner a.btn { margin: 0 auto; }

@media (max-width: 1024px) {
  .modules-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
}

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

  .site-nav { display: none; }
  .site-header .btn { padding: 10px 20px; font-size: 0.82rem; }

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

  .about-image-wrap::before { display: none; }
  .about-image-wrap { order: -1; }

  .modules-grid { grid-template-columns: 1fr; }
  .module:nth-child(n) { border-right: none; }
  .module:last-child { border-bottom: none; }

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

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

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }

  .cookie-banner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .cookie-accept { align-self: flex-end; }
}

@media (max-width: 480px) {
  .steps { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}
