/* =====================================================================
   CONTACT PAGE  -  assets/css/contact-page.css
   Quick contact cards + FAQ. (Banner = page-banner.css,
   form/details/map = contact.css)
   ===================================================================== */
:root {
  --cp-max: 1180px;
  --cp-title: #0b4a96;
  --cp-text: #2a4a68;
}

/* ---------- quick contact cards (overlap the banner) ---------- */
.cq {
  position: relative;
  z-index: 3;
  margin-top: calc(clamp(38px, 5vw, 72px) * -1);
  padding-bottom: clamp(36px, 5vw, 64px);
}
.cq__grid {
  width: min(var(--cp-max), 100% - 40px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.8vw, 24px);
}
.cqc {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 26px 24px 24px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(15, 95, 174, 0.1);
  box-shadow: 0 18px 40px rgba(15, 95, 174, 0.14);
  color: inherit;
  transition:
    transform 0.45s var(--ease),
    box-shadow 0.45s;
}
.cqc::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
a.cqc:hover,
.cqc:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 54px rgba(15, 95, 174, 0.22);
}
.cqc:hover::after {
  transform: scaleX(1);
}
.cqc__ic {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: var(--grad);
  box-shadow: 0 12px 22px rgba(15, 95, 174, 0.3);
  margin-bottom: 14px;
  transition:
    rotate 0.5s var(--ease),
    border-radius 0.5s var(--ease);
}
.cqc:hover .cqc__ic {
  rotate: -8deg;
  border-radius: 50%;
}
.cqc__ic svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cqc__k {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
}
.cqc__v {
  font-family: var(--head);
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.35;
  color: var(--cp-title);
  word-break: break-word;
}
.cqc__a {
  margin-top: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--cp-text);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition:
    gap 0.3s var(--ease),
    color 0.3s;
}
.cqc__a svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
a.cqc:hover .cqc__a {
  gap: 11px;
  color: var(--teal);
}

/* ---------- FAQ ---------- */
.faq {
  position: relative;
  padding: clamp(56px, 7vw, 100px) 0;
  background: linear-gradient(180deg, #eaf5fa 0%, #ffffff 100%);
  overflow: hidden;
}
.faq__wrap {
  width: min(var(--cp-max), 100% - 40px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(30px, 5vw, 76px);
  align-items: start;
}
.faq__side {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}
.faq__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 10px;
}
.faq__eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--teal));
}
.faq__title {
  font-family: var(--head);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  color: var(--cp-title);
}
.faq__title b {
  display: block;
  background: linear-gradient(115deg, var(--blue), var(--teal), var(--blue));
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: fshine 6s linear infinite;
}
@keyframes fshine {
  to {
    background-position: -200% 0;
  }
}
.faq__line {
  display: block;
  width: 84px;
  height: 4px;
  border-radius: 4px;
  background: var(--grad);
  margin: 16px 0 18px;
}
.faq__lead {
  color: var(--cp-text);
  line-height: 1.7;
  max-width: 40ch;
}
.faq__help {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 26px;
  padding: 18px 20px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(15, 95, 174, 0.1);
  box-shadow: 0 12px 28px rgba(15, 95, 174, 0.1);
}
.faq__help i {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--grad);
  display: grid;
  place-items: center;
}
.faq__help svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.faq__help span {
  display: block;
  font-size: 0.78rem;
  color: var(--cp-text);
}
.faq__help a {
  font-family: var(--head);
  font-weight: 700;
  color: var(--cp-title);
}
.faq__help a:hover {
  color: var(--teal);
}

.faq__list {
  display: grid;
  gap: 14px;
}
.fq {
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(15, 95, 174, 0.1);
  box-shadow: 0 8px 22px rgba(15, 95, 174, 0.06);
  transition:
    box-shadow 0.35s,
    border-color 0.35s;
}
.fq:hover {
  box-shadow: 0 14px 30px rgba(15, 95, 174, 0.12);
}
.fq[open] {
  border-color: rgba(23, 168, 160, 0.5);
  box-shadow: 0 18px 38px rgba(15, 95, 174, 0.14);
}
.fq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
  font-family: var(--head);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--cp-title);
}
.fq summary::-webkit-details-marker {
  display: none;
}
.fq summary:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: -3px;
  border-radius: 18px;
}
.fq__ic {
  position: relative;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(23, 168, 160, 0.12);
  transition:
    background 0.3s,
    rotate 0.4s var(--ease);
}
.fq__ic::before,
.fq__ic::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--blue);
  transform: translate(-50%, -50%);
  transition: all 0.3s;
}
.fq__ic::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
.fq[open] .fq__ic {
  background: var(--grad);
  rotate: 180deg;
}
.fq[open] .fq__ic::before,
.fq[open] .fq__ic::after {
  background: #fff;
}
.fq[open] .fq__ic::after {
  transform: translate(-50%, -50%) rotate(0);
}
.fq__a {
  padding: 0 24px 22px;
  color: var(--cp-text);
  line-height: 1.7;
  font-size: 0.96rem;
  max-width: 62ch;
}
.fq[open] .fq__a {
  animation: fopen 0.5s var(--ease);
}
@keyframes fopen {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- scroll reveal ---------- */
.has-io .cq [data-reveal],
.has-io .faq [data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease),
    box-shadow 0.45s;
  transition-delay: var(--d, 0s);
}
.has-io .cq [data-reveal="left"],
.has-io .faq [data-reveal="left"] {
  transform: translateX(-44px);
}
.has-io .cq [data-reveal].in,
.has-io .faq [data-reveal].in {
  opacity: 1;
  transform: none;
}
.has-io .cq .cqc.in:hover {
  transform: translateY(-8px);
  transition-delay: 0s;
}

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .cq__grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 860px) {
  .faq__wrap {
    grid-template-columns: 1fr;
  }
  .faq__side {
    position: static;
  }
}
@media (max-width: 540px) {
  .cq__grid {
    grid-template-columns: 1fr;
  }
  .fq summary {
    padding: 18px 18px;
    font-size: 0.98rem;
  }
  .fq__a {
    padding: 0 18px 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cq *,
  .faq * {
    animation: none !important;
    transition: none !important;
  }
  .has-io .cq [data-reveal],
  .has-io .faq [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
