/* Cloud & Infra — Cloud Resilience Solutions */

@import url("https://api.fontshare.com/v2/css?f[]=general-sans@300,400,500&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Mulish:wght@400;600;700;800&display=swap");

.apit-cres-page {
  margin: 0;
  background: #ffffff;
  color: #0b1b2b;
}

.apit-cres-hero {
  position: relative;
  z-index: 1;
  overflow: hidden;
  color: #0b1b2b;
  font-family: "General Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
  padding:
    calc(var(--apit-announce-h, 40px) + var(--apit-header-h, 80px) + 2.5rem)
    4.5vw 4.75rem;
  background:
    radial-gradient(ellipse 55% 50% at 100% 0%, rgba(0, 136, 204, 0.1), transparent 55%),
    linear-gradient(180deg, #f7fafc 0%, #ffffff 55%);
}

.apit-cres-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  align-items: center;
  gap: clamp(1.75rem, 3.5vw, 3.5rem);
  max-width: 1240px;
  margin: 0 auto;
}

.apit-cres-hero-copy {
  max-width: 40rem;
}

.apit-cres-hero-eyebrow {
  margin: 0 0 0.95rem;
  font-family: Mulish, sans-serif;
  font-size: clamp(0.65rem, 0.8vw, 0.74rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0088cc;
}

.apit-cres-hero-title {
  margin: 0;
  font-family: "General Sans", sans-serif;
  font-size: clamp(1.85rem, 3vw, 2.75rem);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -0.03em;
  color: #0b1b2b;
}

.apit-cres-hero-title span {
  display: block;
}

.apit-cres-hero-body {
  margin: 1.1rem 0 0;
  font-family: "General Sans", sans-serif;
  font-size: clamp(0.92rem, 1.05vw, 1.02rem);
  font-weight: 400;
  line-height: 1.65;
  color: rgba(11, 27, 43, 0.78);
}

.apit-cres-hero-body + .apit-cres-hero-body {
  margin-top: 0.85rem;
}

.apit-cres-hero-media {
  position: relative;
  max-width: 28rem;
  width: 100%;
  margin-left: auto;
  min-height: clamp(15rem, 26vw, 20rem);
  border-radius: 1.35rem;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(0, 136, 204, 0.1), rgba(10, 61, 122, 0.06)),
    #eef3f8;
  box-shadow: 0 22px 48px rgba(10, 61, 122, 0.1);
}

.apit-cres-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: clamp(15rem, 26vw, 20rem);
  object-fit: cover;
  object-position: center;
  transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.apit-cres-hero-media:hover img {
  transform: scale(1.04);
}

@media (max-width: 1023.98px) {
  .apit-cres-hero {
    padding:
      calc(var(--apit-announce-h, 40px) + var(--apit-header-h, 72px) + 1.75rem)
      1.25rem 3.25rem;
  }

  .apit-cres-hero-inner {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .apit-cres-hero-media {
    min-height: 14rem;
    max-width: 24rem;
    margin: 0 auto;
    order: -1;
  }

  .apit-cres-hero-media img {
    min-height: 14rem;
  }

  .apit-cres-hero-title {
    font-size: clamp(1.7rem, 6.2vw, 2.2rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .apit-cres-hero-media img {
    transition: none;
  }

  .apit-cres-hero-media:hover img {
    transform: none;
  }
}

/* —— Building Resilience (zigzag flow) —— */
.apit-cres-build {
  position: relative;
  overflow: hidden;
  padding: 5rem 4.5vw 5.75rem;
  font-family: "General Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
  color: #0b1b2b;
  background: #ffffff;
}

.apit-cres-build::before {
  content: "";
  position: absolute;
  top: 8%;
  bottom: 8%;
  left: 50%;
  width: 1px;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(0, 136, 204, 0.35),
    transparent
  );
  transform: translateX(-50%);
  pointer-events: none;
}

.apit-cres-build-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
}

.apit-cres-build-header {
  max-width: 38rem;
  margin: 0 auto 3.5rem;
  text-align: center;
}

.apit-cres-build-title {
  margin: 0 0 1.1rem;
  font-family: "General Sans", sans-serif;
  font-size: clamp(1.75rem, 2.8vw, 2.5rem);
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -0.03em;
  color: #0b1b2b;
}

.apit-cres-build-support {
  margin: 0 auto;
  font-size: clamp(0.96rem, 1.05vw, 1.05rem);
  line-height: 1.68;
  color: rgba(11, 27, 43, 0.7);
}

.apit-cres-build-flow {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.apit-cres-build-step {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.75rem);
  padding: 1.5rem 1.65rem;
  border-radius: 1.5rem;
  background:
    linear-gradient(135deg, rgba(0, 136, 204, 0.06), transparent 55%),
    #f4f8fb;
  border: 1px solid rgba(0, 136, 204, 0.1);
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s ease,
    border-color 0.35s ease,
    background 0.35s ease;
}

.apit-cres-build-step--flip {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  background:
    linear-gradient(-135deg, rgba(0, 136, 204, 0.06), transparent 55%),
    #f7fafc;
}

.apit-cres-build-step--flip .apit-cres-build-visual {
  order: 2;
}

.apit-cres-build-step--flip .apit-cres-build-copy {
  order: 1;
  text-align: right;
}

.apit-cres-build-step:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 136, 204, 0.28);
  box-shadow: 0 22px 48px rgba(10, 61, 122, 0.1);
  background: #ffffff;
}

