@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Lora:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&display=swap');

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

:root {
  --bg: #FAF6EE;
  --fg: #2D1B0E;
  --primary: #C4862A;
  --primary-light: #e8a84a;
  --primary-pale: #f5e8d0;
  --card: #FFFDF9;
  --secondary: #2D1B0E;
  --secondary-fg: #FAF6EE;
  --border: #DDD7CE;
  --muted: #E8E3DA;
  --muted-fg: #7A5D45;
  --radius: 1rem;
  --radius-sm: 0.5rem;
  --shadow-sm: 0 1px 3px rgba(45,27,14,0.08);
  --shadow-md: 0 4px 16px rgba(45,27,14,0.12);
  --shadow-lg: 0 8px 32px rgba(45,27,14,0.16);
  --font-sans: 'DM Sans', sans-serif;
  --font-serif: 'Lora', serif;
  --container: 1140px;
  --nav-h: 64px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

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

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

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


nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(250,246,238,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--primary);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.nav-logo:hover {
  opacity: 0.8;
}

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

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--fg);
  transition: color 0.2s;
}

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--bg);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  text-decoration: none;
}

.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
}

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

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  padding: 0.9rem 2rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  text-decoration: none;
}

.btn-outline:hover {
  background: var(--muted);
  border-color: var(--primary);
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}

.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--fg);
  border-radius: 2px;
  transition: all 0.3s;
}


.hero {
  padding: 5rem 0 4rem;
  background: var(--bg);
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.hero-text {
  flex: 1;
}

.hero-text h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  line-height: 1.18;
  color: var(--fg);
  margin-bottom: 1.25rem;
  font-weight: 700;
}

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

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

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-cta .btn-primary {
  font-size: 1rem;
  padding: 1rem 2rem;
}

.hero-image {
  flex: 1;
  position: relative;
}

.hero-image::before {
  content: '';
  position: absolute;
  inset: -12px;
  background: var(--primary-pale);
  border-radius: calc(var(--radius) + 6px);
  transform: rotate(-2deg);
  z-index: 0;
}

.hero-image img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}


.section-audience {
  background: var(--card);
  padding: 5rem 0;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--fg);
  margin-bottom: 1rem;
  font-weight: 600;
}

.section-lead {
  font-size: 1.1rem;
  color: var(--muted-fg);
  max-width: 640px;
  margin: 0 auto 3.5rem;
  line-height: 1.7;
}

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

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

.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s;
}

.card:hover {
  box-shadow: var(--shadow-md);
}

.card-num {
  width: 48px;
  height: 48px;
  background: var(--primary-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--fg);
}

.card p {
  font-size: 0.95rem;
  color: var(--muted-fg);
  line-height: 1.65;
}


.section-format {
  padding: 5rem 0;
  background: var(--bg);
}

.two-col {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.two-col.reverse {
  flex-direction: row-reverse;
}

.two-col-text {
  flex: 1;
}

.two-col-text h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--fg);
  margin-bottom: 1rem;
}

.two-col-text p {
  font-size: 1.05rem;
  color: var(--muted-fg);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.98rem;
  color: var(--fg);
  line-height: 1.55;
}

.check-list li::before {
  content: '';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  background: var(--primary-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C4862A' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10' fill='%23f5e8d0'/%3E%3C/svg%3E");
  background-size: cover;
}

.two-col-image {
  flex: 1;
}

.two-col-image img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}


.section-path {
  padding: 5rem 0;
  background: var(--card);
}

.path-inner {
  display: flex;
  align-items: flex-start;
  gap: 4rem;
}

.path-image {
  flex: 0 0 45%;
}

.path-image img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  opacity: 0.92;
}

.path-steps {
  flex: 1;
  position: relative;
  padding-left: 2.5rem;
}

.path-steps::before {
  content: '';
  position: absolute;
  left: 18px;
  top: 20px;
  bottom: 20px;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--border) 10%, var(--border) 90%, transparent);
}

.path-step {
  position: relative;
  padding-left: 1.25rem;
  padding-bottom: 2.5rem;
}

.path-step:last-child {
  padding-bottom: 0;
}

.path-step-num {
  position: absolute;
  left: -2.5rem;
  top: 0;
  width: 38px;
  height: 38px;
  background: var(--primary);
  color: var(--bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: var(--shadow-sm);
  border: 3px solid var(--card);
  z-index: 1;
}

.path-step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--fg);
}

.path-step p {
  font-size: 0.93rem;
  color: var(--muted-fg);
  line-height: 1.65;
}


.section-faq {
  padding: 5rem 0;
  background: var(--bg);
}

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

.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 2rem;
}

.faq-item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.faq-item p {
  font-size: 0.95rem;
  color: var(--muted-fg);
  line-height: 1.7;
}


.section-apply {
  padding: 5.5rem 0;
  background: var(--secondary);
  position: relative;
  overflow: hidden;
}

.apply-bg {
  position: absolute;
  inset: 0;
  opacity: 0.07;
  background-size: cover;
  background-position: center;
  pointer-events: none;
}

.apply-inner {
  position: relative;
  z-index: 1;
}

