:root {
  --bg: #f6f2ea;
  --surface: #ffffff;
  --ink: #212935;
  --muted: #5a6472;
  --brand: #212935;
  --brand-soft: #2f426b;
  --accent: #966929;
  --accent-soft: #c79c54;
  --line: #d7dde5;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(30, 40, 56, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Segoe UI", Tahoma, Verdana, sans-serif;
  background: radial-gradient(circle at 0% 0%, #fbf7ef 0%, var(--bg) 55%) fixed;
  color: var(--ink);
  line-height: 1.55;
}

a {
  color: var(--brand-soft);
  text-decoration: none;
}

a:hover {
  color: var(--brand);
}

img,
iframe {
  max-width: 100%;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.section {
  padding: 4.5rem 0;
}

.section.alt {
  background: linear-gradient(180deg, #f0e5d3 0%, #f7f2e8 100%);
  border-top: 1px solid #ebdec9;
  border-bottom: 1px solid #ebdec9;
}

.section-head {
  margin-bottom: 2rem;
}

.section-head.center {
  text-align: center;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}

.section-head.split {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
}

.kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-soft);
  font-size: 0.8rem;
  font-weight: 700;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.75rem;
  line-height: 1.15;
  font-family: Georgia, "Times New Roman", serif;
}

h1 {
  font-size: clamp(2rem, 6vw, 4rem);
}

h2 {
  font-size: clamp(1.7rem, 4.5vw, 2.6rem);
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.lead {
  font-size: 1.1rem;
}

.muted {
  color: #a8b3c3;
  font-size: 0.9rem;
}

.center {
  text-align: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 700;
  padding: 0.85rem 1.25rem;
  transition: 0.2s ease;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
}

.btn-primary:hover {
  background: #1b222d;
}

.btn-gold {
  background: var(--accent);
  color: #fff;
}

.btn-gold:hover {
  background: #845b22;
  color: #fff;
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  color: #fff;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.link-arrow {
  display: inline-block;
  font-weight: 700;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: transparent;
  backdrop-filter: none;
  border-bottom: 1px solid transparent;
  transition: 0.2s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 20px rgba(17, 26, 38, 0.08);
}

.nav-wrap {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: min-height 0.2s ease;
}

.site-header.is-scrolled .nav-wrap {
  min-height: 84px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  color: var(--brand);
}

.brand-logo {
  height: 75px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: height 0.2s ease, filter 0.2s ease;
}

.site-header .brand-logo {
  filter: brightness(0) invert(1);
}

.site-header.is-scrolled .brand-logo {
  height: 65px;
  filter: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-link {
  padding: 0.5rem 0.7rem;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
}

.nav-link:hover,
.nav-link.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

.site-header.is-scrolled .nav-link {
  color: #334155;
}

.site-header.is-scrolled .nav-link:hover,
.site-header.is-scrolled .nav-link.is-active {
  color: var(--brand);
  background: #edf1f7;
}

.nav-call {
  margin-left: 0.3rem;
  padding: 0.55rem 0.8rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  border-radius: 8px;
  font-weight: 700;
}

.nav-call:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
}

.site-header.is-scrolled .nav-call {
  background: var(--brand);
  border-color: transparent;
}

.site-header.is-scrolled .nav-call:hover {
  color: #fff;
  background: #1b222d;
}

.menu-btn {
  display: none;
  background: transparent;
  border: 0;
  padding: 0.25rem;
}

.menu-line {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  margin: 4px 0;
}

.site-header.is-scrolled .menu-line {
  background: var(--brand);
}

.hero-home {
  position: relative;
  color: #fff;
  padding: 7.4rem 0 6rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, rgba(19, 26, 37, 0.92) 0%, rgba(28, 39, 57, 0.82) 45%, rgba(24, 36, 56, 0.72) 100%);
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  align-items: center;
}

.hero-home h1 {
  margin: 0.8rem 0 1rem;
}

.hero-home h1 span {
  color: var(--accent-soft);
}

.pill {
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-size: 0.82rem;
  margin-bottom: 0.7rem;
  color: #f4e8d2;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  padding: 1.4rem;
}

.hero-card h2,
.hero-home p {
  color: #edf2ff;
}

.stats {
  margin-top: -3rem;
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: #e8edf5;
  border: 1px solid #e8edf5;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.stats article {
  background: #fff;
  text-align: center;
  padding: 1.2rem;
}

.stats strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.8rem;
  color: var(--brand);
}

.stats span {
  color: #697586;
  font-size: 0.92rem;
}

.two-col {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.2rem;
}

.welcome-copy h2 {
  max-width: 18ch;
}

.welcome-copy p {
  max-width: 60ch;
}

.welcome-image-wrap {
  position: relative;
}

.welcome-image {
  width: 100%;
  border-radius: 16px;
  min-height: 430px;
  max-height: 480px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.welcome-badge {
  position: absolute;
  left: -24px;
  bottom: -24px;
  width: min(260px, 76%);
  background: #fff;
  border: 1px solid #e8edf5;
  border-radius: 14px;
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow);
}