.apit-cres-build-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 7rem;
}

.apit-cres-build-num {
  font-family: Mulish, sans-serif;
  font-size: clamp(3.2rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.06em;
  color: rgba(0, 136, 204, 0.12);
  user-select: none;
}

.apit-cres-build-step:hover .apit-cres-build-num {
  color: rgba(0, 136, 204, 0.28);
}

.apit-cres-build-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 1.35rem;
  background: #ffffff;
  border: 1px solid rgba(0, 136, 204, 0.18);
  box-shadow: 0 12px 28px rgba(10, 61, 122, 0.08);
  flex-shrink: 0;
}

.apit-cres-build-icon img {
  display: block;
  width: 3rem;
  height: 3rem;
  object-fit: contain;
}

.apit-cres-build-copy {
  min-width: 0;
}

.apit-cres-build-name {
  margin: 0 0 0.65rem;
  font-family: "General Sans", sans-serif;
  font-size: clamp(1.12rem, 1.3vw, 1.3rem);
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: -0.015em;
  color: #0b1b2b;
}

.apit-cres-build-text {
  margin: 0;
  font-size: clamp(0.9rem, 0.98vw, 0.98rem);
  line-height: 1.62;
  color: rgba(11, 27, 43, 0.68);
}

@media (max-width: 1023.98px) {
  .apit-cres-build {
    padding: 3.5rem 1.25rem 3.85rem;
  }

  .apit-cres-build::before {
    display: none;
  }

  .apit-cres-build-header {
    margin-bottom: 2rem;
    text-align: left;
    max-width: none;
  }

  .apit-cres-build-step,
  .apit-cres-build-step--flip {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.25rem 1.2rem 1.4rem;
  }

  .apit-cres-build-step--flip .apit-cres-build-visual,
  .apit-cres-build-step--flip .apit-cres-build-copy {
    order: unset;
  }

  .apit-cres-build-step--flip .apit-cres-build-copy {
    text-align: left;
  }

  .apit-cres-build-visual {
    justify-content: flex-start;
    min-height: 0;
  }

  .apit-cres-build-num {
    font-size: 2.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .apit-cres-build-step {
    transition: none;
  }

  .apit-cres-build-step:hover {
    transform: none;
  }
}

/* —— Key Advantages (pillar strip) —— */
.apit-cres-adv {
  position: relative;
  overflow: hidden;
  padding: 5rem 4.5vw 5.75rem;
  font-family: "General Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
  color: #e8f1f8;
  background:
    radial-gradient(ellipse 50% 45% at 0% 100%, rgba(0, 136, 204, 0.18), transparent 55%),
    radial-gradient(ellipse 45% 40% at 100% 0%, rgba(0, 136, 204, 0.14), transparent 50%),
    linear-gradient(165deg, #06111d 0%, #0b1b2b 50%, #0a2840 100%);
}

.apit-cres-adv-inner {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
}

.apit-cres-adv-header {
  max-width: 40rem;
  margin: 0 0 3rem;
}

.apit-cres-adv-title {
  margin: 0 0 1.05rem;
  font-family: "General Sans", sans-serif;
  font-size: clamp(1.75rem, 2.8vw, 2.5rem);
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.apit-cres-adv-support {
  margin: 0;
  max-width: 34rem;
  font-size: clamp(0.96rem, 1.05vw, 1.05rem);
  line-height: 1.68;
  color: rgba(232, 241, 248, 0.72);
}

.apit-cres-adv-pillars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-radius: 1.4rem;
  overflow: hidden;
  border: 1px solid rgba(0, 180, 255, 0.18);
  background: rgba(255, 255, 255, 0.03);
}

.apit-cres-adv-pillar {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 100%;
  padding: 2rem 1.45rem 1.85rem;
  border-right: 1px solid rgba(0, 180, 255, 0.14);
  transition:
    background 0.35s ease,
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.apit-cres-adv-pillar:last-child {
  border-right: none;
}

.apit-cres-adv-pillar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #0088cc, rgba(62, 196, 255, 0.2));
  opacity: 0.55;
  transition: opacity 0.35s ease, height 0.35s ease;
}

.apit-cres-adv-pillar:hover {
  background: rgba(0, 136, 204, 0.12);
}

.apit-cres-adv-pillar:hover::before {
  opacity: 1;
  height: 4px;
}

.apit-cres-adv-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4.85rem;
  height: 4.85rem;
  margin-top: 0.15rem;
  border-radius: 50%;
  background:
    linear-gradient(145deg, rgba(0, 136, 204, 0.28), rgba(8, 28, 48, 0.9)),
    #0d2236;
  border: 1px solid rgba(0, 180, 255, 0.35);
  box-shadow: 0 0 22px rgba(0, 136, 204, 0.2);
  flex-shrink: 0;
}

.apit-cres-adv-icon img {
  display: block;
  width: 2.55rem;
  height: 2.55rem;
  object-fit: contain;
}

.apit-cres-adv-name {
  margin: 0;
  font-family: "General Sans", sans-serif;
  font-size: clamp(1.02rem, 1.12vw, 1.12rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: #ffffff;
}

.apit-cres-adv-text {
  margin: 0;
  font-size: clamp(0.86rem, 0.94vw, 0.92rem);
  line-height: 1.58;
  color: rgba(232, 241, 248, 0.68);
}

@media (max-width: 1100px) {
  .apit-cres-adv-pillars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .apit-cres-adv-pillar:nth-child(2n) {
    border-right: none;
  }

  .apit-cres-adv-pillar:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(0, 180, 255, 0.14);
  }
}

@media (max-width: 1023.98px) {
  .apit-cres-adv {
    padding: 3.5rem 1.25rem 3.85rem;
  }

  .apit-cres-adv-header {
    margin-bottom: 1.85rem;
  }
}

@media (max-width: 640px) {
  .apit-cres-adv-pillars {
    grid-template-columns: 1fr;
  }

  .apit-cres-adv-pillar {
    border-right: none;
    border-bottom: 1px solid rgba(0, 180, 255, 0.14);
  }

  .apit-cres-adv-pillar:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(0, 180, 255, 0.14);
  }

  .apit-cres-adv-pillar:last-child {
    border-bottom: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .apit-cres-adv-pillar {
    transition: none;
  }
}

/* —— Expertise (skyline mosaic) —— */
.apit-cres-exp {
  position: relative;
  overflow: hidden;
  padding: 5rem 4.5vw 6rem;
  font-family: "General Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
  color: #0b1b2b;
  background:
    radial-gradient(ellipse 60% 50% at 80% 10%, rgba(0, 136, 204, 0.1), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, #eef5fa 100%);
}

.apit-cres-exp-inner {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
}

.apit-cres-exp-header {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(1.25rem, 3vw, 3rem);
  align-items: end;
  margin-bottom: 3.25rem;
  padding-bottom: 1.75rem;
  border-bottom: 2px solid rgba(0, 136, 204, 0.15);
}

.apit-cres-exp-title {
  margin: 0;
  max-width: 14ch;
  font-family: "General Sans", sans-serif;
  font-size: clamp(1.75rem, 2.85vw, 2.55rem);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -0.03em;
  color: #0b1b2b;
}

.apit-cres-exp-support {
  margin: 0;
  max-width: 34rem;
  font-size: clamp(0.96rem, 1.05vw, 1.05rem);
  line-height: 1.68;
  color: rgba(11, 27, 43, 0.7);
}

.apit-cres-exp-skyline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.15rem;
  align-items: end;
}

.apit-cres-exp-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  padding: 1.65rem 1.35rem 1.75rem;
  border-radius: 1.35rem 1.35rem 0.4rem 0.4rem;
  background: #ffffff;
  border: 1px solid rgba(10, 61, 122, 0.08);
  box-shadow: 0 16px 40px rgba(10, 61, 122, 0.06);
  overflow: hidden;
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s ease,
    border-color 0.35s ease;
}

