:root {
  --color-primary: #2260cd;
  --color-primary-dark: #173f8f;
  --color-on-primary: #ffffff;
  --color-secondary: #475569;
  --color-accent: #2260cd;
  --color-accent-dark: #173f8f;
  --color-background: #ffffff;
  --color-foreground: #0f172a;
  --color-muted: #f1f5fb;
  --color-muted-foreground: #64748b;
  --color-border: #e2e8f0;
  --color-surface: #ffffff;

  --font-heading: "Lexend", system-ui, sans-serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;

  --radius: 12px;
  --container-width: 1180px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.10);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.18);
  --transition: 200ms ease;
}

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-foreground);
  background: var(--color-background);
  font-size: 16px;
  line-height: 1.6;
}

h1, h2, h3 { font-family: var(--font-heading); color: var(--color-foreground); margin: 0 0 0.5em; line-height: 1.2; }
h1 { font-weight: 800; }
h2 { font-weight: 700; }
h3 { font-weight: 600; }
p { margin: 0 0 1em; color: var(--color-secondary); }
a { color: var(--color-accent); }
img { max-width: 100%; display: block; }

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

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 250, 252, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

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

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.25;
}

.brand-text small {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.72rem;
  color: var(--color-muted-foreground);
  letter-spacing: 0.02em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  text-decoration: none;
  color: var(--color-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color var(--transition);
}

.main-nav a:hover, .main-nav a:focus-visible { color: var(--color-primary); }

.nav-cta {
  background: var(--color-accent);
  color: #fff !important;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600 !important;
  transition: background var(--transition), transform var(--transition);
}

.nav-cta:hover { background: var(--color-accent-dark); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-foreground);
  transition: transform var(--transition), opacity var(--transition);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
  min-height: 48px;
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
}
.btn-primary:hover { background: var(--color-accent-dark); transform: translateY(-2px); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.18); transform: translateY(-2px); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,23,42,0.78) 0%, rgba(15,23,42,0.62) 45%, rgba(15,23,42,0.85) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  max-width: 760px;
  padding-top: 90px;
  padding-bottom: 90px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 600;
  color: #93c5fd;
  margin-bottom: 16px;
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero-lead {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.88);
  max-width: 560px;
  margin-bottom: 32px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

/* ---------- Strip ---------- */
.strip {
  background: var(--color-primary);
  padding: 28px 0;
}

.strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.strip-item { display: flex; flex-direction: column; gap: 4px; color: #fff; }
.strip-item strong { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700; }
.strip-item span { font-size: 0.85rem; color: rgba(255,255,255,0.75); }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--color-muted); }
.section-dark { background: var(--color-primary-dark); color: #fff; }
.section-dark p { color: rgba(255,255,255,0.78); }
.section-dark h2 { color: #fff; }

.section-label {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.section h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  letter-spacing: -0.01em;
}

.section-lead {
  max-width: 620px;
  font-size: 1.05rem;
  margin-bottom: 48px;
}

.section-dark .section-lead { color: rgba(255,255,255,0.78); }

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

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(34, 96, 205, 0.12);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card-icon svg { width: 26px; height: 26px; }

.card h3 { margin-bottom: 10px; }
.card p { margin-bottom: 0; font-size: 0.96rem; }

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

.gallery-item {
  position: relative;
  padding: 0;
  border: none;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  background: var(--color-muted);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.gallery-item:hover img { transform: scale(1.06); }

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

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.about-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.about-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about-list li {
  position: relative;
  padding-left: 28px;
  color: var(--color-foreground);
  font-weight: 500;
}

.about-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--color-accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/10px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/10px no-repeat;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 24px;
  margin: 32px 0 0;
}

.contact-list dt {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-accent);
  font-weight: 700;
  margin-bottom: 4px;
}

.contact-list dd {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 500;
}

.contact-list a { color: #fff; text-decoration: none; }
.contact-list a:hover { color: #93c5fd; }

.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #0b1220;
  color: rgba(255,255,255,0.65);
  padding: 28px 0;
  font-size: 0.85rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 40px;
}

.lightbox[hidden] { display: none; }

.lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  transition: background var(--transition);
}

.lightbox-close:hover { background: rgba(255,255,255,0.24); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-media { order: -1; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px 24px;
    gap: 14px;
    box-shadow: var(--shadow-md);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition), opacity var(--transition);
  }
  .main-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .main-nav a { padding: 8px 0; }
  .nav-cta { text-align: center; }

  .strip-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .card-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 64px 0; }
  .hero { min-height: 100vh; }
}

@media (max-width: 480px) {
  .gallery { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
}
