/* ============================================================
   WEBCOSS REUSABLE PROJECT SECTIONS
   Shared FAQ and project CTA styles used across all public pages.
   Keep these rules here so page-specific styles cannot hide headings
   or create inconsistent spacing and colours.
============================================================ */


/* ============================================================
   PAGE FAQ
============================================================ */
.webcoss-page-faq-section {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 100px 0;
  background:
    radial-gradient(circle at 92% 8%, rgba(102, 176, 255, 0.18), transparent 30%),
    linear-gradient(135deg, #06163b 0%, #08204e 58%, #0b2b62 100%);
}

.webcoss-page-faq-section::before,
.webcoss-page-faq-section::after {
  position: absolute;
  z-index: -1;
  content: "";
  border: 1px solid rgba(139, 193, 255, 0.13);
  border-radius: 50%;
  pointer-events: none;
}

.webcoss-page-faq-section::before {
  top: -180px;
  right: -130px;
  width: 460px;
  height: 460px;
}

.webcoss-page-faq-section::after {
  left: -180px;
  bottom: -300px;
  width: 620px;
  height: 620px;
}

.webcoss-page-faq-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: clamp(34px, 5vw, 68px);
}

.webcoss-page-faq-intro {
  min-width: 0;
  padding: clamp(26px, 3vw, 38px);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.035));
  box-shadow: 0 22px 55px rgba(1, 15, 52, 0.18);
}

.webcoss-page-faq-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: #98c9ff;
  font-family: var(--heading-font);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.webcoss-page-faq-eyebrow i {
  font-size: 11px;
}

.webcoss-page-faq-section .webcoss-page-faq-intro h2 {
  max-width: 620px;
  margin: 0 0 18px;
  color: #ffffff;
  background: none;
  opacity: 1;
  visibility: visible;
  -webkit-text-fill-color: currentColor;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.13;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.webcoss-page-faq-section .webcoss-page-faq-intro > p {
  max-width: 600px;
  margin: 0;
  color: rgba(255, 255, 255, 0.73);
  font-size: 15px;
  line-height: 1.75;
}

.webcoss-page-faq-support {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 17px;
  background: rgba(2, 19, 57, 0.28);
}

.webcoss-page-faq-support-icon {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  background: #8bc1ff;
  color: #06163c;
  line-height: 1;
}

.webcoss-page-faq-support-icon i {
  display: block;
  margin: 0;
  line-height: 1;
}

.webcoss-page-faq-support strong {
  margin-bottom: 3px;
  color: #ffffff;
  font-size: 14px;
  line-height: 1.35;
}

.webcoss-page-faq-support span {
  color: rgba(255, 255, 255, 0.64);
  font-size: 12px;
  line-height: 1.55;
}

.webcoss-page-faq-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 24px;
}

.webcoss-page-faq-primary,
.webcoss-page-faq-secondary {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 20px;
  border-radius: 14px;
  font-family: var(--heading-font);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.webcoss-page-faq-primary {
  border: 1px solid #8bc1ff;
  background: #8bc1ff;
  color: #06163c;
}

.webcoss-page-faq-primary:hover {
  border-color: #ffffff;
  background: #ffffff;
  color: #06163c;
  transform: translateY(-1px);
}

.webcoss-page-faq-secondary {
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.035);
  color: #ffffff;
}

.webcoss-page-faq-secondary:hover {
  border-color: #8bc1ff;
  color: #a8d4ff;
  transform: translateY(-1px);
}

.webcoss-page-faq-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 23px;
}

.webcoss-page-faq-proof span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 11px;
  line-height: 1.4;
  font-weight: 600;
}

.webcoss-page-faq-proof i {
  color: #6ed7a1;
  font-size: 9px;
}

.webcoss-page-faq-list {
  min-width: 0;
  display: grid;
  gap: 13px;
}

.webcoss-page-faq-item {
  overflow: hidden;
  border: 1px solid #dbe5f0;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(1, 15, 52, 0.08);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.webcoss-page-faq-item:hover {
  border-color: #b8d5f4;
  transform: translateY(-1px);
}

.webcoss-page-faq-item[open] {
  border-color: #8bc1ff;
  box-shadow: 0 14px 34px rgba(34, 103, 189, 0.13);
}

