:root {
  --nav-bg: #041425;
  --text: #ffffff;
  --hover: #9dc8ff;
  --button-bg: #1f4d7c;
  --button-bg-hover: #2b669f;
  --section-blue: #3a5d84;
  --footer-bg: #021429;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #102133;
  background: #f3f6fa;
  overflow-x: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--nav-bg);
  min-height: 56px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.22);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  min-height: 56px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: 1.25rem;
}

.brand {
  color: var(--text);
  text-decoration: none;
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  justify-self: start;
}

.primary-nav {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  justify-self: center;
}

.primary-nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.98rem;
  padding: 0.35rem 0.1rem;
  transition: color 0.2s ease;
}

.primary-nav a:hover {
  color: var(--hover);
}

.cta-button {
  color: var(--text);
  text-decoration: none;
  background: linear-gradient(135deg, var(--button-bg), #163a5e);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.2s ease, transform 0.2s ease;
}

.cta-button:hover {
  background: linear-gradient(135deg, var(--button-bg-hover), #1d4c79);
  transform: translateY(-1px);
}

.nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  justify-self: end;
}

.mobile-nav-actions {
  display: none;
}

.cta-secondary {
  background: linear-gradient(135deg, #2f6aa3, #1b4d7f);
}

.cta-secondary:hover {
  background: linear-gradient(135deg, #3a7dbf, #245f96);
}

.content-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}

.hero-banner {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  background-color: #041425;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom, rgba(4, 20, 37, 0.06), rgba(4, 20, 37, 0.2));
  pointer-events: none;
}

.about-hero {
  position: relative;
  min-height: 620px;
  background-image: url("assets/about-banner.png");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.about-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(3, 10, 18, 0.3), rgba(3, 10, 18, 0.45));
}

.about-hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0;
  text-align: center;
  padding: 1.25rem 1.3rem;
  color: #f2f7ff;
  background: rgba(3, 13, 25, 0.48);
  border: 1px solid rgba(220, 236, 255, 0.2);
  border-radius: 16px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(2px);
  opacity: 0;
  transform: translateY(18px) scale(0.985);
  transition: opacity 1.9s ease, transform 1.9s ease;
}

.about-hero-content h1 {
  margin: 0 0 0.5rem;
  font-size: 2.9rem;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.about-hero-content p {
  margin: 0 auto;
  max-width: 680px;
  line-height: 1.6;
  font-size: 1.05rem;
  font-weight: 600;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.48);
}

/* .page-about main {
  /* opacity: 0;
  transform: translateY(18px); */
/* transition: opacity 0.65s ease, transform 0.65s ease; */
}

*/ .page-about.is-ready main {
  opacity: 1;
  transform: translateY(0);
}

.page-about.is-ready .about-hero-content {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.why-section {
  background: #06182b;
  color: #d9e6f5;
  padding: 1.9rem 0 2.5rem;
  text-align: center;
}

.why-section h2 {
  margin: 0 0 1rem;
  font-size: 2.75rem;
  color: #ffffff;
}

.why-intro {
  margin: 0 auto 1.9rem;
  max-width: 640px;
  line-height: 1.6;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 1.4rem;
}

.why-card {
  text-align: left;
}

.why-card h3 {
  margin: 0 0 0.6rem;
  color: #ffffff;
  font-size: 1.2rem;
}

.why-card p {
  margin: 0;
  line-height: 1.7;
  color: #c4d4e7;
}

.services-hero {
  background: linear-gradient(180deg, #0a2239, #06182b);
  color: #e6eef8;
  text-align: center;
  padding: 2.1rem 0 1.6rem;
}

.services-hero h1 {
  margin: 0 0 0.5rem;
  color: #ffffff;
  font-size: 2.4rem;
}

.services-hero p {
  margin: 0 auto;
  max-width: 700px;
  font-size: 1rem;
}

.services-showcase {
  background: #06182b;
  padding: 0.35rem 0 0.9rem;
}

.services-showcase-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.services-showcase-hint {
  display: none;
  margin: 0 0 0.45rem;
  font-size: 0.88rem;
  color: rgba(220, 232, 246, 0.78);
}

.services-showcase-trigger {
  display: block;
  width: 100%;
  max-width: min(1300px, 100%);
  margin: 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  border-radius: 0;
}

.services-showcase-trigger img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.services-showcase-trigger:focus-visible {
  outline: 2px solid #9dc8ff;
  outline-offset: 3px;
}

.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;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
}

.image-lightbox.is-open {
  display: flex;
}

.image-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 10, 18, 0.82);
}

