/* services: uses shared design-system components. Add page-specific styles here. */

/*Services 1 start*/


/* =========================================================
   HOME MARINE HERO
========================================================= */

.home-marine-hero {
  position: relative;

  width: 100%;
  max-width: 100%;

  min-height: 100svh;

  overflow: hidden;
  isolation: isolate;

  color: var(--white);

  background:
    var(--dark);
}


/* =========================================================
   BACKGROUND IMAGE
========================================================= */

.home-marine-hero
  .home-marine-hero-background {
  position: absolute;
  z-index: -7;

  inset: 0;

  overflow: hidden;
}


.home-marine-hero
  .home-marine-hero-background img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;

  filter:
    saturate(0.75)
    contrast(1.08);

  transform:
    scale(1.04);

  animation:
    home-marine-hero-background-zoom
    20s ease-in-out infinite alternate;
}


/* =========================================================
   OVERLAY
========================================================= */

.home-marine-hero
  .home-marine-hero-overlay {
  position: absolute;
  z-index: -6;

  inset: 0;

  background:
    linear-gradient(
      90deg,
      rgba(8, 5, 17, 0.98) 0%,
      rgba(21, 17, 29, 0.94) 38%,
      rgba(42, 26, 58, 0.72) 70%,
      rgba(21, 17, 29, 0.58) 100%
    ),
    linear-gradient(
      0deg,
      rgba(8, 5, 17, 0.96) 0%,
      transparent 45%,
      rgba(8, 5, 17, 0.35) 100%
    );

  pointer-events: none;
}


/* =========================================================
   GRID
========================================================= */

.home-marine-hero
  .home-marine-hero-grid {
  position: absolute;
  z-index: -5;

  inset: 0;

  opacity: 0.1;

  background-image:
    linear-gradient(
      rgba(155, 77, 255, 0.22) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(155, 77, 255, 0.22) 1px,
      transparent 1px
    );

  background-size:
    75px 75px;

  pointer-events: none;
}


/* =========================================================
   LIGHT BEAM
========================================================= */

.home-marine-hero
  .home-marine-hero-beam {
  position: absolute;
  z-index: -4;

  top: 0;
  bottom: 0;

  left: 34%;

  width: 45%;

  background:
    linear-gradient(
      115deg,
      transparent 15%,
      rgba(155, 77, 255, 0.08) 47%,
      transparent 73%
    );

  transform:
    skewX(-13deg);

  animation:
    home-marine-hero-beam
    10s ease-in-out infinite alternate;

  pointer-events: none;
}


/* =========================================================
   CURSOR GLOW
========================================================= */

.home-marine-hero
  .home-marine-hero-cursor-glow {
  position: absolute;
  z-index: 1;

  top: 0;
  left: 0;

  width: 430px;
  height: 430px;

  border-radius: 50%;

  opacity: 0;

  background:
    radial-gradient(
      circle,
      rgba(155, 77, 255, 0.16),
      rgba(255, 122, 0, 0.035) 42%,
      transparent 70%
    );

  transform:
    translate3d(
      calc(
        var(
          --home-marine-hero-pointer-x,
          -500px
        ) - 50%
      ),
      calc(
        var(
          --home-marine-hero-pointer-y,
          -500px
        ) - 50%
      ),
      0
    );

  mix-blend-mode: screen;

  transition:
    opacity 220ms ease;

  pointer-events: none;
}


.home-marine-hero.home-marine-hero--pointer
  .home-marine-hero-cursor-glow {
  opacity: 1;
}


/* =========================================================
   PARTICLES
========================================================= */

.home-marine-hero
  .home-marine-hero-particles {
  position: absolute;
  z-index: -2;

  inset: 0;

  overflow: hidden;

  pointer-events: none;
}


.home-marine-hero
  .home-marine-hero-particle {
  position: absolute;

  bottom: -30px;

  display: block;

  border-radius: 50%;

  background:
    var(--orange-warm);

  box-shadow:
    0 0 10px
    rgba(255, 122, 0, 0.55);

  animation:
    home-marine-hero-particle-rise
    linear infinite;
}


/* =========================================================
   DECORATIVE RINGS
========================================================= */