.webcoss-page-faq-item summary {
  min-height: 78px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 38px;
  align-items: center;
  gap: 15px;
  padding: 17px 18px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.webcoss-page-faq-item summary::-webkit-details-marker {
  display: none;
}

.webcoss-page-faq-item summary:focus-visible {
  outline: 3px solid rgba(139, 193, 255, 0.5);
  outline-offset: -3px;
}

.webcoss-page-faq-number {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #edf6ff;
  color: #317bd0;
  font-family: var(--heading-font);
  font-size: 11px;
  line-height: 1;
  font-weight: 800;
}

.webcoss-page-faq-question {
  min-width: 0;
  color: #06163c;
  font-family: var(--heading-font);
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.45;
  font-weight: 700;
}

.webcoss-page-faq-toggle {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d9e4ef;
  border-radius: 11px;
  background: #ffffff;
  color: #06163c;
  line-height: 1;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.webcoss-page-faq-toggle i {
  display: block;
  margin: 0;
  line-height: 1;
}

.webcoss-page-faq-item[open] .webcoss-page-faq-toggle {
  border-color: #8bc1ff;
  background: #8bc1ff;
  transform: rotate(45deg);
}

.webcoss-page-faq-answer {
  padding: 0 18px 22px 75px;
}

.webcoss-page-faq-answer p {
  margin: 0;
  padding-top: 17px;
  border-top: 1px solid #e4ebf3;
  color: #5e6d82;
  font-size: 14px;
  line-height: 1.75;
}

/* ============================================================
   UNIVERSAL PROJECT CTA
============================================================ */
.webcoss-universal-cta {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 96px 0;
  background:
    radial-gradient(circle at 12% 12%, rgba(139, 193, 255, 0.14), transparent 32%),
    linear-gradient(125deg, #06163b 0%, #071e4b 58%, #0b2d66 100%);
}

.webcoss-universal-cta::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  opacity: 0.38;
  background-image:
    linear-gradient(rgba(139, 193, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 193, 255, 0.07) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}

.webcoss-universal-cta::after {
  position: absolute;
  right: -180px;
  bottom: -250px;
  z-index: -1;
  width: 560px;
  height: 560px;
  border: 1px solid rgba(139, 193, 255, 0.13);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.webcoss-universal-cta-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.68fr);
  align-items: center;
  gap: clamp(38px, 6vw, 76px);
}

.webcoss-universal-cta-content {
  min-width: 0;
}

.webcoss-universal-cta-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: #98c9ff;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.webcoss-universal-cta-eyebrow i {
  color: #6ed7a1;
  font-size: 7px;
}

.webcoss-universal-cta .webcoss-universal-cta-content h2 {
  max-width: 820px;
  margin: 0 0 19px;
  color: #ffffff;
  background: none;
  opacity: 1;
  visibility: visible;
  -webkit-text-fill-color: currentColor;
  font-size: clamp(38px, 4.8vw, 60px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.043em;
}

.webcoss-universal-cta .webcoss-universal-cta-content > p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.73);
  font-size: 16px;
  line-height: 1.76;
}

.webcoss-universal-cta-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.webcoss-universal-cta-primary,
.webcoss-universal-cta-secondary {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 23px;
  border-radius: 50px;
  font-family: var(--heading-font);
  font-size: 13px;
  line-height: 1.2;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.webcoss-universal-cta-primary {
  border: 1px solid #8bc1ff;
  background: #8bc1ff;
  color: #06163c;
}

.webcoss-universal-cta-primary:hover {
  border-color: #ffffff;
  background: #ffffff;
  color: #06163c;
  transform: translateY(-1px);
}

.webcoss-universal-cta-secondary {
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.025);
  color: #ffffff;
}

.webcoss-universal-cta-secondary:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  transform: translateY(-1px);
}

.webcoss-universal-cta-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 25px;
}

.webcoss-universal-cta-proof span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 11px;
  line-height: 1.45;
  font-weight: 600;
}

.webcoss-universal-cta-proof i {
  color: #6ed7a1;
  font-size: 9px;
}

