:root {
  --navy: #0e2847;
  --blue: #1c4170;
  --sky: #4f8fdd;
  --slate: #4c5d73;
  --mist: #f4f6fb;
  --card: #ffffff;
  --border: #e0e6f0;
  --gradient: linear-gradient(135deg, #f8fbff 0%, #dfe9ff 45%, #f5f2ff 100%);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--navy);
  background-color: #fbfbfe;
  line-height: 1.6;
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem clamp(1.5rem, 6vw, 5rem);
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(22, 62, 110, 0.08);
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand img {
  width: 58px;
  height: 58px;
}

.brand-name {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3rem;
  display: block;
}

.brand-tagline {
  font-size: 0.75rem;
  letter-spacing: 0.2rem;
  text-transform: uppercase;
  color: var(--slate);
}

nav {
  display: flex;
  gap: 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
}

nav a {
  padding: 0.35rem 0;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 0;
  height: 2px;
  background: var(--sky);
  transition: width 0.2s ease;
}

nav a:hover::after,
nav a:focus-visible::after {
  width: 100%;
}

main {
  display: flex;
  flex-direction: column;
  gap: 5rem;
  padding: 2rem clamp(1.5rem, 6vw, 5rem) 5rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(360px, 1.15fr);
  gap: 2rem;
  padding: 3rem clamp(1rem, 3vw, 2.5rem);
  border-radius: 32px;
  background: var(--gradient);
  overflow: hidden;
  align-items: stretch;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.3rem;
  font-size: 0.8rem;
  color: var(--sky);
  font-weight: 700;
}

.hero h1 {
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  margin: 0.5rem 0 1rem;
}

.lead {
  font-size: 1.1rem;
  max-width: 32ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0;
}

.hero-actions .btn {
  flex: 0 0 auto;
}

.btn {
  border-radius: 999px;
  padding: 0.8rem 1.6rem;
  font-weight: 600;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn.primary {
  background-color: var(--navy);
  color: #fff;
}

.btn.ghost {
  border-color: rgba(15, 49, 83, 0.2);
  color: var(--navy);
  background-color: transparent;
}

.hero-meta {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 1.5rem;
  font-size: 0.9rem;
  margin-top: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(22, 62, 110, 0.12);
}

.hero-meta span {
  color: var(--slate);
  display: block;
}

.hero-meta strong {
  font-size: 1.1rem;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1.5rem;
  align-self: stretch;
  max-width: 560px;
  min-width: 320px;
}

.hero-visual img:first-child {
  width: 140px;
}

.hero-photo {
  margin: 0;
  width: 100%;
  height: 100%;
  max-height: 420px;
  border-radius: 24px;
  overflow: hidden;
  background: #000;
  color: #fff;
  font-size: 0.85rem;
}

.hero-photo img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  filter: contrast(1.05);
}

.hero-photo figcaption {
  padding: 0.8rem 1rem;
  background: rgba(12, 31, 61, 0.8);
}

.capability-section,
.insight-section,
.facility-section,
.contact-section {
  background: var(--card);
  border-radius: 28px;
  padding: 3rem clamp(1.5rem, 4vw, 3.5rem);
  box-shadow: 0 24px 60px rgba(15, 25, 40, 0.08);
}

.capability-section header,
.insight-section header,
.contact-section header {
  max-width: 640px;
  margin-bottom: 2rem;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.capability-card {
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.5rem;
  background-color: #fff;
}

.capability-card h3 {
  margin-top: 0;
}

.insight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.insight-card {
  border-radius: 18px;
  border: 1px solid var(--border);
  padding: 1.5rem;
  background-color: var(--mist);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-height: 160px;
}

.insight-card span {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--sky);
}

.facility-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  align-items: center;
}

.facility-text ul {
  padding-left: 1.1rem;
  margin: 1.5rem 0 0;
}

.facility-text li {
  margin-bottom: 0.5rem;
}

.facility-panel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
}

.facility-photo {
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  background-color: #000;
}

.facility-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.facility-photo figcaption {
  padding: 0.8rem 1rem;
  background: rgba(8, 18, 38, 0.85);
  color: #fff;
  font-size: 0.9rem;
}

.metric {
  padding: 1.2rem;
  border-radius: 18px;
  border: 1px solid var(--border);
  background-color: #fdfdff;
}

.metric span {
  font-size: 0.8rem;
  letter-spacing: 0.1rem;
  text-transform: uppercase;
  color: var(--slate);
}

.metric strong {
  display: block;
  margin-top: 0.6rem;
  font-size: 1.1rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.contact-card {
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.5rem;
  background-color: #fff;
}

.contact-card h3 {
  margin-bottom: 0.4rem;
}

.map iframe {
  width: 100%;
  min-height: 320px;
  border: 0;
  border-radius: 20px;
}

.site-footer {
  text-align: center;
  padding: 2rem 1rem 3rem;
  color: var(--slate);
  font-size: 0.9rem;
}

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

  .hero-visual {
    max-width: 100%;
    min-width: 0;
  }

  .hero-photo {
    max-height: 360px;
  }

  .hero-meta {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }
}

@media (max-width: 768px) {
  nav {
    display: none;
  }

  .hero-actions {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 0.75rem;
  }

  .btn {
    padding: 0.7rem 1.2rem;
  }

  .hero-visual img:first-child {
    display: none;
  }

  .hero-meta {
    grid-template-columns: 1fr;
  }

  .hero-visual img:first-child {
    align-self: flex-start;
  }
}