.image-lightbox-dialog {
  position: relative;
  z-index: 1;
  max-width: min(96vw, 1200px);
  max-height: 92vh;
  overflow: auto;
  background: #06182b;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  padding-top: 2.75rem;
}

.image-lightbox-dialog img {
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(92vh - 2.75rem);
  object-fit: contain;
}

.image-lightbox-close {
  position: absolute;
  top: 0.45rem;
  right: 0.45rem;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(6, 24, 43, 0.9);
  color: #ffffff;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.image-lightbox-close:hover {
  background: rgba(31, 77, 124, 0.95);
}

.contact-headline {
  background: #3a5d84;
  text-align: center;
  padding: 1rem 1rem 0.75rem;
}

.contact-headline h1 {
  margin: 0;
  color: #0b1a2b;
  font-size: 2.8rem;
}

.contact-section {
  background: #06182b;
  color: #d8e6f6;
  padding: 1.9rem 0 2.5rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.2rem;
  align-items: start;
}

.contact-left h2 {
  margin: 0 0 0.45rem;
  color: #ffffff;
  font-size: 1.95rem;
}

.contact-left p {
  margin: 0 0 0.65rem;
  line-height: 1.55;
}

.contact-left img {
  display: block;
  width: 100%;
  max-width: 560px;
  margin: 0.9rem 0 1.05rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.contact-left h3 {
  margin: 0.8rem 0 0.2rem;
  color: #ffffff;
}

.contact-left a {
  color: inherit;
  text-decoration: none;
}

.contact-left a:hover {
  color: #9dc8ff;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.contact-form label,
.contact-form legend {
  font-weight: 600;
  color: #f4f8ff;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 0;
  border-radius: 0;
  background: #333f4d;
  color: #e8eef3;
  padding: 0.65rem 0.75rem;
  font: inherit;
  margin-bottom: 0.35rem;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.18);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(216, 226, 236, 0.62);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  box-shadow: inset 0 0 0 1px rgba(157, 200, 255, 0.55), 0 0 0 1px rgba(157, 200, 255, 0.35);
}

.contact-form textarea {
  min-height: 7.5rem;
  resize: vertical;
}

.contact-form fieldset {
  border: 0;
  margin: 0.35rem 0 0.7rem;
  padding: 0;
}

.contact-form fieldset label {
  display: block;
  font-weight: 500;
  margin: 0.35rem 0;
}

.contact-form fieldset input[type="checkbox"] {
  width: auto;
  margin: 0 0.35rem 0 0;
  accent-color: #4f86bd;
}

.contact-form button {
  align-self: flex-start;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: #ffffff;
  color: #0d2036;
  border-radius: 8px;
  font-weight: 600;
  padding: 0.6rem 1.1rem;
  cursor: pointer;
}

.contact-form button:hover {
  background: #e6f1ff;
}

.about-intro {
  background: var(--section-blue);
  color: #e8eef6;
  padding: 2.7rem 0 2.4rem;
}

.about-intro h1 {
  margin: 0 0 1.1rem;
  color: #ffffff;
  font-size: 2rem;
  text-align: center;
}

.about-intro p {
  max-width: 900px;
  line-height: 1.7;
  margin: 0 auto 1.15rem;
  font-size: 1.02rem;
  color: #dbe5f0;
  text-align: center;
}

.services-strip {
  background: #305174;
  color: #e3ecf7;
  padding: 1.75rem 0 2rem;
}

.services-strip h2 {
  margin: 0 0 0.6rem;
  color: #ffffff;
  text-align: center;
}

.services-strip p {
  margin: 0 auto;
  max-width: 900px;
  text-align: center;
}

.site-footer {
  background: var(--footer-bg);
  color: #d4e0ee;
  padding: 2.15rem 0 2.7rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(200px, 1fr));
  gap: 1.2rem;
  align-items: start;
}

