:root {
  --ink: #102234;
  --muted: #5c6b78;
  --paper: #fffdf7;
  --cream: #fff7df;
  --mint: #dff7ed;
  --emerald: #007b68;
  --emerald-dark: #005746;
  --gold: #f7b733;
  --coral: #ff6f61;
  --sky: #b8ecff;
  --navy: #07243a;
  --white: #ffffff;
  --shadow: 0 20px 50px rgba(9, 34, 51, 0.14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 10%, rgba(247, 183, 51, 0.2), transparent 26rem),
    linear-gradient(135deg, #fffdf7 0%, #e8fbf4 46%, #fef1c2 100%);
  font-family: "Poppins", Arial, sans-serif;
  line-height: 1.65;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.topbar {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.88rem;
}

.topbar-inner,
.nav-inner,
.section-inner,
.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  flex-wrap: wrap;
}

.topbar span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 253, 247, 0.92);
  border-bottom: 1px solid rgba(16, 34, 52, 0.08);
  backdrop-filter: blur(16px);
}

.nav-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 242px;
}

.brand-mark {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: conic-gradient(from 180deg, var(--gold), var(--emerald), var(--navy), var(--gold));
  box-shadow: 0 12px 26px rgba(0, 123, 104, 0.28);
  font-family: "Merriweather", Georgia, serif;
  font-weight: 900;
}

.brand-text strong {
  display: block;
  font-family: "Merriweather", Georgia, serif;
  font-size: 1.05rem;
  line-height: 1.1;
}

.brand-text small {
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  flex-wrap: wrap;
}

.nav-links a {
  padding: 10px 12px;
  border-radius: var(--radius);
  color: #294155;
  font-weight: 700;
  font-size: 0.92rem;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--mint);
  color: var(--emerald-dark);
}

.button,
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  border: 0;
  border-radius: var(--radius);
  padding: 0 18px;
  color: var(--white);
  background: var(--emerald);
  box-shadow: 0 12px 24px rgba(0, 123, 104, 0.24);
  font-weight: 800;
  cursor: pointer;
}

.button.secondary {
  color: var(--navy);
  background: var(--gold);
  box-shadow: 0 12px 24px rgba(247, 183, 51, 0.28);
}

.button.ghost {
  color: var(--emerald-dark);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: none;
}

.mobile-toggle {
  display: none;
  width: 44px;
  padding: 0;
}

.hero {
  min-height: 710px;
  display: grid;
  align-items: stretch;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(7, 36, 58, 0.94), rgba(0, 123, 104, 0.72), rgba(7, 36, 58, 0.22)),
    url("https://images.unsplash.com/photo-1588072432836-e10032774350?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.hero-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.55fr);
  align-items: center;
  gap: 36px;
  padding: 76px 0 44px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--navy);
  background: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  font-family: "Merriweather", Georgia, serif;
}

h1 {
  max-width: 760px;
  margin-top: 18px;
  font-size: clamp(2.8rem, 7vw, 6.4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.7rem);
}

h3 {
  font-size: 1.32rem;
}

.hero-copy {
  max-width: 690px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.03rem, 1.6vw, 1.28rem);
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.hero-card {
  align-self: end;
  padding: 24px;
  border-radius: var(--radius);
  background: rgba(255, 253, 247, 0.95);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.hero-card h2 {
  color: var(--emerald-dark);
  font-size: 1.6rem;
}

.notice-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.notice-list li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: start;
}

.notice-date {
  min-height: 42px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  color: var(--navy);
  background: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
}

.section {
  padding: 86px 0;
}

.section.alt {
  background: rgba(255, 255, 255, 0.72);
}

.section.deep {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(7, 36, 58, 0.96), rgba(0, 87, 70, 0.94)),
    url("https://images.unsplash.com/photo-1498243691581-b145c3f54a5a?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-heading p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.deep .section-heading p {
  color: rgba(255, 255, 255, 0.78);
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

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

.card {
  border: 1px solid rgba(16, 34, 52, 0.08);
  border-radius: var(--radius);
  padding: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 32px rgba(16, 34, 52, 0.08);
}

.card.accent {
  color: var(--white);
  background: linear-gradient(135deg, var(--emerald), var(--navy));
}

.card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.card.accent p,
.deep .card p {
  color: rgba(255, 255, 255, 0.78);
}

.icon-badge {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: var(--radius);
  color: var(--navy);
  background: var(--gold);
}

.feature-band {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: center;
}

.image-panel {
  min-height: 520px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.image-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 30px;
}

.stat {
  padding: 20px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.stat strong {
  display: block;
  color: var(--gold);
  font-size: 2rem;
  line-height: 1;
  font-family: "Merriweather", Georgia, serif;
}

.page-hero {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(7, 36, 58, 0.94), rgba(0, 123, 104, 0.62)),
    var(--page-image, url("https://images.unsplash.com/photo-1509062522246-3755977927d7?auto=format&fit=crop&w=1800&q=80")) center/cover;
}

.page-hero .section-inner {
  min-height: 360px;
  display: grid;
  align-content: center;
  padding: 54px 0;
}

.page-hero p {
  max-width: 720px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.15rem;
}

.timeline {
  display: grid;
  gap: 16px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;
  align-items: start;
}

.timeline-num {
  min-height: 56px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--emerald);
  font-weight: 900;
}

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

.gallery-card {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-card:hover img {
  transform: scale(1.06);
}

.gallery-card span {
  position: absolute;
  left: 14px;
  bottom: 14px;
  max-width: calc(100% - 28px);
  padding: 8px 12px;
  border-radius: var(--radius);
  color: var(--navy);
  background: rgba(255, 255, 255, 0.9);
  font-weight: 900;
}

.contact-panel {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 22px;
}

.form {
  display: grid;
  gap: 14px;
}

.form input,
.form textarea,
.form select {
  width: 100%;
  border: 1px solid rgba(16, 34, 52, 0.14);
  border-radius: var(--radius);
  padding: 13px 14px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

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

.site-footer {
  color: rgba(255, 255, 255, 0.82);
  background: var(--navy);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.9fr;
  gap: 28px;
  padding: 52px 0;
}

.site-footer h3 {
  color: var(--white);
  font-size: 1.1rem;
}

.footer-links {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 16px 0;
  text-align: center;
  font-size: 0.9rem;
}

@media (max-width: 980px) {
  .mobile-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 78px;
    display: none;
    padding: 14px;
    background: var(--paper);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: grid;
  }

  .hero-inner,
  .feature-band,
  .contact-panel,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .grid.three,
  .grid.four,
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .topbar-inner {
    display: none;
  }

  .nav-inner {
    min-height: 70px;
  }

  .brand {
    min-width: 0;
  }

  .brand-text strong {
    font-size: 0.95rem;
  }

  .brand-text small {
    font-size: 0.68rem;
  }

  .nav-links {
    top: 70px;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding: 54px 0 28px;
  }

  .section {
    padding: 58px 0;
  }

  .grid.three,
  .grid.four,
  .grid.two,
  .gallery,
  .stat-row {
    grid-template-columns: 1fr;
  }

  .gallery-card {
    min-height: 230px;
  }
}