.apply-card {
  max-width: 640px;
  margin: 0 auto;
  background: rgba(250,246,238,0.06);
  border: 1px solid rgba(250,246,238,0.12);
  border-radius: calc(var(--radius) + 4px);
  padding: 3rem 3.5rem;
  backdrop-filter: blur(8px);
}

.apply-card h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  color: var(--bg);
  margin-bottom: 0.75rem;
  text-align: center;
}

.apply-card .apply-sub {
  text-align: center;
  color: rgba(250,246,238,0.75);
  font-size: 1rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(250,246,238,0.85);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--bg);
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.97rem;
  color: var(--fg);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--muted-fg);
  opacity: 0.7;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(196,134,42,0.18);
}

.form-group textarea {
  resize: none;
  min-height: 90px;
}

.btn-submit {
  width: 100%;
  padding: 1rem;
  background: var(--primary);
  color: var(--bg);
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  margin-top: 0.5rem;
}

.btn-submit:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
}

.form-note {
  text-align: center;
  font-size: 0.8rem;
  color: rgba(250,246,238,0.5);
  margin-top: 1rem;
}

.form-note a {
  text-decoration: underline;
  color: rgba(250,246,238,0.7);
}

.form-note a:hover {
  color: rgba(250,246,238,1);
}


footer {
  background: var(--secondary);
  color: var(--secondary-fg);
  padding: 3.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(250,246,238,0.1);
}

.footer-col h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.footer-col p {
  font-size: 0.88rem;
  color: rgba(250,246,238,0.7);
  line-height: 1.65;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col ul a {
  font-size: 0.88rem;
  color: rgba(250,246,238,0.7);
  transition: color 0.2s;
}

.footer-col ul a:hover {
  color: var(--primary);
}

.footer-address {
  font-style: normal;
  font-size: 0.88rem;
  color: rgba(250,246,238,0.7);
  line-height: 1.9;
}

.footer-address a {
  color: rgba(250,246,238,0.7);
  transition: color 0.2s;
}

.footer-address a:hover {
  color: var(--primary);
}

.footer-bottom {
  padding-top: 1.75rem;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(250,246,238,0.4);
}


.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--card);
  border-top: 1px solid var(--border);
  padding: 1rem 1.5rem;
  box-shadow: var(--shadow-lg);
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cookie-banner p {
  flex: 1;
  font-size: 0.9rem;
  color: var(--muted-fg);
  min-width: 200px;
}

.cookie-banner-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-shrink: 0;
}

.cookie-banner-actions a {
  font-size: 0.88rem;
  color: var(--muted-fg);
  text-decoration: underline;
  transition: color 0.2s;
}

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

.cookie-banner-actions button {
  background: var(--primary);
  color: var(--bg);
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.55rem 1.25rem;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: background 0.2s;
}

.cookie-banner-actions button:hover {
  background: var(--primary-light);
}

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


.legal-page {
  padding: 5rem 0 4rem;
  min-height: 80vh;
  background: var(--bg);
}

.legal-page h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--primary);
  margin-bottom: 2rem;
}

.legal-content {
  max-width: 720px;
}

.legal-content p,
.legal-content li {
  font-size: 0.97rem;
  color: rgba(45,27,14,0.8);
  line-height: 1.75;
  margin-bottom: 0.75rem;
}

.legal-content h2 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--fg);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

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

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

.legal-content a {
  color: var(--primary);
  text-decoration: underline;
}

.legal-content strong {
  color: var(--fg);
  font-weight: 600;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  font-size: 0.9rem;
  color: var(--muted-fg);
  transition: color 0.2s;
}

.legal-back:hover {
  color: var(--primary);
}

.legal-back::before {
  content: '←';
}


.success-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  background: var(--bg);
  padding: 4rem 0;
}

.success-card {
  max-width: 560px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  padding: 3.5rem;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.success-icon {
  width: 72px;
  height: 72px;
  background: var(--primary-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.75rem;
}

.success-icon svg {
  width: 36px;
  height: 36px;
  color: var(--primary);
  stroke: var(--primary);
}

.success-card h1 {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--fg);
  margin-bottom: 1rem;
}

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

.btn-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
  font-family: var(--font-sans);
  font-size: 0.97rem;
  font-weight: 600;
  padding: 0.8rem 2rem;
  border-radius: var(--radius-sm);
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
}

.btn-back:hover {
  background: var(--primary);
  color: var(--bg);
}


@media (max-width: 900px) {
  .hero-inner {
    flex-direction: column;
    gap: 2.5rem;
  }
  .hero-image {
    width: 100%;
    order: -1;
  }
  .cards-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .two-col,
  .two-col.reverse {
    flex-direction: column;
    gap: 2rem;
  }
  .path-inner {
    flex-direction: column;
    gap: 2.5rem;
  }
  .path-image {
    flex: none;
    width: 100%;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .apply-card {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 600px) {
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0;
    align-items: stretch;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border-bottom: 1px solid var(--border);
  }
  .nav-links a:last-child {
    border-bottom: none;
  }
  .nav-burger {
    display: flex;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-text h1 {
    font-size: 2rem;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .cookie-banner-actions {
    width: 100%;
    justify-content: flex-end;
  }
}
