/* =========================================================
   Kadence GKM — CORE CSS (Golden Template)
   ========================================================= */


/* =========================
   Core Variables (Aliases only)
   ========================= */

:root {
  --surface: var(--global-palette9);
  --surface-light: var(--global-palette8);
  --brand-accent: var(--global-palette1);
  --brand-accent-light: var(--global-palette2);
  --border: var(--global-palette7);

  --heading-font: var(--global-heading-font-family);
  --heading-color: var(--global-palette3);
  --text-body: var(--global-palette3);
  --text-strong: var(--global-palette3);
}


/* =========================
   Kadence / Block Fixes
   ========================= */

/* SVG image normalization */
figure.wp-block-kadence-image.image-is-svg svg {
  width: 100%;
  height: auto;
}

/* Intrinsic container fixes */
.kt-blocks-info-box-media-container svg {
  max-width: 100%;
}

/* Background video safety */
.kb-blocks-bg-video-container,
.kb-blocks-bg-video {
  pointer-events: none;
}

/* Mobile background video visibility */
@media (max-width: 767px) {
  .kb-blocks-bg-video-container,
  .kb-blocks-bg-video {
    display: block !important;
    opacity: 1 !important;
  }
}


/* =========================
   GK Components
   ========================= */


/* ---------- Video Ratio ---------- */

.video-ratio {
  position: relative;
  padding-top: 56.25%;
}

.video-ratio > iframe,
.video-ratio > video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}


/* ---------- Lazy Video Embed ---------- */

.gk-embed-video {
  position: relative;
  cursor: pointer;
  overflow: hidden;
}

.gk-embed-video img {
  width: 100%;
  height: auto;
  display: block;
}

.gk-embed-video .play-btn {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.gk-embed-video .play-btn::before {
  content: "▶";
  font-size: 3em;
  color: var(--text-strong);
}


/* ---------- Service List ---------- */

ul.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.service-list li {
  position: relative;
  padding-left: 3.5em;
  margin-bottom: 2rem;
  line-height: 1.4;
}

.service-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0.15em;
  font-size: 2em;
  line-height: 1;

  background-image: var(--gk-bullet-large);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;

  width: calc(var(--gk-bullet-large-set, 0) * 1.25em);
  height: calc(var(--gk-bullet-large-set, 0) * 1.25em);
  opacity: var(--gk-bullet-large-set, 0);
  content: "";
}

.service-list li > strong {
  display: block;
  font-family: var(--heading-font);
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
  color: var(--heading-color);
}

.service-list .meta {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-body);
}


/* ---------- Tech List ---------- */

ul.tech-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tech-list li {
  position: relative;
  padding-left: 1.5em;
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.tech-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0.15em;
  font-size: 1.25em;
  line-height: 1;

  background-image: var(--gk-bullet-small);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;

  width: calc(var(--gk-bullet-small-set, 0) * 0.75em);
  height: calc(var(--gk-bullet-small-set, 0) * 0.75em);
  opacity: var(--gk-bullet-small-set, 0);
  content: "";
}



/* ---------- FAQ ---------- */

.gkfaq {
  --faq-left-gap: 64px;
  --faq-icon-size: 40px;
  margin: 2.5rem 0 0;
}

.gkfaq dt,
.gkfaq dd {
  margin: 0;
}

.gkfaq dt {
  margin-top: 12px;
}

.gkfaq dt:first-of-type {
  margin-top: 0;
}

.gkfaq .gkfaq-toggle {
  appearance: none;
  background: var(--surface);
  border-bottom: 1px solid var(--brand-accent);
  width: 100%;
  padding: 26px 24px 26px var(--faq-left-gap);
  font-family: var(--heading-font);
  font-size: 1.5rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  position: relative;
  color: var(--text-strong);
}

.gkfaq .gkfaq-toggle::before {
  content: "+";
  position: absolute;
  left: calc((var(--faq-left-gap) - var(--faq-icon-size)) / 2);
  top: 50%;
  transform: translateY(-50%);
  width: var(--faq-icon-size);
  height: var(--faq-icon-size);
  border: 2px solid var(--brand-accent);
  border-radius: 50%;
  display: grid;
  place-items: center;
  line-height: 1;
    padding-bottom: 2px;
}

.gkfaq .gkfaq-toggle[aria-expanded="true"]::before {
  content: "–";
}

.gkfaq dd {
  padding: 20px var(--faq-left-gap) 24px;
  line-height: 1.65;
  color: var(--text-body);
}

.gkfaq.is-enhanced dd {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-4px);
  padding: 0 var(--faq-left-gap) 0;
  transition: max-height .34s ease, padding .34s ease, opacity .24s ease, transform .34s ease;
}

.gkfaq.is-enhanced dt.is-open + dd {
  opacity: 1;
  transform: translateY(0);
  padding: 20px var(--faq-left-gap) 85px;
}


/* =========================
   Utilities
   ========================= */

.two-columns {
  columns: 2;
  column-gap: 2em;
}

.showoverflow {
  overflow: visible !important;
}

/* =========================
   Hidden but crawlable phone numbers
   ========================= */
.gk-hidden-phones {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.gk-hidden-phones a {
  display: block;
}


/* =========================
   Responsive
   ========================= */

@media (max-width: 768px) {

  .service-list li {
    padding-left: 3.5em;
  }

  .tech-list li {
    padding-left: 1.75em;
  }

  .gkfaq {
    --faq-left-gap: 52px;
    --faq-icon-size: 34px;
  }

  .gkfaq .gkfaq-toggle {
    padding: 18px 16px 18px var(--faq-left-gap);
    font-size: 1rem;
  }
}

