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

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; }

:root {
  --navy:        #0f1f3d;
  --navy-mid:    #1e3a6e;
  --navy-light:  #2d5090;
  --gold:        #b8973d;
  --gold-light:  #d4af5a;
  --gold-pale:   #f5edda;
  --cream:       #f9f7f2;
  --warm-white:  #fefcf8;
  --slate:       #607080;
  --slate-light: #8899a8;
  --dark-text:   #1a1f2e;
  --border:      #e2ddd5;
  --border-dark: #c8c3b8;

  --shadow-xs:  0 1px 3px rgba(15,31,61,0.07);
  --shadow-sm:  0 2px 8px rgba(15,31,61,0.10);
  --shadow-md:  0 6px 20px rgba(15,31,61,0.13);
  --shadow-lg:  0 16px 48px rgba(15,31,61,0.20);

  --radius-sm:  3px;
  --radius:     6px;
  --radius-md:  10px;
  --radius-lg:  16px;

  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:    'Lato', system-ui, -apple-system, sans-serif;

  --transition: 0.22s ease;
  --transition-slow: 0.4s ease;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.72;
  color: var(--dark-text);
  background: var(--warm-white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  line-height: 1.2;
  font-weight: 700;
  color: var(--navy);
}
h1 { font-size: clamp(2rem, 4.5vw, 3.6rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.05rem, 2vw, 1.45rem); }
h4 { font-size: 1.08rem; }
p  { color: var(--slate); }

.lead {
  font-size: 1.1rem;
  line-height: 1.85;
  color: var(--slate);
  font-weight: 300;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

.section        { padding: 88px 0; }
.section--sm    { padding: 56px 0; }
.section--alt   { background: var(--cream); }
.section--navy  { background: var(--navy); }
.section--dark  { background: #0a1628; }

.section-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.section-header          { margin-bottom: 52px; }
.section-header h2       { margin-bottom: 14px; }
.section-header p        { max-width: 560px; }
.section-header--center  { text-align: center; }
.section-header--center p { margin: 0 auto; }

.divider {
  width: 44px;
  height: 2px;
  background: var(--gold);
  margin: 14px 0 20px;
}
.divider--center { margin-left: auto; margin-right: auto; }

.text-center { text-align: center; }
.text-gold   { color: var(--gold); }
.text-white  { color: #fff; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn--primary {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn--primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn--outline:hover {
  background: var(--navy);
  color: #fff;
  transform: translateY(-1px);
}

.btn--outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.45);
}
.btn--outline-white:hover {
  background: rgba(255,255,255,0.10);
  border-color: #fff;
}

.btn--ghost {
  background: transparent;
  color: var(--gold-light);
  border-color: transparent;
  padding-left: 0;
}
.btn--ghost:hover { color: #fff; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  box-shadow: var(--shadow-md);
}

.nav {
  display: flex;
  align-items: center;
  height: 70px;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 13px;
  flex-shrink: 0;
  margin-right: auto;
}

.nav__logo-wrap {
  width: 38px;
  height: 38px;
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav__logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav__name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.025em;
}

.nav__name span { color: var(--gold); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__link {
  font-size: 0.80rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.68);
  padding: 6px 13px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.nav__link:hover,
.nav__link.active {
  color: #fff;
  background: rgba(255,255,255,0.08);
}

.nav__link--cta {
  background: var(--gold) !important;
  color: var(--navy) !important;
  margin-left: 8px;
}
.nav__link--cta:hover {
  background: var(--gold-light) !important;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all var(--transition);
}

@media (max-width: 820px) {
  .nav__links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0; right: 0;
    background: var(--navy);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 20px;
    gap: 2px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .nav__links.open { display: flex; }
  .nav__link { padding: 10px 14px; }
  .nav__link--cta { margin-left: 0; margin-top: 8px; text-align: center; }
  .nav__toggle { display: flex; }
}

.hero {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  background: var(--navy);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1611974789855-9c2a0a7236a3?w=1600&q=80');
  background-size: cover;
  background-position: center 40%;
  opacity: 0.12;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(10,22,40,0.97) 0%,
    rgba(15,31,61,0.90) 50%,
    rgba(20,40,80,0.92) 100%);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(184,151,61,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184,151,61,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 96px 0;
  max-width: 680px;
}

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(184,151,61,0.13);
  border: 1px solid rgba(184,151,61,0.28);
  padding: 5px 16px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 28px;
}

.hero h1 {
  color: #fff;
  margin-bottom: 22px;
  line-height: 1.15;
}

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

.hero__desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 40px;
  line-height: 1.85;
  font-weight: 300;
  max-width: 540px;
}

