/* =============================================
   APP SUPPORT & MAINTENANCE PAGE — STYLES
============================================= */

/* ================================================
   SECTION 1: HERO
================================================ */
.as-hero {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
}
.as-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  z-index: 0;
}
.as-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(2,2,2,0.95) 0%,
    rgba(2,2,2,0.78) 45%,
    rgba(2,2,2,0.25) 100%);
  z-index: 1;
}
.as-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-top: 50px;
  padding-bottom: 50px;
}
.as-hero-text { display: flex; flex-direction: column; gap: 22px; }
.as-hero-text h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(40px, 5vw, 70px);
  font-weight: 400;
  letter-spacing: -2px;
  line-height: 1.05;
  color: var(--white);
}
.as-hero-text p {
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  color: var(--text);
  line-height: 1.7;
  max-width: 440px;
}
.as-hero-img { display: flex; justify-content: flex-end; }
.as-hero-img img {
  width: 100%;
  max-width: 560px;
  height: 360px;
  object-fit: cover;
  border-radius: 20px;
  display: block;
}


/* ================================================
   SECTION 2: WHAT WE SUPPORT & MAINTAIN (grid)
================================================ */
.as-support {
  padding: 90px 0 60px;
  background: var(--bg);
}
.as-support-head {
  text-align: center;
  max-width: 980px;
  margin: 0 auto 50px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.as-support-h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(30px, 4.2vw, 54px);
  font-weight: 400;
  letter-spacing: -1.5px;
  line-height: 1.1;
  color: var(--white);
}
.as-support-sub {
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  color: var(--text);
  line-height: 1.7;
}
.as-section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(24px, 3.2vw, 40px);
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-align: center;
  color: var(--white);
  margin-bottom: 44px;
}

.as-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--teal);
  border-left: 1px solid var(--teal);
}
.as-cell {
  padding: 40px 36px;
  border-right: 1px solid var(--teal);
  border-bottom: 1px solid var(--teal);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background var(--ease);
}
.as-cell:hover { background: rgba(74,185,183,0.04); }
.as-icon { display: block; }
.as-cell h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.3px;
  line-height: 1.2;
  color: var(--white);
}
.as-cell p {
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  color: var(--text);
  line-height: 1.6;
}


/* ================================================
   SECTION 3: APPROACH (radial shield + 6 labels)
================================================ */
.as-approach {
  padding: 50px 0 90px;
  background: var(--bg);
}
.as-approach-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-areas:
    ".   tc  ."
    "l   c   r"
    "l2  c   r2"
    "bl  c   br";
  gap: 28px 50px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}
.as-approach-center {
  grid-area: c;
  display: flex;
  justify-content: center;
  align-items: center;
}
.as-approach-center img {
  width: 100%;
  max-width: 180px;
  display: block;
}
.as-step {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.as-step h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--teal);
  line-height: 1.25;
}
.as-step p {
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  color: var(--text);
  line-height: 1.55;
}
/* position each label in the radial arrangement */
.as-step--tc { grid-area: tc; text-align: center; }
.as-step--l  { grid-area: l;  text-align: right; }
.as-step--r  { grid-area: r;  text-align: left; }
.as-approach-grid .as-step--l:nth-of-type(5) { grid-area: l2; }
.as-step--bl { grid-area: bl; text-align: center; }
.as-step--br { grid-area: br; text-align: center; }


/* ================================================
   SECTION 4: Kinich Difference (img left + checklist)
================================================ */
.as-difference {
  padding: 70px 0;
  background: var(--bg);
  border-top: 1px solid rgba(51,44,39,0.5);
}
.as-difference-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.as-difference-img img {
  width: 100%;
  max-width: 460px;
  border-radius: 16px;
  object-fit: cover;
  display: block;
  aspect-ratio: 4 / 3;
}
.as-difference-text { display: flex; flex-direction: column; gap: 22px; }
.as-difference-text h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(30px, 3.8vw, 52px);
  font-weight: 400;
  letter-spacing: -1px;
  color: var(--white);
}
.as-checklist {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.as-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--white);
  line-height: 1.5;
}
.as-checklist svg { flex-shrink: 0; margin-top: 1px; }


/* ================================================
   SECTION 5: CTA
================================================ */
.as-cta {
  padding: 80px 0 110px;
  background: var(--bg);
}
.as-cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}
.as-cta h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(26px, 3.8vw, 46px);
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--white);
}
.as-cta p {
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  color: var(--text);
  max-width: 840px;
  line-height: 1.6;
}


/* ================================================
   RESPONSIVE
================================================ */
@media (max-width: 1024px) {
  .as-hero-inner,
  .as-difference-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .as-hero-img { justify-content: center; }
  .as-hero-img img { max-width: 100%; height: 280px; }
  .as-difference-img img { max-width: 100%; }
  .as-hero-overlay {
    background: linear-gradient(180deg, rgba(2,2,2,0.6) 0%, rgba(2,2,2,0.85) 100%);
  }
  .as-grid { grid-template-columns: repeat(2, 1fr); }
  /* flatten radial into single column */
  .as-approach-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "c"
      "tc"
      "l"
      "r"
      "l2"
      "r2"
      "bl"
      "br";
    gap: 24px;
  }
  .as-step--tc,
  .as-step--l,
  .as-step--r,
  .as-step--bl,
  .as-step--br { text-align: center; }
  .as-approach-center img { max-width: 140px; }
}

@media (max-width: 640px) {
  .as-hero { padding-top: 64px; }
  .as-hero-inner { padding-top: 36px; padding-bottom: 36px; }
  .as-hero-text h1 { font-size: 36px; }
  .as-support { padding: 56px 0 40px; }
  .as-grid { grid-template-columns: 1fr; border-left: none; }
  .as-cell { padding: 30px 4px; border-right: none; }
  .as-approach { padding: 32px 0 64px; }
  .as-difference { padding: 48px 0; }
  .as-difference-inner { gap: 28px; }
  .as-cta { padding: 56px 0 72px; }
}
