:root {
  --brand-navy: #10284d;
  --brand-navy-soft: #1d3b68;
  --brand-sky: #d8eef9;
  --brand-sky-2: #eef8fd;
  --brand-orange: #da8740;
  --brand-cream: #f4dcad;
  --text-main: #12213f;
  --text-muted: #53637f;
  --white: #ffffff;
  --card-shadow: 0 20px 35px rgba(16, 40, 77, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Trebuchet MS", system-ui, -apple-system, sans-serif;
  background: linear-gradient(180deg, var(--brand-sky-2), var(--brand-sky));
  color: var(--text-main);
  line-height: 1.5;
}

.site-header {
  background: rgba(16, 40, 77, 0.95);
  backdrop-filter: blur(6px);
  color: var(--brand-cream);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 2px solid rgba(218, 135, 64, 0.5);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.scrolled {
  background: rgba(16, 40, 77, 0.99);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.logo-wrap {
  display: flex;
  align-items: center;
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  height: 96px;
  width: auto;
  display: block;
  border-radius: 0;
  box-shadow: none;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1rem;
  justify-content: flex-end;
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--brand-cream);
  font-size: 0.9rem;
  font-weight: 700;
}

.lang-switcher select {
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.12);
  color: #fff5df;
  border-radius: 8px;
  padding: 0.28rem 0.45rem;
  font: inherit;
}

.lang-switcher option {
  color: #10284d;
}

.nav a {
  color: var(--brand-cream);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 0.28rem 0.2rem;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.nav a:hover {
  color: #ffeac3;
  border-color: rgba(255, 234, 195, 0.8);
  transform: translateY(-1px);
}

.nav a.active {
  color: #ffeac3;
  border-color: var(--brand-orange);
}

.hero {
  padding: 2.5rem 1.25rem 2.2rem;
}

.hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  gap: 1.4rem;
  align-items: center;
  grid-template-columns: 1fr;
}

.hero-pill {
  display: inline-block;
  margin: 0 0 0.8rem;
  padding: 0.42rem 0.95rem;
  border-radius: 999px;
  background: var(--brand-navy);
  color: var(--white);
  font-weight: 700;
}

.hero-text h1 {
  margin: 0;
  color: var(--brand-navy);
  font-size: clamp(1.9rem, 5vw, 3.5rem);
  line-height: 1.08;
}

.highlight {
  color: var(--brand-orange);
}

.hero-subtitle {
  font-size: clamp(1.3rem, 2.2vw, 2.1rem);
  margin: 0.7rem 0 0.9rem;
  color: var(--brand-navy-soft);
  font-weight: 700;
}

.hero-note {
  margin: 0.8rem 0 0;
  font-weight: 700;
  color: var(--brand-orange);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn-primary,
.btn-secondary {
  border: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.82rem 1.35rem;
  border-radius: 999px;
  font-size: 1rem;
  cursor: pointer;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn-primary {
  background: var(--brand-orange);
  color: var(--white);
  box-shadow: 0 8px 16px rgba(218, 135, 64, 0.33);
}

.btn-secondary {
  background: var(--white);
  color: var(--brand-navy);
  border: 2px solid var(--brand-navy);
}

.btn-primary:hover,
.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 11px 20px rgba(16, 40, 77, 0.22);
}

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

.section {
  padding: 2.2rem 1.25rem;
  position: relative;
}

.section-light {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0.18));
}

.section-inner {
  max-width: 980px;
  margin: 0 auto;
}

.card {
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  border: 0;
}

.card-accent {
  border-top: 0;
}

.section h2 {
  color: var(--brand-navy);
  margin: 0 0 0.9rem;
  font-size: clamp(1.55rem, 3vw, 2rem);
  position: relative;
  padding-bottom: 0.45rem;
}

.section h2::after {
  content: "";
  width: 68px;
  height: 4px;
  border-radius: 999px;
  background: var(--brand-orange);
  position: absolute;
  left: 0;
  bottom: 0;
}

.section p {
  margin: 0.6rem 0;
}

.bullet-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.bullet-list li {
  margin-bottom: 0.45rem;
  position: relative;
  padding-left: 1.1rem;
}

.bullet-list li::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--brand-orange);
  position: absolute;
  left: 0;
  top: 0.55rem;
}

.bullet-list.two-column {
  columns: 1;
}

.note {
  margin-top: 0.95rem;
  font-weight: 700;
  color: var(--brand-orange);
}

.trust-text {
  margin-top: 1.2rem;
  color: var(--text-muted);
  font-style: italic;
}

.apply-section {
  text-align: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(216, 238, 249, 0.45));
}

.apply-section .section-inner {
  max-width: 760px;
}

.apply-section h2::after {
  left: 50%;
  transform: translateX(-50%);
}

.apply-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 1.25rem;
}

.application-panel {
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(16, 40, 77, 0.12);
  text-align: left;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.application-panel.is-open {
  animation: applicationFadeIn 0.45s ease forwards;
}

@keyframes applicationFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.application-title {
  margin: 0 0 0.5rem;
  color: var(--brand-navy);
  font-size: 1.25rem;
  text-align: center;
}

.application-lead {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.98rem;
  text-align: center;
}

.application-instruction {
  margin: 0.4rem auto 0;
  max-width: 620px;
  font-weight: 700;
  color: var(--brand-navy-soft);
  background: rgba(216, 238, 249, 0.65);
  border-left: 4px solid var(--brand-orange);
  padding: 0.7rem 0.85rem;
  border-radius: 8px;
}

.form-required-note {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.req {
  color: var(--brand-orange);
  font-weight: 800;
}

.application-form .field {
  margin-bottom: 1.1rem;
}

.application-form label {
  display: block;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 0.35rem;
}

.field-bilingual {
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.92em;
}

.field-hint {
  margin: 0 0 0.4rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.application-form input,
.application-form textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(16, 40, 77, 0.22);
  font: inherit;
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.95);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.application-form input:focus,
.application-form textarea:focus {
  outline: none;
  border-color: var(--brand-orange);
  box-shadow: 0 0 0 3px rgba(218, 135, 64, 0.25);
}

.form-actions {
  margin-top: 1.25rem;
  text-align: center;
}

.form-status {
  margin: 0.75rem 0 0;
  min-height: 1.25em;
  font-size: 0.95rem;
  font-weight: 600;
  white-space: pre-line;
}

.form-status-success {
  color: #1b6b3a;
}

.form-status-error {
  color: #a32020;
}

.small-text {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.contact-info {
  font-size: 1.08rem;
  font-weight: 700;
}

.contact-info a {
  color: var(--brand-navy);
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

.site-footer {
  background: var(--brand-navy);
  color: var(--brand-cream);
  text-align: center;
  padding: 1rem;
  font-size: 0.95rem;
  border-top: 3px solid var(--brand-orange);
}

.section + .section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(92%, 980px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(16, 40, 77, 0.18), transparent);
}

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

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

@media (min-width: 860px) {
  .site-header {
    padding: 0.85rem 2rem;
  }

  .hero {
    padding: 3rem 2rem 2.5rem;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .section {
    padding: 2.5rem 2rem;
  }

  .card {
    padding: 0;
  }

  .bullet-list.two-column {
    columns: 2;
    column-gap: 1.8rem;
  }
}

@media (max-width: 859px) {
  .site-header {
    padding: 0.7rem 0.9rem;
    gap: 0.7rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .header-controls {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.55rem;
  }

  .logo {
    height: 82px;
  }

  .lang-switcher select {
    min-width: 130px;
  }

  .hero-note {
    margin-bottom: 0;
  }
}