.home-marine-hero
  .home-marine-hero-ring {
  position: absolute;
  z-index: -1;

  border:
    1px solid
    rgba(155, 77, 255, 0.2);

  border-radius: 50%;

  pointer-events: none;
}


.home-marine-hero
  .home-marine-hero-ring::before,
.home-marine-hero
  .home-marine-hero-ring::after {
  position: absolute;

  border: inherit;
  border-radius: inherit;

  content: "";
}


.home-marine-hero
  .home-marine-hero-ring::before {
  inset: 12px;
}


.home-marine-hero
  .home-marine-hero-ring::after {
  inset: 28px;
}


.home-marine-hero
  .home-marine-hero-ring--one {
  top: 18%;
  right: 7%;

  width: 150px;
  aspect-ratio: 1;

  animation:
    home-marine-hero-float
    7s ease-in-out infinite;
}


.home-marine-hero
  .home-marine-hero-ring--two {
  bottom: 19%;
  left: 46%;

  width: 82px;
  aspect-ratio: 1;

  animation:
    home-marine-hero-float
    6s ease-in-out infinite reverse;
}


/* =========================================================
   INNER
========================================================= */

.home-marine-hero
  .home-marine-hero-inner {
  position: relative;
  z-index: 3;

  display: flex;
  align-items: center;
  justify-content: center;

  width: min(
    calc(100% - 48px),
    1180px
  );

  min-height:
    calc(100svh - 84px);

  margin-inline: auto;

  padding:
    clamp(80px, 10vh, 120px)
    0
    clamp(60px, 8vh, 96px);
}


/* =========================================================
   COPY
========================================================= */

.home-marine-hero
  .home-marine-hero-copy {
  width: min(100%, 900px);

  text-align: center;
}


/* =========================================================
   EYEBROW
========================================================= */

.home-marine-hero
  .home-marine-hero-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;

  gap: 13px;

  margin: 0;

  color: var(--orange-warm);

  font-size: 11px;
  font-weight: 800;

  letter-spacing: 0.18em;
  line-height: 1.4;

  text-transform: uppercase;
}


/* =========================================================
   SONAR
========================================================= */

.home-marine-hero
  .home-marine-hero-sonar {
  position: relative;

  display: grid;

  width: 20px;
  height: 20px;

  flex: 0 0 auto;

  place-items: center;
}


.home-marine-hero
  .home-marine-hero-sonar i {
  width: 5px;
  height: 5px;

  border-radius: 50%;

  background:
    var(--orange-warm);

  box-shadow:
    0 0 12px
    var(--orange-warm);
}


.home-marine-hero
  .home-marine-hero-sonar::before,
.home-marine-hero
  .home-marine-hero-sonar::after {
  position: absolute;

  border:
    1px solid
    rgba(240, 154, 43, 0.58);

  border-radius: 50%;

  animation:
    home-marine-hero-sonar
    2.2s ease-out infinite;

  content: "";
}


.home-marine-hero
  .home-marine-hero-sonar::before {
  inset: 3px;
}


.home-marine-hero
  .home-marine-hero-sonar::after {
  inset: -3px;

  animation-delay:
    750ms;
}


/* =========================================================
   TITLE
========================================================= */

.home-marine-hero
  .home-marine-hero-title {
  max-width: 900px;

  margin:
    25px
    auto
    22px;

  color: var(--white);

  font-size:
    clamp(46px, 5.3vw, 82px);

  font-weight: 800;

  line-height: 0.98;
  letter-spacing: -0.055em;

  text-wrap: balance;
}


.home-marine-hero
  .home-marine-hero-title span {
  display: block;

  padding-bottom: 0.05em;

  color: var(--purple);

  background:
    linear-gradient(
      100deg,
      var(--purple-dark) 0%,
      var(--purple) 48%,
      var(--orange) 100%
    );

  background-clip: text;

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  filter:
    drop-shadow(
      0 7px 28px
      rgba(113, 55, 214, 0.2)
    );
}


/* =========================================================
   DESCRIPTION
========================================================= */

.home-marine-hero
  .home-marine-hero-description {
  max-width: 700px;

  margin:
    0
    auto;

  color:
    rgba(255, 255, 255, 0.72);

  font-size:
    clamp(15px, 1.25vw, 18px);

  line-height: 1.75;
}


