/* =========================================================
   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-palette4);
  --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 Enhanced Video Styling (Simplified Hover)
   ------------------------------------- */
.gk-embed-video {
  position: relative !important;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 12px;
  background: #000;
  cursor: pointer;
}

/* Rounded corners for thumbnail and iframe */
.gk-embed-video,
.gk-embed-video img,
.gk-embed-video iframe {
  border-radius: 12px;
  overflow: hidden;
}

/* Play button setup */
.gk-embed-video .play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 84px;
  height: 84px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: transparent;
  border: 3px solid var(--brand-accent, #f18b24);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
}

/* Triangle play icon */
.gk-embed-video .play-btn::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-left: 20px solid var(--brand-accent, #f18b24);
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  transition: border-left-color 0.3s ease;
}

/* Hover effect: fill circle + white play icon */
.gk-embed-video:hover .play-btn {
  background: var(--brand-accent, #f18b24);
  border-color: var(--brand-accent, #f18b24);
}

.gk-embed-video:hover .play-btn::before {
  border-left-color: #fff;
}
.gk-embed-video img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes fadeInScale {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* ---------- 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: 2em;
  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 {
  margin: 2.5rem 0 0;
  display: block;
  padding: 0;
}

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

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

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


.gkfaq dt {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(252,248,245,0.98) 100%);
  border: 1px solid rgba(120, 88, 68, 0.14);
  border-radius: 10px;
  box-shadow:
    0 10px 30px rgba(58, 34, 20, 0.06),
    0 2px 10px rgba(58, 34, 20, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.gkfaq dt:hover {
  transform: translateY(-1px);
  box-shadow:
    0 14px 34px rgba(58, 34, 20, 0.08),
    0 4px 14px rgba(58, 34, 20, 0.05);
  border-color: rgba(194, 131, 72, 0.28);
	border-radius: 10px;
}

.gkfaq dt:has(.gkfaq-toggle[aria-expanded="true"]) {
  border-color: rgba(194, 131, 72, 0.32);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom-color: transparent;
  box-shadow:
    0 4px 0 rgba(58, 34, 20, 0.03);
  transform: none;
}


.gkfaq .gkfaq-toggle {
  appearance: none;
  background: transparent;
  border: none;
  border-radius: 10px;
  width: 100%;
  padding: 22px 82px 22px 24px;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.45;
  text-align: left;
  cursor: pointer;
  position: relative;
  color: var(--text-strong);
  outline: none;
  text-transform: unset;
}

.gkfaq .gkfaq-toggle:focus-visible {
  outline: none;
}


.gkfaq .gkfaq-toggle::before {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(245,236,229,0.95) 100%);
  border: 1px solid rgba(194, 131, 72, 0.24);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
}


.gkfaq .gkfaq-toggle::after {
  content: "";
  position: absolute;
  right: 41px; 
  top: 50%;
  transform: translate(50%, -50%);
  width: 16px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transition: opacity 0.25s ease;
}


.gkfaq dt::before {
  content: "";
  position: absolute;
  right: 41px;
  top: 50%;
  transform: translate(50%, -50%);
  width: 2px;
  height: 16px;
  background: var(--text-strong, #3a2214);
  border-radius: 999px;
  z-index: 1;
  pointer-events: none;
  transition: transform 0.25s ease, opacity 0.25s ease;
}


.gkfaq dt:has(.gkfaq-toggle[aria-expanded="true"])::before {
  transform: translate(50%, -50%) scaleY(0);
  opacity: 0;
}


.gkfaq.is-enhanced dd {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-4px);
  padding: 0 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(252,248,245,0.98) 100%);
  border: 1px solid transparent;
  border-top: none;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  font-size: 0.985rem;
  line-height: 1.75;
  color: var(--text-body);
  transition: max-height .34s ease, padding .34s ease, opacity .24s ease, transform .34s ease;
}


.gkfaq.is-enhanced dt.is-open + dd {
  max-height: 600px;
  opacity: 0.84;
  transform: translateY(0);
  padding: 20px 24px 24px 24px;
  border-color: rgba(194, 131, 72, 0.32);
  box-shadow:
    0 18px 40px rgba(58, 34, 20, 0.09),
    0 5px 16px rgba(58, 34, 20, 0.05);
}

/* ── Responsive ── */
@media (max-width: 767px) {
  .gkfaq {
    gap: 14px;
  }

  .gkfaq .gkfaq-toggle {
    padding: 18px 62px 18px 18px;
    font-size: 1rem;
  }

  .gkfaq .gkfaq-toggle::before {
    right: 12px;
    width: 44px;
    height: 44px;
  }

  .gkfaq .gkfaq-toggle::after {
    right: 34px;
  }

  .gkfaq dt::before {
    right: 34px;
  }

  .gkfaq.is-enhanced dt.is-open + dd {
    padding: 18px 18px 18px 18px;
  }
}

/* Old faq style if needed */
/* 
.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;
  } */
}