.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero__stats {
  display: flex;
  gap: 48px;
  margin-top: 56px;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.08);
  flex-wrap: wrap;
}

.hero__stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
}

.hero__stat-lbl {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-top: 5px;
}

.search-wrap {
  max-width: 640px;
  margin: 0 0 36px;
}

.search-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}

.search-bar:focus-within {
  border-color: var(--navy);
  box-shadow: var(--shadow-md);
}

.search-bar i {
  color: var(--slate-light);
  font-size: 1.15rem;
  flex-shrink: 0;
}

.search-bar input {
  flex: 1;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 0.97rem;
  color: var(--dark-text);
  background: transparent;
}

.search-bar input::placeholder { color: #b0b8c8; }

.glossary-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.filter-btn {
  padding: 6px 18px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: #fff;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
  color: var(--slate);
}

.filter-btn:hover { border-color: var(--navy); color: var(--navy); }
.filter-btn.active { background: var(--navy); color: #fff; border-color: var(--navy); }

.glossary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 22px;
}

.term-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 22px;
  transition: all var(--transition);
}

.term-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.term-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 12px;
}

.term-card__letter {
  width: 34px;
  height: 34px;
  background: var(--gold-pale);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  flex-shrink: 0;
}

.term-card__category {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-pale);
  padding: 3px 10px;
  border-radius: 100px;
  white-space: nowrap;
}

.term-card__name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.term-card__def {
  font-size: 0.88rem;
  color: var(--slate);
  line-height: 1.65;
}

.glossary-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--slate-light);
  font-style: italic;
  display: none;
}

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

@media (max-width: 900px) { .features-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .features-grid { grid-template-columns: 1fr; } }

.feature-card {
  padding: 30px 28px;
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.feature-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.feature-card__icon {
  width: 50px;
  height: 50px;
  background: var(--gold-pale);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 1.4rem;
}

.feature-card h3 { margin-bottom: 8px; font-size: 1.05rem; }
.feature-card p  { font-size: 0.88rem; line-height: 1.65; }

.cta-band {
  background: var(--navy);
  padding: 88px 0;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -5%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(184,151,61,0.10) 0%, transparent 70%);
  pointer-events: none;
}

.cta-band::after {
  content: '';
  position: absolute;
  bottom: -60%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(45,80,144,0.3) 0%, transparent 70%);
  pointer-events: none;
}

.cta-band__inner {
  text-align: center;
  max-width: 580px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-band__inner h2 { color: #fff; margin-bottom: 14px; }
.cta-band__inner p  { color: rgba(255,255,255,0.60); margin-bottom: 36px; font-size: 1.02rem; }
.cta-band__actions  { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.page-hero {
  background: var(--navy);
  padding: 72px 0 68px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(184,151,61,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184,151,61,0.035) 1px, transparent 1px);
  background-size: 52px 52px;
  pointer-events: none;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.09;
}

.page-hero__content { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; margin-bottom: 10px; }
.page-hero p  { color: rgba(255,255,255,0.60); font-size: 1.02rem; max-width: 520px; font-weight: 300; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 22px;
}

.breadcrumb a { color: rgba(255,255,255,0.45); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb i   { font-size: 0.7rem; }
.breadcrumb .current { color: var(--gold-light); }

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

@media (max-width: 820px) { .about-intro__grid { grid-template-columns: 1fr; } }

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

.about-intro__img img {
  width: 100%;
  height: 440px;
  object-fit: cover;
}

.about-intro__badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(15,31,61,0.92);
  border: 1px solid rgba(184,151,61,0.3);
  backdrop-filter: blur(8px);
  padding: 14px 20px;
  border-radius: var(--radius-md);
}

.about-intro__badge-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--gold-light);
  font-weight: 700;
  line-height: 1;
}

