/* =========================================================
   AluminiumGlass
   Contact Module
   ========================================================= */

.contact-container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}


/* Header */

.contact-header {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

.contact-header-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.contact-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #111827;
  text-decoration: none;
  font-size: 18px;
  font-weight: 800;
}

.contact-logo {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: #111827;
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
}

.contact-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.contact-nav a {
  color: #4b5563;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.contact-nav a:hover {
  color: #111827;
}


/* Hero */

.contact-hero {
  padding: 65px 20px;
  background: #f7f8fa;
  text-align: center;
}

.contact-label {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #6b7280;
}

.contact-hero h1 {
  margin: 0 0 12px;
  font-size: 38px;
  line-height: 1.15;
  color: #111827;
}

.contact-hero p {
  max-width: 650px;
  margin: 0 auto;
  color: #6b7280;
  line-height: 1.7;
}


/* Main */

.contact-section {
  padding: 55px 20px 70px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 45px;
}


/* Information */

.contact-info h2 {
  margin: 0 0 12px;
  font-size: 27px;
}

.contact-description {
  margin: 0 0 28px;
  color: #6b7280;
  line-height: 1.7;
}

.contact-info-card {
  display: flex;
  gap: 15px;
  padding: 18px 0;
  border-bottom: 1px solid #e5e7eb;
}

.contact-info-card:last-child {
  border-bottom: 0;
}

.contact-info-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #f3f4f6;
  font-size: 19px;
}

.contact-info-card h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.contact-info-card p {
  margin: 0 0 7px;
  color: #6b7280;
  line-height: 1.5;
  font-size: 14px;
}

.contact-info-card a {
  color: #111827;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}


/* Form Card */

.contact-form-card {
  padding: 30px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}

.form-heading {
  margin-bottom: 25px;
}

.form-heading h2 {
  margin: 0 0 6px;
  font-size: 23px;
}

.form-heading p {
  margin: 0;
  color: #6b7280;
  font-size: 14px;
}


/* Alerts */

.contact-alert {
  padding: 12px 14px;
  margin-bottom: 18px;
  border-radius: 9px;
  font-size: 14px;
  line-height: 1.5;
}

.contact-alert.success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

.contact-alert.error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}


/* Form */

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  position: relative;
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  margin-bottom: 7px;
  color: #374151;
  font-size: 13px;
  font-weight: 700;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 13px;
  border: 1px solid #d1d5db;
  border-radius: 9px;
  background: #ffffff;
  color: #111827;
  font: inherit;
  outline: none;
}

.form-group input,
.form-group select {
  min-height: 45px;
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
  line-height: 1.5;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #111827;
  box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.08);
}

.form-group input.invalid,
.form-group select.invalid,
.form-group textarea.invalid {
  border-color: #dc2626;
}


/* Character Count */

.character-count {
  position: absolute;
  right: 10px;
  bottom: 8px;
  color: #9ca3af;
  font-size: 11px;
}


/* Submit */

.contact-submit {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 9px;
  background: #111827;
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.contact-submit:hover {
  opacity: 0.92;
}

.contact-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-note {
  margin: 13px 0 0;
  color: #9ca3af;
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
}


/* Footer */

.contact-footer {
  padding: 30px 20px;
  border-top: 1px solid #e5e7eb;
  background: #ffffff;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 12px;
}

.footer-links a {
  color: #6b7280;
  text-decoration: none;
  font-size: 13px;
}

.contact-footer p {
  margin: 0;
  color: #9ca3af;
  font-size: 12px;
}


/* Mobile */

@media (max-width: 800px) {

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

}

@media (max-width: 600px) {

  .contact-container {
    width: min(100% - 24px, 1120px);
  }

  .contact-nav {
    display: none;
  }

  .contact-hero {
    padding: 45px 15px;
  }

  .contact-hero h1 {
    font-size: 30px;
  }

  .contact-section {
    padding: 40px 12px 55px;
  }

  .contact-form-card {
    padding: 20px;
  }

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

}