/* ==========================================================================
   Contact Page
   ========================================================================== */

.contact-hero {
  background: linear-gradient(135deg, rgba(31,43,75,.9) 0%, rgba(45,63,107,.55) 100%), var(--hero-image, none) center 30% / cover, #1F2B4B;
  color: #fff;
  padding: 64px 28px 56px;
  text-align: center;
}

.contact-hero h1 {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 800;
  margin: 0 0 12px;
  color: #fff;
}

.contact-hero p {
  font-size: 17px;
  color: rgba(255,255,255,.75);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ── Layout ──────────────────────────────────────────────────────── */

.contact-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 56px 28px 80px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}

/* ── Type chooser ────────────────────────────────────────────────── */

.contact-type {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 32px;
}

.contact-type-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 22px 16px;
  border: 2px solid #e8e8e8;
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  transition: border-color .15s, background .15s, box-shadow .15s;
  font-family: 'Poppins', sans-serif;
  text-align: center;
}

.contact-type-btn i {
  font-size: 26px;
  color: #bbb;
  transition: color .15s;
}

.contact-type-btn strong {
  font-size: 14px;
  font-weight: 600;
  color: #444;
  display: block;
}

.contact-type-btn span {
  font-size: 12px;
  color: #999;
  line-height: 1.4;
}

.contact-type-btn:hover {
  border-color: #DD7878;
  box-shadow: 0 2px 12px rgba(221,120,120,.12);
}

.contact-type-btn.is-active {
  border-color: #DD7878;
  background: rgba(221,120,120,.04);
  box-shadow: 0 2px 12px rgba(221,120,120,.14);
}

.contact-type-btn.is-active i { color: #DD7878; }
.contact-type-btn.is-active strong { color: #DD7878; }

/* ── Form card ───────────────────────────────────────────────────── */

.contact-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0,0,0,.07);
  padding: 32px;
}

.contact-form { display: none; }
.contact-form.is-active { display: block; }

.contact-form h2 {
  font-family: 'Raleway', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #111;
  margin: 0 0 6px;
}

.contact-form .form-lead {
  font-size: 13.5px;
  color: #888;
  margin: 0 0 24px;
  line-height: 1.5;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 16px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: #444;
  font-family: 'Poppins', sans-serif;
}

.form-group input,
.form-group select,
.form-group textarea {
  border: 1.5px solid #e0e0e0;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 14px;
  font-family: 'Roboto', sans-serif;
  color: #222;
  background: #fafafa;
  outline: none;
  transition: border-color .15s, background .15s;
  width: 100%;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #DD7878;
  background: #fff;
}

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

.contact-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: #DD7878;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: background .15s, transform .1s;
  margin-top: 6px;
}

.contact-submit:hover {
  background: #c45f5f;
  transform: translateY(-1px);
}

/* ── Success / error state ───────────────────────────────────────── */

.contact-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 20px;
  gap: 12px;
}

.contact-state i { font-size: 48px; }
.contact-state--sent i { color: #28a745; }
.contact-state--error i { color: #DD7878; }

.contact-state h3 {
  font-family: 'Raleway', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #111;
  margin: 0;
}

.contact-state p {
  font-size: 14px;
  color: #888;
  margin: 0;
  line-height: 1.6;
  max-width: 360px;
}

.contact-state a {
  color: #DD7878;
  font-weight: 600;
}

/* ── Info sidebar ────────────────────────────────────────────────── */

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.info-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  padding: 22px 20px;
}

.info-card h3 {
  font-family: 'Raleway', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #999;
  margin: 0 0 14px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #f4f4f4;
}

.info-item:last-child { border-bottom: none; padding-bottom: 0; }

.info-item i {
  font-size: 17px;
  color: #DD7878;
  flex-shrink: 0;
  margin-top: 1px;
}

.info-item-body strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #333;
  margin-bottom: 2px;
}

.info-item-body span,
.info-item-body a {
  font-size: 13px;
  color: #666;
  text-decoration: none;
}

.info-item-body a:hover { color: #DD7878; }

.info-note {
  background: rgba(221,120,120,.07);
  border-left: 3px solid #DD7878;
  border-radius: 0 8px 8px 0;
  padding: 12px 14px;
  font-size: 12.5px;
  color: #666;
  line-height: 1.5;
}

/* ── Responsive ──────────────────────────────────────────────────── */

@media (max-width: 900px) {
  .contact-wrap {
    grid-template-columns: 1fr;
    padding: 36px 20px 60px;
  }
  .contact-info { order: -1; }
}

@media (max-width: 580px) {
  .form-row { grid-template-columns: 1fr; }
  .contact-hero { padding: 44px 20px 40px; }
  .contact-card { padding: 22px 18px; }
}
