/* =========================================================
 * GSC - Pagina Contact
 * Template: page-contact.php
 * ========================================================= */

.gsc-contact-page {
  padding: 0 0 60px;
}

/* Hartă */
.gsc-contact-map {
  width: 100%;
  margin-bottom: 42px;
}

.gsc-contact-map iframe {
  display: block;
  width: 100%;
  height: 400px;
  border: 0;
}

/* Layout */
.gsc-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.75fr);
  gap: 40px;
  align-items: start;
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.gsc-contact-form-card,
.gsc-contact-info-card {
  background: #fff;
  border: 1px solid #e7ebf2;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.gsc-contact-form-card {
  padding: 34px;
}

.gsc-contact-form-card h1 {
  margin: 0 0 28px;
  color: #111827;
  font-size: clamp(25px, 3vw, 34px);
  font-weight: 800;
  line-height: 1.2;
}

/* Contact Form 7 */
.gsc-contact-form-card .wpcf7-form p {
  margin: 0 0 18px;
}

.gsc-contact-form-card .wpcf7-form label {
  display: block;
  color: #1f2937;
  font-weight: 600;
  line-height: 1.4;
}

.gsc-contact-form-card .wpcf7-form-control-wrap {
  display: block;
  margin-top: 7px;
}

.gsc-contact-form-card input[type="text"],
.gsc-contact-form-card input[type="email"],
.gsc-contact-form-card input[type="tel"],
.gsc-contact-form-card input[type="url"],
.gsc-contact-form-card input[type="number"],
.gsc-contact-form-card select,
.gsc-contact-form-card textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 14px;
  border: 1.5px solid #dce1eb;
  border-radius: 12px;
  background: #fff;
  color: #111827;
  font: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.gsc-contact-form-card textarea {
  min-height: 150px;
  resize: vertical;
}

.gsc-contact-form-card input:focus,
.gsc-contact-form-card select:focus,
.gsc-contact-form-card textarea:focus {
  border-color: #0f66d7;
  box-shadow: 0 0 0 3px rgba(15, 102, 215, 0.12);
}

.gsc-contact-form-card input[type="checkbox"],
.gsc-contact-form-card input[type="radio"] {
  width: 18px;
  height: 18px;
  margin: 2px 8px 0 0;
  accent-color: #0f66d7;
}

.gsc-contact-form-card .wpcf7-list-item {
  margin: 0;
}

.gsc-contact-form-card .wpcf7-acceptance label {
  display: flex;
  align-items: flex-start;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
}

.gsc-contact-form-card input[type="submit"],
.gsc-contact-form-card .wpcf7-submit {
  min-height: 48px;
  padding: 13px 26px;
  border: 0;
  border-radius: 12px;
  background: #0f66d7;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.gsc-contact-form-card input[type="submit"]:hover,
.gsc-contact-form-card .wpcf7-submit:hover {
  background: #000;
  transform: translateY(-1px);
}

.gsc-contact-form-card .wpcf7-spinner {
  vertical-align: middle;
}

.gsc-contact-form-card .wpcf7-not-valid-tip {
  margin-top: 6px;
  font-size: 13px;
}

.gsc-contact-form-card .wpcf7-response-output {
  margin: 20px 0 0 !important;
  padding: 12px 14px !important;
  border-radius: 10px;
}

/* Caseta de informații */
.gsc-contact-info-card {
  padding: 28px;
}

.gsc-contact-logo {
  margin-bottom: 22px;
  text-align: center;
}

.gsc-contact-logo img {
  width: auto;
  max-width: 190px;
  max-height: 74px;
}

.gsc-contact-info-card h2 {
  margin: 0 0 22px;
  color: #111827;
  font-size: 23px;
  font-weight: 800;
  line-height: 1.3;
}

.gsc-contact-info-card p {
  margin: 0 0 15px;
  color: #374151;
  font-size: 16px;
  line-height: 1.55;
}

.gsc-contact-info-card a {
  color: #0f66d7;
  font-weight: 600;
  text-decoration: none;
}

.gsc-contact-info-card a:hover {
  color: #000;
  text-decoration: underline;
}

.gsc-contact-address {
  display: inline;
}

.gsc-contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.gsc-contact-detail i {
  flex: 0 0 18px;
  width: 18px;
  margin-top: 5px;
  color: #0f66d7;
  text-align: center;
}

.gsc-contact-detail a,
.gsc-contact-detail span {
  min-width: 0;
}

/* Rețele sociale */
.gsc-social-icons {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.gsc-social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #0f66d7;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.gsc-social-icons a:hover {
  background: #000;
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
}

.gsc-social-linkedin {
  font-size: 14px !important;
}

/* Responsive */
@media (max-width: 991.98px) {
  .gsc-contact-grid {
    grid-template-columns: 1fr;
  }

  .gsc-contact-map iframe {
    height: 350px;
  }
}

@media (max-width: 575.98px) {
  .gsc-contact-page {
    padding-bottom: 36px;
  }

  .gsc-contact-map {
    margin-bottom: 28px;
  }

  .gsc-contact-map iframe {
    height: 300px;
  }

  .gsc-contact-grid {
    width: min(100% - 24px, 1200px);
    gap: 24px;
  }

  .gsc-contact-form-card,
  .gsc-contact-info-card {
    padding: 22px 18px;
    border-radius: 14px;
  }

  .gsc-contact-form-card h1 {
    margin-bottom: 22px;
  }

  .gsc-contact-info-card h2 {
    font-size: 20px;
  }

  .gsc-contact-info-card p {
    font-size: 15px;
  }
}
