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

/* ---- Availability badge ---- */
.availability-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(40, 187, 193, 0.12);
  border: 1px solid rgba(40, 187, 193, 0.28);
  color: #28BBC1;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.availability-badge .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #28BBC1;
  animation: avail-pulse 2s ease-in-out infinite;
}

@keyframes avail-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.35; transform: scale(0.75); }
}

/* ---- Section ---- */
.contact-page-sec {
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}

/* ---- Cards ---- */
.contact-form-card,
.contact-info-card,
.contact-call-card {
  background: #ffffff;
  border-radius: 16px;
  padding: clamp(24px, 3vw, 40px);
}

.contact-form-card h2 {
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 28px;
  color: #f6f6f6;
}

/* ---- Fields ---- */
.contact-field { margin-bottom: 18px; }

.contact-label {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.971);
  margin-bottom: 8px;
  font-family: var(--font_inter);
}

.contact-input,
.contact-textarea,
.contact-select {
  width: 100%;
  background: #fbfbfb;;
  border: 1px solid #ececec;
  border-radius: 8px;
  padding: 12px 16px;
  color: rgba(0, 0, 0, 0.88);
  font-family: var(--font_inter);
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
  -webkit-appearance: none;
}

.contact-input::placeholder,
.contact-textarea::placeholder { color: rgba(255, 255, 255, 0.22); }

.contact-input:focus,
.contact-textarea:focus,
.contact-select:focus {
  border-color: #101010;
}

.contact-input.has-error,
.contact-textarea.has-error {
  border-color: rgba(239, 68, 68, 0.6);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.08);
}

.contact-textarea {
  resize: vertical;
  min-height: 110px;
}

.contact-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' opacity='0.3' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}

.contact-select option { background: #161616; }

/* ---- Type Pills ---- */
.type-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-label { cursor: pointer; }
.pill-label input[type="checkbox"] { display: none; }

.pill-label span {
  display: inline-block;
  padding: 7px 15px;
  border: 1px solid #2a2a2a;
  border-radius: 100px;
  font-size: 13px;
  color: rgb(0, 0, 0);
  transition: all 0.15s;
  font-family: var(--font_inter);
  background: #fdfdfd;
}

.pill-label input:checked + span {
  border-color: #000000;
  color: #ffffff;
  background-color: #000000;
}

.pill-label:hover span {
  border-color: rgb(0, 0, 0);
  color: rgba(255, 255, 255, 0.75);
  background-color: #000000;
}

/* ---- Submit ---- */
.contact-submit {
   width: 100%;
  margin-top: 24px;
  padding: 15px;
  background: #0d0d0d;
  color: #F5F5F5;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.1s;
}

.contact-submit:hover  { opacity: 0.88; }
.contact-submit:active { transform: scale(0.99); }

/* ---- Success State ---- */
.form-success-state {
  display: none;
  text-align: center;
  padding: 48px 20px;
}

.form-success-state .check {
  font-size: 40px;
  color: #28c172;
  margin-bottom: 16px;
}

.form-success-state h3 {
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  color: white;
}

.form-success-state p { color: #131313; font-size: 15px; }

/* ---- Right column ---- */
.contact-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-info-card h3,
.contact-call-card h3 {
  font-family: var(--font-title);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.38);
  margin-bottom: 20px;
}

/* ---- Availability rows ---- */
.avail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid #ececec;
  font-size: 14px;
  font-family: var(--font_inter);
}

.avail-row:last-child    { border-bottom: none; padding-bottom: 0; }
.avail-row:first-of-type { padding-top: 0; }
.avail-label { color: rgba(0, 0, 0, 0.42); }
.avail-value { font-weight: 500; color: rgba(0, 0, 0, 0.88); }

.avail-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
}

.tag-open {
  background: rgba(40, 187, 193, 0.12);
  color: #28BBC1;
  border: 1px solid rgba(40, 187, 193, 0.25);
}

/* ---- Book a call ---- */
.contact-call-card p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.42);
  line-height: 1.65;
  margin-bottom: 20px;
  font-family: var(--font_inter);
}

.btn-book-call {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px;
  background: transparent;
  color: rgba(0, 0, 0, 0.6);
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.btn-book-call:hover {
  border-color: #0d0d0d;
  color: #0d0d0d;
  background: rgba(0, 0, 0, 0.04);
}

/* ---- Direct contact links ---- */
.contact-direct-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
  border-bottom: 1px solid #ececec;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s;
}

.contact-direct-link:last-child    { border-bottom: none; padding-bottom: 0; }
.contact-direct-link:first-of-type { padding-top: 0; }
.contact-direct-link:hover         { opacity: 0.6; color: inherit; }

.cdl-label {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.38);
  margin-bottom: 3px;
  font-family: var(--font_inter);
}

.cdl-value {
  font-size: 14px;
  color: rgba(0, 0, 0, 0.82);
  font-family: var(--font_inter);
}

.cdl-arrow { color: rgba(0, 0, 0, 0.3); font-size: 16px; }

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