.webcoss-universal-cta-panel {
  min-width: 0;
  padding: clamp(25px, 3vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 25px;
  background: #f5f8fc;
  box-shadow: 0 22px 55px rgba(1, 15, 52, 0.2);
}

.webcoss-universal-cta-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 17px;
  color: #3176c4;
  font-size: 10px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.webcoss-universal-cta-status > span {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: #39a66a;
  box-shadow: 0 0 0 4px rgba(57, 166, 106, 0.12);
}

.webcoss-universal-cta .webcoss-universal-cta-panel h3 {
  margin: 0 0 20px;
  color: #06163c;
  background: none;
  opacity: 1;
  visibility: visible;
  -webkit-text-fill-color: currentColor;
  font-size: clamp(24px, 2.4vw, 29px);
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.webcoss-universal-cta-steps {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.webcoss-universal-cta-steps li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 13px;
  padding-bottom: 16px;
  border-bottom: 1px solid #dce5ef;
}

.webcoss-universal-cta-steps li > span {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: #dcecff;
  color: #2367bd;
  font-size: 10px;
  line-height: 1;
  font-weight: 800;
}

.webcoss-universal-cta-steps strong,
.webcoss-universal-cta-steps small {
  display: block;
}

.webcoss-universal-cta-steps strong {
  margin-bottom: 4px;
  color: #06163c;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 800;
}

.webcoss-universal-cta-steps small {
  color: #6f7c8f;
  font-size: 11px;
  line-height: 1.55;
}

.webcoss-universal-cta-response {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 13px 14px;
  border: 1px solid #e2e9f1;
  border-radius: 14px;
  background: #ffffff;
  color: #526078;
  font-size: 11px;
  line-height: 1.5;
  font-weight: 700;
}

.webcoss-universal-cta-response i {
  color: #3979c7;
}

.webcoss-universal-cta-phones {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 12px;
}

.webcoss-universal-cta-phones a {
  min-width: 0;
  display: block;
  padding: 11px 12px;
  border: 1px solid #dbe4ef;
  border-radius: 12px;
  background: #ffffff;
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.webcoss-universal-cta-phones a:hover {
  border-color: #8bc1ff;
  transform: translateY(-1px);
}

.webcoss-universal-cta-phones span,
.webcoss-universal-cta-phones strong {
  display: block;
}

.webcoss-universal-cta-phones span {
  margin-bottom: 3px;
  color: #8490a2;
  font-size: 9px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.webcoss-universal-cta-phones strong {
  overflow-wrap: anywhere;
  color: #06163c;
  font-size: 11px;
  line-height: 1.4;
}

@media (max-width: 1199.98px) {
  .webcoss-page-faq-shell {
    grid-template-columns: minmax(280px, 0.74fr) minmax(0, 1.26fr);
    gap: 34px;
  }

  .webcoss-universal-cta-shell {
    gap: 42px;
  }
}

@media (max-width: 991.98px) {
  .webcoss-page-faq-section,
  .webcoss-universal-cta {
    padding: 82px 0;
  }

  .webcoss-page-faq-shell,
  .webcoss-universal-cta-shell {
    grid-template-columns: 1fr;
  }

  .webcoss-page-faq-intro {
    max-width: 760px;
  }

  .webcoss-universal-cta-panel {
    max-width: 620px;
  }
}

@media (max-width: 767.98px) {
  .webcoss-page-faq-section,
  .webcoss-universal-cta {
    padding: 70px 0;
  }

  .webcoss-page-faq-intro {
    padding: 24px 20px;
    border-radius: 22px;
  }

  .webcoss-page-faq-section .webcoss-page-faq-intro h2,
  .webcoss-universal-cta .webcoss-universal-cta-content h2 {
    font-size: 34px;
  }

  .webcoss-page-faq-item summary {
    grid-template-columns: 36px minmax(0, 1fr) 34px;
    gap: 10px;
    padding: 15px;
  }

  .webcoss-page-faq-number {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .webcoss-page-faq-toggle {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .webcoss-page-faq-answer {
    padding: 0 15px 19px 61px;
  }

  .webcoss-universal-cta-panel {
    border-radius: 22px;
  }
}

@media (max-width: 479.98px) {
  .webcoss-page-faq-primary,
  .webcoss-page-faq-secondary,
  .webcoss-universal-cta-primary,
  .webcoss-universal-cta-secondary {
    width: 100%;
  }

  .webcoss-page-faq-answer {
    padding-left: 15px;
  }

  .webcoss-universal-cta-phones {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .webcoss-page-faq-primary,
  .webcoss-page-faq-secondary,
  .webcoss-page-faq-item,
  .webcoss-page-faq-toggle,
  .webcoss-universal-cta-primary,
  .webcoss-universal-cta-secondary,
  .webcoss-universal-cta-phones a {
    transition: none !important;
  }
}
