.hero-section {
  position: relative;
  min-height: 50vh; /* Slightly shorter for internal pages */
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 80px;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 30% 40%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(212, 175, 55, 0.05) 0%, transparent 50%);
}

.hero-section .container {
  position: relative;
  z-index: 1;
}

.hero-section h1 {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
}

.hero-section p.lead {
    color: rgba(255,255,255,0.9);
    font-size: 1.3rem;
    font-style: italic;
}


@keyframes rotateGlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* CONTACT HUB WRAPPER */
.contact-hub-wrapper {
  background: var(--white);
  border-radius: 40px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(10, 36, 99, 0.15);
  border: 1px solid rgba(10, 36, 99, 0.08);
  margin-top: -80px;
  position: relative;
  z-index: 10;
}

/* FORM SIDE STYLES */
.section-title-modern {
  color: var(--primary-blue);
  font-size: 2.8rem;
  letter-spacing: -1.5px;
  font-weight: 800;
  margin-bottom: 15px;
}

/* FLOATING LABELS PREMIUM */
.form-floating > .form-control {
    height: calc(3.8rem + 2px);
    border: 1px solid #e0e0e0;
    border-radius: 12px;
}

.form-floating > .form-control:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.1);
}

/* MAP & INFO SIDE */
.map-and-info-container {
  height: 100%;
  min-height: 600px;
  position: relative;
}

.integrated-map {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* THE GLASS BOX - COMPACT TECH FOOTER */
.contact-info-glass {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  padding: 20px 25px;
  border-radius: 25px;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 15px 35px rgba(13, 42, 107, 0.15);
}

.info-group {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 12px;
}

.info-icon-mini {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #0d2a6b 0%, #1a4ab2 100%);
  color: var(--accent-gold);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: 0 5px 15px rgba(13, 42, 107, 0.2);
}

.info-text h6 {
  margin: 0;
  color: #0d2a6b;
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.info-text p {
  margin: 0;
  font-size: 0.85rem;
  color: #0d2a6b;
  font-weight: 600;
  opacity: 0.85;
}

.contact-wa-link {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px dashed transparent;
}

.contact-wa-link:hover {
    color: #0d6efd;
    border-bottom-color: #0d6efd;
}

/* COMPACT SOCIAL FOOTER */
.social-links-minimal {
  padding-top: 15px;
  border-top: 1px solid rgba(13, 42, 107, 0.08);
  display: flex;
  justify-content: center;
  gap: 20px;
}

.social-links-minimal a {
  color: #0d6efd;
  font-size: 1.3rem;
  transition: all 0.3s ease;
}

.social-links-minimal a:hover {
  color: var(--primary-blue);
  transform: translateY(-3px);
}

.tech-tag {
    font-size: 0.7rem;
    color: #0d2a6b;
    opacity: 0.5;
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
}

/* PREMIUM CITIES BADGE */
.bg-gold-soft {
  background: rgba(212, 175, 55, 0.18);
  color: #0d2a6b;
  font-weight: 800;
  border-radius: 10px;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

/* BUTTON ENVIAR PROPUESTA */
.btn-gold {
    background: linear-gradient(135deg, #f1d35a 0%, #e9c445 100%);
    color: #0d2a6b;
    border: 1px solid rgba(13, 42, 107, 0.1);
    border-radius: 50px;
    padding: 20px 30px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 20px 40px rgba(233, 196, 69, 0.4);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.btn-gold:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 25px 50px rgba(233, 196, 69, 0.5);
    background: linear-gradient(135deg, #e9c445 0%, #d4af37 100%);
}
/* RESPONSIVE */
@media (max-width: 991px) {
    .contact-hub-wrapper {
        margin-top: 20px;
        margin-left: 10px;
        margin-right: 10px;
    }
    .map-and-info-container {
        min-height: 500px;
    }
}
