@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat/Montserrat-Regular.ttf") format("truetype");
  font-weight: 400;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat/Montserrat-Bold.ttf") format("truetype");
  font-weight: 700;
}

:root {
  --blue: #0070bb;
  --gold: #da9c3a;
  --ink: #18354a;
  --muted: #5b6d78;
  --pale-blue: #eff7fb;
  --white: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
a { color: inherit; }

.site-header {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1120px;
  margin: auto;
  padding: 16px 30px;
}
.brand img { display: block; width: 190px; height: auto; }
.site-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: flex-end; }
.nav-link { color: var(--blue); font-weight: 700; text-decoration: none; }
.nav-link:hover, .site-footer a:hover { color: var(--gold); }

.hero {
  background: linear-gradient(120deg, rgba(0, 112, 187, .96), rgba(0, 68, 116, .95));
  color: var(--white);
}
.hero-content, .certificate-section, .about-section {
  max-width: 1120px;
  margin: auto;
  padding: 86px 30px;
}
.eyebrow {
  color: var(--gold);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  margin: 0 0 10px;
  text-transform: uppercase;
}
.hero .eyebrow { color: #ffd18a; }
h1, h2, h3 { line-height: 1.2; margin-top: 0; }
h1 { font-size: clamp(2.3rem, 6vw, 4.5rem); max-width: 760px; margin-bottom: 20px; }
h2 { color: var(--blue); font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 14px; }
h3 { margin-bottom: 6px; }
.intro { font-size: 1.15rem; max-width: 580px; margin-bottom: 30px; }

.button {
  background: var(--gold);
  color: var(--white);
  display: inline-block;
  font-size: .9rem;
  font-weight: 700;
  padding: 13px 22px;
  text-decoration: none;
  transition: background .2s ease;
}
.button:hover { background: #bd8020; }
.certificate-section { padding-bottom: 48px; }
.section-heading { max-width: 620px; }
.section-heading > p:last-child { color: var(--muted); margin-bottom: 0; }
.certificate-card {
  align-items: center;
  background: var(--pale-blue);
  border-left: 5px solid var(--gold);
  display: flex;
  justify-content: space-between;
  gap: 28px;
  margin-top: 38px;
  padding: 30px;
}
.certificate-card p { color: var(--muted); margin: 0; }
.certificate-card + .certificate-card { margin-top: 18px; }
.certificate-empty { color: var(--muted); margin-top: 38px; }
.ethics-section { padding-top: 38px; }
.button-outline { background: var(--blue); white-space: nowrap; }
.button-outline:hover { background: #005991; }

.about-section { padding-top: 48px; }
.contact-grid {
  display: grid;
  gap: 26px;
  grid-template-columns: 1fr;
  margin-top: 34px;
}
.contact-description, .eyebrow-contact { grid-column: 1 / -1; }
.contact-grid a { color: var(--blue); font-weight: 700; text-decoration: none; }
.contact-grid address { color: var(--muted); font-style: normal; }

.site-footer {
  background: #123449;
  color: #dce9ef;
  display: flex;
  gap: 30px;
  justify-content: space-between;
  padding: 38px max(30px, calc((100% - 1060px) / 2));
  flex-direction: column;
}
.site-footer strong { color: var(--white); }
.site-footer p { font-size: .82rem; margin: 8px 0 0; }
.site-footer nav { display: flex; gap: 20px; align-items: flex-start; }
.site-footer a { color: #dce9ef; font-size: .82rem; }
.footer-content { display: flex; gap: 30px; justify-content: space-between;}
.footer-copy { display: flex; justify-content: center; font-size: .78rem; border-top: 2px solid var(--muted);padding-top: 10px; }
.cookie-banner {
  align-items: center;
  background: var(--white);
  bottom: 18px;
  box-shadow: 0 3px 20px rgba(0, 0, 0, .18);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  left: 50%;
  max-width: 520px;
  max-height: calc(100vh - 36px);
  overflow-y: auto;
  padding: 16px;
  position: fixed;
  transform: translateX(-50%);
  width: calc(100% - 36px);
  z-index: 2;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { font-size: .78rem; margin: 0; }
.cookie-banner a { color: var(--blue); }
.cookie-banner button {
  background: var(--blue);
  border: 0;
  color: var(--white);
  cursor: pointer;
  font: inherit;
  font-size: .78rem;
  padding: 9px 12px;
  white-space: nowrap;
}

.policy-page { background: var(--pale-blue); }
.policy-main { max-width: 820px; margin: auto; padding: 70px 30px; }
.policy-card { background: var(--white); padding: 40px; }
.policy-card h2 { font-size: 1.25rem; margin-top: 34px; }
.back-link { color: var(--blue); font-weight: 700; text-decoration: none; }

@media (max-width: 650px) {
  .site-header, .site-footer { padding-left: 20px; padding-right: 20px; }
  .brand img { width: 150px; }
  .hero-content, .certificate-section, .about-section { padding: 60px 20px; }
  .certificate-card, .site-footer, .cookie-banner { align-items: flex-start; flex-direction: column; }
  .contact-grid { grid-template-columns: 1fr; }
  .site-footer nav { flex-wrap: wrap; }
}