@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500&family=PT+Sans:ital,wght@0,400;0,700;1,400&display=swap");

:root {
  --red: #eb0514;
  --yellow: #f2f200;
  --text: #4a4a4a;
  --blue-1: #eef2f9;
  --blue-2: #224272;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
}
* { box-sizing: border-box; }
body {
  margin: 0; background: #f9f9f9; color: var(--text);
  font: 17px/1.6 "PT Sans", system-ui, sans-serif;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-2); }

/* ---- red top bar ---- */
.bar { background: var(--red); color: #fff; text-align: center; padding: 14px 16px 10px; box-shadow: 0 2px 10px rgba(0,0,0,.25); position: sticky; top: 0; z-index: 10; }
.bar h1 { margin: 0; font: 400 1.15rem var(--serif); letter-spacing: .02em; }
.bar nav { margin-top: 6px; display: flex; gap: 22px; justify-content: center; font-size: .78rem; font-weight: 700; }
.bar a { color: #fff; text-decoration: none; opacity: .95; }
.bar a:hover { text-decoration: underline; }
.bar a.on { color: var(--yellow); }

/* ---- white page ---- */
.page { max-width: 1160px; margin: 0 auto; background: #fff; padding: 0 clamp(14px, 2.5vw, 30px) 30px; box-shadow: 0 0 40px rgba(0,0,0,.12); }
.banner { width: 100%; margin: 18px 0 8px; }

.intro { padding: 10px 6px 24px; }
.intro p { margin: 0 0 1.5em; color: #666; font-size: 1.04rem; }
.intro b { color: #222; }
.sign { text-align: right; line-height: 1.35 !important; color: #222 !important; }

/* ---- blue-gradient panels ---- */
.panel {
  background: var(--blue-1) linear-gradient(180deg, var(--blue-1) 0%, var(--blue-2) 100%);
  border: 1px solid #b9c5db; border-radius: 6px; padding: 22px; margin-top: 18px;
  box-shadow: 0 6px 18px -8px rgba(34,66,114,.5);
}
.panel h2 { margin: 0 0 18px; text-align: center; font: 400 1.9rem var(--serif); color: #2a2f3a; }

.refs { background: #fff; border-radius: 8px; padding: 22px 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 26px; box-shadow: inset 0 0 0 1px #d9e0ee; }
.refs figcaption { font-size: .95rem; color: #222; margin-bottom: 10px; }
.refs figure { margin: 0; }

.badges { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: center; padding: 24px 14px; }
.badges img { width: min(200px, 30%); min-width: 130px; height: auto; transition: transform .3s; filter: drop-shadow(0 8px 10px rgba(0,0,0,.3)); }
.badges img:hover { transform: scale(1.12) rotate(4deg); }

.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.left { display: grid; gap: 22px; }
dl { display: grid; grid-template-columns: max-content 1fr; gap: 14px 30px; margin: 0; font-family: var(--serif); color: #1c2230; }
dt { font-weight: 500; letter-spacing: .04em; font-size: .95rem; }
dd { margin: 0; font-family: "PT Sans", sans-serif; }
dd a { color: #1c2230; text-decoration: none; }
dd a:hover { text-decoration: underline; }
dd img { height: 28px; width: auto; }
.map { width: 100%; height: 190px; border: 0; border-radius: 4px; }
.left > img { width: 100%; border: 1px solid #fff; border-radius: 3px; }

.right { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.35); border-radius: 4px; padding: 14px; color: #1c2230; display: grid; gap: 10px; justify-items: center; }
.right h3 { margin: 0; justify-self: start; font: 700 .9rem "PT Sans", sans-serif; letter-spacing: .03em; }
.right iframe { width: 100%; max-width: 500px; height: 417px; border: 0; background: #fff; }

footer { max-width: 1160px; margin: 0 auto; padding: 22px 16px 34px; text-align: center; font-size: .85rem; color: #7a7a7a; }
footer p { margin: 0 0 4px; }
footer a { color: #7a7a7a; }

@media (max-width: 800px) {
  .refs, .cols { grid-template-columns: 1fr; }
  .badges { justify-content: center; }
  .panel h2 { font-size: 1.5rem; }
  .bar { position: static; }
}

/* language switcher flags */
.bar nav { gap: 12px; }
.bar nav a { display: inline-flex; align-items: center; gap: 7px; padding: 4px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.45); text-decoration: none; transition: background .2s; }
.bar nav a:hover { background: rgba(255,255,255,.18); text-decoration: none; }
.bar nav a.on { background: rgba(0,0,0,.22); border-color: var(--yellow); }
.bar nav img { width: 22px; height: 15px; object-fit: cover; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.25); }

/* language switcher: top-right of the bar */
.bar { padding: 16px 24px; min-height: 64px; display: flex; align-items: center; justify-content: center; }
.bar nav { position: absolute; right: 24px; top: 50%; transform: translateY(-50%); margin: 0; }
@media (max-width: 1000px) {
  .bar { flex-direction: column; gap: 8px; padding: 12px 16px; }
  .bar nav { position: static; transform: none; }
}

/* dark line under the red bar, thin border around the page (as in the original) */
.bar { border-bottom: 7px solid #1d1d1d; }
.page { border: 1px solid #c9c9c9; border-top: 0; }
