/* =====================================================
   PÁGINA: CONTACTO COMPLETO - DAITEC
   Variables globales están en base/variables.css
   ===================================================== */

/* =====================================================
   1. HERO CONTACTO
   ===================================================== */
.contact-hero {
  position: relative;
  min-height: 650px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--primary);
  color: var(--white);
  text-align: center;
  padding: 100px 20px 180px;
}

.hero-bg-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-slide {
  width: 100%;
  height: 100%;
  background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=1920&q=80');
  background-size: cover;
  background-position: center;
  opacity: 0.5;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--maxw-content);
}

.kicker {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.hero-inner h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  font-weight: 800;
}

.hero-inner p {
  font-size: 1.2rem;
  line-height: 1.6;
  opacity: 0.9;
}

/* =====================================================
   2. INFO CARDS (Efecto flotante sobre la imagen)
   ===================================================== */
.contact-section-info {
  position: relative;
  z-index: 10;
  margin-top: -120px;
  padding-bottom: 60px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

/* Estilos específicos de contact-info-card ya están en tarjetas.css */

/* =====================================================
   3. SECCIÓN FORMULARIO
   ===================================================== */
.contact-section-form {
  padding: 80px 20px;
  background: var(--white);
}

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

.form-header h2 {
  color: var(--primary);
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.form-header p {
  color: var(--text-light);
  margin-bottom: 3rem;
  font-size: 1.1rem;
}

/* =====================================================
   ESTILOS DEL FORMULARIO
   ===================================================== */
.form-group {
  margin-bottom: 1.5rem;
}

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

.form-input {
  width: 100%;
  padding: 15px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  background: #fdfdfd;
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition-base);
}

.form-input:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px var(--ring);
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--primary);
}

.required {
  color: #ff4d4d;
}

/* Botón de envío - usa el sistema de botones global */
.btn-submit {
  background: var(--primary);
  color: var(--white);
  padding: 1.2rem;
  width: 100%;
  border: none;
  border-radius: var(--radius);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-base);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-submit:hover {
  background: #0d1a2d;
  transform: scale(1.02);
}

/* =====================================================
   4. INFO BOX LATERAL
   ===================================================== */
.contact-info-box {
  background: var(--bg-light);
  padding: 40px;
  border-radius: var(--radius-xl);
}

.contact-info-box h3 {
  margin-bottom: 2rem;
  color: var(--primary);
}

.info-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.info-icon-check {
  color: var(--accent);
  font-size: 1.3rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.info-item h4 {
  margin-bottom: 5px;
  color: var(--primary);
}

.info-item p {
  font-size: 0.95rem;
  color: var(--text-light);
  margin: 0;
}

/* =====================================================
   REDES SOCIALES
   ===================================================== */
.social-contact-wrapper {
  margin-top: 40px;
  text-align: center;
}

.social-btns-container {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 20px;
}

.social-btn {
  width: 50px;
  height: 50px;
  background: var(--white);
  color: var(--primary);
  border-radius: var(--radius-circle);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-base);
}

.social-btn:hover {
  background: var(--accent);
  color: var(--primary);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 992px) {
  .contact-form-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .contact-hero {
    min-height: 500px;
    padding: 80px 20px 150px;
  }

  .hero-inner h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .contact-section-info {
    margin-top: -80px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .hero-inner h1 {
    font-size: 2rem;
  }
  
  .hero-inner p {
    font-size: 1rem;
  }
  
  .contact-info-box {
    padding: 30px 20px;
  }
}