.welcome-badge h3 {
  margin-bottom: 0.35rem;
  color: var(--brand);
}

.welcome-badge p {
  margin: 0;
  font-size: 0.95rem;
  color: #5b6778;
}

.panel {
  background: #fff;
  border: 1px solid #e8edf5;
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.card-grid {
  display: grid;
  gap: 1rem;
}

.card-grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.card-grid.four {
  grid-template-columns: repeat(4, 1fr);
}

.card-grid.two {
  grid-template-columns: repeat(2, 1fr);
}

.card,
.service-item,
.program-group,
.contact-cards article,
.contact-form {
  background: #fff;
  border: 1px solid #e8edf5;
  border-radius: var(--radius);
  padding: 1.1rem;
  box-shadow: var(--shadow);
}

.value-tag {
  color: var(--brand-soft);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.about-story-copy h2 {
  max-width: 16ch;
}

.about-story-image-wrap {
  position: relative;
}

.about-story-image {
  width: 100%;
  min-height: 440px;
  max-height: 520px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.about-story-badge {
  position: absolute;
  right: -24px;
  top: -24px;
  background: var(--accent);
  color: #111827;
  border-radius: 12px;
  padding: 0.9rem 1.2rem;
  min-width: 170px;
  box-shadow: var(--shadow);
}

.about-story-badge h3 {
  margin: 0 0 0.25rem;
}

.about-story-badge p {
  margin: 0;
  color: #111827;
}

.about-mission-band {
  background: linear-gradient(115deg, #20262f 0%, #1b2432 45%, #152338 100%);
}

.mission-grid {
  gap: 1.6rem;
}

.mission-card {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  padding: 1.6rem;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
}

.mission-card .kicker {
  color: #c79c54;
  margin-bottom: 0.7rem;
}

.mission-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  background: #966929;
  color: #fff;
  font-size: 1.2rem;
}

.mission-text {
  color: #f3f4f6;
  font-size: 1.05rem;
  line-height: 1.45;
  margin-bottom: 0;
}

.step-card span {
  display: inline-block;
  color: #c2ccd9;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
}

.page-hero {
  background: linear-gradient(120deg, var(--brand) 0%, #324a76 100%);
  color: #fff;
  padding: 6.5rem 0 5rem;
}

.page-hero .breadcrumb {
  color: #d5deea;
  font-size: 0.92rem;
}

.page-hero .breadcrumb a {
  color: #fff;
}

.page-hero h1,
.page-hero p {
  color: #fff;
  max-width: 780px;
}

.notice {
  text-align: center;
  background: #eef2f8;
  border: 1px solid #d5deea;
  border-radius: var(--radius);
  padding: 1.6rem;
}

.notice.success {
  background: #edf7ef;
  border-color: #cce5d0;
}

.service-list,
.program-groups {
  display: grid;
  gap: 1rem;
}

.service-list {
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}

.service-item {
  border-radius: 16px;
  padding: 1.6rem;
}

.service-item-head {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1rem;
  align-items: start;
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #293553 0%, #1f2b45 100%);
  color: #fff;
  line-height: 1;
}

.service-icon .bi {
  font-size: 1.35rem;
}

.service-item h3 {
  margin: 0 0 0.35rem;
}

.service-item p {
  margin-bottom: 0.8rem;
}

.service-details-grid {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4rem 1.4rem;
}

.service-details-grid li {
  position: relative;
  padding-left: 1.25rem;
  color: #2e3a4b;
}

.service-details-grid li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #26395a;
  font-weight: 700;
}

.service-item ul {
  margin: 0;
  padding-left: 1.1rem;
  color: #4d5a6b;
}

.program-group header {
  margin-bottom: 1rem;
}

.program-group {
  padding: 0;
  border-radius: 18px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 34% 66%;
}

.program-summary {
  margin-bottom: 0;
  background: linear-gradient(140deg, #202d42 0%, #1c2a3f 100%);
  color: #f8fafc;
  padding: 2.1rem 1.75rem;
}

.program-summary h3 {
  color: #fff;
  margin: 0.55rem 0 0.8rem;
  max-width: 14ch;
}

.program-summary p {
  color: rgba(232, 239, 250, 0.82);
  margin-bottom: 0;
}

.program-summary-icon {
  width: 52px;
  height: 52px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: center;
}

.program-summary-icon .bi {
  font-size: 1.35rem;
  color: #d6ae67;
}

.program-items-wrap {
  background: #f8f9fb;
  padding: 1.5rem;
}

.program-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
}

.program-item {
  background: #f2efe9;
  border: 1px solid #ece7dd;
  border-radius: 12px;
  padding: 1rem;
}

.program-item-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #dde3ea;
  display: grid;
  place-items: center;
  margin-bottom: 0.65rem;
}

.program-item-icon .bi {
  font-size: 1rem;
  color: #334155;
}

.program-item h4 {
  margin: 0 0 0.25rem;
}

.program-item p {
  margin: 0;
}

.service-area {
  background: #fff;
  border: 1px solid #e8edf5;
  border-radius: var(--radius);
  padding: 1.4rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
}

.quote-band {
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 5rem 0;
}

.quote-bg {
  position: absolute;
  inset: 0;
}

.quote-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(13, 20, 34, 0.9) 0%, rgba(22, 32, 49, 0.78) 100%);
}

