:root {
  --blue: #1b4f8f;
  --blue-dark: #12365f;
  --blue-light: #eef4fb;
  --accent: #bf360c;
  --accent-hover: #aa3508;
  --text: #2a2f36;
  --text-muted: #5a6470;
  --white: #ffffff;
  --border: #e3e8ef;
  --radius: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 100;
  background: var(--blue-dark);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 0.5rem;
}

body {
  margin: 0;
  font-family: "Segoe UI", Roboto, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
}

img {
  max-width: 100%;
  display: block;
}

h1, h2, h3 {
  line-height: 1.25;
  color: var(--blue-dark);
  margin: 0 0 0.5em;
}

h1 { font-size: 2.1rem; }
h2 { font-size: 1.7rem; }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1em; }
a { color: var(--blue); }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.container.narrow {
  max-width: 760px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.6rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo img {
  height: 48px;
  width: auto;
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
}

.site-nav a {
  display: block;
  padding: 0.55rem 0.9rem;
  border-radius: 8px;
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
}

.site-nav a:hover {
  background: var(--blue-light);
  color: var(--blue);
}

.site-nav a.active {
  background: var(--blue);
  color: var(--white);
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--blue-dark);
  margin: 5px 0;
  transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(18, 54, 95, 0.55), rgba(18, 54, 95, 0.75));
}

.hero-text {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 3.5rem 1.25rem;
  color: var(--white);
}

.hero-text h1 {
  color: var(--white);
  font-size: 2.4rem;
  max-width: 18ch;
}

.hero-text p {
  font-size: 1.15rem;
  max-width: 52ch;
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.section {
  padding: 3.5rem 0;
}

.section-alt {
  background: var(--blue-light);
}

.section-head {
  margin-bottom: 1.5rem;
}

.section-head p {
  color: var(--text-muted);
  margin: 0;
}

.grid {
  display: grid;
  gap: 1.25rem;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.card img {
  width: 44px;
  height: 44px;
  margin-bottom: 0.75rem;
  object-fit: contain;
}

.card h3 {
  margin-bottom: 0.35rem;
}

.card p {
  margin: 0;
  color: var(--text-muted);
}

.card-image {
  padding: 0;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin: 0;
}

.card-image .card-body {
  padding: 1.25rem 1.5rem 1.5rem;
}

.card-image .card-body p {
  color: var(--text-muted);
}

.button {
  display: inline-block;
  padding: 0.7rem 1.6rem;
  background: var(--blue);
  color: var(--white);
  border: 2px solid var(--blue);
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.button:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  color: var(--white);
}

.button-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.button-outline:hover {
  background: var(--white);
  color: var(--blue-dark);
  border-color: var(--white);
}

.button-light {
  background: var(--white);
  color: var(--blue-dark);
  border-color: var(--white);
}

.button-light:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--white);
}

.button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.button-outline:focus-visible,
.button-light:focus-visible,
.site-footer a:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 2px;
}

.text-link {
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.cta {
  background: var(--blue);
  color: var(--white);
  padding: 3.5rem 0;
  text-align: center;
}

.cta h2 {
  color: var(--white);
}

.cta p {
  max-width: 60ch;
  margin: 0 auto 1.5rem;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}

.contact-list .card {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-list img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}

.contact-list h3 {
  margin: 0;
}

.contact-list p {
  margin: 0;
  color: var(--text-muted);
}

form .form-row {
  margin-bottom: 1rem;
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

input, textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font: inherit;
  color: var(--text);
  background: var(--white);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

input:focus, textarea:focus {
  outline: 2px solid var(--blue);
  outline-offset: 1px;
  border-color: var(--blue);
}

.form-status {
  margin-top: 1rem;
  font-weight: 600;
}

.form-status.success { color: #2e7d32; }
.form-status.error { color: #c62828; }

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.gallery figure {
  margin: 0;
}

.gallery img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: var(--radius);
}

.gallery figcaption {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 0.4rem;
}

.site-footer {
  background: var(--blue-dark);
  color: var(--white);
  padding: 2rem 0;
}

.site-footer p {
  margin: 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-links {
  list-style: none;
  display: flex;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--white);
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

@media (max-width: 800px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }

  .nav-toggle { display: block; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    display: none;
  }

  .site-nav.open { display: block; }

  .site-nav ul {
    flex-direction: column;
    padding: 0.5rem 1.25rem 1rem;
  }

  .hero-text h1 { font-size: 1.8rem; }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
