@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg: #f7f2e8;
  --bg-soft: #fffaf2;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: #ffffff;
  --surface-dark: #01324a;
  --surface-dark-soft: rgba(1, 50, 74, 0.76);
  --text: #0f172a;
  --text-soft: #475569;
  --text-faint: #94a3b8;
  --line: rgba(15, 23, 42, 0.1);
  --line-strong: rgba(15, 23, 42, 0.16);
  --primary: #01517b;
  --primary-strong: #01324a;
  --primary-glow: rgba(1, 81, 123, 0.24);
  --accent: #2d88b7;
  --accent-soft: rgba(45, 136, 183, 0.14);
  --white: #f8fafc;
  --max: 1180px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --shadow-lg: 0 32px 80px rgba(15, 23, 42, 0.14);
  --shadow-md: 0 16px 42px rgba(15, 23, 42, 0.1);
  --body-size: 16px;
  --lede-size: 17px;
  --section-copy-size: 17px;
  --brand-name-size: 20px;
  --brand-tagline-size: 12px;
  --hero-title-min: 3rem;
  --hero-title-fluid: 7vw;
  --hero-title-max: 88px;
  --page-title-min: 2.5rem;
  --page-title-fluid: 5vw;
  --page-title-max: 68px;
  --section-title-min: 2rem;
  --section-title-fluid: 4vw;
  --section-title-max: 52px;
  --card-title-size: 24px;
  --card-body-size: 16px;
  --hero-badge-size: 12px;
  --hero-body-size: 17px;
  --page-hero-body-size: 17px;
  --section-heading-size: 52px;
  --section-body-size: 17px;
  --gallery-caption-size: 15px;
  --note-body-size: 16px;
  --logo-size: 50px;
  --logo-radius: 16px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: var(--body-size);
  line-height: 1.65;
  background:
    radial-gradient(circle at top left, rgba(45, 136, 183, 0.16), transparent 32%),
    radial-gradient(circle at bottom right, rgba(1, 81, 123, 0.12), transparent 28%),
    linear-gradient(180deg, #01517b 0, #01324a 600px, var(--bg) 600px, var(--bg) 100%);
  -webkit-font-smoothing: antialiased;
}

body.logo-size-small {
  --logo-size: 42px;
  --logo-radius: 14px;
}

body.logo-size-large {
  --logo-size: 62px;
  --logo-radius: 18px;
}

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

a {
  color: inherit;
}

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

.site-main {
  overflow: hidden;
}

.banner {
  position: relative;
  z-index: 30;
  color: var(--white);
  border-bottom: 1px solid rgba(248, 250, 252, 0.08);
  background: rgba(1, 81, 123, 0.34);
  backdrop-filter: blur(18px);
}

.banner .wrap {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  padding-top: 10px;
  padding-bottom: 10px;
  font-size: 13px;
}

.banner-label {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(125, 211, 252, 0.18);
  color: #d7f0ff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 18px 0;
  transition: padding 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  border-bottom: 1px solid rgba(248, 250, 252, 0.08);
  background: rgba(1, 50, 74, 0.42);
  backdrop-filter: blur(20px);
}

.site-header.is-scrolled {
  padding: 12px 0;
  background: rgba(1, 50, 74, 0.82);
  border-bottom-color: rgba(248, 250, 252, 0.12);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  min-width: 0;
}

.brand-logo,
.brand-mark {
  width: var(--logo-size);
  height: var(--logo-size);
  border-radius: var(--logo-radius);
  flex-shrink: 0;
}

.brand-logo {
  object-fit: contain;
  background: rgba(248, 250, 252, 0.92);
  padding: 6px;
  border: 1px solid rgba(248, 250, 252, 0.16);
  box-shadow: 0 10px 24px rgba(2, 6, 23, 0.28);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(1, 81, 123, 0.34), rgba(45, 136, 183, 0.28));
  color: var(--white);
  border: 1px solid rgba(248, 250, 252, 0.16);
  box-shadow: 0 10px 24px rgba(2, 6, 23, 0.28);
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-name,
h1,
h2,
h3,
h4 {
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.03em;
}

