/* =========================================================
   01. CTA Image Panel
========================================================= */

body.page-web-design .cta-panel__aside {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 360px;
}

body.page-web-design .cta-panel__media {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 1;
  height: 100%;
  margin: 0;
  overflow: hidden;
  pointer-events: none;
}

body.page-web-design .cta-panel__media::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(
      180deg,
      rgba(243, 247, 252, 1) 0%,
      rgba(243, 247, 252, 0.82) 18%,
      rgba(243, 247, 252, 0.24) 42%,
      rgba(243, 247, 252, 0.12) 68%,
      rgba(243, 247, 252, 0.84) 100%
    ),
    linear-gradient(
      90deg,
      rgba(243, 247, 252, 0.86) 0%,
      rgba(243, 247, 252, 0.52) 32%,
      rgba(243, 247, 252, 0.12) 64%,
      rgba(243, 247, 252, 0) 100%
    );
  pointer-events: none;
}

body.page-web-design .cta-panel__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
  opacity: 0.82;
  filter: brightness(0.88) contrast(1.04);
}

body.page-web-design .cta-panel__aside > :not(.cta-panel__media) {
  position: relative;
  z-index: 3;
}

body.page-web-design .cta-panel__aside .btn--ghost {
  border-color: rgba(10, 26, 51, 0.2);
  background: rgba(243, 247, 252, 0.72);
}

/* =========================================================
   02. FAQ Accordion
   Web Design page FAQ section, heading, accordion states, and mobile.
========================================================= */

body.page-web-design .faq-section {
  padding: 90px 20px;
  background: #061a30;
}

body.page-web-design .faq-container {
  max-width: 1120px;
  margin: 0 auto;
}

body.page-web-design .faq-heading {
  text-align: center;
  max-width: 950px;
  margin: 0 auto 50px;
}

body.page-web-design .faq-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #4da3ff;
  margin-bottom: 14px;
}

body.page-web-design .faq-heading h2 {
  font-size: 52px;
  line-height: 1.08;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 18px;
}

body.page-web-design .faq-heading p {
  max-width: 760px;
  margin: 0 auto;
  font-size: 20px;
  line-height: 1.75;
  color: #9bb3c9;
}

body.page-web-design .faq-accordion {
  display: grid;
  gap: 16px;
}

body.page-web-design .faq-item {
  background: #102844;
  border: 1px solid #1d4369;
  border-radius: 18px;
  overflow: hidden;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

body.page-web-design .faq-item:hover {
  border-color: #2a5b8d;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.14);
}

body.page-web-design .faq-question {
  width: 100%;
  background: transparent;
  border: 0;
  padding: 24px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
  cursor: pointer;
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
}

body.page-web-design .faq-question span:first-child {
  flex: 1;
}

body.page-web-design .faq-icon {
  position: relative;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

body.page-web-design .faq-icon::before,
body.page-web-design .faq-icon::after {
  content: '';
  position: absolute;
  background: #ffffff;
  border-radius: 2px;
  transition: all 0.25s ease;
}

body.page-web-design .faq-icon::before {
  width: 18px;
  height: 2px;
  top: 10px;
  left: 2px;
}

body.page-web-design .faq-icon::after {
  width: 2px;
  height: 18px;
  top: 2px;
  left: 10px;
}

body.page-web-design .faq-item.active .faq-icon::after {
  opacity: 0;
  transform: scaleY(0);
}

body.page-web-design .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

body.page-web-design .faq-answer p {
  margin: 0;
  padding: 0 26px 24px;
  font-size: 17px;
  line-height: 1.85;
  color: #9bb3c9;
}

body.page-web-design .faq-item.active .faq-answer {
  max-height: 300px;
}

body.page-web-design .faq-link {
  display: inline-block;
  margin-top: 12px;
  color: #4da3ff;
  font-weight: 700;
  text-decoration: none;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

body.page-web-design .faq-link:hover {
  color: #ffffff;
  transform: translateX(4px);
}

body.page-web-design .faq-heading-full {
  width: 100%;
  text-align: center;
  padding: 0 20px;
  margin-bottom: 60px;
}

body.page-web-design .faq-heading-full h2 {
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  max-width: 1200px;
  margin: 0 auto 20px;
}

body.page-web-design .faq-heading-full p {
  max-width: 900px;
  margin: 0 auto;
  font-size: 20px;
  line-height: 1.8;
  color: #9bb3c9;
}

@media (max-width: 900px) {
  body.page-web-design .faq-section {
    padding: 70px 18px;
  }

  body.page-web-design .faq-heading h2 {
    font-size: 40px;
  }

  body.page-web-design .faq-heading p {
    font-size: 18px;
  }

  body.page-web-design .faq-question {
    padding: 20px 22px;
    font-size: 17px;
  }

  body.page-web-design .faq-answer p {
    padding: 0 22px 22px;
    font-size: 16px;
  }
}

@media (max-width: 640px) {
  body.page-web-design .faq-heading h2 {
    font-size: 34px;
  }

  body.page-web-design .faq-heading p {
    font-size: 16px;
  }

  body.page-web-design .faq-question {
    font-size: 16px;
    padding: 18px 18px;
  }

  body.page-web-design .faq-answer p {
    padding: 0 18px 20px;
  }
}
