/**
 * Siksha Connects — Contact Us (minimal editorial + form).
 */

.sc-contact-page {
  --sc-navy: #071b4d;
  --sc-navy-mid: #0b245f;
  --sc-cyan: #16d5c0;
  --sc-cyan-dim: #12b8c8;
  --sc-text: #0f172a;
  --sc-muted: #475569;
  --sc-radius: 16px;
  --sc-radius-lg: 24px;
  font-family: "Outfit", "DM Sans", system-ui, sans-serif;
  color: var(--sc-text);
  background: linear-gradient(180deg, #fafcfd 0%, #ffffff 45%, #f6fafb 100%);
  padding-bottom: 0;
}

body.sc-page-contact-premium #content,
body.sc-page-contact-premium .blog.section-padding {
  display: none !important;
}

body.sc-page-contact-premium {
  padding-bottom: env(safe-area-inset-bottom);
}

/* Main — first thing on page */
.sc-contact-main--lead {
  padding: 48px 20px 28px;
}

@media (min-width: 901px) {
  .sc-contact-main--lead {
    padding: 56px 20px 32px;
  }
}

.sc-contact-main__inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.sc-contact-main__col {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.sc-contact-main__col--intro {
  order: 1;
}

.sc-contact-main__col--form {
  order: 2;
}

/* Editorial left — no card, typography only */
.sc-contact-editorial {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
  padding: 8px 0 12px;
}

.sc-contact-editorial__headline {
  margin: 0 0 28px;
  padding: 0;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.02;
  text-transform: uppercase;
  color: var(--sc-navy);
}

.sc-contact-editorial__line {
  display: block;
  font-size: clamp(2.15rem, 4.2vw, 3.35rem);
  margin-bottom: 0.14em;
}

.sc-contact-editorial__line:last-of-type {
  margin-bottom: 0;
}

.sc-contact-editorial__line--gradient {
  background: linear-gradient(105deg, #12b8c8 0%, #16d5c0 45%, #0b6b6e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.sc-contact-editorial__accent {
  background: linear-gradient(105deg, #16d5c0, #12b8c8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.sc-contact-editorial__support {
  margin: 0 0 28px;
  max-width: 28rem;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--sc-muted);
  font-weight: 500;
}

.sc-contact-editorial__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.sc-contact-editorial__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--sc-navy);
  background: transparent;
  border: 1px solid rgba(7, 27, 77, 0.14);
  transition: border-color 0.25s ease, color 0.25s ease, box-shadow 0.3s ease, background 0.25s ease;
}

.sc-contact-editorial__btn:hover {
  border-color: rgba(22, 213, 192, 0.45);
  color: var(--sc-navy-mid);
  box-shadow: 0 6px 24px rgba(22, 213, 192, 0.12);
  background: rgba(22, 213, 192, 0.06);
}

.sc-contact-editorial__btn--wa {
  border-color: rgba(37, 211, 102, 0.35);
  color: #128c7e;
}

.sc-contact-editorial__btn--wa:hover {
  border-color: rgba(37, 211, 102, 0.55);
  background: rgba(37, 211, 102, 0.08);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.12);
}

.sc-contact-editorial__btn-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.9;
}

.sc-contact-editorial__btn-ico svg {
  display: block;
}

/* Form card */
.sc-contact-form-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: #fff;
  border-radius: var(--sc-radius-lg);
  padding: 26px 26px 28px;
  border: 1px solid rgba(7, 27, 77, 0.07);
  box-shadow: 0 18px 50px rgba(7, 27, 77, 0.08);
}

.sc-contact-form-card__title {
  margin: 0 0 20px;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--sc-navy);
}

.sc-contact-form-card__notice {
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
  margin: 0 0 16px;
}

.sc-contact-form-card__notice--ok {
  background: rgba(22, 213, 192, 0.12);
  color: #065f56;
  border: 1px solid rgba(22, 213, 192, 0.35);
}

.sc-contact-form-card__notice--err {
  background: rgba(220, 38, 38, 0.08);
  color: #991b1b;
  border: 1px solid rgba(220, 38, 38, 0.2);
}

