/* =========================================================
   P1 TECHNICAL SERVICES — CLEAN HERO
   ========================================================= */

.hero {
  position: relative;
  width: 100%;
  height: 660px;
  overflow: hidden;

  background: #020711;
  border-bottom: 1px solid rgba(59, 130, 246, 0.18);
}

.hero__image {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center 22%;
}

.hero__overlay {
  position: absolute;
  inset: 0;

  pointer-events: none;

  background:
    linear-gradient(
      90deg,
      rgba(1, 5, 12, 0.42) 0%,
      rgba(1, 5, 12, 0.16) 42%,
      transparent 68%
    );
}

.hero__content {
  position: relative;
  z-index: 2;

  width: min(1460px, calc(100% - 64px));
  height: 100%;
  margin-inline: auto;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;

  padding-top: 4px;
  padding-bottom: 22px;
}

.hero__eyebrow {
  margin-bottom: 18px;

  color: rgba(90, 160, 255, 0.84);

  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.hero__title {
  margin: 0;

  color: #ffffff;

  font-size: clamp(48px, 3.9vw, 66px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.98;
  text-transform: uppercase;
}

.hero__title span {
  display: block;
}

.hero__title-accent {
  margin-top: 7px;

  background:
    linear-gradient(
      180deg,
      #88c8ff 0%,
      #479eff 45%,
      #0f67e4 100%
    );

  background-clip: text;
  -webkit-background-clip: text;

  color: transparent;
  -webkit-text-fill-color: transparent;
}

.hero__description {
  max-width: 430px;
  margin: 26px 0 0;

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

  font-size: 15px;
  line-height: 1.7;
}


/* =========================================================
   HERO BUTTONS
   ========================================================= */

.hero__actions {
  margin-top: 30px;

  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-button {
  min-height: 50px;
  padding: 0 22px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  border: 1px solid transparent;
  border-radius: 4px;

  color: #ffffff;

  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.025em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;

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

.hero-button svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;

  transition: transform 180ms ease;
}

.hero-button:hover,
.hero-button:focus-visible {
  transform: translateY(-2px);
}

.hero-button:hover svg,
.hero-button:focus-visible svg {
  transform: translateX(4px);
}

.hero-button--primary {
  background:
    linear-gradient(
      135deg,
      #1763d5 0%,
      #0b3d92 100%
    );

  border-color: rgba(89, 153, 255, 0.48);

  box-shadow:
    0 10px 28px rgba(5, 49, 126, 0.27);
}

.hero-button--primary:hover,
.hero-button--primary:focus-visible {
  background:
    linear-gradient(
      135deg,
      #2174ed 0%,
      #0d4bac 100%
    );

  border-color: rgba(113, 174, 255, 0.75);

  box-shadow:
    0 13px 34px rgba(6, 68, 168, 0.36);
}

.hero-button--secondary {
  background: rgba(3, 12, 26, 0.48);

  border-color: rgba(48, 119, 232, 0.72);

  color: #f4f7fb;

  box-shadow:
    inset 0 0 0 1px rgba(25, 83, 178, 0.05);
}

.hero-button--secondary:hover,
.hero-button--secondary:focus-visible {
  background: rgba(10, 31, 64, 0.76);

  border-color: rgba(92, 153, 250, 0.92);

  box-shadow:
    0 8px 22px rgba(2, 34, 87, 0.24);
}


/* =========================================================
   HERO SERVICE ICONS
   ========================================================= */



.hero-services {
  width: 535px;
  margin-top: 32px;

  display: grid;
  grid-template-columns: repeat(5, 88px);
  justify-content: start;
  align-items: start;
  column-gap: 23px;

  transform: translateY(-8px);
}

.hero-service {
  width: 88px;
  min-width: 0;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;

  color: #ffffff;

  text-align: center;
  text-decoration: none !important;

  transition: transform 180ms ease;
}

.hero-service:hover,
.hero-service:focus-visible {
  transform: translateY(-2px);
  text-decoration: none !important;
}

.hero-service__icon {
  width: 41px;
  height: 41px;

  display: grid;
  place-items: center;

  color: #338cff;

  filter: drop-shadow(0 0 9px rgba(51, 140, 255, 0.18));
}

.hero-service__icon svg {
  width: 42px;
  height: 42px;

  fill: none;
  stroke: currentColor;
  stroke-width: 2.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-service__label {
  display: block;
  width: 100%;
  max-width: 88px;

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

  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.055em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none !important;
  text-transform: uppercase;
}


/* =========================================================
   RELIABILITY CARD
   ========================================================= */

.hero-card {
  position: absolute;
  z-index: 5;

  right: 340px;
  bottom: 92px;

  box-sizing: border-box;
  width: 360px;
  min-height: 142px;
  padding: 20px 22px;

  display: grid;
  grid-template-columns: 58px 1fr;
  align-items: center;
  gap: 18px;

  background:
    linear-gradient(
      135deg,
      rgba(8, 18, 32, 0.985) 0%,
      rgba(3, 10, 20, 0.975) 100%
    );

  border: 1px solid rgba(89, 153, 255, 0.28);
  border-radius: 8px;

  box-shadow:
    0 22px 48px rgba(0, 0, 0, 0.44),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hero-card__icon {
  width: 58px;
  height: 68px;

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

  color: #3b92ff;

  filter:
    drop-shadow(0 0 10px rgba(42, 127, 247, 0.24));
}

.hero-card__icon svg {
  width: 56px;
  height: 64px;

  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-card__body {
  min-width: 0;
}

.hero-card__heading {
  display: flex;
  flex-direction: column;
  gap: 3px;

  color: #ffffff;

  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.012em;
  line-height: 1.06;
  text-transform: uppercase;
}

.hero-card__heading span {
  display: block;
  white-space: nowrap;
}

.hero-card__heading-accent {
  background:
    linear-gradient(
      180deg,
      #83c5ff 0%,
      #459bff 42%,
      #1c72e6 100%
    );

  background-clip: text;
  -webkit-background-clip: text;

  color: transparent;
  -webkit-text-fill-color: transparent;
}

.hero-card__details {
  position: relative;

  margin-top: 13px;
  padding-left: 15px;

  display: flex;
  flex-direction: column;
  gap: 3px;

  color: rgba(241, 245, 251, 0.88);

  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.25;
}

.hero-card__details::before {
  content: "";

  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;

  width: 3px;
  border-radius: 3px;

  background:
    linear-gradient(
      180deg,
      #65b1ff 0%,
      #176fe3 100%
    );

  box-shadow:
    0 0 9px rgba(47, 132, 255, 0.20);
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1400px) {
  .hero {
    height: 620px;
  }

  .hero__content {
    width: calc(100% - 48px);
  }

  .hero__title {
    font-size: clamp(44px, 3.7vw, 60px);
  }


  .hero-card {
    right: 285px;
    bottom: 120px;

    width: 350px;
    min-height: 136px;
    padding: 18px 20px;

    grid-template-columns: 50px 1fr;
    gap: 16px;
  }

  .hero-card__icon {
    width: 50px;
    height: 58px;
  }

  .hero-card__icon svg {
    width: 48px;
    height: 56px;
  }

  .hero-card__heading {
    font-size: 14.5px;
  }

  .hero-card__details {
    font-size: 12px;
  }
}

@media (max-width: 1120px) {
  .hero {
    height: auto;
    min-height: 680px;
  }

  .hero__content {
    height: auto;
    min-height: 680px;
    padding-block: 68px;
  }

  .hero-services {
    width: min(620px, 100%);
  }

  .hero-card {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 760px;
  }

  .hero__image {
    object-position: 62% 26%;
  }

  .hero__overlay {
    background:
      linear-gradient(
        90deg,
        rgba(1, 5, 12, 0.92) 0%,
        rgba(1, 5, 12, 0.74) 58%,
        rgba(1, 5, 12, 0.28) 100%
      );
  }

  .hero__content {
    width: calc(100% - 36px);
    min-height: 760px;
    padding-block: 54px;
  }

  .hero__title {
    font-size: clamp(36px, 8vw, 48px);
  }

  .hero__description {
    max-width: 415px;
    font-size: 14px;
  }

  .hero__actions {
    margin-top: 24px;
    gap: 12px;
  }

  .hero-button {
    min-height: 47px;
    padding-inline: 17px;

    font-size: 10.5px;
  }

  .hero-services {
    width: 100%;

    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px 14px;
  }
}

@media (max-width: 520px) {
  .hero {
    min-height: 860px;
  }

  .hero__image {
    object-position: 70% 28%;
  }

  .hero__content {
    width: calc(100% - 30px);
    min-height: 860px;
  }

  .hero__title {
    font-size: clamp(32px, 10vw, 42px);
  }

  .hero__actions {
    width: 100%;

    flex-direction: column;
    align-items: stretch;
  }

  .hero-button {
    width: 100%;
  }

  .hero-services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
/* =========================================================
   HERO CREDENTIALS
   ========================================================= */

.hero-credentials {
    width: 535px;          /* Match the service icons width */
    margin-top: 26px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;

    color: rgba(255,255,255,.88);

    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.hero-credentials::before,
.hero-credentials::after {
    content: "";
    flex: 1;
    height: 1px;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(70,140,255,.45)
    );
}

.hero-credentials::after {
    background: linear-gradient(
        90deg,
        rgba(70,140,255,.45),
        transparent
    );
}

.hero-credentials__icon {
    width: 28px;
    height: 28px;

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

    color: #338cff;
}

.hero-credentials__icon svg {
    width: 28px;
    height: 28px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hero-credentials__dot {
    width: 5px;
    height: 5px;

    border-radius: 50%;

    background: #338cff;

    box-shadow: 0 0 8px rgba(51,140,255,.45);
}