/* =========================================================
   ACTIONS
========================================================= */

.home-marine-hero
  .home-marine-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;

  gap: 13px;

  margin-top: 34px;
}


/* =========================================================
   BUTTON
========================================================= */

.home-marine-hero
  .home-marine-hero-button {
  position: relative;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 18px;

  min-height: 56px;

  padding:
    14px
    24px;

  overflow: hidden;

  border:
    1px solid transparent;

  border-radius: 8px;

  color: var(--white);

  font-size: 14px;
  font-weight: 800;

  line-height: 1;

  text-decoration: none;

  transition:
    transform 280ms ease,
    border-color 280ms ease,
    background-color 280ms ease,
    box-shadow 280ms ease;
}


.home-marine-hero
  .home-marine-hero-button::before {
  position: absolute;

  top: 0;
  left: -120%;

  width: 75%;
  height: 100%;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, 0.38),
      transparent
    );

  transform:
    skewX(-24deg);

  transition:
    left 650ms ease;

  content: "";

  pointer-events: none;
}


.home-marine-hero
  .home-marine-hero-button:hover::before {
  left: 140%;
}


.home-marine-hero
  .home-marine-hero-button:hover {
  transform:
    translateY(-4px);
}


.home-marine-hero
  .home-marine-hero-button:focus-visible {
  outline:
    3px solid
    rgba(255, 122, 0, 0.4);

  outline-offset: 4px;
}


.home-marine-hero
  .home-marine-hero-button svg {
  display: block;

  width: 18px;
  height: 18px;

  fill: none;

  stroke: currentColor;

  stroke-width: 1.8;

  stroke-linecap: round;
  stroke-linejoin: round;
}


/* =========================================================
   PRIMARY BUTTON
========================================================= */

.home-marine-hero
  .home-marine-hero-button--primary {
  border-color:
    var(--purple);

  background:
    linear-gradient(
      135deg,
      var(--purple-dark),
      var(--purple) 60%,
      var(--orange)
    );

  box-shadow:
    0 17px 40px
    rgba(113, 55, 214, 0.3);
}


.home-marine-hero
  .home-marine-hero-button--primary:hover {
  box-shadow:
    0 22px 50px
    rgba(113, 55, 214, 0.42);
}


/* =========================================================
   SECONDARY BUTTON
========================================================= */

.home-marine-hero
  .home-marine-hero-button--secondary {
  border-color:
    rgba(255, 255, 255, 0.24);

  background:
    rgba(255, 255, 255, 0.055);

  backdrop-filter:
    blur(12px);
}


.home-marine-hero
  .home-marine-hero-button--secondary:hover {
  border-color:
    rgba(255, 122, 0, 0.62);

  background:
    rgba(255, 122, 0, 0.09);
}


/* =========================================================
   SERVICES
========================================================= */

.home-marine-hero
  .home-marine-hero-services {
  position: relative;
  z-index: 5;

  width: 100%;

  border-top:
    1px solid
    rgba(155, 77, 255, 0.22);

  background:
    rgba(8, 5, 17, 0.96);

  backdrop-filter:
    blur(16px);
}


/* MOVING TOP LINE */

.home-marine-hero
  .home-marine-hero-services::before {
  position: absolute;

  top: -1px;
  left: -30%;

  width: 28%;
  height: 1px;

  background:
    linear-gradient(
      90deg,
      transparent,
      var(--orange),
      transparent
    );

  animation:
    home-marine-hero-service-line
    6s linear infinite;

  content: "";
}


/* =========================================================
   SERVICES INNER
========================================================= */

.home-marine-hero
  .home-marine-hero-services-inner {
  display: grid;

  grid-template-columns:
    repeat(6, minmax(0, 1fr));

  width: min(
    100%,
    1500px
  );

  margin-inline: auto;
}


/* =========================================================
   SERVICE ITEM
========================================================= */

.home-marine-hero
  .home-marine-hero-service {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 10px;

  min-width: 0;
  min-height: 84px;

  padding:
    15px
    14px;

  border-right:
    1px solid
    rgba(255, 255, 255, 0.08);

  color: var(--white);

  background:
    rgba(255, 255, 255, 0.01);

  text-decoration: none;

  transition:
    background-color 280ms ease,
    transform 280ms ease;
}


