:root {
  --color-bg: #ffffff;
  --color-bg-muted: #f4f6f9;
  --color-text: #1b2430;
  --color-text-muted: #5a6472;
  --color-brand: #0b3d91;      /* primary brand navy — swap for your real brand color */
  --color-brand-dark: #082b66;
  --color-accent: #f2a71b;     /* accent for CTAs — swap for your real accent color */
  --color-border: #e2e6ec;
  --radius: 10px;
  --wrap-width: 1120px;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.55;
}

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

a { color: var(--color-brand); }

.wrap {
  max-width: var(--wrap-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */

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

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--color-text);
}

.brand__mark {
  height: 40px;
  width: auto;
}

.brand__text {
  font-weight: 600;
  font-size: 1.15rem;
  line-height: 1.1;
}

.brand__text small {
  display: block;
  font-weight: 400;
  font-size: 0.7rem;
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-weight: 500;
}

.site-nav a {
  text-decoration: none;
  color: var(--color-text);
}

.site-nav__cta {
  background: var(--color-brand);
  color: #fff !important;
  padding: 8px 16px;
  border-radius: 999px;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  color: #fff;
}

.hero__media {
  aspect-ratio: 16 / 7;
  min-height: 320px;
  overflow: hidden;
  background: var(--color-brand-dark);
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.hero__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(90deg, rgba(8,43,102,0.88) 0%, rgba(8,43,102,0.55) 55%, rgba(8,43,102,0.15) 100%);
  max-width: none;
}

.hero__content h1 {
  max-width: 640px;
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  margin: 0 0 16px;
}

.hero .lede {
  max-width: 560px;
  font-size: 1.05rem;
  color: rgba(255,255,255,0.9);
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 22px;
}

/* ---------- Buttons ---------- */

.button {
  display: inline-block;
  background: var(--color-accent);
  color: #1b2430;
  font-weight: 600;
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
}

.button--ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.6);
}

/* ---------- Sections ---------- */

.section {
  padding: 64px 0;
}

.section--muted {
  background: var(--color-bg-muted);
}

.section__heading {
  text-align: center;
  margin-bottom: 36px;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}

.split__media img,
.split__media {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.section--contact .split {
  align-items: start;
}

/* ---------- Cards ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 900px) {
  .cards { grid-template-columns: 1fr; }
}

.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--color-bg-muted);
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card h3 {
  margin: 18px 20px 8px;
}

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

/* ---------- Gallery ---------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

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

.gallery img {
  aspect-ratio: 1 / 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

/* ---------- Contact form ---------- */

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px;
}

.field { display: flex; flex-direction: column; gap: 6px; }

.field label { font-weight: 600; font-size: 0.92rem; }

.field input,
.field textarea {
  font: inherit;
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  border-radius: 6px;
}

.field--checkbox {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
}

.field--checkbox label {
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.field--checkbox input { margin-top: 4px; }

/* Honeypot — hidden from real visitors, left in the tab/DOM flow for bots. */
.field--honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form__status {
  min-height: 1.2em;
  font-weight: 600;
}

.contact-form__status[data-state="ok"] { color: #1a7f37; }
.contact-form__status[data-state="error"] { color: #c1121f; }

/* ---------- Legal pages ---------- */

.legal h2 { margin-top: 32px; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--color-brand-dark);
  color: rgba(255,255,255,0.85);
  padding: 48px 0 20px;
  margin-top: 40px;
}

.site-footer h3 {
  color: #fff;
  margin-top: 0;
}

.site-footer a { color: #fff; }

.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

@media (max-width: 800px) {
  .site-footer__grid { grid-template-columns: 1fr; }
}

.site-footer__legal {
  margin-top: 32px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}
