:root {
  --color-navy: #1a337e;
  --color-navy-deep: #152a66;
  --color-cyan: #00f2ff;
  --color-sky: #a0c4ff;
  --color-white: #f0f6ff;
  --color-muted: #5c6b8c;
  --color-panel: #eef3ff;
  --font-sans: "Segoe UI", system-ui, -apple-system, sans-serif;
  --header-height: 4rem;
  --glow-cyan: 0 0 20px rgba(0, 242, 255, 0.35);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-navy-deep);
  background: var(--color-panel);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(180deg, var(--color-navy) 0%, var(--color-navy-deep) 100%);
  border-bottom: 1px solid rgba(160, 196, 255, 0.25);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.header-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
}

.logo {
  color: var(--color-sky);
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.logo:hover,
.logo:focus-visible {
  color: var(--color-cyan);
  text-shadow: var(--glow-cyan);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  background: transparent;
  border: 1px solid rgba(160, 196, 255, 0.4);
  border-radius: 6px;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-sky);
  border-radius: 1px;
}

.site-nav .nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.25rem;
}

.site-nav a {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--color-sky);
  text-decoration: none;
  font-weight: 500;
  border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--color-cyan);
  background: rgba(0, 242, 255, 0.08);
}

.site-nav a.is-active {
  color: var(--color-cyan);
  background: rgba(0, 242, 255, 0.12);
}

.site-nav a[aria-current="page"] {
  color: var(--color-cyan);
  background: rgba(0, 242, 255, 0.14);
}

@media (max-width: 640px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--color-navy-deep);
    border-bottom: 1px solid rgba(160, 196, 255, 0.2);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }

  .site-nav.is-open {
    max-height: 28rem;
  }

  .site-nav .nav-list {
    flex-direction: column;
    padding: 0.75rem 1.25rem 1rem;
    gap: 0;
  }

  .site-nav a {
    border-radius: 6px;
  }
}

.section-home {
  padding: 0;
  background: var(--color-navy);
}

.hero {
  margin: 0;
  line-height: 0;
  background: radial-gradient(ellipse 80% 70% at 70% 45%, rgba(0, 242, 255, 0.08), transparent),
    var(--color-navy);
}

.hero-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(85vh, 720px);
  object-fit: cover;
  object-position: center;
}

.home-intro {
  max-width: 48rem;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 3.25rem;
  border-top: 1px solid rgba(0, 242, 255, 0.12);
}

.home-intro h1 {
  margin: 0 0 1.1rem;
  font-size: clamp(1.45rem, 3.5vw, 2.05rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-white);
  letter-spacing: -0.02em;
}

.home-intro h1::after {
  content: "";
  display: block;
  width: 3rem;
  height: 3px;
  margin-top: 1rem;
  background: linear-gradient(90deg, var(--color-cyan), var(--color-sky));
  border-radius: 2px;
}

.home-intro p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(160, 196, 255, 0.95);
}

.section-content {
  padding: 2.5rem 1.25rem;
  background: var(--color-white);
}

.section-content.section-alt {
  background: var(--color-panel);
}

.content-inner {
  max-width: 48rem;
  margin: 0 auto;
}

.section-content h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  color: var(--color-navy);
  letter-spacing: -0.02em;
}

.section-content h2::after {
  content: "";
  display: block;
  width: 3rem;
  height: 3px;
  margin-top: 0.75rem;
  background: linear-gradient(90deg, var(--color-cyan), var(--color-sky));
  border-radius: 2px;
  box-shadow: var(--glow-cyan);
}

.section-content p {
  margin: 0 0 1.15rem;
  color: var(--color-navy-deep);
  font-size: 1.05rem;
  line-height: 1.65;
}

.section-content p:last-child {
  margin-bottom: 0;
}

.section-content h3 {
  margin: 1.75rem 0 0.55rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-navy);
  letter-spacing: -0.01em;
}

.section-content h3 + p {
  margin-top: 0;
}

.values-list {
  margin: 0.35rem 0 0;
  padding: 0;
  list-style: none;
}

