/* ============================================================
   KKRF TECH — Contact Us Page
   Extends saas-development.css design system.
   Black + white + blue accent. Fully responsive.
   ============================================================ */

/* Ensure new sections stay within viewport */
.cchan, .cform, .coff {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* ═══════════════════════════════════════════════════════════
   CONTACT CHANNELS — off-white
   ══════════════════════════════════════════════════════════ */
.cchan {
  padding: 112px 0;
  background: var(--S-offwhite);
  border-top: 1px solid var(--S-line);
  border-bottom: 1px solid var(--S-line);
}
.cchan__head {
  max-width: 760px;
  margin-bottom: 64px;
}
.cchan__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--S-line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--S-white);
}
.cchan__card {
  padding: 36px 30px;
  border-right: 1px solid var(--S-line);
  background: var(--S-white);
  transition: background .3s var(--snap), transform .3s var(--snap);
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}
.cchan__card:last-child { border-right: none; }
.cchan__card:hover {
  background: var(--S-blue-t);
}
.cchan__ic {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--S-blue-t);
  color: var(--S-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  transition: background .25s, color .25s;
}
.cchan__ic svg { width: 22px; height: 22px; }
.cchan__card:hover .cchan__ic { background: var(--S-blue); color: #fff; }
.cchan__card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--S-ink);
  margin: 0;
}
.cchan__card p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--S-muted);
  margin: 0;
  flex: 1;
}
.cchan__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--S-blue);
  margin-top: 8px;
  letter-spacing: -.01em;
  transition: gap .25s, color .25s;
}
.cchan__link:hover { color: var(--S-blue-d); gap: 10px; }


/* ═══════════════════════════════════════════════════════════
   MAIN FORM SECTION — pure black
   ══════════════════════════════════════════════════════════ */
.cform {
  padding: 120px 0;
  background: var(--S-black);
  position: relative;
  overflow: hidden;
}
.cform::before {
  content: "";
  position: absolute;
  top: -150px; right: -150px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(21,116,255,.18), transparent 65%);
  filter: blur(40px);
  pointer-events: none;
}
.cform::after {
  content: "";
  position: absolute;
  bottom: -200px; left: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(21,116,255,.10), transparent 65%);
  filter: blur(30px);
  pointer-events: none;
}
.cform__in {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: start;
}

/* Left column */
.cform__title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 56px);
  font-weight: 900;
  line-height: 1.03;
  letter-spacing: -.05em;
  color: var(--S-white);
  margin: 16px 0 20px;
  max-width: 14ch;
  text-wrap: balance;
}
.cform__sub {
  color: rgba(255,255,255,.5);
  line-height: 1.72;
  font-size: 15.5px;
  max-width: 46ch;
}
.cform__list {
  list-style: none;
  padding: 0;
  margin: 36px 0 0;
  border-top: 1px solid rgba(255,255,255,.08);
}
.cform__list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  font-size: 14.5px;
  color: rgba(255,255,255,.7);
  line-height: 1.6;
}
.cform__check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--S-blue-t2);
  color: var(--S-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  margin-top: 1px;
}

.cform__sig {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.cform__sig-label {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: 14px;
}
.cform__sig-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}
.cform__sig-row span {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -.025em;
  color: rgba(255,255,255,.45);
}
.cform__sig-row i {
  color: var(--S-blue);
  opacity: .55;
  font-style: normal;
  font-size: 9px;
}
.cform__sig-logo {
  height: 28px;
  width: auto;
  max-width: 90px;
  object-fit: contain;
  opacity: .85;
}

/* Right column — form card */
.cform__card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  padding: clamp(28px, 3.5vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.cform__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.cform__row--inline { grid-template-columns: 1fr; }
.cform__field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.cform__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
}
.cform__label em {
  font-style: normal;
  color: rgba(255,255,255,.3);
  text-transform: none;
  letter-spacing: 0;
}
.cform__card input,
.cform__card textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 7px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  color: var(--S-white);
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color .2s, background .2s, box-shadow .2s;
  box-sizing: border-box;
  resize: vertical;
}
.cform__card input::placeholder,
.cform__card textarea::placeholder { color: rgba(255,255,255,.25); }
.cform__card input:focus,
.cform__card textarea:focus {
  outline: none;
  border-color: var(--S-blue);
  background: rgba(21,116,255,.08);
  box-shadow: 0 0 0 3px rgba(21,116,255,.15);
}

/* Topic chips */
.cform__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cform__chip {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -.01em;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.7);
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s, transform .2s var(--snap);
}
.cform__chip:hover {
  border-color: rgba(255,255,255,.3);
  color: var(--S-white);
}
.cform__chip.is-active {
  background: var(--S-blue);
  border-color: var(--S-blue);
  color: #fff;
}