.apit-cres-exp-card:nth-child(1) {
  min-height: 18.5rem;
}

.apit-cres-exp-card:nth-child(2) {
  min-height: 21.5rem;
  margin-bottom: 1.5rem;
}

.apit-cres-exp-card:nth-child(3) {
  min-height: 17.5rem;
}

.apit-cres-exp-card:nth-child(4) {
  min-height: 23rem;
  margin-bottom: 0.75rem;
}

.apit-cres-exp-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 136, 204, 0.28);
  box-shadow: 0 28px 56px rgba(10, 61, 122, 0.12);
}

.apit-cres-exp-num {
  position: absolute;
  top: 0.85rem;
  right: 1rem;
  font-family: Mulish, sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  color: rgba(0, 136, 204, 0.1);
  pointer-events: none;
}

.apit-cres-exp-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4.4rem;
  height: 4.4rem;
  margin: 0.35rem 0 0.25rem;
  border-radius: 0.85rem;
  background:
    linear-gradient(145deg, rgba(0, 136, 204, 0.14), rgba(10, 61, 122, 0.04)),
    #f3f8fc;
  border: 1px solid rgba(0, 136, 204, 0.16);
  transform: rotate(45deg);
  flex-shrink: 0;
}

.apit-cres-exp-icon img {
  display: block;
  width: 2.35rem;
  height: 2.35rem;
  object-fit: contain;
  transform: rotate(-45deg);
}