.values-list li {
  margin: 0 0 1rem;
  padding-left: 1rem;
  border-left: 3px solid var(--color-cyan);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--color-navy-deep);
}

.values-list li:last-child {
  margin-bottom: 0;
}

.values-list strong {
  color: var(--color-navy);
  font-weight: 600;
}

.section-content h2 + h3 {
  margin-top: 1rem;
}

.section-content h4 {
  margin: 1.25rem 0 0.5rem;
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--color-navy);
  letter-spacing: -0.01em;
}

.section-content h3 + h4 {
  margin-top: 0.65rem;
}

.services-bullet-list {
  margin: 0 0 1.15rem;
  padding-left: 1.35rem;
  color: var(--color-navy-deep);
  font-size: 1.05rem;
  line-height: 1.65;
}

.services-bullet-list li {
  margin-bottom: 0.45rem;
}

.services-bullet-list li:last-child {
  margin-bottom: 0;
}

.site-footer {
  scroll-margin-top: calc(var(--header-height) + 0.75rem);
  background: linear-gradient(180deg, var(--color-navy-deep) 0%, #0f1f4a 100%);
  color: var(--color-sky);
  padding: 2rem 1.25rem;
  border-top: 1px solid rgba(0, 242, 255, 0.15);
}

.footer-inner {
  max-width: 72rem;
  margin: 0 auto;
  text-align: center;
}

.footer-contact {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  justify-content: center;
  align-items: center;
}

.footer-contact a {
  color: var(--color-cyan);
  text-decoration: none;
}

.footer-contact a:hover,
.footer-contact a:focus-visible {
  text-decoration: underline;
  text-shadow: var(--glow-cyan);
}

.footer-sep {
  opacity: 0.55;
}

.footer-copy {
  margin: 0;
  font-size: 0.85rem;
  opacity: 0.75;
}

@media (max-width: 480px) {
  .footer-contact {
    flex-direction: column;
  }

  .footer-sep {
    display: none;
  }
}

/* Service section carousels (gallery-linked) */
.service-carousel {
  margin: 1.5rem 0 2.25rem;
}

.service-carousel-viewport {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  max-height: min(420px, 55vh);
  background: var(--color-navy-deep);
  box-shadow: 0 8px 28px rgba(21, 42, 102, 0.12);
  border: 1px solid rgba(0, 242, 255, 0.12);
}

.service-carousel-slides {
  position: absolute;
  inset: 0;
  outline: none;
}

.service-carousel-slides:focus-visible {
  box-shadow: inset 0 0 0 2px var(--color-cyan);
}

.service-carousel-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.service-carousel-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  .service-carousel-slide {
    transition-duration: 0.01ms;
  }
}

.service-carousel-slide a {
  display: block;
  height: 100%;
  text-decoration: none;
}

.service-carousel-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-carousel-prev,
.service-carousel-next {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--color-navy-deep);
  background: rgba(240, 246, 255, 0.92);
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
  transition: background 0.2s ease, transform 0.15s ease;
}

.service-carousel-prev:hover,
.service-carousel-next:hover,
.service-carousel-prev:focus-visible,
.service-carousel-next:focus-visible {
  background: var(--color-cyan);
}

.service-carousel-prev:focus-visible,
.service-carousel-next:focus-visible {
  outline: 2px solid var(--color-cyan);
  outline-offset: 2px;
}

.service-carousel-prev {
  left: 0.65rem;
}

.service-carousel-next {
  right: 0.65rem;
}

.service-carousel-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-top: 0.85rem;
}

.service-carousel-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.service-carousel-dot {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(26, 51, 126, 0.28);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.service-carousel-dot:hover,
.service-carousel-dot:focus-visible {
  background: rgba(0, 242, 255, 0.65);
}

.service-carousel-dot.is-active {
  background: var(--color-cyan);
  transform: scale(1.25);
}

.service-carousel-gallery-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-navy);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 242, 255, 0.45);
}

.service-carousel-gallery-link:hover,
.service-carousel-gallery-link:focus-visible {
  color: var(--color-cyan);
  border-bottom-color: var(--color-cyan);
}
