/* css/style.css */
:root {
    --primary-color: #ff4500; /* Rojo fuerte */
    --secondary-color: #ff8c00; /* Naranja oscuro */
    --font-family: 'Inter', sans-serif;
  }
  
  * { margin: 0; padding: 0; box-sizing: border-box; }
  body { font-family: var(--font-family); color: #333; line-height: 1.6; }
  .container { width: 90%; max-width: 1200px; margin: 0 auto; }

 /* Logo como imagen */
.logo {
  display: inline-block;
  padding: 0;
  line-height: 1;
}
.logo img {
  display: block;
  max-height: 50px;    /* ajusta la altura según prefieras */
  width: auto;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;    /* reduce un poco para ajustar al logo */
}

/* Navegación */
.main-nav {
  display: flex;
  align-items: center;
}
.main-nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}
.main-nav a:hover,
.main-nav a.active {
  color: #FF5722;
}

/* Botón hamburguesa */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #333;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .main-nav.active {
    max-height: 500px; /* ajusta según número de ítems */
  }
  .main-nav ul {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }
}

/* *****************hero */

  .hero {
    position: relative;
    background: url('../images/hero.jpg') center/cover no-repeat;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }
  
  .hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
  }
  
  .hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    text-align: center;
    color: #fff;
    padding: 0 1rem;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
  }
  
  .hero-content p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
  }
  
  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary {
    display: inline-block;
    font-weight: 600;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    transition: background 0.3s ease, transform 0.3s ease;
    margin: 0 0.5rem;
  }
  
  .btn-primary {
    background-color: #FF5722;    /* naranja rojizo */
    color: #fff;
  }
  
  .btn-primary:hover {
    background-color: #E64A19;    /* rojo anaranjado más oscuro */
    transform: translateY(-2px);
  }
  
  .btn-secondary {
    background: linear-gradient(45deg, #FF8A50, #FF5722);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(255, 87, 34, 0.4);
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .btn-secondary:hover {
    background: linear-gradient(45deg, #FF7043, #E64A19);
    box-shadow: 0 6px 16px rgba(230, 74, 25, 0.5);
    transform: translateY(-2px);
  }
 
  @media (max-width: 768px) {
    .hero-content h1 {
      font-size: 2rem;
    }
    .hero-content p {
      font-size: 1rem;
    }
    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
      margin: 0.25rem 0;
      width: 100%;
      max-width: 300px;
    }
  }

  /* Nosotros */
  .about {
    background: #fff5f0;
    padding: 4rem 0;
    text-align: center;
  }
  .about h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
  }
  .about p {
    max-width: 800px;
    margin: 0 auto 1rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
  }
  .about-columns {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 3rem;
    gap: 2rem;
  }
  .about-card {
    background: #fff;
    border: 1px solid #ffd6c0;
    border-radius: 12px;
    padding: 2rem;
    width: 300px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  }
  .about-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: block;
  }
  .about-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-size: 1.5rem;
  }
  .about-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
  }
  
  .about p {
    max-width: 800px;
    margin: 0 auto 1rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
  }
  

 /* Proceso de Trabajo ********************************/
.process {
  padding: 4rem 0;
  background: #f9f9f9;
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 2rem;
}
.step {
  text-align: center;
  padding: 2rem 1rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.process-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  color: #FF5722;
}

/* ¿Por qué Elegirnos? – Profesional **************************************/
.why-us-professional {
  padding: 5rem 0;
  background: #fff5f0;
}
.section-title {
  text-align: center;
  font-size: 2.25rem;
  color: #FF5722;
  margin-bottom: 3rem;
  font-weight: 600;
}
.why-us-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}
.why-us-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-left: 4px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
  background: #f9f9f9;
  border-radius: 8px;
}
.why-us-item:hover {
  border-color: #FF5722;
  background: #f1f7ff;
}
.icon-wrap {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: #FF5722;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}
.text h3 {
  margin: 0;
  font-size: 1.25rem;
  color: #222;
  font-weight: 600;
}
.text p {
  margin: 0.5rem 0 0;
  color: #555;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .why-us-list {
    gap: 1rem;
  }
  .why-us-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .why-us-item:hover {
    background: #f9f9f9;
  }
  .icon-wrap {
    margin-bottom: 0.5rem;
  }
}

