/* ============================================
   CONTACT PAGE — CUSTOM STYLES
   ============================================ */

/* ---------- CONTACT HERO BANNER ---------- */
.contact-hero {
  padding: 5.5rem 0 5.5rem;
  width: 100%;
}

.contact-hero.contact-hero-bg {
  background: url('../images/contact-hero.webp') no-repeat center center/cover;
}

.contact-hero-text .breadcrumb {
  margin-bottom: 1.2rem;
}

.contact-hero-text .breadcrumb,
.contact-hero-text .breadcrumb a {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.82rem;
}

.contact-hero-text .breadcrumb a:hover {
  color: rgba(255, 255, 255, 0.85);
}

.contact-hero-text h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 3.8vw, 4rem);
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1.2rem;
}

.contact-hero-text h1 em {
  font-style: italic;
  font-family: var(--font-script);
  color: var(--steel);
  display: block;
}

.contact-hero-text p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.98rem;
  max-width: 42ch;
  line-height: 1.65;
}

.contact-hero-image {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.contact-hero-image img {
  max-width: 380px;
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  filter: brightness(1.05);
}

/* ---------- CONTACT MAIN SECTION ---------- */
.contact-main {
  padding: 5rem 0;
  background-color: var(--paper);
  background-image: var(--grain);
}

.contact-main .wrap {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 3.5rem;
  align-items: start;
}

/* ---------- LEFT: CONNECT WITH US ---------- */
.contact-sidebar {
  padding-top: 0.5rem;
}

.contact-sidebar .section-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
}

.contact-sidebar .section-label::before {
  content: '';
  display: block;
  width: 36px;
  height: 2px;
  background: var(--steel);
  border-radius: 2px;
}

.contact-sidebar .section-label span {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
}

.contact-sidebar h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.65rem;
  color: var(--navy);
  margin-bottom: 0.8rem;
  line-height: 1.2;
}

.contact-sidebar>p {
  color: var(--graphite);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* ---------- CONTACT INFO CARDS ---------- */
.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--white);
  border: 1px solid var(--silver-pale);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.contact-card:hover {
  box-shadow: 0 8px 24px rgba(14, 27, 43, 0.08);
  border-color: rgba(91, 127, 255, 0.25);
  transform: translateY(-2px);
}

.contact-card-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card-icon.icon-address {
  background: rgba(91, 127, 255, 0.1);
  color: var(--steel);
}

.contact-card-icon.icon-phone {
  background: rgba(46, 127, 184, 0.1);
  color: var(--steel);
}

.contact-card-icon.icon-email {
  background: rgba(91, 127, 255, 0.1);
  color: var(--steel);
}

.contact-card-icon.icon-hours {
  background: rgba(91, 127, 255, 0.1);
  color: var(--steel);
}

.contact-card-info .card-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--graphite);
  margin-bottom: 0.15rem;
}

.contact-card-info .card-value {
  font-size: 0.88rem;
  color: var(--navy);
  font-weight: 500;
  line-height: 1.45;
}

/* ---------- RIGHT: INQUIRY FORM CARD ---------- */
.contact-form-card {
  background: var(--white);
  border: 1px solid var(--silver-pale);
  border-radius: 16px;
  padding: 2.5rem 2.5rem 2rem;
  box-shadow: 0 20px 60px rgba(14, 27, 43, 0.06);
  position: relative;
}

.contact-form-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.contact-form-header-left {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.contact-form-header-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0e1b3a, #1a2b52);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.contact-form-header h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--navy);
}

.contact-form-sparkle {
  color: var(--steel);
  opacity: 0.6;
}

/* Form fields */
.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.contact-form .field {
  margin-bottom: 1.3rem;
}

.contact-form .field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
  color: var(--navy);
}

.contact-form .field input,
.contact-form .field select,
.contact-form .field textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #e0e4ec;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  background: #f8f9fc;
  color: var(--navy);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-form .field input::placeholder,
.contact-form .field select::placeholder,
.contact-form .field textarea::placeholder {
  color: #9ca3b8;
}

.contact-form .field input:focus,
.contact-form .field select:focus,
.contact-form .field textarea:focus {
  outline: none;
  border-color: var(--steel);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(91, 127, 255, 0.1);
}

.contact-form .field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236b7280' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.contact-form .field textarea {
  resize: vertical;
  min-height: 120px;
}

/* Submit button */
.contact-form .btn-submit {
  width: 100%;
  padding: 0.95rem 2rem;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, #1a1f4e, #252b6e);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  transition: background 0.25s ease, transform 0.15s ease, box-shadow 0.25s ease;
}

.contact-form .btn-submit:hover {
  background: linear-gradient(135deg, #252b6e, #3a42a0);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(26, 31, 78, 0.3);
}

.contact-form .btn-submit:active {
  transform: translateY(0);
}

.contact-form .btn-submit svg {
  transition: transform 0.2s ease;
}

.contact-form .btn-submit:hover svg {
  transform: translateX(3px);
}

/* ---------- MAP SECTION ---------- */
.contact-map-section {
  padding: 0 0 5rem;
  background-color: var(--paper);
  background-image: var(--grain);
}

.contact-map-wrap {
  background: var(--white);
  border: 1px solid var(--silver-pale);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(14, 27, 43, 0.05);
  display: grid;
  grid-template-columns: 300px 1fr;
  min-height: 300px;
}

.map-info-card {
  padding: 2rem 1.8rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.8rem;
  background: var(--white);
}

.map-info-card .map-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.3rem;
}

.map-info-card .map-brand svg {
  color: var(--steel);
}

.map-info-card .map-brand span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
}

.map-info-card .map-address {
  font-size: 0.85rem;
  color: var(--graphite);
  line-height: 1.6;
}

.map-info-card .map-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--steel);
  transition: color 0.2s ease;
  margin-top: 0.3rem;
}

.map-info-card .map-link:hover {
  color: #3a5aff;
}

.map-info-card .map-link svg {
  transition: transform 0.2s ease;
}

.map-info-card .map-link:hover svg {
  transform: translateX(3px);
}

.map-embed {
  position: relative;
  min-height: 300px;
  background: #e8ecf2;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  min-height: 300px;
  border: none;
  display: block;
}

/* ---------- SOCIAL LINKS IN FOOTER (for contact page) ---------- */
.footer-social {
  display: flex;
  gap: 0.7rem;
  margin-top: 1.2rem;
}

.footer-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.55);
  transition: background 0.2s ease, color 0.2s ease;
}

.footer-social a:hover {
  background: rgba(91, 127, 255, 0.2);
  color: var(--steel);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 980px) {
  .contact-hero .wrap {
    grid-template-columns: 1fr;
  }

  .contact-hero-image {
    display: none;
  }

  .contact-main .wrap {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .contact-map-wrap {
    grid-template-columns: 1fr;
  }

  .map-embed {
    min-height: 280px;
  }
}

@media (max-width: 680px) {
  .contact-hero {
    padding: 2.5rem 0 2rem;
    min-height: auto;
  }

  .contact-hero-text h1 {
    font-size: clamp(1.7rem, 7vw, 2.2rem);
  }

  .contact-main {
    padding: 3rem 0;
  }

  .contact-form-card {
    padding: 1.5rem;
    border-radius: 12px;
  }

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

  .contact-map-section {
    padding: 0 0 3rem;
  }

  .contact-map-wrap {
    border-radius: 12px;
  }

  .map-info-card {
    padding: 1.5rem;
  }

  .contact-card {
    border-radius: 10px;
    padding: 0.85rem 1rem;
  }
}