/* Checkbox */
.cform__check-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: rgba(255,255,255,.7);
  cursor: pointer;
  user-select: none;
}
.cform__check-wrap input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.2);
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  transition: background .2s, border-color .2s;
}
.cform__check-wrap input[type="checkbox"]:checked {
  background: var(--S-blue);
  border-color: var(--S-blue);
}
.cform__check-wrap input[type="checkbox"]:checked::after {
  content: "✓";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.cform__msg {
  font-size: 13px;
  min-height: 18px;
  margin: 0;
  transition: color .2s;
}
.cform__fine {
  font-size: 12px;
  color: rgba(255,255,255,.35);
  margin: 4px 0 0;
  line-height: 1.6;
}
.cform__fine a {
  color: rgba(255,255,255,.65);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cform__fine a:hover { color: var(--S-blue); }


/* ═══════════════════════════════════════════════════════════
   OFFICES — white
   ══════════════════════════════════════════════════════════ */
.coff {
  padding: 112px 0;
  background: var(--S-white);
  border-top: 1px solid var(--S-line);
}
.coff__head {
  max-width: 760px;
  margin-bottom: 56px;
}
.coff__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.coff__card {
  background: var(--S-offwhite);
  border: 1px solid var(--S-line);
  border-radius: 12px;
  padding: 32px 28px;
  transition: background .3s var(--snap), border-color .3s, transform .3s var(--snap);
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}
.coff__card:hover {
  background: var(--S-white);
  border-color: var(--S-blue-t2);
  transform: translateY(-3px);
  box-shadow: 0 14px 36px -22px rgba(21,116,255,.4);
}
.coff__flag {
  font-size: 28px;
  line-height: 1;
  margin-bottom: 6px;
}
.coff__region {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--S-blue);
}
.coff__card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.025em;
  color: var(--S-ink);
  margin: 4px 0 6px;
}
.coff__card p {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--S-muted);
  margin: 0;
}
.coff__meta {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--S-line);
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
}
.coff__meta a {
  font-family: var(--mono);
  font-weight: 500;
  color: var(--S-ink);
  letter-spacing: -.01em;
  transition: color .2s;
}
.coff__meta a:hover { color: var(--S-blue); }
.coff__meta span {
  font-size: 12px;
  color: var(--S-muted);
}


/* ═══════════════════════════════════════════════════════════
   FINAL CTA — quick contact cards
   ══════════════════════════════════════════════════════════ */
.lcta__quick {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.lcta__quick-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 22px 20px;
  border-radius: 10px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  color: var(--S-white);
  text-decoration: none;
  position: relative;
  transition: background .25s, border-color .25s, transform .25s var(--snap);
}
.lcta__quick-card:hover {
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.2);
  transform: translateY(-2px);
}
.lcta__quick-card--accent {
  background: var(--S-blue);
  border-color: var(--S-blue);
}
.lcta__quick-card--accent:hover {
  background: var(--S-blue-d);
  border-color: var(--S-blue-d);
}
.lcta__quick-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
}
.lcta__quick-card--accent .lcta__quick-label { color: rgba(255,255,255,.8); }
.lcta__quick-value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -.02em;
}
.lcta__quick-arr {
  position: absolute;
  top: 22px;
  right: 22px;
  font-size: 15px;
  opacity: .55;
  transition: transform .25s var(--snap), opacity .25s;
}
.lcta__quick-card:hover .lcta__quick-arr {
  opacity: 1;
  transform: translate(3px, -3px);
}


/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — Tablet ≤ 1024px
   ══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .cchan, .cform, .coff {
    padding-top: 88px;
    padding-bottom: 88px;
  }
  .cchan__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cchan__card:nth-child(2) { border-right: none; }
  .cchan__card:nth-child(1),
  .cchan__card:nth-child(2) { border-bottom: 1px solid var(--S-line); }
  .cchan__card:nth-child(3) { border-right: 1px solid var(--S-line); }

  .cform__in {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .cform__title { max-width: 18ch; }

  .coff__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .lcta__quick {
    grid-template-columns: 1fr;
  }
}


/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — Phone ≤ 768px
   ══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .cchan, .cform, .coff {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .cchan__head { margin-bottom: 44px; }
  .cchan__grid {
    grid-template-columns: 1fr;
    border-radius: 10px;
  }
  .cchan__card {
    border-right: none !important;
    border-bottom: 1px solid var(--S-line);
    padding: 28px 24px;
  }
  .cchan__card:last-child { border-bottom: none; }

  .cform__card { padding: 24px 22px; }
  .cform__row { grid-template-columns: 1fr; gap: 14px; }
  .cform__card input,
  .cform__card textarea { font-size: 16px; } /* prevent iOS zoom */
  .cform__chips { gap: 6px; }
  .cform__chip { font-size: 12.5px; padding: 8px 12px; }
  .cform__title { font-size: clamp(28px, 8vw, 42px); }

  .coff__head { margin-bottom: 40px; }
  .coff__grid { grid-template-columns: 1fr; gap: 14px; }
  .coff__card { padding: 26px 22px; }

  .lcta__quick-card { padding: 20px 18px; }
  .lcta__quick-arr { top: 18px; right: 18px; }
}


/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — Small phone ≤ 480px
   ══════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .cchan, .cform, .coff {
    padding-top: 52px;
    padding-bottom: 52px;
  }
  .cchan__card { padding: 24px 20px; }
  .cchan__card h3 { font-size: 17px; }

  .cform__card { padding: 22px 18px; border-radius: 12px; }
  .cform__list li { font-size: 13.5px; padding: 14px 0; }
  .cform__sig-row span { font-size: 16px; }

  .coff__card { padding: 24px 20px; }
  .coff__card h3 { font-size: 20px; }

  .lcta__quick-value { font-size: 16px; }
}


/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — Very small ≤ 360px
   ══════════════════════════════════════════════════════════ */
@media (max-width: 360px) {
  .cform__chip { font-size: 12px; padding: 7px 10px; }
  .cform__card input,
  .cform__card textarea { padding: 12px 14px; }
}