.brand-name {
  color: var(--white);
  font-size: var(--brand-name-size);
  font-weight: 700;
}

.brand-tagline {
  color: rgba(248, 250, 252, 0.7);
  font-size: var(--brand-tagline-size);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.main-nav a {
  text-decoration: none;
  color: rgba(248, 250, 252, 0.84);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: #ffffff;
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.nav-cta {
  min-height: 46px;
  padding: 0 18px;
  color: var(--white);
  background: linear-gradient(135deg, #01517b, #2d88b7);
  box-shadow: 0 10px 28px var(--primary-glow);
}

.nav-cta:hover {
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(248, 250, 252, 0.16);
  border-radius: 14px;
  background: rgba(248, 250, 252, 0.08);
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #ffffff;
  position: relative;
  margin: 0 auto;
}

.nav-toggle span::before {
  position: absolute;
  top: -6px;
}

.nav-toggle span::after {
  position: absolute;
  top: 6px;
}

.hero,
.page-hero {
  position: relative;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
  background: #01324a;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #01324a;
}

.hero-slide {
  position: absolute;
  inset: -8%;
  background-position: center;
  background-size: cover;
  opacity: 0;
  animation: hero-slideshow calc(var(--slide-count, 1) * var(--slide-duration, 7s)) infinite;
  animation-delay: calc(var(--slide-index, 0) * var(--slide-duration, 7s));
  transform: scale(1.06);
}

.hero-media-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgb(1 50 74 / calc(0.74 * var(--hero-overlay-strength, 60) / 60)) 0%,
      rgb(1 50 74 / calc(0.58 * var(--hero-overlay-strength, 60) / 60)) 35%,
      rgb(1 50 74 / calc(0.86 * var(--hero-overlay-strength, 60) / 60)) 100%
    ),
    radial-gradient(circle at 15% 20%, rgba(45, 136, 183, 0.24), transparent 24%),
    radial-gradient(circle at 84% 18%, rgba(96, 165, 250, 0.16), transparent 22%),
    radial-gradient(circle at 50% 70%, rgba(1, 81, 123, 0.16), transparent 24%);
  mix-blend-mode: normal;
}

.hero::before,
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(45, 136, 183, 0.24), transparent 24%),
    radial-gradient(circle at 84% 18%, rgba(96, 165, 250, 0.18), transparent 22%),
    radial-gradient(circle at 50% 70%, rgba(1, 81, 123, 0.16), transparent 24%);
  z-index: 1;
  pointer-events: none;
}

.hero {
  padding: 34px 0 110px;
}

.page-hero {
  padding: 28px 0 72px;
}

.hero .wrap,
.page-hero .wrap {
  position: relative;
  z-index: 2;
}

@keyframes hero-slideshow {
  0% { opacity: 0; transform: translateY(2%) scale(1.06); }
  8% { opacity: 1; }
  28% { opacity: 1; transform: translateY(-2%) scale(1.14); }
  36% { opacity: 0; transform: translateY(-3%) scale(1.16); }
  100% { opacity: 0; transform: translateY(-3%) scale(1.18); }
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  grid-template-areas: 'copy showcase';
  gap: 34px;
  align-items: stretch;
}

.page-hero-card,
.hero-panel,
.panel-card,
.feature-card,
.announcement-card,
.value-card,
.program-card,
.step-card,
.staff-card,
.gallery-card,
.contact-card,
.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.hero-copy {
  grid-area: copy;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  text-align: left;
}

.hero-showcase {
  grid-area: showcase;
}

.hero-grid.hero-grid-reverse {
  grid-template-areas: 'showcase copy';
}

.hero-grid.hero-grid-centered {
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    'copy'
    'showcase';
}

.hero-copy.hero-copy-center,
.page-hero-copy.page-hero-copy-center {
  align-items: center;
  text-align: center;
}

.hero-grid.hero-grid-centered .hero-copy {
  max-width: 760px;
  margin: 0 auto;
}

