/* ==========================================================================
   Globe Companion — main stylesheet (plain CSS, no build step)
   ========================================================================== */

:root {
  --blue-50: #eff6ff;
  --blue-100: #dbeafe;
  --blue-200: #bfdbfe;
  --blue-400: #60a5fa;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --blue-800: #1e40af;
  --blue-900: #1e3a8a;
  --slate-900: #0f172a;
  --green-100: #dcfce7;
  --green-500: #22c55e;
  --green-600: #16a34a;
  --yellow-100: #fef9c3;
  --yellow-300: #fde047;
  --yellow-400: #facc15;
  --yellow-600: #ca8a04;
  --red-500: #ef4444;
  --red-700: #b91c1c;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-900: #111827;
  --border: #e5e5e5;

  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / .05);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / .25);

  --grad-blue: linear-gradient(to bottom right, var(--blue-600), var(--blue-700), var(--blue-800));
  --nav-h: 5rem;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  line-height: 1.5;
  color: #0a0a0a;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--blue-500); outline-offset: 2px; }
#application-form { scroll-margin-top: var(--nav-h); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Icons ---------- */
.icon {
  width: 1rem; height: 1rem; flex-shrink: 0;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.fill-current { fill: currentColor; }
.i-4 { width: 1rem; height: 1rem; }
.i-5 { width: 1.25rem; height: 1.25rem; }
.i-6 { width: 1.5rem; height: 1.5rem; }
.i-7 { width: 1.75rem; height: 1.75rem; }
.i-8 { width: 2rem; height: 2rem; }
.i-10 { width: 2.5rem; height: 2.5rem; }
.i-12 { width: 3rem; height: 3rem; }

/* ---------- Utilities ---------- */
.container { width: 100%; max-width: 80rem; margin: 0 auto; padding: 0 1.5rem; }
.container-narrow { max-width: 48rem; }
.text-center { text-align: center; }
.h-full { height: 100%; }
.overflow-hidden { overflow: hidden; }
.mb-2 { margin-bottom: .5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.small { font-size: .875rem; line-height: 1.25rem; }
.muted { color: var(--gray-600); }
.c-green { color: var(--green-500); }
p.c-green { color: var(--green-600); }
.c-blue { color: var(--blue-600); }
.c-gray-400 { color: var(--gray-400); }
.bg-white { background: #fff; }
.bg-gray { background: var(--gray-50); }
.bg-soft-blue { background: linear-gradient(to bottom right, var(--blue-50), #fff) !important; }
.border-b { border-bottom: 1px solid var(--border); }
.lead { font-size: 1.25rem; line-height: 1.75rem; color: var(--gray-600); }
.body-lg { font-size: 1.125rem; line-height: 1.625; color: var(--gray-700); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  white-space: nowrap; border-radius: .375rem; border: 0;
  font-size: .875rem; font-weight: 500; line-height: 1.25rem;
  height: 2.25rem; padding: 0 1rem;
  transition: background-color .15s, color .15s, box-shadow .15s, opacity .15s;
}
.btn:disabled { opacity: .6; pointer-events: none; }
.btn-lg { height: 2.5rem; padding: 0 2rem; }
.btn-xl { height: 3rem; padding: 0 2rem; font-size: 1.125rem; line-height: 1.75rem; border-radius: .5rem; }
.btn-block { width: 100%; }
.btn-shadow { box-shadow: var(--shadow-xl); }
.btn-primary { background: var(--blue-600); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--blue-700); }
.btn-green { background: var(--green-500); color: #fff; box-shadow: var(--shadow-xl); }
.btn-green:hover { background: var(--green-600); }
.btn-white { background: #fff; color: var(--blue-600); }
.btn-white:hover { background: var(--blue-50); }
.btn-grad { background: linear-gradient(to right, var(--blue-600), var(--blue-700)); color: #fff; box-shadow: var(--shadow); }
.btn-grad:hover { background: linear-gradient(to right, var(--blue-700), var(--blue-800)); }
.btn-filter { background: #fff; border: 1px solid var(--border); color: #171717; box-shadow: var(--shadow-sm); }
.btn-filter:hover { background: #f5f5f5; }
.btn-filter.is-active { background: var(--blue-600); border-color: var(--blue-600); color: #fff; box-shadow: var(--shadow); }
.btn-filter.is-active:hover { background: var(--blue-700); }

/* ---------- Navbar ---------- */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: #fff; box-shadow: var(--shadow-md); }
.navbar-inner { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); }
.logo { display: flex; align-items: center; gap: .75rem; }
.logo-mark {
  width: 3rem; height: 3rem; border-radius: .75rem; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; color: #fff;
  background: linear-gradient(to bottom right, var(--blue-600), var(--blue-700));
  box-shadow: var(--shadow-lg);
}
.logo-mark-light { background: linear-gradient(to bottom right, var(--blue-500), var(--blue-600)); box-shadow: none; }
.logo-text { font-size: 1.5rem; line-height: 2rem; font-weight: 700; color: var(--blue-600); }

.nav-links { display: none; align-items: center; gap: .25rem; }
.nav-link {
  display: flex; align-items: center; gap: .5rem; padding: .5rem 1rem; border-radius: .5rem;
  font-weight: 500; color: var(--gray-700); transition: all .15s;
}
.nav-link:hover { background: var(--blue-50); color: var(--blue-600); }
.nav-link[aria-current="page"] { background: var(--blue-600); color: #fff; }

.menu-toggle { display: inline-flex; padding: .5rem; border: 0; border-radius: .5rem; background: none; color: var(--gray-900); }
.menu-toggle:hover { background: var(--gray-100); }
.menu-toggle .icon-close { display: none; }
.menu-open .menu-toggle .icon-open { display: none; }
.menu-open .menu-toggle .icon-close { display: block; }

.mobile-menu {
  position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0; z-index: 40;
  background: #fff; overflow-y: auto;
  transform: translateX(100%); opacity: 0; visibility: hidden;
  transition: transform .3s ease, opacity .3s ease, visibility .3s;
}
.menu-open .mobile-menu { transform: none; opacity: 1; visibility: visible; }
.menu-open { overflow: hidden; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 1rem; padding: 1.5rem; }
.mobile-link {
  display: flex; align-items: center; gap: .75rem; padding: 1rem; border-radius: .5rem;
  font-size: 1.25rem; line-height: 1.75rem; font-weight: 600; color: var(--gray-900); transition: background .15s;
}
.mobile-link span:first-child { font-size: 1.5rem; }
.mobile-link:hover { background: var(--blue-50); }
.mobile-link[aria-current="page"] { background: var(--blue-600); color: #fff; }

@media (min-width: 1024px) {
  .nav-links { display: flex; }
  .menu-toggle, .mobile-menu { display: none; }
}
@media (max-width: 400px) {
  .logo-text { font-size: 1.25rem; }
  .logo-mark { width: 2.5rem; height: 2.5rem; }
}

/* ---------- Floating social ---------- */
.floating-social {
  position: fixed; right: 1.5rem; top: 50%; transform: translateY(-50%); z-index: 40;
  display: flex; flex-direction: column; gap: .75rem;
}
.float-btn {
  width: 3.5rem; height: 3.5rem; border-radius: 9999px; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg); transition: transform .15s, background .15s;
}
.float-btn:hover { transform: scale(1.1); }
.float-whatsapp { background: var(--green-500); }
.float-whatsapp:hover { background: var(--green-600); }
.float-instagram { background: linear-gradient(to bottom right, #a855f7, #ec4899, #f97316); }
.float-instagram:hover { background: linear-gradient(to bottom right, #9333ea, #db2777, #ea580c); }
.float-facebook { background: var(--blue-600); }
.float-facebook:hover { background: var(--blue-700); }
@media (max-width: 640px) {
  .floating-social { right: .75rem; top: auto; bottom: 1rem; transform: none; gap: .5rem; }
  .float-btn { width: 3rem; height: 3rem; }
  .float-btn svg { width: 1.5rem; height: 1.5rem; }
}

/* ---------- Main ---------- */
.main { padding-top: var(--nav-h); }

/* ---------- Sections ---------- */
.section { padding: 6rem 0; }
.section-sm { padding: 4rem 0; }
.section-head { text-align: center; margin-bottom: 4rem; }
.section-head-sm { margin-bottom: 3rem; }
.section-title {
  font-size: 2.25rem; line-height: 2.5rem; font-weight: 700; color: var(--blue-600); margin-bottom: 1rem;
}
.section-title.dark { color: var(--gray-900); }
.section-sub { font-size: 1.25rem; line-height: 1.75rem; color: var(--gray-600); max-width: 48rem; margin: 0 auto; }
@media (min-width: 768px) {
  .section-title { font-size: 3rem; line-height: 1.1; }
  .section-title.section-title-sm { font-size: 2.25rem; line-height: 2.5rem; }
}

/* Page hero (inner pages) */
.page-hero { background: var(--grad-blue); padding: 6rem 0; text-align: center; color: #fff; }
.page-hero h1 { font-size: 3rem; line-height: 1.1; font-weight: 700; margin-bottom: 1.5rem; }
.page-hero p { font-size: 1.25rem; line-height: 1.75rem; color: var(--blue-100); max-width: 48rem; margin-left: auto; margin-right: auto; }
.page-hero p.wide { max-width: 56rem; line-height: 1.625; }
.page-hero p.mb-8 { margin-bottom: 2rem; }
@media (min-width: 768px) { .page-hero h1 { font-size: 3.75rem; } }
@media (max-width: 480px) { .page-hero h1 { font-size: 2.5rem; } }

.hero-search { position: relative; max-width: 42rem; margin: 0 auto; }
.hero-search .icon { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--gray-400); pointer-events: none; }
.hero-search input {
  width: 100%; height: 3.5rem; padding: 0 1rem 0 3rem; font-size: 1.125rem;
  background: #fff; color: #0a0a0a; border: 1px solid var(--border); border-radius: .375rem; box-shadow: var(--shadow-sm);
}
.hero-search input:focus { outline: none; box-shadow: 0 0 0 2px var(--blue-400); }

/* Home hero */
.home-hero { position: relative; min-height: 90vh; display: flex; align-items: center; background: var(--grad-blue); }
.home-hero-grid { display: grid; gap: 3rem; align-items: center; padding-top: 3rem; padding-bottom: 3rem; }
.home-hero-title { font-size: 3rem; line-height: 1.25; font-weight: 700; color: #fff; margin-bottom: 1.5rem; }
.home-hero-title span { display: block; color: var(--yellow-300); }
.home-hero-text { font-size: 1.25rem; line-height: 1.625; color: var(--blue-50); margin-bottom: 2rem; }
.home-hero-image { display: none; }
.home-hero-image img { border-radius: 1rem; box-shadow: var(--shadow-2xl); width: 100%; }
.hero-actions { display: flex; flex-direction: column; gap: 1rem; }
.hero-actions-center { justify-content: center; }
@media (min-width: 640px) { .hero-actions { flex-direction: row; flex-wrap: wrap; } }
@media (min-width: 768px) { .home-hero-title { font-size: 3.75rem; } }
@media (min-width: 1024px) {
  .home-hero-grid { grid-template-columns: 1fr 1fr; }
  .home-hero-image { display: block; }
}
@media (max-width: 480px) { .home-hero-title { font-size: 2.5rem; } }

/* CTA */
.cta { padding: 6rem 0; background: linear-gradient(to bottom right, var(--blue-600), var(--blue-800)); }
.cta-inner { max-width: 56rem; text-align: center; color: #fff; }
.cta h2 { font-size: 2.25rem; line-height: 2.5rem; font-weight: 700; margin-bottom: 1.5rem; }
.cta p { font-size: 1.25rem; line-height: 1.75rem; color: var(--blue-100); margin-bottom: 2rem; }
.cta .btn-white:hover { background: var(--gray-100); }
@media (min-width: 768px) { .cta h2 { font-size: 3rem; line-height: 1.1; } }

/* ---------- Grids ---------- */
.grid { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr); }
.grid.gap-6 { gap: 1.5rem; }
.grid-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-lg-2 { gap: 3rem; }
@media (min-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3-md { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grid-lg-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.grid > * { min-width: 0; }

/* ---------- Cards ---------- */
.card { background: #fff; border-radius: .75rem; box-shadow: var(--shadow-lg); transition: box-shadow .3s; }
.card-xl { box-shadow: var(--shadow-xl); }
.card-pad { padding: 2rem; }
.card-pad-lg { padding: 2.5rem; }
@media (min-width: 768px) { .card-pad-md-lg { padding: 2.5rem; } }
.card-hover:hover { box-shadow: var(--shadow-xl); }
.card-hover-2xl:hover { box-shadow: var(--shadow-2xl); }
.reveal > .card, .reveal-left > .card, .reveal-right > .card { height: 100%; }
.card-title { font-size: 1.25rem; line-height: 1.75rem; font-weight: 700; color: var(--gray-900); margin-bottom: .75rem; }
.card-text { color: var(--gray-600); line-height: 1.625; }
.card-heading { font-size: 1.875rem; line-height: 2.25rem; font-weight: 700; color: var(--blue-600); }
.card-head { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.5rem; }

.icon-circle {
  width: 4rem; height: 4rem; border-radius: 9999px; margin: 0 auto 1.5rem;
  display: flex; align-items: center; justify-content: center;
}
.icon-circle-lg { width: 5rem; height: 5rem; }
.icon-circle.mb-8 { margin-bottom: 2rem; }
.icon-circle.mb-6 { margin-bottom: 1.5rem; }
.ic-grad { background: linear-gradient(to bottom right, var(--blue-500), var(--blue-600)); color: #fff; }
.ic-soft { background: var(--blue-100); color: var(--blue-600); }

.feature-row { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; }
.feature-row h4 { font-size: 1.25rem; line-height: 1.75rem; font-weight: 700; color: var(--gray-900); margin-bottom: .5rem; }
.feature-row p { color: var(--gray-600); line-height: 1.625; }
.feature-icon { width: 3rem; height: 3rem; border-radius: .5rem; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.fi-green { background: var(--green-100); color: var(--green-600); }
.fi-yellow { background: var(--yellow-100); color: var(--yellow-600); }
.fi-blue { background: var(--blue-100); color: var(--blue-600); }

/* Lists */
.check-list { display: flex; flex-direction: column; gap: 1rem; }
.check-list li { display: flex; align-items: flex-start; gap: .75rem; font-size: 1.125rem; line-height: 1.75rem; color: var(--gray-700); }
.check-list li .icon { margin-top: .125rem; }
.check-list-medium li { align-items: center; font-weight: 500; }
.check-list-medium li .icon { margin-top: 0; }
.mini-check { display: flex; flex-direction: column; gap: .25rem; }
.mini-check li { display: flex; align-items: center; gap: .5rem; font-size: .875rem; color: var(--gray-600); }
.dot-list { display: flex; flex-direction: column; gap: .5rem; }
.dot-list li { display: flex; align-items: center; gap: .5rem; color: var(--gray-700); }
.dot-list li::before { content: ""; width: .5rem; height: .5rem; border-radius: 9999px; background: var(--blue-600); flex-shrink: 0; }
.dot-list.dot-green li::before { background: var(--green-600); }
.list-title { font-weight: 600; color: var(--gray-900); margin-bottom: .75rem; font-size: 1rem; }
.detail-list { display: flex; flex-direction: column; gap: .5rem; text-align: left; }
.detail-list li { display: flex; align-items: center; gap: .5rem; font-size: .875rem; color: var(--gray-600); }
.detail-list li::before { content: ""; width: .375rem; height: .375rem; border-radius: 9999px; background: var(--blue-600); flex-shrink: 0; }

/* Stats */
.stat { text-align: center; }
.stat-icon {
  width: 4rem; height: 4rem; border-radius: 9999px; margin: 0 auto 1rem;
  background: var(--blue-100); color: var(--blue-600); display: flex; align-items: center; justify-content: center;
}
.stat-icon-square { border-radius: 1rem; }
.stat-value { font-size: 2.25rem; line-height: 2.5rem; font-weight: 700; color: var(--blue-600); margin-bottom: .5rem; }
.stat-label { color: var(--gray-600); }
.big-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; text-align: center; }
.big-stat-value { font-size: 2.25rem; line-height: 2.5rem; font-weight: 700; color: var(--blue-600); margin-bottom: .5rem; }
.big-stat-label { color: var(--gray-600); font-weight: 500; }
@media (min-width: 768px) { .big-stat-value { font-size: 3rem; line-height: 1; } }

/* Image cards */
.image-card { position: relative; height: 16rem; border-radius: .75rem; overflow: hidden; box-shadow: var(--shadow); transition: box-shadow .3s; }
.image-card:hover { box-shadow: var(--shadow-xl); }
.image-card img, .dest-card img, .uni-card-image img, .dest-detail-image img {
  width: 100%; height: 100%; object-fit: cover; transition: transform .3s;
}
.image-card:hover img, .dest-card:hover img, .uni-card:hover .uni-card-image img { transform: scale(1.1); }
.image-card-overlay { position: absolute; inset: 0; display: flex; align-items: flex-end; background: linear-gradient(to top, rgb(0 0 0 / .7), transparent); }
.image-card-overlay h3 { color: #fff; font-weight: 700; font-size: 1.25rem; line-height: 1.75rem; padding: 1.5rem; }

.dest-card { position: relative; display: block; height: 12rem; border-radius: .75rem; overflow: hidden; box-shadow: var(--shadow); transition: box-shadow .3s; }
.dest-card:hover { box-shadow: var(--shadow-xl); }
.dest-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(0 0 0 / .6), transparent); }
.dest-card-info { position: absolute; bottom: 1rem; left: 1rem; color: #fff; z-index: 1; }
.dest-card-info h3 { font-size: 1.5rem; line-height: 2rem; font-weight: 700; margin-bottom: .25rem; }
.dest-card-info p { font-size: .875rem; }

.dest-detail-image { position: relative; height: 16rem; }
.dest-detail-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(0 0 0 / .7), transparent); }
.dest-detail-title { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.5rem; color: #fff; z-index: 1; }
.dest-detail-title h3 { font-size: 1.875rem; line-height: 2.25rem; font-weight: 700; margin-bottom: .5rem; }
.dest-detail-title p { color: var(--blue-100); }
.dest-detail-body { padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.dest-detail-body h4 { font-weight: 600; color: var(--gray-900); margin-bottom: .25rem; font-size: 1rem; }
.dest-detail-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.filters { padding: 2rem 0; background: #fff; border-bottom: 1px solid var(--border); }
.filter-bar { display: flex; flex-wrap: wrap; gap: .75rem; }

.uni-card-image { position: relative; height: 12rem; overflow: hidden; }
.rank-badge {
  position: absolute; top: 1rem; right: 1rem; display: flex; align-items: center; gap: .25rem;
  background: var(--yellow-400); color: var(--gray-900); padding: .25rem .75rem; border-radius: 9999px;
  font-size: .875rem; font-weight: 700;
}
.uni-card-body { padding: 1.5rem; }
.uni-card-body h3 { font-size: 1.25rem; line-height: 1.75rem; font-weight: 700; color: var(--gray-900); margin-bottom: .75rem; }
.uni-meta { display: flex; flex-direction: column; gap: .5rem; color: var(--gray-600); }
.uni-meta div { display: flex; align-items: center; gap: .5rem; }
.empty-state { text-align: center; color: var(--gray-600); font-size: 1.125rem; padding: 2rem 0; }
.empty-state a { color: var(--blue-600); font-weight: 600; }

/* About: story + milestones */
.story-text { display: flex; flex-direction: column; gap: 1rem; font-size: 1.125rem; line-height: 1.625; color: var(--gray-700); }
.milestones { display: flex; flex-direction: column; gap: 1.5rem; }
.milestone { display: flex; gap: 1rem; }
.milestone-year {
  width: 4rem; height: 4rem; border-radius: 9999px; flex-shrink: 0; background: var(--blue-600); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.125rem;
}
.milestone h3 { font-size: 1.25rem; line-height: 1.75rem; font-weight: 700; color: var(--gray-900); margin-bottom: .5rem; }
.milestone p { color: var(--gray-600); }

/* Portal: steps */
.steps { position: relative; display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr); }
.steps-line { display: none; position: absolute; top: 48px; left: 0; right: 0; height: 2px; background: linear-gradient(to right, var(--blue-200), var(--blue-400), var(--blue-200)); }
.step { text-align: center; position: relative; }
.step-num {
  width: 6rem; height: 6rem; margin: 0 auto 1.5rem; border-radius: 9999px; position: relative; z-index: 1;
  background: linear-gradient(to bottom right, var(--blue-500), var(--blue-600)); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 1.875rem; font-weight: 700; box-shadow: var(--shadow-lg);
}
.step h3 { font-size: 1.25rem; line-height: 1.75rem; font-weight: 700; color: var(--gray-900); margin-bottom: .75rem; }
.step p { color: var(--gray-600); }
@media (min-width: 768px) {
  .steps { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .steps-line { display: block; }
}

/* ---------- Forms ---------- */
.card-form { padding: 2rem; }
@media (min-width: 768px) { .card-form { padding: 3rem; } }
#applicationForm { display: flex; flex-direction: column; gap: 1.5rem; }
.form-row { display: grid; gap: 1.5rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) { .form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field label, .field .label { display: block; font-size: .875rem; font-weight: 500; color: var(--gray-700); margin-bottom: .5rem; }
.input {
  display: block; width: 100%; height: 3rem; padding: .25rem .75rem;
  background: transparent; border: 1px solid var(--border); border-radius: .375rem; box-shadow: var(--shadow-sm);
  font-size: .875rem; transition: box-shadow .15s, border-color .15s;
}
.input::placeholder { color: #737373; }
.input:focus { outline: none; box-shadow: 0 0 0 1px #0a0a0a; }
.input.is-invalid { border-color: var(--red-500); }
.select {
  appearance: none; -webkit-appearance: none; background-color: #fff; padding-right: 2.5rem; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23737373' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .75rem center;
}
.select:invalid { color: #737373; }
.select option { color: #0a0a0a; }
.textarea { height: auto; min-height: 9rem; padding: .5rem .75rem; resize: none; }

.dropzone {
  display: flex !important; flex-direction: column; align-items: center; text-align: center; cursor: pointer;
  border: 2px dashed var(--gray-300); border-radius: .5rem; padding: 1.5rem; margin-bottom: 0 !important;
  transition: border-color .15s, background .15s;
}
.dropzone:hover, .dropzone.is-dragover { border-color: var(--blue-500); }
.dropzone.is-dragover { background: var(--blue-50); }
.dropzone .icon { margin-bottom: .75rem; }
.dropzone-title { color: var(--gray-600); margin-bottom: .25rem; font-size: 1rem; font-weight: 400; }
.dropzone-hint { font-size: .875rem; color: var(--gray-500); font-weight: 400; }
.file-list { display: flex; flex-direction: column; gap: .5rem; margin-top: 1rem; }
.file-list:empty { display: none; }
.file-item { display: flex; align-items: center; justify-content: space-between; gap: .75rem; background: var(--blue-50); padding: .75rem; border-radius: .5rem; }
.file-item-name { display: flex; align-items: center; gap: .5rem; font-size: .875rem; color: var(--gray-700); min-width: 0; }
.file-item-name span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-item-name .icon { color: var(--blue-600); }
.file-item button { background: none; border: 0; color: var(--red-500); padding: .125rem; border-radius: .25rem; }
.file-item button:hover { color: var(--red-700); }

.btn-submit { height: 3.5rem; font-size: 1.125rem; }
.form-alert { padding: .875rem 1rem; border-radius: .5rem; font-size: .9375rem; }
.form-alert.is-success { background: var(--green-100); color: #166534; }
.form-alert.is-error { background: #fee2e2; color: #991b1b; }
.form-footnote { text-align: center; color: var(--gray-600); margin-top: 2rem; line-height: 1.75; }
.form-footnote a { color: var(--blue-600); font-weight: 600; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */
.footer { background: linear-gradient(to bottom right, var(--slate-900), var(--blue-900), var(--slate-900)); color: #fff; padding: 4rem 0 2rem; }
.footer-grid { display: grid; gap: 3rem; margin-bottom: 3rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer-brand { grid-column: span 2; }
}
.footer-logo { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.5rem; font-size: 1.5rem; line-height: 2rem; font-weight: 700; }
.footer-brand p { color: var(--blue-100); line-height: 1.625; margin-bottom: 1.5rem; max-width: 28rem; }
.footer-social { display: flex; gap: 1rem; }
.footer-social a { width: 2.5rem; height: 2.5rem; border-radius: .5rem; background: rgb(255 255 255 / .1); display: flex; align-items: center; justify-content: center; transition: background .15s; }
.footer-social a:hover { background: rgb(255 255 255 / .2); }
.footer-heading { font-size: 1.125rem; line-height: 1.75rem; font-weight: 600; margin-bottom: 1rem; }
.footer-links { display: flex; flex-direction: column; gap: .75rem; }
.footer-links a, .footer-contact a, .footer-contact span, .footer-bottom p, .footer-legal a { color: var(--blue-100); transition: color .15s; }
.footer-links a:hover, .footer-contact a:hover, .footer-legal a:hover { color: #fff; }
.footer-contact { display: flex; flex-direction: column; gap: .75rem; }
.footer-contact li { display: flex; align-items: flex-start; gap: .75rem; }
.footer-contact .icon { color: var(--blue-400); margin-top: .125rem; }
.footer-contact a { word-break: break-word; }
.footer-bottom { border-top: 1px solid rgb(255 255 255 / .1); padding-top: 2rem; display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 1rem; font-size: .875rem; }
.footer-legal { display: flex; gap: 1.5rem; }
@media (min-width: 768px) { .footer-bottom { flex-direction: row; } }

/* ---------- Animations ---------- */
@keyframes fadeLeft { from { opacity: 0; transform: translateX(-30px); } to { opacity: 1; transform: none; } }
@keyframes fadeRight { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.anim-left { animation: fadeLeft .8s ease-out both; }
.anim-right { animation: fadeRight .8s ease-out .2s both; }
.anim-up { animation: fadeUp .5s ease-out both; }

/* Scroll reveal — only hidden when JS is running (html.js) */
.js .reveal, .js .reveal-left, .js .reveal-right, .js .reveal-scale {
  opacity: 0; transition: opacity .6s ease-out, transform .6s ease-out; transition-delay: var(--d, 0s);
}
.js .reveal { transform: translateY(20px); }
.js .reveal-left { transform: translateX(-30px); }
.js .reveal-right { transform: translateX(30px); }
.js .reveal-scale { transform: scale(.9); }
.js .in-view { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
}
