:root {
  --brand: #23617c;
  --brand-dark: #0b2633;
  --brand-mid: #163d51;
  --brand-soft: #dcedf2;
  --ink: #163d51;
  --muted: #4e6a76;
  --surface: #f7fbfc;
  --line: #c8dfe6;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--surface);
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--surface);
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(247, 251, 252, 0.94);
  backdrop-filter: blur(14px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0.75rem 1rem;
}

.brand {
  display: flex;
  min-width: 0;
  align-items: center;
}

.brand img {
  width: auto;
  height: 4.5rem;
  max-width: min(78vw, 315px);
  object-fit: contain;
}

.desktop-menu {
  display: none;
  align-items: center;
  gap: 0.5rem;
  color: var(--brand);
  font-size: 0.875rem;
  font-weight: 700;
}

.desktop-menu a,
.mobile-menu a {
  border-radius: 0.5rem;
  padding: 0.7rem 0.8rem;
  text-decoration: none;
  transition:
    background 180ms ease,
    color 180ms ease;
}

.desktop-menu a:hover,
.mobile-menu a:hover {
  background: var(--brand-soft);
  color: #12394d;
}

.menu-button {
  display: inline-flex;
  width: 2.75rem;
  height: 2.75rem;
  flex-shrink: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.72);
  color: var(--brand);
  box-shadow: 0 8px 22px rgba(7, 38, 52, 0.08);
  cursor: pointer;
}

.menu-button span {
  width: 1.2rem;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.mobile-menu {
  display: grid;
  max-height: 0;
  overflow: hidden;
  border-top: 1px solid transparent;
  padding: 0 1rem;
  color: var(--brand);
  font-size: 0.95rem;
  font-weight: 700;
  opacity: 0;
  box-shadow: 0 18px 30px rgba(7, 38, 52, 0.1);
  transition:
    max-height 200ms ease,
    opacity 200ms ease,
    padding 200ms ease;
}

.mobile-menu.is-open {
  max-height: 16rem;
  border-color: var(--line);
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  opacity: 1;
}

.hero {
  position: relative;
  min-height: calc(100vh - 7.25rem);
  overflow: hidden;
}

.carousel,
.carousel-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.carousel-image {
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
  opacity: 0;
  transition: opacity 800ms ease;
}

.carousel-image.is-active {
  opacity: 1;
}

.hero-overlay {
  background: linear-gradient(
    180deg,
    rgba(6, 31, 43, 0.84),
    rgba(6, 31, 43, 0.56) 58%,
    rgba(6, 31, 43, 0.28)
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 7.25rem);
  max-width: 80rem;
  margin: 0 auto;
  align-items: flex-start;
  justify-content: center;
  padding: 4rem 1.25rem;
  color: #fff;
}

.hero-content > * {
  width: 100%;
  max-width: 48rem;
}

.kicker {
  max-width: 30rem;
  margin: 0 0 1rem;
  color: #9cd0de;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 48rem;
  margin: 0;
  font-size: clamp(2.55rem, 13vw, 4.5rem);
  line-height: 1.03;
}

.hero-copy {
  max-width: 42rem;
  margin: 1.5rem 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2rem;
  align-self: stretch;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-weight: 800;
  text-decoration: none;
}

.primary-action {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 14px 30px rgba(7, 38, 52, 0.22);
}

.secondary-action {
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: #fff;
}

.carousel-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  z-index: 3;
  display: flex;
  transform: translateX(-50%);
  gap: 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  padding: 0.5rem 1rem;
  backdrop-filter: blur(12px);
}

.dot {
  width: 0.65rem;
  height: 0.65rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: width 180ms ease, background 180ms ease;
}

.dot.is-active {
  width: 2.25rem;
  background: #fff;
}

.section {
  padding: 4rem 1.25rem;
}

.about {
  background: var(--surface);
}

.contact {
  background: #fff;
}

.section-grid,
.focus-grid {
  max-width: 80rem;
  margin: 0 auto;
}

.section-grid {
  display: grid;
  gap: 2.25rem;
}

.section-kicker {
  margin: 0;
  color: var(--brand);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h2 {
  margin: 1rem 0 0;
  color: var(--brand-mid);
  font-size: clamp(2rem, 10vw, 3rem);
  line-height: 1.12;
}

.body-copy {
  display: grid;
  gap: 1.25rem;
  color: #31576a;
  font-size: 1rem;
  line-height: 1.75;
}

.body-copy p,
.contact-copy,
.focus-grid p,
.contact-row p {
  margin: 0;
}

.focus-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.focus-grid article {
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: #fff;
  padding: 1.5rem;
  box-shadow: 0 16px 38px rgba(7, 38, 52, 0.08);
}

.icon,
.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  flex-shrink: 0;
  border-radius: 0.5rem;
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 900;
}

.focus-grid h3,
.contact-row h3 {
  margin: 1.25rem 0 0.75rem;
  color: var(--brand-mid);
}

.focus-grid p,
.contact-copy,
.contact-row p {
  color: var(--muted);
  line-height: 1.75;
}

.contact-copy {
  max-width: 36rem;
  margin: 1.5rem 0 0;
  font-size: 1rem;
}

.contact-panel {
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: var(--surface);
  padding: 1.25rem;
  box-shadow: 0 20px 50px rgba(7, 38, 52, 0.1);
}

.contact-row {
  display: flex;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  padding: 1.5rem 0;
}

.contact-row:first-child {
  padding-top: 0;
}

.contact-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.contact-row div {
  min-width: 0;
}

.contact-row h3 {
  margin-top: 0;
}

.contact-row a {
  color: var(--brand);
  overflow-wrap: anywhere;
}

.footer {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0;
  background: var(--brand-dark);
  padding: 2rem 1.25rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.footer p {
  max-width: 80rem;
  margin: 0 auto;
  width: 100%;
}

@media (min-width: 420px) {
  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (min-width: 640px) {
  .nav {
    padding: 1rem 2rem;
  }

  .desktop-menu {
    display: flex;
  }

  .menu-button,
  .mobile-menu {
    display: none;
  }

  .hero-overlay {
    background: linear-gradient(
      90deg,
      rgba(6, 31, 43, 0.82),
      rgba(6, 31, 43, 0.52) 45%,
      rgba(6, 31, 43, 0.14)
    );
  }

  .hero-content,
  .section {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .hero-copy,
  .contact-copy {
    font-size: 1.18rem;
  }

  .body-copy {
    gap: 1.75rem;
    font-size: 1.12rem;
  }

  .section {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }

  .focus-grid {
    margin-top: 4rem;
  }

  .contact-panel {
    padding: 2.25rem;
  }
}

@media (min-width: 768px) {
  .focus-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .section-grid {
    grid-template-columns: 0.8fr 1.2fr;
  }

  .contact-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}
