/* =========================================================
   650 KGL SOCIAL INTEGRATION V1
   Footer + Contact page
   ========================================================= */

:root {
  --kgl-social-navy: #294a7b;
  --kgl-social-deep: #203d68;
  --kgl-social-orange: #d58b45;
  --kgl-social-aqua: #48a9b8;
  --kgl-social-line: rgba(255,255,255,.22);
  --kgl-social-footer-copy: rgba(255,255,255,.80);
}

/* Screen-reader label */
.kgl-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Shared SVG treatment */
.kgl-social-icon-link svg,
.kgl-contact-line-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* =========================================================
   UNIVERSAL FOOTER
   ========================================================= */

.kgl-footer-contact-enhanced {
  font-family: Helvetica, "Helvetica Neue", Arial, sans-serif !important;
}

/* Instagram + TikTok sit directly under Get in touch */
.kgl-footer-social-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 11px 0 13px;
}

.kgl-footer-social-row .kgl-social-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 29px;
  height: 29px;
  padding: 6px;

  border: 1px solid var(--kgl-social-line);
  border-radius: 50%;

  color: rgba(255,255,255,.88) !important;
  background: rgba(255,255,255,.03);

  text-decoration: none !important;

  transition:
    color .2s ease,
    border-color .2s ease,
    background .2s ease,
    transform .2s ease;
}

.kgl-footer-social-row .kgl-social-icon-link:hover,
.kgl-footer-social-row .kgl-social-icon-link:focus-visible {
  color: #fff !important;
  border-color: var(--kgl-social-orange);
  background: rgba(213,139,69,.16);
  transform: translateY(-2px);
  outline: none;
}

/* Email/location with small leading glyphs */
.kgl-footer-contact-line {
  display: flex !important;
  align-items: flex-start;
  gap: 7px;

  width: fit-content;
  max-width: 100%;

  margin: 0 0 6px !important;
  padding: 0 !important;

  color: var(--kgl-social-footer-copy) !important;
  font-family: Helvetica, "Helvetica Neue", Arial, sans-serif !important;
  font-size: 11px !important;
  line-height: 1.4 !important;
  font-weight: 400 !important;

  text-decoration: none !important;
}

a.kgl-footer-contact-line:hover,
a.kgl-footer-contact-line:focus-visible {
  color: #fff !important;
}

.kgl-contact-line-icon {
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  margin-top: 1px;
  color: rgba(255,255,255,.66);
}

.kgl-contact-line-text {
  min-width: 0;
}

/* =========================================================
   CONTACT PAGE
   ========================================================= */

.kgl-contact-social-connect {
  width: min(1120px, calc(100% - 36px));
  margin: clamp(54px, 7vw, 88px) auto;
  padding: clamp(30px, 4vw, 50px);

  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(28px, 5vw, 70px);

  border: 1px solid #e0e6e9;
  border-radius: 16px;

  background:
    radial-gradient(circle at 100% 0, rgba(72,169,184,.09), transparent 32%),
    #fbfaf7;

  font-family: Helvetica, "Helvetica Neue", Arial, sans-serif;
}

.kgl-social-eyebrow {
  margin: 0 0 8px !important;
  color: #9f4a19 !important;
  font: 700 10px/1.2 Helvetica, "Helvetica Neue", Arial, sans-serif !important;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.kgl-contact-social-copy h2 {
  margin: 0 0 11px;
  max-width: 640px;

  color: var(--kgl-social-deep);
  font-family: Helvetica, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.03;
  letter-spacing: -.035em;
  font-weight: 500;
}

.kgl-contact-social-copy > p:last-child {
  max-width: 600px;
  margin: 0 !important;

  color: #667482;
  font-family: Helvetica, "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.55;
}

.kgl-contact-social-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.kgl-contact-social-card {
  min-width: 185px;
  padding: 13px 15px;

  display: grid !important;
  grid-template-columns: 26px 1fr;
  align-items: center;
  gap: 11px;

  border: 1px solid #dde4e7;
  border-radius: 11px;

  background: #fff;
  color: var(--kgl-social-deep) !important;

  text-decoration: none !important;

  transition:
    transform .22s ease,
    border-color .22s ease,
    box-shadow .22s ease;
}

.kgl-contact-social-card > svg {
  width: 25px;
  height: 25px;
}

.kgl-contact-social-card:hover,
.kgl-contact-social-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(41,74,123,.38);
  box-shadow: 0 12px 28px rgba(31,58,99,.09);
  outline: none;
}

.kgl-contact-social-handle {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.kgl-contact-social-handle strong {
  color: var(--kgl-social-deep);
  font-family: Helvetica, "Helvetica Neue", Arial, sans-serif;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 700;
}

.kgl-contact-social-handle small {
  margin-top: 2px;
  color: #707c87;
  font-family: Helvetica, "Helvetica Neue", Arial, sans-serif;
  font-size: 11px;
  line-height: 1.25;
  font-weight: 400;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 820px) {
  .kgl-contact-social-connect {
    grid-template-columns: 1fr;
  }

  .kgl-contact-social-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .kgl-footer-social-row {
    margin-top: 10px;
  }

  .kgl-footer-social-row .kgl-social-icon-link {
    width: 32px;
    height: 32px;
    padding: 7px;
  }

  .kgl-contact-social-connect {
    width: calc(100% - 28px);
    margin: 42px auto;
    padding: 27px 21px;
    border-radius: 13px;
  }

  .kgl-contact-social-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .kgl-contact-social-card {
    width: 100%;
    min-width: 0;
  }
}