.quote-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quote-content {
  position: relative;
  z-index: 1;
  max-width: 980px;
}

.quote-icon {
  font-size: 2rem;
  line-height: 1;
  color: var(--accent-soft);
  margin-bottom: 0.8rem;
}

.quote-content h2 {
  color: #fff;
  max-width: 22ch;
  margin: 0 auto;
}

.quote-content p {
  color: #d7deeb;
  font-size: 1.05rem;
  margin-top: 0.9rem;
}

.service-area ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.6rem;
}

.service-area li {
  background: #f2f6fc;
  border: 1px solid #dde6f2;
  border-radius: 10px;
  padding: 0.7rem;
}


.contact-page {
  display: grid;
  gap: 1.25rem;
}

.contact-intro {
  max-width: 940px;
}

.contact-intro h2 {
  margin-bottom: 0.55rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  align-items: start;
}

.contact-info,
.contact-form-wrap {
  min-height: 100%;
}

.contact-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
}

.contact-form {
  display: grid;
  gap: 0.9rem;
}

.contact-form label {
  display: grid;
  gap: 0.38rem;
  font-weight: 600;
  color: #344255;
  font-size: 0.95rem;
}

.row-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}

input,
select,
textarea {
  width: 100%;
  font: inherit;
  color: #1e293b;
  border: 1px solid #c9d3e1;
  border-radius: 9px;
  padding: 0.7rem 0.75rem;
  background: #fff;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #d8e1ef;
  border-color: #8094b2;
}

.invalid {
  border-color: #d14343;
}

.form-error {
  border: 1px solid #f0c4c4;
  background: #fff6f6;
  color: #8c2525;
  border-radius: 10px;
  padding: 0.7rem;
}

.form-warning {
  border: 1px solid #f2e3b6;
  background: #fff9e9;
  color: #7a5a12;
  border-radius: 10px;
  padding: 0.7rem;
  margin-top: 0.8rem;
}

.cta-band {
  padding: 4rem 0;
  background: linear-gradient(140deg, #1f2836 0%, #2e405f 100%);
}

.cta-band h2,
.cta-band p {
  color: #fff;
}

.cta-band p {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.site-footer {
  background: #111927;
  color: #dce3ef;
  padding: 3rem 0 1.4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 1.1rem;
}

.site-footer h3,
.site-footer h4 {
  color: #fff;
}

.footer-logo {
  height: 56px;
  width: auto;
  display: block;
  margin-bottom: 0.8rem;
  filter: brightness(0) invert(1);
}

.site-footer p,
.site-footer li,
.site-footer a,
.site-footer small {
  color: #c7d1e1;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.4rem;
}

.footer-bottom {
  margin-top: 1.2rem;
  border-top: 1px solid #253247;
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
}

@media (max-width: 980px) {
  .menu-btn {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 0.8rem 1rem 1rem;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
    flex-direction: column;
    align-items: stretch;
  }

  .site-header .site-nav .nav-link {
    color: #334155;
  }

  .site-header .site-nav .nav-link:hover,
  .site-header .site-nav .nav-link.is-active {
    color: var(--brand);
    background: #edf1f7;
  }

  .site-header .site-nav .nav-call {
    background: var(--brand);
    border-color: transparent;
    color: #fff;
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-call {
    margin-left: 0;
    text-align: center;
  }

  .hero-grid,
  .two-col,
  .service-area,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .welcome-image {
    min-height: 320px;
  }

  .about-story-image {
    min-height: 320px;
  }

  .about-story-badge {
    right: 12px;
    top: 12px;
  }

  .welcome-badge {
    left: 12px;
    bottom: 12px;
    width: calc(100% - 24px);
  }

  .brand-logo {
    height: 62px;
  }

  .site-header.is-scrolled .brand-logo {
    height: 54px;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-grid.three,
  .card-grid.two,
  .card-grid.four,
  .service-list,
  .contact-cards,
  .program-items,
  .row-2 {
    grid-template-columns: 1fr;
  }

  .program-group {
    grid-template-columns: 1fr;
  }

  .service-details-grid {
    grid-template-columns: 1fr;
  }

  .section-head.split,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
:where(.skip-link) {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 9999;
  padding: 0.75rem 1rem;
  background: #fff;
  color: #173d34;
  border: 2px solid currentColor;
  border-radius: 0.35rem;
  transform: translateY(-200%);
}

:where(.skip-link:focus) {
  transform: translateY(0);
}