.hero-grid.hero-grid-centered .hero-showcase {
  max-width: 860px;
  width: 100%;
  margin: 0 auto;
}

.hero-badge,
.section-kicker,
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-badge {
  margin-bottom: 22px;
  color: #d7f0ff;
  background: rgba(125, 211, 252, 0.14);
  border: 1px solid rgba(125, 211, 252, 0.18);
  font-size: var(--hero-badge-size);
}

.hero-title,
.page-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(var(--hero-title-min), var(--hero-title-fluid), var(--hero-title-max));
  line-height: 1.02;
}

.page-hero h1 {
  font-size: clamp(var(--page-title-min), var(--page-title-fluid), var(--page-hero-title-max, var(--page-title-max)));
}

.hero-title em {
  font-style: normal;
  background: linear-gradient(135deg, #7dd3fc 0%, #d7f0ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lede {
  margin: 0;
  font-size: var(--lede-size);
  color: rgba(248, 250, 252, 0.82);
  max-width: 640px;
}

.hero p,
.hero .lede {
  font-size: var(--hero-body-size);
}

.page-hero p,
.page-hero .lede {
  font-size: var(--page-hero-body-size);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.btn {
  min-height: 52px;
  padding: 0 20px;
  border: 1px solid transparent;
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, #01517b, #2d88b7);
  box-shadow: 0 14px 34px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-ghost {
  color: var(--white);
  background: rgba(248, 250, 252, 0.06);
  border-color: rgba(248, 250, 252, 0.18);
}

.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: rgba(248, 250, 252, 0.34);
}

.btn-light {
  color: var(--text);
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(15, 23, 42, 0.12);
}

.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.hero-showcase {
  display: grid;
  gap: 18px;
}

.hero-panel {
  padding: 28px;
  background: rgba(248, 250, 252, 0.08);
  border-color: rgba(248, 250, 252, 0.12);
  backdrop-filter: blur(18px);
  color: var(--white);
}

.panel-label {
  display: inline-block;
  margin-bottom: 18px;
  color: #b8e6ff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-panel h2,
.hero-panel h3,
.hero-panel p {
  color: inherit;
}

.hero-panel-title {
  margin: 0 0 14px;
  font-size: var(--hero-card-title-size, 28px);
}

.hero-panel-copy {
  margin-bottom: 24px;
  color: rgba(248, 250, 252, 0.76);
  font-size: var(--hero-card-body-size, 15px);
}

.hero-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.hero-stat-card {
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(248, 250, 252, 0.08);
  border: 1px solid rgba(248, 250, 252, 0.12);
}

.hero-stat-value {
  display: block;
  margin-bottom: 6px;
  font-family: 'Outfit', sans-serif;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.hero-stat-label {
  display: block;
  color: rgba(248, 250, 252, 0.7);
  font-size: 13px;
}

.hero-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.panel-card {
  padding: 22px;
  background: rgba(248, 250, 252, 0.96);
  color: var(--text);
}

.panel-card h3 {
  margin: 0 0 10px;
  font-size: 21px;
}

.panel-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
}

.section {
  padding: 92px 0;
}

.section-soft {
  background: linear-gradient(180deg, rgba(255, 250, 242, 0.86), rgba(255, 255, 255, 0.92));
}

.section-head {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-head.section-head-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head.section-head-left {
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}

.section-kicker {
  color: var(--primary);
  background: rgba(1, 81, 123, 0.1);
  border: 1px solid rgba(1, 81, 123, 0.14);
  margin-bottom: 16px;
  font-size: var(--section-kicker-size, 12px);
}

.section-head h2,
.section-head h1 {
  margin: 0 0 12px;
  font-size: clamp(var(--section-title-min), var(--section-title-fluid), var(--section-heading-size, var(--section-title-max)));
  line-height: 1.05;
}

.section-head p,
.section-head .lede {
  color: var(--text-soft);
  font-size: var(--section-body-size);
}

.feature-grid,
.announcement-grid,
.value-grid,
.program-grid,
.steps,
.staff-grid,
.plate-grid {
  display: grid;
  gap: 22px;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.announcement-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.value-grid,
.program-grid,
.staff-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.plate-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.announcement-card,
.value-card,
.program-card,
.step-card,
.staff-card,
.gallery-card,
.contact-card,
.contact-form,
.page-hero-card {
  padding: 28px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
}

.feature-card h3,
.announcement-card h3,
.value-card h3,
.program-card h3,
.step-card h3,
.staff-card h3,
.gallery-card h3,
.contact-card h3,
.page-hero-card h3 {
  margin: 0 0 10px;
  font-size: var(--card-title-size);
}

.feature-card p,
.announcement-card p,
.value-card p,
.program-card p,
.step-card p,
.staff-card p,
.gallery-card p,
.contact-card p,
.page-hero-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: var(--card-body-size);
}

.pill {
  margin-bottom: 16px;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(45, 136, 183, 0.16);
}

.feature-card.feature-card-wide {
  grid-column: span 2;
}

.announcement-card {
  min-height: 220px;
}

.announcement-date {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.75fr);
  gap: 26px;
  align-items: end;
}

.page-hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.page-hero-card {
  background: rgba(248, 250, 252, 0.1);
  border-color: rgba(248, 250, 252, 0.14);
  color: var(--white);
}

.page-hero-card p,
.page-hero-card h3,
.page-hero-card .hero-panel-copy {
  color: inherit;
}

.page-hero-card .hero-panel-copy {
  color: rgba(248, 250, 252, 0.76);
}

.page-hero-meta {
  display: grid;
  gap: 14px;
}

.page-hero-meta .meta-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(248, 250, 252, 0.12);
  color: rgba(248, 250, 252, 0.84);
  font-size: 14px;
}

.note-box {
  margin-top: 28px;
  padding: 22px 24px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(1, 81, 123, 0.08), rgba(45, 136, 183, 0.08));
  border: 1px solid rgba(1, 81, 123, 0.16);
}

.note-box p {
  margin: 0;
  color: var(--text);
  font-weight: 500;
  font-size: var(--note-body-size);
}

.step-card {
  position: relative;
  overflow: hidden;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(1, 81, 123, 0.14), rgba(45, 136, 183, 0.14));
  color: var(--primary);
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 700;
}

