:root {
  --blue: #1d4fd7;
  --navy: #12306b;
  --ink: #1c2434;
  --muted: #5b6577;
  --bg: #f5f8fd;
  --line: #dbe3f1;
  --sidebar: 240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

a { color: var(--blue); }
img { max-width: 100%; height: auto; display: block; }

/* Sidebar */
.masthead {
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  padding: 40px 24px;
}
.brand { flex: 0 0 auto; }
.brand img { width: clamp(200px, 22vw, 280px); }
.intro { max-width: 560px; padding-left: clamp(24px, 4vw, 56px); border-left: 1px solid var(--line); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.strip {
  list-style: none;
  margin: 0;
  padding: 12px 24px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 40px;
  font-weight: 600;
  font-size: .95rem;
}
.strip li::before { content: "✓"; margin-right: 8px; opacity: .8; }

.layout { display: flex; align-items: flex-start; }

.sidebar {
  position: sticky;
  top: 0;
  flex: 0 0 var(--sidebar);
  height: 100vh;
  background: #fff;
  border-right: 1px solid var(--line);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow-y: auto;
}
.sidebar nav { display: flex; flex-direction: column; gap: 4px; }
.sidebar nav a {
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
}
.sidebar nav a:hover,
.sidebar nav a.active { background: var(--blue); color: #fff; }
.call {
  margin-top: auto;
  text-align: center;
  padding: 10px;
  border: 2px solid var(--blue);
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
}

/* Main */
main { flex: 1; min-width: 0; }
section, footer { padding: 48px clamp(20px, 5vw, 64px); }
section { max-width: 1100px; scroll-margin-top: 16px; }
section + section { border-top: 1px solid var(--line); }

.eyebrow { margin: 0; text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 700; color: var(--blue); }
h1 { margin: 8px 0; color: var(--navy); font-size: clamp(1.7rem, 3.2vw, 2.5rem); line-height: 1.15; }
.lead { font-size: 1.1rem; color: var(--muted); margin: 0 0 20px; }
.button {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  border: 2px solid var(--blue);
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
}
.button:hover { background: var(--navy); border-color: var(--navy); }
.button.outline { background: #fff; color: var(--blue); }
.button.outline:hover { background: #e8eefc; border-color: var(--blue); }

h2 { color: var(--navy); font-size: 1.8rem; margin: 0 0 12px; }
h3 { color: var(--navy); margin: 28px 0 8px; }

.points { list-style: none; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.points li { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--blue); border-radius: 8px; padding: 16px; }
.points strong { display: block; color: var(--navy); font-size: 1.1rem; }

/* Gallery */
.gallery { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); margin: 20px 0; }
.gallery a { display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 8px; background: var(--line); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s; }
.gallery a:hover img, .gallery a:focus img { transform: scale(1.05); }

/* Contact */
.contact { margin: 20px 0 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.contact div { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; }
.contact dt { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.contact dd { margin: 2px 0 0; font-weight: 600; overflow-wrap: anywhere; }

footer { color: var(--muted); font-size: .9rem; border-top: 1px solid var(--line); }

/* Lightbox */
dialog { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; }
dialog::backdrop { background: rgba(10, 18, 40, .9); }
#lightbox-img { max-width: 92vw; max-height: 92vh; border-radius: 6px; }
dialog button {
  position: fixed;
  background: rgba(255, 255, 255, .15);
  color: #fff;
  border: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
dialog button:hover { background: rgba(255, 255, 255, .3); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

/* Small screens: sidebar becomes a top bar */
@media (max-width: 760px) {
  .layout { display: block; }
  .sidebar {
    height: auto;
    flex-direction: row;
    align-items: center;
    padding: 8px 12px;
    gap: 8px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    z-index: 10;
  }
  .masthead { flex-direction: column; text-align: center; padding: 24px 16px; }
  .brand img { width: 200px; }
  .intro { padding-left: 0; border-left: 0; }
  .actions { justify-content: center; }
  .sidebar nav { flex-direction: row; flex: 1; justify-content: center; }
  .sidebar nav a { padding: 8px 10px; }
  .call { display: none; }
  section { scroll-margin-top: 70px; }
  section, footer { padding: 32px 16px; }
}