.about-intro__badge-lbl {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.08em;
  margin-top: 4px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

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

.value-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 24px 22px;
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.value-card:hover { border-color: var(--gold); box-shadow: var(--shadow-sm); }

.value-card__icon {
  width: 44px;
  height: 44px;
  background: var(--gold-pale);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
  font-size: 1.2rem;
}

.value-card h4 { margin-bottom: 5px; font-size: 1rem; }
.value-card p  { font-size: 0.86rem; line-height: 1.6; }

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

@media (max-width: 900px) { .team-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .team-grid { grid-template-columns: 1fr; } }

.team-card {
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all var(--transition);
}

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

.team-card__photo {
  height: 240px;
  overflow: hidden;
  background: var(--cream);
}

.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform var(--transition-slow);
}

.team-card:hover .team-card__photo img { transform: scale(1.04); }

.team-card__body { padding: 20px 22px; }

.team-card__name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 3px;
}

.team-card__role {
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 10px;
}

.team-card__bio { font-size: 0.86rem; line-height: 1.6; }

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

@media (max-width: 900px) { .programs-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .programs-grid { grid-template-columns: 1fr; } }

.program-card {
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.program-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--gold); }

.program-card__img {
  height: 196px;
  overflow: hidden;
  background: var(--cream);
}

.program-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.program-card:hover .program-card__img img { transform: scale(1.04); }

.program-card__body { padding: 24px 22px; flex: 1; display: flex; flex-direction: column; }

.program-card__level {
  display: inline-block;
  font-size: 0.70rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-pale);
  padding: 3px 12px;
  border-radius: 100px;
  margin-bottom: 12px;
}

.program-card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.program-card p  { font-size: 0.87rem; flex: 1; }

.program-card__meta {
  display: flex;
  gap: 18px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 0.80rem;
  color: var(--slate-light);
  flex-wrap: wrap;
}

.program-card__meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.curriculum {
  display: flex;
  flex-direction: column;
  gap: 14px;
  counter-reset: curriculum-counter;
}

.curriculum-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 20px 22px;
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.curriculum-item:hover { border-color: var(--gold); box-shadow: var(--shadow-xs); }

.curriculum-item__num {
  width: 34px;
  height: 34px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold);
  flex-shrink: 0;
}

.curriculum-item h4 { margin-bottom: 4px; font-size: 0.97rem; }
.curriculum-item p  { font-size: 0.86rem; }

.contact-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 60px;
  align-items: start;
}

@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }

.contact-aside__item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 28px;
}

.contact-aside__icon {
  width: 42px;
  height: 42px;
  background: var(--gold-pale);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.15rem;
  flex-shrink: 0;
}

.contact-aside__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}

.contact-aside__value {
  color: var(--dark-text);
  font-size: 0.92rem;
}

.contact-aside__value a { color: var(--navy); }
.contact-aside__value a:hover { text-decoration: underline; }

.contact-form-wrap {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 40px 38px;
  box-shadow: var(--shadow-sm);
}

@media (max-width: 600px) { .contact-form-wrap { padding: 28px 22px; } }

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 600px) { .form-row-2 { grid-template-columns: 1fr; } }

.form-group { margin-bottom: 22px; }

.form-group label {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 7px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 11px 15px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--dark-text);
  background: var(--cream);
  transition: border-color var(--transition), background var(--transition);
  outline: none;
  appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--navy);
  background: #fff;
}

.form-group textarea { resize: vertical; min-height: 130px; }

.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.form-success i {
  font-size: 3rem;
  color: #22c55e;
  display: block;
  margin-bottom: 14px;
}

.form-success h3 { margin-bottom: 8px; }