.staff-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.staff-avatar {
  width: 68px;
  height: 68px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(1, 81, 123, 0.16), rgba(96, 165, 250, 0.14));
  color: var(--primary-strong);
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 700;
}

.staff-role {
  display: inline-block;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.program-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.program-level {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(1, 81, 123, 0.1);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.plate {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-md);
}

.plate-swatch {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.plate-swatch::before {
  content: '';
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(248, 250, 252, 0.24);
  border-radius: 22px;
}

.plate-swatch::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(8, 17, 31, 0.42));
}

.plate-number {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(248, 250, 252, 0.12);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plate-caption {
  padding: 18px 20px 22px;
  color: var(--text-soft);
  font-size: var(--gallery-caption-size);
}

.tone-forest {
  background:
    radial-gradient(circle at top right, rgba(74, 222, 128, 0.24), transparent 30%),
    linear-gradient(135deg, #134e4a, #065f46);
}

.tone-forest-light {
  background:
    radial-gradient(circle at top right, rgba(187, 247, 208, 0.24), transparent 30%),
    linear-gradient(135deg, #1d4d4f, #0f766e);
}

.tone-brass {
  background:
    radial-gradient(circle at top right, rgba(253, 224, 71, 0.26), transparent 28%),
    linear-gradient(135deg, #92400e, #d97706);
}

.tone-brass-light {
  background:
    radial-gradient(circle at top right, rgba(254, 243, 199, 0.24), transparent 30%),
    linear-gradient(135deg, #b45309, #f59e0b);
}

.tone-brick {
  background:
    radial-gradient(circle at top right, rgba(252, 165, 165, 0.22), transparent 30%),
    linear-gradient(135deg, #7f1d1d, #b91c1c);
}

.tone-ink {
  background:
    radial-gradient(circle at top right, rgba(125, 211, 252, 0.2), transparent 32%),
    linear-gradient(135deg, #0f172a, #1e293b);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 22px;
}

.contact-stack {
  display: grid;
  gap: 18px;
}

.contact-detail {
  display: grid;
  gap: 4px;
}

.contact-label {
  color: var(--primary);
  font-size: var(--contact-label-size, 12px);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-card a {
  text-decoration: none;
}

.contact-form {
  display: grid;
  gap: 18px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
}

.field input,
.field textarea {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: #ffffff;
  color: var(--text);
  font: inherit;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(1, 81, 123, 0.44);
  box-shadow: 0 0 0 4px rgba(1, 81, 123, 0.12);
}

.form-note {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
}

.form-note.success {
  color: var(--primary-strong);
}

.form-note.error {
  color: #b91c1c;
}

.site-footer {
  position: relative;
  margin-top: 70px;
  padding: 0 0 30px;
  color: rgba(248, 250, 252, 0.84);
  background: linear-gradient(180deg, #01324a, #012338);
}

.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 0, rgba(45, 136, 183, 0.2), transparent 24%),
    radial-gradient(circle at 80% 10%, rgba(96, 165, 250, 0.14), transparent 22%);
  pointer-events: none;
}

.site-footer .wrap {
  position: relative;
  z-index: 1;
}

.footer-cta {
  margin-top: -48px;
  margin-bottom: 28px;
  padding: 34px;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.96), rgba(255, 251, 245, 0.96));
  border: 1px solid rgba(248, 250, 252, 0.4);
  box-shadow: var(--shadow-lg);
  color: var(--text);
}

.footer-cta h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.footer-cta p {
  max-width: 640px;
  margin: 0 0 20px;
  color: var(--text-soft);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.9fr;
  gap: 28px;
  padding: 30px 0 26px;
  border-bottom: 1px solid rgba(248, 250, 252, 0.1);
}

.footer-brand .brand-name {
  color: #ffffff;
}

.footer-brand .brand-tagline {
  color: rgba(248, 250, 252, 0.68);
}

.footer-heading {
  margin-bottom: 14px;
  color: #b8e6ff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a {
  color: rgba(248, 250, 252, 0.82);
  text-decoration: none;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-meta {
  color: rgba(248, 250, 252, 0.64);
  font-size: 14px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 20px;
  color: rgba(248, 250, 252, 0.58);
  font-size: 13px;
}

.footer-bottom a {
  color: rgba(248, 250, 252, 0.82);
  text-decoration: none;
}

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

  .hero-grid {
    grid-template-areas:
      'copy'
      'showcase';
  }

  .feature-card.feature-card-wide {
    grid-column: span 1;
  }
}

@media (max-width: 900px) {
  .feature-grid,
  .announcement-grid,
  .value-grid,
  .program-grid,
  .staff-grid,
  .plate-grid,
  .steps,
  .hero-mini-grid,
  .hero-stat-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-bottom: 88px;
  }
}

@media (max-width: 820px) {
  .site-header .wrap {
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .main-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border-radius: 20px;
    background: rgba(8, 17, 31, 0.94);
    border: 1px solid rgba(248, 250, 252, 0.1);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a,
  .nav-cta {
    justify-content: center;
    min-height: 46px;
  }

  .brand {
    flex: 1;
    min-width: 0;
  }

  .brand-tagline {
    white-space: normal;
  }
}

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

  .site-header {
    padding: 12px 0;
  }

  .hero,
  .page-hero {
    padding-top: 20px;
  }

  .hero-title,
  .page-hero h1 {
    font-size: clamp(2.4rem, 13vw, 3.5rem);
  }

  .section {
    padding: 74px 0;
  }

  .feature-card,
  .announcement-card,
  .value-card,
  .program-card,
  .step-card,
  .staff-card,
  .gallery-card,
  .contact-card,
  .contact-form,
  .page-hero-card,
  .hero-panel {
    padding: 22px;
  }

  .footer-cta {
    margin-top: -26px;
    padding: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
