/* ── CONTACT HERO ── */

.contact-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 5rem);
}

.contact-panel {
  background: var(--gradient-learnio);
  padding: 4.5rem 3.5rem 4.5rem 10rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  & .contact-panel-inner {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  & .contact-panel-title {
    &.title {
      color: var(--white);
      display: block;
    }

    &.italic {
      color: var(--white);
      font-style: italic;
      display: block;
      margin-bottom: 1rem;
    }
  }

  & .contact-panel-subtitle {
    color: rgba(255, 255, 255, 0.88);
    max-width: 480px;
    margin-bottom: 1.75rem;
  }
}

.contact-info {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 1.75rem;

  & .contact-info-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
  }

  & .contact-info-icon {
    width: 3.5rem;
    min-width: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;

    img {
      width: 40px;
      height: 40px;
      filter: brightness(0) invert(1);
      opacity: 0.8;
    }

    &.contact-info-icon--email img {
      width: 56px;
      height: 56px;
    }
  }

  & .contact-info-label {
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    display: block;
    margin-bottom: 0.3rem;
  }

  & .contact-info-value {
    color: var(--white);
    text-decoration: none;
    display: block;
    margin-bottom: 0.25rem;
  }

  & .contact-info-sub {
    color: rgba(255, 255, 255, 0.65);
    display: block;
  }
}

.contact-socials {
  display: flex;
  gap: 0.875rem;

  a {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: border-color 0.2s;

    &:hover {
      border-color: var(--white);
    }

    img {
      width: 1.5rem;
      height: 1.5rem;
      object-fit: contain;
      filter: brightness(0) invert(1);
    }
  }

  & .contact-socials-tiktok img {
    width: 2.25rem;
    height: 2.25rem;
  }
}

.contact-form {
  background-color: var(--white);
  padding: 4.5rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  & .contact-form-inner {
    width: 100%;
    max-width: 560px;
    display: flex;
    flex-direction: column;
    gap: 3rem;
  }

  & .contact-form-title {
    color: #1a1a1a;
  }

  form {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;

    .row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0.875rem;
    }

    .group {
      display: flex;
      flex-direction: column;
      gap: 0.25rem;
    }

    label {
      font-size: 0.75rem;
      color: var(--gray);
      font-weight: 500;
    }

    input,
    textarea {
      width: 100%;
      background: var(--white);
      border: 1px solid #ddd;
      border-radius: 6px;
      padding: 0.55rem 0.75rem;
      color: var(--gray);
      outline: none;
      transition: border-color 0.2s;

      &:focus {
        border-color: var(--purple-stroke);
      }
    }

    textarea {
      resize: none;
      min-height: 100px;
      overflow: hidden;
    }

    .check {
      display: flex;
      align-items: center;
      gap: 0.5rem;

      input[type="checkbox"] {
        width: 0.9rem;
        height: 0.9rem;
        accent-color: var(--purple-stroke);
        cursor: pointer;
        flex-shrink: 0;
      }

      label {
        font-size: 0.75rem;
        color: var(--gray);
        cursor: pointer;
        line-height: 1.4;
      }
    }

    .footer {
      display: flex;
      justify-content: flex-end;
    }
  }
}

@media (max-width: 1200px) {
  .contact-panel {
    padding-left: 5rem;
  }
}

@media (max-width: 900px) {
  .contact-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .contact-panel {
    padding: 3rem 2.5rem;
  }

  .contact-form {
    padding: 3rem 2.5rem;
  }


}

@media (max-width: 600px) {
  .contact-panel {
    padding: 2.5rem 1.25rem;

    & .contact-panel-title {
      &.title,
      &.italic {
        font-size: 1.9rem;
      }
    }
  }

  .contact-form {
    padding: 2.5rem 1.25rem;

    form .row {
      grid-template-columns: 1fr;
    }
  }

  .contact-info {
    gap: 1.5rem;

    & .contact-info-item {
      gap: 1rem;
    }
  }
}