.legal-content {
  max-width: 820px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.45rem;
  margin: 44px 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.legal-content h2:first-child { margin-top: 0; }

.legal-content h3 {
  font-size: 1.05rem;
  margin: 24px 0 8px;
  color: var(--navy-mid);
}

.legal-content p { margin-bottom: 14px; font-size: 0.94rem; color: #4a5568; line-height: 1.75; }

.legal-content ul,
.legal-content ol {
  padding-left: 22px;
  margin-bottom: 16px;
}

.legal-content ul { list-style: disc; }
.legal-content ol { list-style: decimal; }

.legal-content li {
  margin-bottom: 7px;
  font-size: 0.94rem;
  color: #4a5568;
  line-height: 1.7;
}

.legal-content a { color: var(--navy-mid); text-decoration: underline; }
.legal-content a:hover { color: var(--gold); }

.legal-meta {
  font-size: 0.82rem;
  color: var(--slate-light);
  margin-top: 6px;
}

.notice {
  padding: 14px 18px;
  border-radius: var(--radius);
  border-left: 3px solid;
  margin: 20px 0;
  font-size: 0.89rem;
}

.notice--info    { background: #eff6ff; border-color: #3b82f6; color: #1e3a5f; }
.notice--warning { background: #fffbeb; border-color: var(--gold); color: #78350f; }

.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.60);
  padding: 64px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 44px;
  margin-bottom: 48px;
}

@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

.footer__brand-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.footer__logo-wrap {
  width: 34px;
  height: 34px;
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
}

.footer__logo-wrap img { width: 100%; height: 100%; object-fit: contain; }

.footer__brand-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}

.footer__brand-name span { color: var(--gold); }

.footer__tagline {
  font-size: 0.86rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 22px;
  line-height: 1.65;
}

.footer__col-title {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 16px;
}

.footer__col ul li { margin-bottom: 8px; }

.footer__col ul li a {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.50);
  transition: color var(--transition);
}

.footer__col ul li a:hover { color: var(--gold-light); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.80rem;
  color: rgba(255,255,255,0.35);
  flex-wrap: wrap;
  gap: 10px;
}

.footer__bottom a { color: rgba(255,255,255,0.35); transition: color var(--transition); }
.footer__bottom a:hover { color: var(--gold-light); }

.footer__legal-links { display: flex; gap: 20px; flex-wrap: wrap; }

.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: min(780px, calc(100vw - 32px));
  background: #111e36;
  border: 1px solid rgba(255,255,255,0.09);
  border-top: 2px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  animation: cookieSlideUp 0.35s ease forwards;
}

@keyframes cookieSlideUp {
  from { opacity: 0; transform: translateX(-50%) translateY(16px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

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

.cookie-banner__icon {
  font-size: 1.5rem;
  color: var(--gold);
  flex-shrink: 0;
}

.cookie-banner__text { flex: 1; min-width: 200px; }

.cookie-banner__title {
  font-size: 0.86rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 3px;
}

.cookie-banner__desc {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.60);
  margin: 0;
}

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

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

.cookie-banner__actions .btn { padding: 9px 22px; }

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

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

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

.info-disclaimer {
  background: var(--gold-pale);
  border: 1px solid rgba(184,151,61,0.25);
  border-left: 3px solid var(--gold);
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 0.85rem;
  color: #5a4a1e;
  margin-bottom: 36px;
}

.info-disclaimer strong { color: #3a2e0a; }

@media (max-width: 768px) {
  .section       { padding: 60px 0; }
  .hero__content { padding: 64px 0; }
  .hero__stats   { gap: 28px; }
  .page-hero     { padding: 52px 0 48px; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
}

.table-wrap {
  overflow-x: auto;
  margin: 24px 0 32px;
  border-radius: 8px;
  border: 1px solid rgba(15,31,61,.1);
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  background: var(--warm-white);
}

.legal-table th {
  background: var(--navy);
  color: #fff;
  padding: 12px 16px;
  text-align: left;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.legal-table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(15,31,61,.08);
  color: var(--navy);
  vertical-align: top;
  line-height: 1.6;
}

.legal-table tr:last-child td { border-bottom: none; }
.legal-table tr:nth-child(even) td { background: rgba(245,237,218,.35); }

.legal-table code {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.82rem;
  background: rgba(15,31,61,.07);
  padding: 2px 6px;
  border-radius: 4px;
}

kbd {
  display: inline-block;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.8rem;
  background: #f0ece3;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 1px 6px;
  box-shadow: 0 1px 0 rgba(0,0,0,.15);
}

.legal-content code {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.85rem;
  background: rgba(15,31,61,.07);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--navy);
}
