:root {
  --ink: #07172e;
  --blue: #022c64;
  --blue-2: #0a4e9b;
  --sky: #e9f2ff;
  --paper: #ffffff;
  --line: #cad8ea;
  --muted: #5c6c82;
  --gold: #f2c84b;
  --shadow: 0 22px 60px rgba(2, 44, 100, .13);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #f6f9fd;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid rgba(2,44,100,.1);
  backdrop-filter: blur(14px);
}
.nav-shell {
  width: min(1200px, calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand img { width: 54px; height: 54px; object-fit: contain; }
.brand-copy { line-height: 1.05; color: var(--blue); font-weight: 800; font-size: .9rem; max-width: 170px; }
.main-nav { display: flex; align-items: center; gap: 6px; }
.nav-link, .menu-button {
  border: 0;
  background: transparent;
  color: #27405e;
  padding: 10px 11px;
  border-radius: 11px;
  cursor: pointer;
  font-weight: 650;
}
.nav-link:hover, .nav-link.active, .menu-button:hover { color: var(--blue); background: var(--sky); }
.nav-dropdown { position: relative; }
.dropdown-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 250px;
  padding: 10px;
  display: none;
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.nav-dropdown:focus-within .dropdown-panel, .nav-dropdown:hover .dropdown-panel { display: grid; }
.dropdown-panel a { padding: 9px 11px; border-radius: 9px; }
.dropdown-panel a:hover { background: var(--sky); color: var(--blue); }
.language-switch { display: flex; border: 1px solid var(--line); border-radius: 12px; padding: 3px; }
.language-switch button { border: 0; padding: 6px 9px; border-radius: 8px; background: transparent; color: var(--muted); cursor: pointer; font-weight: 750; }
.language-switch button.active { color: white; background: var(--blue); }
.menu-toggle { display: none; border: 0; background: var(--blue); color: white; width: 44px; height: 44px; border-radius: 12px; cursor: pointer; font-size: 1.2rem; }

main { min-height: 70vh; }
.page { display: none; }
.page.active { display: block; animation: reveal .35s ease both; }
@keyframes reveal { from { opacity: 0; transform: translateY(7px); } }
.container { width: min(1140px, calc(100% - 40px)); margin: 0 auto; }
.section { padding: 84px 0; }
.section.compact { padding: 56px 0; }
.section.dark { background: var(--blue); color: white; }
.section.sky { background: var(--sky); }
.section-label { display: inline-flex; align-items: center; gap: 9px; color: var(--blue-2); font-size: .82rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.section-label::before { content: ""; width: 26px; height: 3px; background: var(--gold); border-radius: 9px; }
.dark .section-label { color: #d7e7ff; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; line-height: 1.12; letter-spacing: -.025em; margin: 0; color: var(--blue); }
.dark h1, .dark h2, .dark h3 { color: white; }
h1 { font-size: clamp(2.8rem, 7vw, 6.3rem); }
h2 { font-size: clamp(2rem, 4vw, 3.6rem); }
h3 { font-size: 1.55rem; }
.lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: #344b67; max-width: 760px; }
.dark .lead { color: #d5e4f7; }
.section-heading { display: grid; gap: 18px; margin-bottom: 38px; }
.section-heading.split { grid-template-columns: 1fr 1fr; align-items: end; }
.section-heading.split .lead { margin: 0; }

.hero { min-height: 680px; position: relative; display: grid; place-items: end start; overflow: hidden; background: var(--blue); color: white; }
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .56; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(2,44,100,.94) 0%, rgba(2,44,100,.63) 52%, rgba(2,44,100,.18) 100%), linear-gradient(0deg, rgba(2,44,100,.72), transparent 55%); }
.hero-content { position: relative; z-index: 1; padding: 120px 0 90px; max-width: 920px; }
.hero h1 { color: white; max-width: 850px; }
.hero .eyebrow { color: #e5efff; font-weight: 750; letter-spacing: .15em; text-transform: uppercase; margin-bottom: 18px; }
.hero-actions, .button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 11px 20px; border-radius: 12px; border: 1px solid transparent; background: var(--blue); color: white; font-weight: 750; cursor: pointer; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); background: var(--blue-2); }
.button.gold { background: var(--gold); color: #10233b; }
.button.ghost { background: transparent; border-color: rgba(255,255,255,.45); }
.button.light { background: white; color: var(--blue); }
.text-link { color: var(--blue); font-weight: 800; display: inline-flex; gap: 8px; align-items: center; }
.text-link::after { content: "→"; }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.content-card { background: white; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 12px 34px rgba(2,44,100,.07); }
.content-card .card-media { width: 100%; height: 235px; object-fit: cover; }
.content-card .card-body { padding: 24px; }
.content-card p { color: var(--muted); margin-bottom: 0; }
.feature-card { border-top: 4px solid var(--gold); padding: 26px; border-radius: 16px; background: white; box-shadow: 0 12px 34px rgba(2,44,100,.07); }
.feature-card .number { font-family: Georgia, serif; font-size: 2.8rem; color: var(--blue); line-height: 1; }
.feature-card h3 { margin: 12px 0 9px; }
.feature-card p { color: var(--muted); margin: 0; }
.value-list { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.value { padding: 22px; border: 1px solid var(--line); background: white; border-radius: 15px; }
.value strong { display: block; color: var(--blue); font-family: Georgia, serif; font-size: 1.24rem; margin-bottom: 6px; }

.stats { position: relative; background: var(--blue); overflow: hidden; }
.stats::before { content: ""; position: absolute; inset: 0; background: url('assets/img-3.jpg') center/cover; opacity: .14; }
.stats-grid { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.stat { padding: 24px 10px; text-align: center; color: #cfe1fa; }
.stat strong { display: block; color: white; font: 700 clamp(2.2rem, 4vw, 4rem)/1 Georgia, serif; margin-bottom: 10px; }

.page-hero { padding: 100px 0 76px; background: var(--blue); color: white; position: relative; overflow: hidden; }
.page-hero::after { content: "UDP"; position: absolute; right: -20px; bottom: -65px; font: 800 15rem/1 Georgia, serif; color: rgba(255,255,255,.045); }
.page-hero h1 { color: white; max-width: 960px; font-size: clamp(3rem, 7vw, 6rem); }
.page-hero p { max-width: 780px; color: #d7e6fa; font-size: 1.15rem; }
.photo-band { border-radius: 26px; overflow: hidden; min-height: 420px; box-shadow: var(--shadow); }
.photo-band img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
.copy { max-width: 820px; }
.copy p { margin: 0 0 1.2rem; color: #344b67; }
.copy.wide { max-width: none; }

.placeholder { min-height: 220px; border: 2px dashed #aebfd5; background: repeating-linear-gradient(135deg, #f6f9fd, #f6f9fd 14px, #eef4fb 14px, #eef4fb 28px); border-radius: 18px; display: grid; place-items: center; padding: 24px; text-align: center; color: var(--muted); }
.placeholder strong { color: var(--blue); display: block; font-size: 1.1rem; }
.placeholder small { display: block; margin-top: 6px; }

.carousel { position: relative; }
.carousel-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 38%); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 2px 18px; scrollbar-color: var(--blue) transparent; }
.carousel-track > * { scroll-snap-align: start; }
.carousel-controls { display: flex; justify-content: flex-end; gap: 9px; margin-bottom: 14px; }
.icon-button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: white; color: var(--blue); cursor: pointer; font-size: 1.1rem; }
.icon-button:hover { background: var(--sky); }

.activity-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 15px; }
.activity-tile { min-height: 210px; padding: 24px; border-radius: 18px; color: white; background: var(--blue); display: flex; flex-direction: column; justify-content: space-between; }
.activity-tile:nth-child(2), .activity-tile:nth-child(4) { background: #0b4e96; }
.activity-tile:nth-child(1), .activity-tile:nth-child(2) { grid-column: span 3; }
.activity-tile:nth-child(n+3) { grid-column: span 2; }
.activity-tile .arrow { font-size: 1.6rem; align-self: end; }

.event-list { display: grid; gap: 18px; }
.event-row { display: grid; grid-template-columns: 280px 1fr; gap: 28px; padding: 18px; border: 1px solid var(--line); background: white; border-radius: 20px; }
.event-row img, .event-row .placeholder { width: 100%; height: 185px; min-height: 185px; object-fit: cover; border-radius: 13px; }
.event-row h3 { margin: 7px 0 10px; }
.event-row p { color: var(--muted); margin: 0; }
.tag { display: inline-flex; padding: 5px 10px; border-radius: 999px; background: var(--sky); color: var(--blue); font-size: .8rem; font-weight: 800; }

.map-surface { padding: 26px; border-radius: 24px; background: var(--blue); color: white; overflow: hidden; position: relative; }
.map-surface::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(255,255,255,.15) 1px, transparent 1px); background-size: 22px 22px; pointer-events: none; }
.map-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; }
.city-pin { border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.08); color: white; padding: 11px 12px; border-radius: 12px; cursor: pointer; text-align: left; }
.city-pin:hover, .city-pin.active { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.map-note { position: relative; z-index: 1; margin-top: 22px; min-height: 58px; padding: 15px 17px; border-radius: 13px; background: rgba(255,255,255,.1); }

.tabs { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 24px; }
.tab { border: 1px solid var(--line); background: white; color: var(--blue); padding: 9px 15px; border-radius: 999px; cursor: pointer; font-weight: 750; }
.tab.active { background: var(--blue); color: white; }
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.person-card { min-height: 155px; padding: 20px; border: 1px solid var(--line); background: white; border-radius: 17px; display: flex; gap: 16px; align-items: flex-start; }
.avatar { flex: 0 0 58px; width: 58px; height: 58px; border-radius: 50%; background: var(--sky); color: var(--blue); display: grid; place-items: center; font-family: Georgia, serif; font-weight: 800; }
.person-card h3 { font-family: inherit; font-size: 1rem; letter-spacing: 0; margin: 0 0 5px; }
.person-card p { color: var(--muted); font-size: .88rem; margin: 0; line-height: 1.45; }

.legal-card { padding: 32px; background: white; border: 1px solid var(--line); border-radius: 20px; }
.detail-list { display: grid; gap: 0; }
.detail { display: grid; grid-template-columns: 220px 1fr; gap: 20px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.detail:last-child { border-bottom: 0; }
.detail dt { color: var(--muted); }
.detail dd { margin: 0; font-weight: 700; }

.contact-panel { display: grid; grid-template-columns: 1.15fr .85fr; background: var(--blue); color: white; border-radius: 28px; overflow: hidden; }
.contact-copy { padding: 48px; }
.contact-copy h2 { color: white; }
.contact-links { padding: 48px; background: rgba(255,255,255,.08); display: grid; gap: 12px; align-content: center; }
.contact-links a { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.22); }

.site-footer { background: #011c40; color: #c7d6e9; padding: 54px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 30px; }
.footer-brand { display: flex; align-items: center; gap: 13px; color: white; font-weight: 800; max-width: 320px; }
.footer-brand img { width: 62px; height: 62px; filter: invert(1); }
.footer-links { display: grid; gap: 7px; }
.footer-links a:hover { color: white; }
.copyright { border-top: 1px solid rgba(255,255,255,.16); margin-top: 36px; padding-top: 22px; color: #91a8c2; font-size: .9rem; }
.notice { padding: 18px 20px; border-radius: 14px; background: #fff7da; border: 1px solid #f0d36d; color: #564611; }

@media (max-width: 980px) {
  .menu-toggle { display: grid; place-items: center; }
  .main-nav { position: fixed; inset: 77px 0 0; background: white; padding: 24px; display: none; align-content: start; overflow-y: auto; }
  body.menu-open .main-nav { display: grid; }
  .main-nav .nav-link, .menu-button { text-align: left; padding: 13px; }
  .dropdown-panel { display: grid; position: static; box-shadow: none; border: 0; padding-left: 16px; }
  .language-switch { margin-left: auto; }
  .section-heading.split { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .stats-grid { grid-template-columns: repeat(3,1fr); }
  .activity-grid { grid-template-columns: repeat(2,1fr); }
  .activity-tile, .activity-tile:nth-child(n) { grid-column: span 1; }
  .team-grid { grid-template-columns: repeat(2,1fr); }
  .contact-panel { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .nav-shell, .container { width: min(100% - 28px, 1140px); }
  .brand-copy { display: none; }
  .brand img { width: 48px; height: 48px; }
  .language-switch button { padding: 6px 7px; }
  .section { padding: 62px 0; }
  .hero { min-height: 620px; }
  .hero-content { padding: 90px 0 65px; }
  .grid-2, .grid-3, .grid-4, .value-list, .team-grid, .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .carousel-track { grid-auto-columns: 88%; }
  .event-row { grid-template-columns: 1fr; gap: 18px; }
  .event-row img, .event-row .placeholder { height: 215px; }
  .activity-grid { grid-template-columns: 1fr; }
  .map-grid { grid-template-columns: repeat(2,1fr); }
  .detail { grid-template-columns: 1fr; gap: 4px; }
  .contact-copy, .contact-links { padding: 30px; }
  .page-hero { padding: 75px 0 58px; }
}

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