/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Inter', Arial, sans-serif;
  background: #f0f2f5;
  color: #222;
  font-size: 16px;
  line-height: 1.6;
}

a { color: #003366; text-decoration: none; }
a:hover { color: #c0392b; }

/* ── HEADER ── */
header {
  background: #003366;
  color: #fff;
  padding: 0 24px;
}
.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.header-logo img {
  height: 50px;
  width: auto;
  display: block;
}
.header-domains {
  font-size: 0.8rem;
  color: #aac4e0;
  text-align: right;
  line-height: 1.8;
}
.header-domains span {
  display: inline-block;
  margin: 0 4px;
}

/* ── NAVIGATION ── */
nav {
  background: #002244;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-links {
  list-style: none;
  display: flex;
}
.nav-links li a {
  display: block;
  padding: 16px 22px;
  color: #cde;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  transition: background 0.2s, color 0.2s;
}
.nav-links li a:hover,
.nav-links li a.active {
  background: #c0392b;
  color: #fff;
}
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 14px 20px;
  gap: 5px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: #cde;
  border-radius: 2px;
  transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ── MAIN WRAPPER ── */
main {
  max-width: 1240px;
  margin: 32px auto;
  padding: 0 16px;
}

/* ── FLEXSLIDER ── */
.slider-wrap {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.18);
  margin-bottom: 36px;
}
.flexslider {
  margin: 0;
  border: none;
  border-radius: 0;
  box-shadow: none;
}
.flexslider .slides img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

/* ── CARDS & BUTTONS ── */
.card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  padding: 28px 32px;
}
.btn {
  display: inline-block;
  padding: 9px 22px;
  background: #003366;
  color: #fff !important;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.2s;
}
.btn:hover { background: #c0392b; }

/* ── PAGE TITLE ── */
.page-title {
  text-align: center;
  margin-bottom: 28px;
}
.page-title h2 {
  font-size: 1.7rem;
  color: #c0392b;
  font-weight: 700;
}

/* ── PORTRAIT ROUND ── */
.portrait-round {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #003366;
  flex-shrink: 0;
}
.portrait-round img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── FOOTER ── */
footer {
  background: #002244;
  color: #aac4e0;
  margin-top: 20px;
}
.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 32px 24px;
  display: flex;
  gap: 40px;
  align-items: flex-start;
}
.footer-col { flex: 1; }
.footer-col h4 {
  color: #fff;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.footer-col p,
.footer-col a {
  font-size: 0.88rem;
  color: #aac4e0;
  line-height: 1.9;
  display: block;
}
.footer-col a:hover { color: #fff; }
.footer-col img.kgl-logo {
  width: 70px;
  height: auto;
  border-radius: 4px;
  margin-top: 4px;
}
.footer-bottom {
  text-align: center;
  padding: 14px 24px;
  font-size: 0.78rem;
  color: #5a7a99;
  border-top: 1px solid #1a3a5c;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .flexslider .slides img { height: 280px; }
}

@media (max-width: 640px) {
  .hamburger { display: flex; }
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #002244;
    position: absolute;
    top: 100%;
    left: 0;
  }
  .nav-links.open { display: flex; }
  .nav-links li a { padding: 14px 24px; border-top: 1px solid #1a3a5c; }

  .header-domains { display: none; }
  .header-logo img { height: 60px; }
  .flexslider .slides img { height: 200px; }
  .footer-inner { flex-direction: column; gap: 24px; }
  main { margin: 16px auto; }
}
