/* ==========================================================================
   CONTACT.CSS — HS Digital Solution (Contact Page)
   Colores directos en clases, Bootstrap 5 base, sin root/var, sin webkit
   ========================================================================== */

/* ==========================================================================
   PAGE HERO BANNER
   ========================================================================== */
.contact-hero {
  position: relative;
  padding: 160px 0 70px;
  background: #08090c;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.contact-hero-bg-img {
  position: absolute;
  inset: 0;
  background: url('../img/contact-hero.jpg') center center / cover no-repeat;
  z-index: 0;
}

.contact-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(8, 9, 12, 0.94) 45%, rgba(8, 9, 12, 0.65) 100%);
  z-index: 1;
}

.contact-hero-bg-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.5;
  pointer-events: none;
  z-index: 2;
}

/* ==========================================================================
   MAIN CONTACT SECTION
   ========================================================================== */
.contact-main-section {
  padding: 85px 0 95px;
  background: #111319;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

/* Left Panel: Information */
.contact-info-panel {
  background: #0d0e14;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 3rem 2.5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.contact-panel-title {
  font-size: 2.3rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.contact-panel-desc {
  font-size: 1rem;
  color: #94a3b8;
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* 2x2 Channel Cards */
.contact-channels-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.contact-channel-card {
  background: #141722;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 1.4rem;
  transition: border-color 0.3s ease, transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.contact-channel-card:hover {
  border-color: rgba(250, 204, 21, 0.35);
  transform: translateY(-3px);
}

.channel-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(250, 204, 21, 0.1);
  color: #facc15;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  margin-bottom: 0.85rem;
}

.channel-content h4 {
  font-size: 0.98rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.4rem;
}

.channel-link {
  display: block;
  color: #facc15;
  font-size: 0.88rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.channel-link:hover {
  color: #eab308;
  text-decoration: underline;
}

.email-link {
  font-size: 0.82rem;
  color: #cbd5e1;
  margin-top: 0.2rem;
  word-break: break-all;
}

.channel-text {
  font-size: 0.88rem;
  color: #cbd5e1;
  font-weight: 600;
  margin-bottom: 0.2rem;
  line-height: 1.4;
}

.channel-text.highlight-gold {
  color: #facc15;
}

.channel-subtext {
  font-size: 0.78rem;
  color: #94a3b8;
  margin: 0;
  line-height: 1.4;
}

/* Quick WhatsApp Bar */
.quick-contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1.5rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  width: 100%;
  transition: all 0.25s ease;
}

.whatsapp-quick {
  background: #25d366;
  color: #fff;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.25);
}

.whatsapp-quick:hover {
  background: #20bd5a;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.4);
}

/* Right Panel: Form */
.contact-form-panel {
  background: #0d0e14;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 3rem 2.5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.form-panel-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.4rem;
}

.form-panel-desc {
  font-size: 0.95rem;
  color: #94a3b8;
  margin: 0;
}

/* Form Controls */
.form-group-custom {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-label-custom {
  font-size: 0.85rem;
  font-weight: 700;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.form-control-custom,
.form-select-custom,
.form-textarea-custom {
  width: 100%;
  background: #141722;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 0.85rem 1.1rem;
  color: #fff;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.form-control-custom:focus,
.form-select-custom:focus,
.form-textarea-custom:focus {
  outline: none;
  border-color: #facc15;
  background: #181b28;
}

.form-control-custom::placeholder,
.form-textarea-custom::placeholder {
  color: #64748b;
  font-size: 0.9rem;
}

.form-select-custom option {
  background: #141722;
  color: #fff;
}

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

/* SMS Consent */
.sms-consent-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1rem 1.15rem;
  margin-top: 0.5rem;
}

.sms-consent-label {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  cursor: pointer;
  margin: 0;
}

.sms-consent-checkbox {
  margin-top: 0.3rem;
  accent-color: #facc15;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  cursor: pointer;
}

.sms-consent-text {
  font-size: 0.82rem;
  color: #94a3b8;
  line-height: 1.6;
}

.sms-policy-link {
  color: #facc15;
  text-decoration: underline;
  font-weight: 600;
}

.sms-policy-link:hover {
  color: #eab308;
}

/* Submit Button */
.btn-submit-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.95rem 2rem;
  background: #facc15;
  color: #0a0a0d;
  font-weight: 800;
  font-size: 1rem;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: all 0.25s ease;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

.btn-submit-gold:hover {
  background: #eab308;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.6);
}

/* ==========================================================================
   EXTRA VALUE PERKS SECTION
   ========================================================================== */
.contact-perks-section {
  padding: 70px 0;
  background: #08090c;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.contact-perk-card {
  background: #111319;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
  padding: 2rem 1.6rem;
  text-align: center;
  height: 100%;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.contact-perk-card:hover {
  border-color: rgba(250, 204, 21, 0.3);
  transform: translateY(-4px);
}

.perk-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(250, 204, 21, 0.1);
  color: #facc15;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 1.1rem;
}

.contact-perk-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.contact-perk-card p {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.65;
  margin: 0;
}

/* ==========================================================================
   GOOGLE MAP / LOCATION SECTION
   ========================================================================== */
.contact-map-section {
  padding: 70px 0 95px;
  background: #111319;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.map-card-wrapper {
  background: #0d0e14;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.map-card-header {
  padding: 1.75rem 2rem;
  background: #141722;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.map-iframe-container iframe {
  display: block;
  filter: contrast(1.05) brightness(0.9);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 991px) {
  .contact-panel-title { font-size: 1.9rem; }
  .contact-info-panel,
  .contact-form-panel { padding: 2.2rem 1.8rem; }
}

@media (max-width: 575px) {
  .contact-hero { padding: 140px 0 50px; }
  .contact-channels-grid { grid-template-columns: 1fr; }
  .contact-panel-title { font-size: 1.6rem; }
  .form-panel-title { font-size: 1.5rem; }
  .contact-info-panel,
  .contact-form-panel { padding: 1.75rem 1.25rem; border-radius: 18px; }
  .map-card-header { padding: 1.25rem; }
}
