
/* =====================================
   PTN COMMITMENT BANNER
   All styles are scoped to this section.
   ===================================== */

.ptns-commitment {
  --pc-red: var(--ptns-color-0, #ed2433);
  --pc-blue: var(--ptns-color-1, #65b5ff);
  --pc-white: var(--ptns-color-2, #ffffff);
  --pc-muted: var(--ptns-color-3, #bdcadb);

  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 64px 26px;
  background: var(--ptns-color-4, #0c192d);
  color: var(--pc-white);
  font-family: inherit;
}

/* Subtle technical grid */
.ptns-commitment::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(var(--ptns-color-5, rgba(255,255,255,.025)) 1px, transparent 1px),
    linear-gradient(90deg, var(--ptns-color-5, rgba(255,255,255,.025)) 1px, transparent 1px);
  background-size: 46px 46px;
  pointer-events: none;
}

/* Soft red and blue light */
.ptns-commitment::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(
      ellipse at 0% 100%,
      var(--ptns-color-6, rgba(237,36,51,.15)),
      transparent 48%
    ),
    radial-gradient(
      ellipse at 100% 0%,
      var(--ptns-color-7, rgba(40,120,200,.19)),
      transparent 53%
    );
  pointer-events: none;
}

.ptns-commitment,
.ptns-commitment * {
  box-sizing: border-box;
}

.ptns-commitment .pc-shell {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: .85fr 1.4fr;
  gap: 58px;
  align-items: center;
}

/* LEFT INTRODUCTION */

.ptns-commitment .pc-intro {
  min-width: 0;
}

.ptns-commitment .pc-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--ptns-color-8, #dce5f2);
  font-size: 11px;
  line-height: 1.6;
  font-weight: 700;
  letter-spacing: 2.4px;
}

.ptns-commitment .pc-eyebrow::before {
  content: "";
  display: block;
  width: 26px;
  height: 3px;
  flex-shrink: 0;
  background: var(--pc-red);
}

.ptns-commitment .pc-title {
  margin: 0 0 19px;
  padding: 0;
  color: var(--ptns-color-2, #ffffff);
  font-family: inherit;
  font-size: clamp(32px, 3.3vw, 46px);
  font-weight: 750;
  line-height: 1.12;
  letter-spacing: -1.4px;
  text-transform: none;
}

.ptns-commitment .pc-title span {
  color: var(--pc-red);
}

.ptns-commitment .pc-description {
  max-width: 365px;
  margin: 0 0 27px;
  color: var(--pc-muted);
  font-size: 14px;
  line-height: 1.85;
}

.ptns-commitment .pc-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  max-width: 100%;
  padding: 13px 19px;
  border: 1px solid var(--pc-red);
  border-radius: 7px;
  background: var(--pc-red);
  color: var(--ptns-color-2, #ffffff);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  transition:
    background .25s ease,
    border-color .25s ease,
    transform .25s ease;
}

.ptns-commitment .pc-contact:hover {
  background: var(--ptns-color-9, #cf1827);
  border-color: var(--ptns-color-9, #cf1827);
  color: var(--ptns-color-2, #ffffff);
  transform: translateY(-2px);
}

.ptns-commitment .pc-contact svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.ptns-commitment .pc-contact:focus-visible {
  outline: 3px solid var(--pc-blue);
  outline-offset: 5px;
}

/* RIGHT FEATURE GRID */

.ptns-commitment .pc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  min-width: 0;
}

.ptns-commitment .pc-feature {
  position: relative;
  overflow: hidden;
  min-width: 0;
  padding: 23px 18px 21px;
  border: 1px solid var(--ptns-color-10, rgba(255,255,255,.11));
  border-radius: 12px;
  background: var(--ptns-color-11, rgba(255,255,255,.035));
  transition:
    transform .25s ease,
    border-color .25s ease,
    background .25s ease;
}

.ptns-commitment .pc-feature:hover {
  transform: translateY(-4px);
  border-color: var(--ptns-color-12, rgba(237,36,51,.6));
  background: var(--ptns-color-13, rgba(255,255,255,.065));
}

/* Small red accent appears on hover */
.ptns-commitment .pc-feature::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 18px;
  right: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--pc-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}

.ptns-commitment .pc-feature:hover::after {
  transform: scaleX(1);
}

.ptns-commitment .pc-feature-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
}

.ptns-commitment .pc-icon {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  flex-shrink: 0;
  border: 1px solid var(--ptns-color-14, rgba(237,36,51,.22));
  border-radius: 11px;
  background: var(--ptns-color-15, rgba(237,36,51,.11));
  color: var(--ptns-color-16, #ff6470);
}

.ptns-commitment .pc-icon svg {
  width: 23px;
  height: 23px;
}

.ptns-commitment .pc-feature:nth-child(2) .pc-icon,
.ptns-commitment .pc-feature:nth-child(5) .pc-icon {
  border-color: var(--ptns-color-17, rgba(101,181,255,.22));
  background: var(--ptns-color-18, rgba(101,181,255,.1));
  color: var(--pc-blue);
}

.ptns-commitment .pc-number {
  color: var(--ptns-color-19, #8394ad);
  font-size: 10px;
  line-height: 1;
  letter-spacing: 1px;
}

.ptns-commitment .pc-feature h3 {
  margin: 0 0 9px;
  padding: 0;
  color: var(--ptns-color-2, #ffffff);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -.15px;
}

.ptns-commitment .pc-feature p {
  margin: 0;
  color: var(--pc-muted);
  font-size: 12px;
  line-height: 1.75;
}

/* BOTTOM STRIP */

.ptns-commitment .pc-footer {
  max-width: 1200px;
  margin: 32px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--ptns-color-20, rgba(255,255,255,.1));
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 25px;
}

.ptns-commitment .pc-footer-label {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--ptns-color-8, #dce5f2);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.6;
}

.ptns-commitment .pc-footer-label::before {
  content: "";
  width: 6px;
  height: 6px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--pc-red);
}

.ptns-commitment .pc-sectors {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: var(--ptns-color-21, #95a8c1);
  font-size: 11px;
  line-height: 1.6;
}

/* Optional entrance effect; content stays visible without JS */

@keyframes pcReveal {
  from {
    opacity: .6;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ptns-commitment.pc-visible .pc-intro,
.ptns-commitment.pc-visible .pc-feature {
  animation: pcReveal .6s ease both;
}

.ptns-commitment.pc-visible .pc-feature:nth-child(2) {
  animation-delay: .06s;
}

.ptns-commitment.pc-visible .pc-feature:nth-child(3) {
  animation-delay: .12s;
}

.ptns-commitment.pc-visible .pc-feature:nth-child(4) {
  animation-delay: .18s;
}

.ptns-commitment.pc-visible .pc-feature:nth-child(5) {
  animation-delay: .24s;
}

.ptns-commitment.pc-visible .pc-feature:nth-child(6) {
  animation-delay: .3s;
}

/* TABLET */

@media (max-width: 1024px) {
  .ptns-commitment .pc-shell {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .ptns-commitment .pc-description {
    max-width: 640px;
  }

  .ptns-commitment .pc-title br {
    display: none;
  }
}

/* MOBILE */

@media (max-width: 600px) {
  .ptns-commitment {
    padding: 44px 18px 28px;
  }

  .ptns-commitment .pc-title {
    font-size: 34px;
    letter-spacing: -.9px;
  }

  .ptns-commitment .pc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .ptns-commitment .pc-feature {
    padding: 18px 14px;
  }

  .ptns-commitment .pc-feature-top {
    margin-bottom: 15px;
  }

  .ptns-commitment .pc-feature h3 {
    font-size: 13px;
  }

  .ptns-commitment .pc-feature p {
    font-size: 11px;
  }

  .ptns-commitment .pc-footer {
    margin-top: 24px;
  }
}

@media (max-width: 359px) {
  .ptns-commitment .pc-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ptns-commitment *,
  .ptns-commitment *::after {
    animation: none !important;
    transition: none !important;
  }

  .ptns-commitment .pc-feature:hover,
  .ptns-commitment .pc-contact:hover {
    transform: none;
  }
}

.ptns-commitment .elementor-icon{line-height:1;}
.ptns-commitment i{font-size:20px;}