.site-footer h3 {
  margin: 0 0 0.5rem;
  color: #ffffff;
}

.site-footer p {
  margin: 0.2rem 0;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.site-footer a:hover {
  color: #9dc8ff;
}

.footer-card {
  text-align: center;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
}

.social-links a {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #d4e0ee;
  text-decoration: none;
  border: 1px solid rgba(212, 224, 238, 0.45);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease,
    transform 0.2s ease;
}

.social-links a:hover {
  color: #9dc8ff;
  border-color: #9dc8ff;
  background: rgba(157, 200, 255, 0.1);
  transform: translateY(-1px);
}

.social-links svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.social-links svg.social-icon--instagram {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-links svg.social-icon--instagram .ig-dot {
  fill: currentColor;
  stroke: none;
}

.mobile-toggle {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  border-radius: 6px;
  width: 40px;
  height: 34px;
  padding: 7px;
  cursor: pointer;
}

.mobile-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 4px 0;
  background: #ffffff;
}

@media (max-width: 860px) {
  .nav-container {
    grid-template-columns: minmax(0, 1fr) auto;
    position: relative;
    column-gap: 0.4rem;
    padding: 0 0.45rem;
  }

  .brand {
    font-size: 0.98rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-toggle {
    display: inline-block;
  }

  .primary-nav {
    position: absolute;
    top: 100%;
    right: 0.45rem;
    left: auto;
    width: min(230px, calc(100vw - 1rem));
    display: none;
    flex-direction: column;
    gap: 0;
    background: #05182d;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
    padding: 0.25rem 0.75rem 0.5rem;
  }

  .primary-nav a {
    padding: 0.65rem 0.1rem;
  }

  .mobile-nav-actions {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    padding-top: 0.65rem;
    margin-top: 0.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

  .mobile-nav-actions .cta-button {
    width: 100%;
    text-align: center;
    font-size: 0.86rem;
    padding: 0.62rem 0.8rem;
    border-radius: 10px;
    letter-spacing: 0.2px;
  }

  .mobile-nav-actions .cta-secondary {
    background: transparent;
    border-color: rgba(157, 200, 255, 0.55);
    color: #d7e8ff;
  }

  .primary-nav.is-open {
    display: flex;
  }

  .cta-button {
    margin-left: 0;
    padding: 0.35rem 0.58rem;
    font-size: 0.76rem;
  }

  .nav-actions {
    display: none;
  }

  .hero-banner {
    min-height: 280px;
  }

  .about-hero {
    min-height: 380px;
  }

  .about-hero-content {
    padding: 0.95rem 0.95rem;
  }

  .about-hero-content h1 {
    font-size: 1.9rem;
  }

  .about-hero-content p {
    font-size: 0.92rem;
    max-width: 520px;
  }

  .why-section {
    padding: 1.5rem 0 2rem;
  }

  .services-hero {
    padding: 1.5rem 0 1.2rem;
  }

  .services-hero h1 {
    font-size: 1.85rem;
  }

  .services-hero p {
    font-size: 0.94rem;
  }

  .services-showcase-hint {
    display: block;
    align-self: center;
    text-align: center;
    width: 100%;
  }

  .services-showcase-trigger {
    cursor: pointer;
  }

  .contact-headline h1 {
    font-size: 2.05rem;
  }

  .contact-section {
    padding: 1.35rem 0 1.9rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .contact-left h2 {
    font-size: 1.55rem;
  }

  .why-section h2 {
    font-size: 2rem;
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .why-card {
    text-align: center;
  }

  .about-intro {
    padding: 2rem 0 1.8rem;
  }

  .about-intro h1 {
    font-size: 1.45rem;
  }

  .about-intro p,
  .services-strip p {
    font-size: 0.96rem;
    line-height: 1.6;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
}