.home-marine-hero
  .home-marine-hero-service:last-child {
  border-right: 0;
}


.home-marine-hero
  .home-marine-hero-service > span {
  color: var(--purple);

  font-size: 9px;
  font-weight: 800;

  letter-spacing: 0.1em;
}


.home-marine-hero
  .home-marine-hero-service strong {
  flex: 1;

  min-width: 0;

  color:
    rgba(255, 255, 255, 0.88);

  font-size: 11px;
  font-weight: 700;

  line-height: 1.35;
}


.home-marine-hero
  .home-marine-hero-service i {
  color: var(--orange);

  font-size: 15px;
  font-style: normal;

  transition:
    transform 280ms ease;
}


.home-marine-hero
  .home-marine-hero-service:hover,
.home-marine-hero
  .home-marine-hero-service:focus-visible {
  background:
    linear-gradient(
      135deg,
      rgba(155, 77, 255, 0.17),
      rgba(255, 122, 0, 0.07)
    );

  transform:
    translateY(-3px);

  outline: none;
}


.home-marine-hero
  .home-marine-hero-service:focus-visible {
  box-shadow:
    inset 0 0 0 2px
    var(--orange);
}


.home-marine-hero
  .home-marine-hero-service:hover i,
.home-marine-hero
  .home-marine-hero-service:focus-visible i {
  transform:
    translateX(4px);
}


/* =========================================================
   JS REVEAL
   VISIBLE IF JS FAILS
========================================================= */

.home-marine-hero.home-marine-hero--js
  [data-home-marine-hero-reveal] {
  opacity: 0;

  transform:
    translateY(30px);

  transition:
    opacity 850ms ease,
    transform 850ms
      cubic-bezier(
        0.2,
        0.7,
        0.2,
        1
      );
}


.home-marine-hero.home-marine-hero--js
  [data-home-marine-hero-reveal]
  .home-marine-hero-is-visible {
  opacity: 1;
}


/* Correct reveal state */

.home-marine-hero.home-marine-hero--js
  [data-home-marine-hero-reveal].home-marine-hero-is-visible {
  opacity: 1;

  transform: none;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 980px) {

  .home-marine-hero
    .home-marine-hero-title {
    font-size:
      clamp(45px, 7.5vw, 68px);
  }


  .home-marine-hero
    .home-marine-hero-services-inner {
    grid-template-columns:
      repeat(3, minmax(0, 1fr));
  }


  .home-marine-hero
    .home-marine-hero-service {
    border-bottom:
      1px solid
      rgba(255, 255, 255, 0.08);
  }


  .home-marine-hero
    .home-marine-hero-service:nth-child(3n) {
    border-right: 0;
  }


  .home-marine-hero
    .home-marine-hero-service:nth-child(n + 4) {
    border-bottom: 0;
  }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 760px) {

  .home-marine-hero {
    min-height: auto;
  }


  .home-marine-hero
    .home-marine-hero-inner {
    width:
      min(
        calc(100% - 30px),
        620px
      );

    min-height: auto;

    padding:
      94px
      0
      56px;
  }


  .home-marine-hero
    .home-marine-hero-cursor-glow,
  .home-marine-hero
    .home-marine-hero-ring--two {
    display: none;
  }


  .home-marine-hero
    .home-marine-hero-background img {
    object-position:
      65% center;
  }


  .home-marine-hero
    .home-marine-hero-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(8, 5, 17, 0.88),
        rgba(21, 17, 29, 0.96) 48%,
        rgba(8, 5, 17, 0.99)
      );
  }


  .home-marine-hero
    .home-marine-hero-title {
    margin-top: 20px;

    font-size:
      clamp(42px, 12.5vw, 61px);

    line-height: 1;

    letter-spacing: -0.045em;
  }


  .home-marine-hero
    .home-marine-hero-description {
    font-size: 15px;
  }


  .home-marine-hero
    .home-marine-hero-actions {
    display: grid;

    grid-template-columns:
      minmax(0, 1fr);

    width: 100%;
  }


  .home-marine-hero
    .home-marine-hero-button {
    width: 100%;
  }


  .home-marine-hero
    .home-marine-hero-services-inner {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));

    width: 100%;
  }


  .home-marine-hero
    .home-marine-hero-service {
    min-height: 68px;

    padding:
      14px
      18px;
  }


  .home-marine-hero
    .home-marine-hero-service:nth-child(3n) {
    border-right:
      1px solid
      rgba(255, 255, 255, 0.08);
  }


  .home-marine-hero
    .home-marine-hero-service:nth-child(2n) {
    border-right: 0;
  }


  .home-marine-hero
    .home-marine-hero-service:nth-child(n + 4) {
    border-bottom:
      1px solid
      rgba(255, 255, 255, 0.08);
  }


  .home-marine-hero
    .home-marine-hero-service:nth-child(n + 5) {
    border-bottom: 0;
  }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 430px) {

  .home-marine-hero
    .home-marine-hero-title {
    font-size: 41px;
  }


  .home-marine-hero
    .home-marine-hero-eyebrow {
    font-size: 9px;

    letter-spacing: 0.14em;
  }


  .home-marine-hero
    .home-marine-hero-services-inner {
    grid-template-columns:
      minmax(0, 1fr);
  }


  .home-marine-hero
    .home-marine-hero-service,
  .home-marine-hero
    .home-marine-hero-service:nth-child(2n),
  .home-marine-hero
    .home-marine-hero-service:nth-child(3n),
  .home-marine-hero
    .home-marine-hero-service:nth-child(n + 4),
  .home-marine-hero
    .home-marine-hero-service:nth-child(n + 5) {
    min-height: 58px;

    border-right: 0;

    border-bottom:
      1px solid
      rgba(255, 255, 255, 0.08);
  }


  .home-marine-hero
    .home-marine-hero-service:last-child {
    border-bottom: 0;
  }

}


