/**
 * Homepage closing suite: Our Network → Contact → Footer
 * Single visual flow from light trust band into deep brand footer.
 */

.kisima-close {
  position: relative;
  overflow: hidden;
}

/* ——— Network / clients ——— */
.kisima-close__network {
  padding: clamp(4rem, 8vw, 5.5rem) 1.5rem 3rem;
  background: #f8fafc;
  position: relative;
}

.kisima-close__network::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(37, 99, 235, 0.08), transparent),
    radial-gradient(ellipse 60% 40% at 0% 100%, rgba(5, 150, 105, 0.06), transparent);
  pointer-events: none;
}

.kisima-close__head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.5rem;
  position: relative;
  z-index: 1;
}

.kisima-close__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #2563eb;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.2);
  padding: 0.45rem 1rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.kisima-close__eyebrow--light {
  color: #93c5fd;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.kisima-close__network h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 0.75rem;
  line-height: 1.2;
}

.kisima-close__network .kisima-close__lead {
  color: #64748b;
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0;
}

.kisima-close__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 52rem;
  margin: 0 auto 2.5rem;
  position: relative;
  z-index: 1;
}

.kisima-close__stat {
  text-align: center;
  padding: 1.25rem 1rem;
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

.kisima-close__stat strong {
  display: block;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
  color: #1e40af;
  line-height: 1.2;
}

.kisima-close__stat span {
  display: block;
  font-size: 0.8rem;
  color: #64748b;
  margin-top: 0.35rem;
  font-weight: 500;
}

.kisima-close__logos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.25rem;
  max-width: 72rem;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.kisima-close__logo-card {
  aspect-ratio: 1.35;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.25rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.kisima-close__logo-card:hover {
  transform: translateY(-4px);
  border-color: #93c5fd;
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.12);
}

.kisima-close__logo-card img {
  max-width: 100%;
  max-height: 56px;
  object-fit: contain;
  filter: grayscale(40%);
  opacity: 0.85;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.kisima-close__logo-card:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* Wave: light → dark */
.kisima-close__wave {
  display: block;
  width: 100%;
  height: clamp(48px, 8vw, 80px);
  line-height: 0;
  margin-bottom: -1px;
  background: #f8fafc;
}

.kisima-close__wave svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* ——— Contact band ——— */
.kisima-close__contact {
  padding: clamp(3rem, 7vw, 4.5rem) 1.5rem;
  background: linear-gradient(180deg, #0f172a 0%, #132347 48%, #1e3a8a 100%);
  color: #f8fafc;
  position: relative;
}

.kisima-close__contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 50% at 50% 0%, rgba(56, 189, 248, 0.1), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 80%, rgba(52, 211, 153, 0.08), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.kisima-close__contact-wrap {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
}

.kisima-close__contact-header {
  margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
  position: relative;
  z-index: 2;
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
  text-align: center;
}

.kisima-close__contact-header[data-reveal],
.kisima-close__contact-header.is-visible {
  opacity: 1 !important;
  transform: none !important;
}

.kisima-close__contact-card {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(1.5rem, 4vw, 2rem);
  align-items: stretch;
}

.kisima-close__contact-quick {
  padding: clamp(1.35rem, 3vw, 1.85rem);
  border-radius: 20px;
  background: rgba(8, 15, 30, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

.kisima-close__contact-primary {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.15rem;
  margin-bottom: 1rem;
  border-radius: 16px;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  box-shadow: 0 10px 32px rgba(37, 211, 102, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.kisima-close__contact-primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(37, 211, 102, 0.45);
}

.kisima-close__contact-primary > i {
  font-size: 1.75rem;
  flex-shrink: 0;
}

.kisima-close__contact-primary span {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  text-align: left;
}

.kisima-close__contact-primary strong {
  font-size: 1.05rem;
  font-weight: 800;
}

.kisima-close__contact-primary small {
  font-size: 0.8rem;
  font-weight: 500;
  opacity: 0.92;
}

.kisima-close__eyebrow--contact {
  color: #ffffff;
  background: rgba(37, 99, 235, 0.55);
  border: 1px solid rgba(186, 230, 253, 0.75);
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  box-shadow: 0 4px 18px rgba(37, 99, 235, 0.35);
  text-shadow: none;
}

.kisima-close__contact-header h2 {
  font-size: clamp(1.75rem, 4.5vw, 2.35rem);
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 0.85rem;
  line-height: 1.18;
  -webkit-font-smoothing: antialiased;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}

.kisima-close__contact-header .kisima-close__lead {
  color: #e2e8f0;
  font-size: clamp(1rem, 2.2vw, 1.1rem);
  line-height: 1.65;
  margin: 0 auto;
  max-width: 40rem;
  opacity: 1;
}

.kisima-close__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}

.kisima-close__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.kisima-close__chip--phone {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.kisima-close__chip--phone:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  transform: translateY(-2px);
}

.kisima-close__chip--calc {
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #0f172a;
  border: none;
}

.kisima-close__chip--calc:hover {
  color: #0f172a;
  transform: translateY(-2px);
}

.kisima-close__trust-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.kisima-close__trust-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: #e2e8f0;
}

.kisima-close__trust-list i {
  color: #4ade80;
  font-size: 1.1rem;
  margin-top: 0.1rem;
  flex-shrink: 0;
}

.kisima-close__trust-link {
  color: #7dd3fc;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(125, 211, 252, 0.45);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.kisima-close__trust-link:hover {
  color: #ffffff;
  border-color: #ffffff;
}

.kisima-close__contact [data-reveal]:not(.kisima-close__contact-header) {
  opacity: 1;
  transform: none;
}

.kisima-close__contact [data-reveal]:not(.kisima-close__contact-header):not(.is-visible) {
  opacity: 0.92;
  transform: translateY(8px);
}

.kisima-close__form-panel {
  background: #fff;
  border-radius: 20px;
  padding: clamp(1.5rem, 4vw, 2rem);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.kisima-close__form-head {
  margin-bottom: 1.15rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e2e8f0;
}

.kisima-close__form-head h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 0.35rem;
}

.kisima-close__form-head p {
  font-size: 0.88rem;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

.kisima-close__form-panel label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 0.3rem;
}

.kisima-close__form-panel input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  margin-bottom: 1rem;
  font-size: 1rem;
  font-family: inherit;
}

.kisima-close__form-panel input:focus {
  outline: none;
  border-color: #2563eb;
}

.kisima-close__submit {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.25rem;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.kisima-close__submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.45);
}

/* Responsive */
@media (max-width: 900px) {
  .kisima-close__stats {
    grid-template-columns: 1fr;
  }

  .kisima-close__logos {
    grid-template-columns: repeat(3, 1fr);
  }

  .kisima-close__contact-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .kisima-close__logos {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }

  .kisima-close__logo-card {
    padding: 1rem;
  }

  .kisima-close__chips {
    flex-direction: column;
  }

  .kisima-close__chip {
    justify-content: center;
  }
}

/* ——— Phone only (≤767px) — closing suite ——— */
@media (max-width: 767px) {
  .kisima-close__network {
    padding: 3.5rem max(1.25rem, env(safe-area-inset-left, 0px)) 2.75rem max(1.25rem, env(safe-area-inset-right, 0px));
    background: #fff;
  }

  .kisima-close .kisima-container {
    width: 100%;
    padding-inline: 0;
  }

  .kisima-close__head {
    text-align: left;
    margin-bottom: 1.75rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(37, 99, 235, 0.15);
  }

  .kisima-close__head h2 {
    font-size: clamp(1.45rem, 6.5vw, 1.9rem);
  }

  .kisima-close__logos {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .kisima-close__logo-card {
    padding: 1.15rem 1rem;
    border-radius: 18px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.08);
    background: #fff;
  }

  .kisima-close__logo-card img {
    max-height: 52px;
    filter: none;
    opacity: 1;
  }

  .kisima-close__wave {
    height: 28px;
    background: #f8fafc;
  }

  .kisima-close__wave svg path:nth-child(2) {
    fill: #0f172a;
  }

  .kisima-close__contact {
    padding: 2rem max(1.25rem, env(safe-area-inset-left, 0px)) 1.35rem max(1.25rem, env(safe-area-inset-right, 0px));
    background: linear-gradient(180deg, #0f172a 0%, #152238 100%);
  }

  .kisima-close__contact-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 0 0.35rem;
  }

  .kisima-close__contact-header h2 {
    font-size: clamp(1.55rem, 7vw, 1.95rem);
    margin-bottom: 0.65rem;
    color: #ffffff;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
  }

  .kisima-close__contact-header .kisima-close__lead {
    font-size: 1rem;
    color: #f1f5f9;
    line-height: 1.6;
    margin: 0 auto;
    max-width: 100%;
    padding: 0 0.15rem;
  }

  .kisima-close__contact-header .kisima-close__eyebrow--contact {
    margin-bottom: 0.85rem;
    color: #ffffff;
    background: rgba(59, 130, 246, 0.55);
    border-color: rgba(186, 230, 253, 0.8);
    font-size: 0.68rem;
    letter-spacing: 0.12em;
  }

  .kisima-close__contact-card {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28);
    background: rgba(8, 15, 30, 0.65);
  }

  .kisima-close__contact-quick {
    padding: 1.25rem 1.2rem 1.1rem;
    border-radius: 0;
    background: transparent;
    border: none;
    box-shadow: none;
  }

  .kisima-close__contact-primary {
    margin-bottom: 0.85rem;
    padding: 1.05rem 1.1rem;
    border-radius: 14px;
  }

  .kisima-close__contact-primary > i {
    font-size: 1.55rem;
  }

  .kisima-close__contact-primary strong {
    font-size: 1rem;
  }

  .kisima-close__chips {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
    margin-bottom: 1rem;
  }

  .kisima-close__chip {
    justify-content: center;
    padding: 0.8rem 0.65rem;
    border-radius: 12px;
    font-size: 0.86rem;
    font-weight: 700;
  }

  .kisima-close__trust-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    justify-content: center;
  }

  .kisima-close__trust-list li {
    flex: 1 1 auto;
    margin: 0;
    padding: 0.45rem 0.55rem;
    font-size: 0.72rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    justify-content: center;
    white-space: nowrap;
  }

  .kisima-close__trust-list i {
    font-size: 0.85rem;
  }

  .kisima-close__trust-link {
    border-bottom: none;
    text-decoration: underline;
    text-underline-offset: 2px;
  }

  .kisima-close__form-panel {
    border-radius: 0;
    padding: 1.25rem 1.2rem 1.35rem;
    box-shadow: none;
    border: none;
    border-top: 1px solid #e2e8f0;
    background: #fff;
  }

  .kisima-close__form-head {
    text-align: center;
    margin-bottom: 1rem;
    padding-bottom: 0.85rem;
  }

  .kisima-close__form-head h3 {
    font-size: 1.05rem;
  }

  .kisima-close__form-head p {
    font-size: 0.82rem;
  }

  .kisima-close__form-panel label {
    font-size: 0.75rem;
  }

  .kisima-close__form-panel input {
    padding: 0.8rem 0.95rem;
    border-radius: 12px;
    margin-bottom: 0.85rem;
    font-size: 16px;
  }

  .kisima-close__submit {
    padding: 1rem;
    border-radius: 14px;
    font-size: 0.95rem;
    margin-top: 0.15rem;
  }
}
