@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #f6fbff;
  --surface: rgba(255, 255, 255, 0.74);
  --ink: #17304e;
  --muted: #4f6a87;
  --brand: #1d4f8c;
  --brand-2: #2f7edb;
  --line: rgba(104, 153, 210, 0.34);
  --shadow: 0 18px 45px rgba(35, 89, 150, 0.14);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  position: relative;
  font-family: 'Manrope', sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% -8%, rgba(47, 126, 219, 0.18) 0%, rgba(47, 126, 219, 0) 38%),
    radial-gradient(circle at 100% 0, rgba(29, 79, 140, 0.16) 0%, rgba(29, 79, 140, 0) 42%),
    linear-gradient(180deg, #fbfeff 0%, #f4f9ff 44%, #eef6ff 100%),
    var(--bg);
  line-height: 1.5;
  overflow-x: hidden;
}

body::before,
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

body::before {
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.72) 6%, rgba(255, 255, 255, 0) 22%, rgba(255, 255, 255, 0) 72%, rgba(255, 255, 255, 0.48) 100%),
    repeating-linear-gradient(90deg, rgba(180, 215, 255, 0.12) 0, rgba(180, 215, 255, 0.12) 1px, transparent 1px, transparent 140px),
    repeating-linear-gradient(0deg, rgba(180, 215, 255, 0.08) 0, rgba(180, 215, 255, 0.08) 1px, transparent 1px, transparent 140px);
  opacity: 0.58;
}

body::after {
  background:
    radial-gradient(circle at 18% 22%, rgba(149, 210, 255, 0.18), rgba(149, 210, 255, 0) 33%),
    radial-gradient(circle at 80% 72%, rgba(115, 180, 240, 0.16), rgba(115, 180, 240, 0) 38%);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-shell {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.top-note {
  text-align: center;
  font-size: 0.9rem;
  color: #eef6ff;
  background: linear-gradient(100deg, var(--brand), #2468b6 60%, #2b5ea0);
  letter-spacing: 0.02em;
  padding: 0.65rem 1rem;
  position: relative;
  overflow: hidden;
}

.top-note::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(106deg, rgba(255, 255, 255, 0) 28%, rgba(255, 255, 255, 0.38) 45%, rgba(255, 255, 255, 0) 58%);
  transform: translateX(-120%);
  animation: sheen 7.5s linear infinite;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(244, 250, 255, 0.78);
  border-bottom: 1px solid rgba(112, 165, 222, 0.32);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.brand strong {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  letter-spacing: 0.01em;
}

.brand span {
  color: var(--muted);
  font-size: 0.92rem;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 10px;
  padding: 0.45rem 0.7rem;
  font-weight: 700;
}

.nav-links {
  display: flex;
  gap: 0.4rem;
}

.nav-links a {
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  font-weight: 700;
  color: #2b3832;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(29, 79, 140, 0.12);
  color: var(--brand);
}

.hero {
  padding: clamp(2.2rem, 5vw, 4.2rem) 0 1.2rem;
}

.hero-box {
  border-radius: 26px;
  background:
    linear-gradient(130deg, rgba(29, 79, 140, 0.88), rgba(36, 104, 182, 0.93) 45%, rgba(17, 54, 101, 0.95)),
    var(--brand);
  color: #effaf5;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1rem, 2.5vw, 2rem);
  padding: clamp(1.2rem, 3vw, 2.4rem);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(116deg, rgba(255, 255, 255, 0.36) 8%, rgba(255, 255, 255, 0) 28%, rgba(255, 255, 255, 0) 72%, rgba(255, 255, 255, 0.2) 100%);
  pointer-events: none;
}

.hero h1 {
  margin: 0;
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.07;
}

.hero p {
  margin-top: 0.85rem;
  margin-bottom: 1.2rem;
  max-width: 44ch;
  color: #d9eaff;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1rem;
  border-radius: 12px;
  font-weight: 800;
  border: 1px solid transparent;
}

.button.primary {
  background: var(--brand-2);
  color: #fff9f4;
}

.button.ghost {
  border-color: rgba(255, 255, 255, 0.34);
  color: #e8f2ff;
}

.hero-media img {
  border-radius: 18px;
  width: 100%;
  min-height: 280px;
  object-fit: cover;
}

.page {
  padding: 1.6rem 0 3.5rem;
}

.section-title {
  margin: 0 0 1rem;
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  line-height: 1.12;
}

.lead {
  margin: 0;
  color: var(--muted);
  max-width: 64ch;
}

.grid {
  margin-top: 1.4rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.8), rgba(239, 248, 255, 0.58));
  border-radius: var(--radius);
  border: 1px solid rgba(129, 179, 233, 0.42);
  box-shadow: var(--shadow);
  overflow: hidden;
  backdrop-filter: blur(12px);
  position: relative;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(255, 255, 255, 0.58) 0%, rgba(255, 255, 255, 0) 36%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}

.card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.card-body {
  padding: 1rem;
}

.card h3 {
  margin: 0;
  font-size: 1.07rem;
}

.card p {
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.split {
  margin-top: 1.6rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr 1fr;
}

.panel {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(238, 248, 255, 0.62));
  border: 1px solid rgba(129, 179, 233, 0.42);
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: -35%;
  width: 70%;
  height: 100%;
  background: linear-gradient(95deg, rgba(255, 255, 255, 0.56), rgba(255, 255, 255, 0));
  transform: skewX(-18deg);
  pointer-events: none;
}

.contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  padding: 0.65rem 0;
  border-bottom: 1px dashed var(--line);
}

.contact-list li:last-child {
  border-bottom: none;
}

.form {
  display: grid;
  gap: 0.7rem;
}

.form input,
.form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: 0.7rem;
  font: inherit;
}

.form textarea {
  min-height: 120px;
  resize: vertical;
}

.footer {
  border-top: 1px solid rgba(129, 179, 233, 0.42);
  padding: 1.4rem 0 1.8rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-row {
  display: flex;
  gap: 0.8rem;
  justify-content: space-between;
  flex-wrap: wrap;
}

.fade-in {
  opacity: 0;
  transform: translateY(16px);
  animation: rise 0.7s ease forwards;
}

.fade-in.d2 { animation-delay: 0.12s; }
.fade-in.d3 { animation-delay: 0.24s; }

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes sheen {
  0% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(130%);
  }
}

@media (max-width: 980px) {
  .hero-box {
    grid-template-columns: 1fr;
  }

  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 76px;
    left: 4vw;
    right: 4vw;
    padding: 0.6rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
    flex-direction: column;
  }

  .nav-links.open {
    display: flex;
  }

  .grid,
  .split {
    grid-template-columns: 1fr;
  }
}