.sc-contact-form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.sc-contact-form {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.sc-contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.sc-contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sc-contact-form__label {
  font-size: 13px;
  font-weight: 700;
  color: var(--sc-navy-mid);
}

.sc-contact-form input,
.sc-contact-form select,
.sc-contact-form textarea {
  width: 100%;
  padding: 11px 13px;
  border-radius: 12px;
  border: 1px solid rgba(7, 27, 77, 0.12);
  font-size: 15px;
  font-family: inherit;
  background: #fafcfd;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.sc-contact-form input:focus,
.sc-contact-form select:focus,
.sc-contact-form textarea:focus {
  outline: none;
  border-color: rgba(22, 213, 192, 0.55);
  box-shadow: 0 0 0 3px rgba(22, 213, 192, 0.15);
  background: #fff;
}

.sc-contact-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 6px;
}

.sc-contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.35s ease, filter 0.3s ease;
}

.sc-contact-btn--primary {
  background: linear-gradient(135deg, var(--sc-cyan) 0%, var(--sc-cyan-dim) 100%);
  color: #fff;
  box-shadow: 0 8px 28px rgba(22, 213, 192, 0.32);
}

.sc-contact-btn--primary:hover {
  filter: brightness(1.05);
  box-shadow: 0 12px 36px rgba(22, 213, 192, 0.42);
  transform: translateY(-1px);
}

.sc-contact-btn--wa {
  background: #25d366;
  color: #fff;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
}

.sc-contact-btn--wa:hover {
  background: #20bd5a;
  transform: translateY(-1px);
}

.sc-contact-btn__ico {
  display: flex;
}

/* Compact bottom row */
.sc-contact-foot-info {
  padding: 0 20px 32px;
}

.sc-contact-foot-info__inner {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 18px;
  padding: 10px 18px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(7, 27, 77, 0.06);
  box-shadow: 0 6px 22px rgba(7, 27, 77, 0.05);
  text-align: center;
}

.sc-contact-foot-info__item {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.sc-contact-foot-info__label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sc-cyan-dim);
}

.sc-contact-foot-info__item a,
.sc-contact-foot-info__val {
  font-size: 13px;
  font-weight: 600;
  color: var(--sc-navy-mid);
  text-decoration: none;
}

.sc-contact-foot-info__item a:hover {
  color: var(--sc-cyan-dim);
}

.sc-contact-foot-info__dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(7, 27, 77, 0.18);
  flex-shrink: 0;
}

/* WhatsApp float */
.sc-contact-wa-float {
  position: fixed;
  right: 18px;
  bottom: 88px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45);
  z-index: 10001;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.sc-contact-wa-float:hover {
  transform: scale(1.06);
  color: #fff;
}

.sc-contact-wa-float .sc-contact-svg-wa {
  width: 28px;
  height: 28px;
}

/* Sticky mobile */
.sc-contact-sticky {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  background: #fff;
  border-top: 1px solid rgba(7, 27, 77, 0.08);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.08);
  gap: 8px;
  justify-content: space-between;
}

.sc-contact-sticky__btn {
  flex: 1;
  text-align: center;
  padding: 12px 8px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 12px;
  text-decoration: none;
  color: #fff;
  transition: filter 0.2s ease;
  cursor: pointer;
}

.sc-contact-sticky__btn--call {
  background: var(--sc-navy);
}

.sc-contact-sticky__btn--wa {
  background: #25d366;
}

.sc-contact-sticky__btn--reg {
  background: linear-gradient(135deg, var(--sc-cyan), var(--sc-cyan-dim));
}

.sc-contact-sticky__btn:hover {
  filter: brightness(1.06);
}

@media (max-width: 900px) {
  .sc-contact-main__inner {
    grid-template-columns: 1fr;
    gap: 36px;
    align-items: start;
  }

  .sc-contact-form__row {
    grid-template-columns: 1fr;
  }

  .sc-contact-editorial {
    padding-top: 4px;
  }

  .sc-contact-editorial__headline {
    margin-bottom: 22px;
  }

  .sc-contact-foot-info__dot {
    display: none;
  }

  .sc-contact-foot-info__inner {
    flex-direction: column;
    gap: 10px;
    padding: 12px 16px;
  }
}

@media (max-width: 700px) {
  .sc-contact-main--lead {
    padding: 32px 18px 24px;
  }

  .sc-contact-page {
    padding-bottom: 72px;
  }

  .sc-contact-sticky {
    display: flex;
  }

  .sc-contact-wa-float {
    bottom: 76px;
  }

  .sc-contact-editorial__actions {
    justify-content: flex-start;
  }
}