/* =========================================================
   TOUCH
========================================================= */

@media (hover: none), (pointer: coarse) {

  .home-marine-hero
    .home-marine-hero-cursor-glow {
    display: none;
  }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

  .home-marine-hero
    .home-marine-hero-background img,
  .home-marine-hero
    .home-marine-hero-beam,
  .home-marine-hero
    .home-marine-hero-ring,
  .home-marine-hero
    .home-marine-hero-sonar::before,
  .home-marine-hero
    .home-marine-hero-sonar::after,
  .home-marine-hero
    .home-marine-hero-services::before,
  .home-marine-hero
    .home-marine-hero-particle {
    animation: none;
  }


  .home-marine-hero.home-marine-hero--js
    [data-home-marine-hero-reveal] {
    opacity: 1;

    transform: none;

    transition: none;
  }


  .home-marine-hero
    .home-marine-hero-button,
  .home-marine-hero
    .home-marine-hero-service {
    transition: none;
  }

}


/* =========================================================
   ANIMATIONS
========================================================= */

@keyframes home-marine-hero-background-zoom {

  from {
    transform:
      scale(1.04);
  }

  to {
    transform:
      scale(1.11);
  }

}


@keyframes home-marine-hero-particle-rise {

  0% {
    opacity: 0;

    transform:
      translate3d(
        0,
        20px,
        0
      )
      scale(0.5);
  }

  12% {
    opacity: 0.7;
  }

  75% {
    opacity: 0.35;
  }

  100% {
    opacity: 0;

    transform:
      translate3d(
        30px,
        -105vh,
        0
      )
      scale(1.2);
  }

}


@keyframes home-marine-hero-sonar {

  0% {
    opacity: 0.8;

    transform:
      scale(0.55);
  }

  100% {
    opacity: 0;

    transform:
      scale(1.65);
  }

}


@keyframes home-marine-hero-float {

  50% {
    transform:
      translateY(-18px)
      rotate(6deg);
  }

}


@keyframes home-marine-hero-beam {

  from {
    opacity: 0.25;

    transform:
      translateX(-10%)
      skewX(-13deg);
  }

  to {
    opacity: 0.8;

    transform:
      translateX(18%)
      skewX(-13deg);
  }

}


@keyframes home-marine-hero-service-line {

  from {
    left: -30%;
  }

  to {
    left: 105%;
  }

}


/*Services 1 ends */