.apit-cres-exp-name {
  margin: 0.55rem 0 0;
  font-family: "General Sans", sans-serif;
  font-size: clamp(1.02rem, 1.12vw, 1.12rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: #0b1b2b;
}

.apit-cres-exp-text {
  margin: 0;
  font-size: clamp(0.86rem, 0.94vw, 0.92rem);
  line-height: 1.58;
  color: rgba(11, 27, 43, 0.66);
}

@media (max-width: 1100px) {
  .apit-cres-exp-skyline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }

  .apit-cres-exp-card:nth-child(n) {
    min-height: 0;
    margin-bottom: 0;
  }
}

@media (max-width: 1023.98px) {
  .apit-cres-exp {
    padding: 3.5rem 1.25rem 3.85rem;
  }

  .apit-cres-exp-header {
    grid-template-columns: 1fr;
    gap: 0.9rem;
    align-items: start;
    margin-bottom: 2rem;
  }

  .apit-cres-exp-title {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .apit-cres-exp-skyline {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .apit-cres-exp-card {
    transition: none;
  }

  .apit-cres-exp-card:hover {
    transform: none;
  }
}

/* —— Fortify CTA (partner type) —— */
.apit-cres-fortify {
  position: relative;
  overflow: hidden;
  padding: 5rem 4.5vw 5.5rem;
  font-family: "General Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
  color: #ffffff;
  background:
    radial-gradient(ellipse 60% 55% at 0% 0%, rgba(0, 180, 255, 0.18), transparent 55%),
    radial-gradient(ellipse 50% 45% at 100% 100%, rgba(0, 136, 204, 0.2), transparent 50%),
    linear-gradient(155deg, #071525 0%, #0b1b2b 45%, #0a3d7a 100%);
}

.apit-cres-fortify::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 136, 204, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 136, 204, 0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
  pointer-events: none;
}

.apit-cres-fortify-inner {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
}

.apit-cres-fortify-top {
  max-width: 48rem;
}

.apit-cres-fortify-title {
  margin: 0;
  font-family: "General Sans", sans-serif;
  font-size: clamp(1.75rem, 2.9vw, 2.55rem);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.apit-cres-fortify-body {
  margin: 1.15rem 0 0;
  font-size: clamp(0.96rem, 1.06vw, 1.05rem);
  line-height: 1.68;
  color: rgba(232, 241, 248, 0.78);
}

.apit-cres-fortify-body + .apit-cres-fortify-body {
  margin-top: 0.8rem;
}

.apit-cres-fortify-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.75rem;
  padding: 0.95rem 1.45rem;
  border-radius: 999px;
  background: #0088cc;
  color: #ffffff;
  text-decoration: none;
  font-family: Mulish, sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 14px 36px rgba(0, 136, 204, 0.35);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease,
    color 0.3s ease;
}

.apit-cres-fortify-btn:hover {
  transform: translateY(-3px);
  background: #3ec4ff;
  color: #071525;
  box-shadow: 0 20px 44px rgba(62, 196, 255, 0.35);
}

.apit-cres-fortify-btn span {
  font-size: 1.1em;
  line-height: 1;
  transition: transform 0.25s ease;
}

.apit-cres-fortify-btn:hover span {
  transform: translateX(4px);
}

@media (max-width: 1023.98px) {
  .apit-cres-fortify {
    padding: 3.5rem 1.25rem 3.85rem;
  }

  .apit-cres-fortify-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .apit-cres-fortify-btn,
  .apit-cres-fortify-btn span {
    transition: none;
  }

  .apit-cres-fortify-btn:hover {
    transform: none;
  }

  .apit-cres-fortify-btn:hover span {
    transform: none;
  }
}
