/* ============================================
   CONTACT PAGE — Divided Sky
   ============================================ */

/* --- Hero --- */
.contact-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.contact-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  z-index: 0;
}
.contact-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(25, 25, 25, 0.55);
  z-index: 1;
}
.contact-hero-content {
  position: relative;
  z-index: 2;
  padding: 100px 0 80px;
}
.contact-hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 20px;
}
.contact-hero-sub {
  font-size: 1.15rem;
  color: var(--ds-gray-400, #aaa);
  max-width: 540px;
  line-height: 1.6;
}

/* --- Main Grid --- */
.contact-main {
  padding: 80px 0;
  background: var(--ds-dark, #0f0f0f);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-info h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}
.contact-info-sub {
  color: var(--ds-gray-400, #aaa);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 32px;
}

/* --- Contact Cards --- */
.contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 32px;
}
.contact-card {
  background: var(--ds-dark-card, #1a1a1a);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 24px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.contact-card:hover {
  transform: translateY(-2px);
  border-color: rgba(119,232,6,0.2);
}
.contact-card-icon {
  font-size: 1.5rem;
  margin-bottom: 12px;
}
.contact-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.contact-card a {
  color: var(--ds-green, #77e806);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
.contact-card a:hover {
  text-decoration: underline;
}
.contact-card p {
  color: var(--ds-gray-400, #aaa);
  font-size: 0.85rem;
  margin-top: 4px;
  line-height: 1.4;
}

/* --- Service Area --- */
.contact-service-area {
  background: var(--ds-dark-card, #1a1a1a);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 24px;
  border-left: 3px solid var(--ds-green, #77e806);
}
.contact-service-area h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.contact-service-area p {
  color: var(--ds-gray-400, #aaa);
  font-size: 0.9rem;
  line-height: 1.8;
}

/* --- Form Card --- */
.contact-form-card {
  background: var(--ds-dark-card, #1a1a1a);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 40px;
}
.contact-form-card h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}
.contact-form-card > p {
  color: var(--ds-gray-400, #aaa);
  font-size: 0.95rem;
  margin-bottom: 28px;
  line-height: 1.5;
}
.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.contact-field {
  margin-bottom: 16px;
}
.contact-field label {
  display: block;
  color: var(--ds-gray-300, #ccc);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  color: #fff;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}
.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: var(--ds-green, #77e806);
  box-shadow: 0 0 0 3px rgba(119,232,6,0.1);
}
.contact-field select {
  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' stroke='%23888' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.contact-field select option {
  background: #1a1a1a;
  color: #fff;
}
.contact-field textarea {
  resize: vertical;
  min-height: 120px;
}
.contact-submit-btn {
  width: 100%;
  margin-top: 8px;
}
.contact-form-note {
  color: var(--ds-gray-500, #666);
  font-size: 0.8rem;
  text-align: center;
  margin-top: 12px;
}

/* --- Map --- */
.contact-map {
  padding: 80px 0;
  background: var(--ds-darker, #0a0a0a);
}
.contact-map-header {
  text-align: center;
  margin-bottom: 40px;
}
.contact-map-header h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
}
.contact-map-embed {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}
.contact-map-embed iframe {
  display: block;
  filter: grayscale(80%) invert(92%) contrast(85%);
}

/* --- CTA --- */
.contact-cta {
  padding: 80px 0;
  background: var(--ds-dark, #0f0f0f);
  text-align: center;
}
.contact-cta h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}
.contact-cta > .ds-container > p {
  color: var(--ds-gray-400, #aaa);
  font-size: 1.1rem;
  margin-bottom: 32px;
}
.contact-cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-cards {
    grid-template-columns: 1fr;
  }
  .contact-form-row {
    grid-template-columns: 1fr;
  }
  .contact-form-card {
    padding: 28px 20px;
  }
  .contact-hero-content {
    padding: 80px 0 60px;
  }
  .contact-cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .contact-hero-overlay {
    background: rgba(25, 25, 25, 0.45);
  }
}