/* FAQ – Diseño Pestañas ********************************/
.faq-tabs {
  background: #f9f9f9;
  padding: 4rem 0;
}
.faq-tabs .section-title {
  text-align: center;
  font-size: 2rem;
  color: #FF5722;
  margin-bottom: 2rem;
  font-weight: 600;
}

/* Grid en dos columnas iguales y estiradas */
.faq-tabs-container {
  display: grid;
  grid-template-columns: 1fr 1fr;    /* dos columnas iguales */
  gap: 2rem;
  align-items: stretch;              /* columnas igual altura */
}

/* Lista de pestañas (preguntas) */
.faq-tabs-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  height: 100%;                      /* ocupa toda la altura de la celda */
}

/* Contenedor de respuestas */
.faq-tabs-content {
  display: flex;                     
  flex-direction: column;
  height: 100%;                      /* ocupa toda la altura de la celda */
}

/* Botones de pestaña */
.faq-tab {
  background: #f1f3f5;
  border: none;
  padding: 0.75rem 1rem;
  text-align: left;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: background 0.3s ease, color 0.3s ease;
}
.faq-tab:hover {
  background: #e2e6ea;
}
.faq-tab.active {
  background: #FF5722;
  color: #fff;
}

/* Tarjetas de contenido de cada respuesta */
.faq-tabs-content .faq-content {
  display: none;
  background: #f9fafb;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  flex: 1;                           /* estira para llenar toda la celda */
  overflow-y: auto;                  /* si hay overflow, permite scroll */
}
.faq-tabs-content .faq-content.active {
  display: block;
}

/* Responsive */
@media (max-width: 768px) {
  .faq-tabs-container {
    grid-template-columns: 1fr;
  }
  .faq-tabs-list {
    flex-direction: row;
    overflow-x: auto;
  }
  .faq-tab {
    flex: none;
    white-space: nowrap;
  }
}


/* Contacto Profesional ********************************************/
.contact-professional {
  background: #fff5f0;
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  color: #FF5722;
  margin-bottom: 2rem;
  font-weight: 600;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 900px;
  margin: 0 auto;
  align-items: stretch;
}

.contact-info,
.contact-form {
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.contact-info p {
  margin-bottom: 1rem;
  color: #555;
}

.contact-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.contact-info li {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  color: #333;
}
.contact-info li i {
  margin-right: 0.75rem;
  color: #FF5722;
  width: 24px;
  text-align: center;
}

.contact-info iframe {
  width: 100%;
  height: 250px;
  border: none;
  border-radius: 8px;
  margin-top: 1rem;
}

.form-group {
  margin-bottom: 1.5rem;
}
.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #333;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #ccd0d5;
  border-radius: 4px;
  font-size: 0.95rem;
  color: #333;
  transition: border-color 0.2s ease;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #004AB8;
  background: #fff;
}

.btn-submit {
  align-self: flex-start;
  margin-top: auto;
  background: #FF5722;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}
.btn-submit:hover {
  background: #E64A19;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .btn-submit {
    align-self: center;
  }
}

 /* Footer *****************************/
 .site-footer { background: #f4f4f4; padding: 1rem 0; text-align: center; }
  
 @media (max-width: 768px) {
   .main-nav { display: none; }
   .nav-toggle { display: block; }
   .stats-container { flex-direction: column; gap: 2rem; }
 }


 .animated {
   opacity: 0;
   transform: translateY(30px);
   animation: fadeUp 0.6s ease-out forwards;
 }
 
 .animated:nth-child(1) { animation-delay: 0.1s; }
 .animated:nth-child(2) { animation-delay: 0.3s; }
 
 @keyframes fadeUp {
   to {
     opacity: 1;
     transform: translateY(0);
   }
 }
  
  