/*---------------------------------------------------------------------
  Better Clean - Hoja de estilos principal
  Versión optimizada y compatible con el HTML
---------------------------------------------------------------------*/

/* Variables CSS */
:root {
     --primary-color: #114c7d;
     --secondary-color: #4ac9f0;
     --accent-color: #fbe212;
     --dark-color: #023041;
     --light-color: #f1f1f1;
     --text-color: #333;
     --white: #fff;
     --black: #000;
     --font-main: 'Poppins', sans-serif;
     --font-heading: 'Rajdhani', sans-serif;
     --transition: all 0.3s ease-in-out;
     --border-radius: 8px;
     --box-shadow: 0 4px 6px rgba(0,0,0,0.1);
   }
   
   
   html {
     scroll-behavior: smooth;
   }
   
   body {
     font-family: var(--font-main);
     color: var(--text-color);
     line-height: 1.6;
     background-color: var(--white);
     overflow-x: hidden;
   }
   
   img {
     max-width: 100%;
     height: auto;
     display: block;
   }
   
   a {
     text-decoration: none;
     color: var(--primary-color);
     transition: var(--transition);
   }
   
   a:hover {
     color: var(--secondary-color);
   }
   
   /* Tipografía */
   h1, h2, h3, h4, h5, h6 {
     font-family: var(--font-heading);
     font-weight: 600;
     line-height: 1.3;
     color: var(--primary-color);
     margin-bottom: 1rem;
   }
   
   h1 { font-size: 2.5rem; }
   h2 { font-size: 2rem; }
   h3 { font-size: 1.75rem; }
   h4 { font-size: 1.5rem; }
   h5 { font-size: 1.25rem; }
   h6 { font-size: 1rem; }
   
   p {
     margin-bottom: 1.5rem;
   }
   
   /* Layout */
   .container {
     width: 100%;
     max-width: 1200px;
     margin: 0 auto;
     padding: 0 1rem;
   }
   
   .section {
     padding: 4rem 0;
   }
   
   .section-title {
     text-align: center;
     margin-bottom: 3rem;
     position: relative;
   }
   
   .section-title::after {
     content: '';
     display: block;
     width: 80px;
     height: 4px;
     background: var(--secondary-color);
     margin: 1rem auto 0;
   }
   
   /* Header */
   .header {
     background-color: var(--dark-color);
     padding: 1rem 0;
     position: sticky;
     top: 0;
     z-index: 1000;
   }
   
   .header-container {
     display: flex;
     justify-content: space-between;
     align-items: center;
   }
   
   .logo img {
     max-height: 60px;
     background-color:#fbe212;
   }
   
   .main-nav ul {
     display: flex;
     list-style: none;
     gap: 1.5rem;
   }
   
   .main-nav a {
     color: var(--white);
     font-weight: 500;
     padding: 0.5rem 1rem;
     border-radius: var(--border-radius);
   }
   
   .main-nav a:hover,
   .main-nav a.active {
     background-color: rgba(255,255,255,0.1);
   }
   
   .quick-contact ul {
     list-style: none;
     display: flex;
     gap: 1.5rem;
   }
   
   .quick-contact a {
     color: var(--white);
     display: flex;
     align-items: center;
     gap: 0.5rem;
   }
   
   .quick-contact img {
     width: 20px;
     height: 20px;
   }
   
   /* Hero */
   .hero {
     background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../images/banner1.jpg');
     background-size: cover;
     background-position: center;
     color: var(--white);
     padding: 6rem 0;
     text-align: center;
   }
   
   .hero-content {
     max-width: 800px;
     margin: 0 auto;
   }
   
   .hero h1 {
     color: var(--white);
     font-size: 3rem;
     margin-bottom: 1.5rem;
   }
   
   .lead {
     font-size: 1.25rem;
     color: #000;
     margin-bottom: 2rem;
     background-color: #fbe212;
     border-radius: var(--border-radius);
   }
   
   /* Servicios */
   .services-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
     gap: 2rem;
   }
   
   .service-card {
     background: var(--white);
     padding: 2rem;
     border-radius: var(--border-radius);
     box-shadow: var(--box-shadow);
     transition: var(--transition);
     text-align: center;
   }
   
   .service-card:hover {
     transform: translateY(-5px);
     box-shadow: 0 10px 20px rgba(0,0,0,0.1);
   }
   
   .service-number {
     display: inline-block;
     width: 50px;
     height: 50px;
     background: var(--secondary-color);
     color: var(--white);
     border-radius: 50%;
     font-size: 1.5rem;
     line-height: 50px;
     margin-bottom: 1rem;
   }
   
   .service-card.accent {
     background: var(--accent-color);
   }
   
   /* Proceso de trabajo */
   .process-steps {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
     gap: 2rem;
     
   }
   
   .process-step {
     text-align: center;
   }
   
   .process-step img {
     border-radius: var(--border-radius);
     margin-bottom: 1rem;
   }
   
   /* Testimonios */
   .testimonial-slider {
     max-width: 800px;
     margin: 0 auto;
   
   }
   
   .testimonial {
     background: #fbe212;
    
     border-radius: var(--border-radius);
     text-align: center;
     
   }
   
   .testimonial img {
     
    border-radius: var(--border-radius);
     margin: 0 auto 1rem;
   }
   
   blockquote {
     font-style: italic;
     margin-bottom: 1rem;
   }
   
   cite {
     font-weight: bold;
     font-style: normal;
   }
   
   /* Contacto y Mapa */
   .contact-container {
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 2rem;
   }
   
   .contact-form {
     background: var(--light-color);
     padding: 2rem;
     border-radius: var(--border-radius);
   }
   
   .form-group {
     margin-bottom: 1.5rem;
   }
   
   .form-group label {
     display: block;
     margin-bottom: 0.5rem;
     font-weight: 500;
   }
   
   .form-group input,
   .form-group textarea {
     width: 100%;
     padding: 0.75rem;
     border: 1px solid #ddd;
     border-radius: var(--border-radius);
     font-family: var(--font-main);
   }
   
   .form-group textarea {
     min-height: 120px;
   }
   
   #map {
     height: 400px;
     border-radius: var(--border-radius);
     box-shadow: var(--box-shadow);
   }
   
   .address {
     margin-top: 1rem;
     text-align: center;
     font-weight: 500;
   }
   


   /* Footer */
   .footer {
     background: var(--dark-color);
     color: var(--white);
     padding: 3rem 0 1rem;
   }
   
   .footer-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
     gap: 2rem;
     margin-bottom: 2rem;
   }
   
   .footer-col h3 {
     color: var(--white);
     margin-bottom: 1.5rem;
     font-size: 1.25rem;
   }
   
   .footer-logo {
     max-width: 180px;
     margin-bottom: 1rem;
   }
   
   .footer ul {
     list-style: none;
   }
   
   .footer li {
     margin-bottom: 0.75rem;
   }
   
   .footer a {
     color: var(--white);
   }
   
   .footer a:hover {
     color: var(--secondary-color);
   }
   
   .newsletter-form {
     display: flex;
     gap: 0.5rem;
     margin-bottom: 1.5rem;
   }
   
   .newsletter-form input {
     flex: 1;
     padding: 0.75rem;
     border: none;
     border-radius: var(--border-radius);
   }
   
   .social-links {
     display: flex;
     gap: 1rem;
   }
   
   .social-links a {
     display: flex;
     align-items: center;
     justify-content: center;
     width: 40px;
     height: 40px;
     background:#4ac9f0;
     border-radius: 50%;
     transition: var(--transition);
   }
   
   .social-links a:hover {
     background: var(--primary-color);
     transform: translateY(-3px);
   }
   
   .social-links img {
     width: 20px;
     height: 20px;
   }
   
   .footer-bottom {
     text-align: center;
     padding-top: 2rem;
     border-top: 1px solid #4ac9f0;
   }
   
   /* Botones */
   .btn {
     display: inline-block;
     padding: 0.75rem 1.5rem;
     border-radius: var(--border-radius);
     font-weight: 500;
     text-align: center;
     transition: var(--transition);
     cursor: pointer;
   }
   
   .btn-primary {
     background: var(--primary-color);
     color: var(--white);
   }
   
   .btn-primary:hover {
     background: var(--secondary-color);
     transform: translateY(-2px);
   }
   
   .btn-secondary {
     background: var(--accent-color);
     color: var(--text-color);
   }
   
   .btn-secondary:hover {
     background: var(--secondary-color);
     color: var(--white);
   }
   
   /* Responsive */
   @media (max-width: 992px) {
     .header-container {
       flex-direction: column;
       gap: 1.5rem;
     }
     
     .main-nav ul {
       flex-wrap: wrap;
       justify-content: center;
     }
     
     .quick-contact ul {
       justify-content: center;
     }
   }
   
   @media (max-width: 768px) {
     .contact-container {
       grid-template-columns: 1fr;
     }
     
     .section {
       padding: 3rem 0;
     }
     
     .hero h1 {
       font-size: 2.5rem;
     }
   }
   
   @media (max-width: 576px) {
     .main-nav ul {
       flex-direction: column;
       align-items: center;
       gap: 0.5rem;
     }
     
     .quick-contact ul {
       flex-direction: column;
       align-items: center;
       gap: 0.5rem;
     }
     
     .hero {
       padding: 4rem 0;
     }
     
     .hero h1 {
       font-size: 2rem;
     }
     
     .lead {
       font-size: 1.1rem;
     }
   }

/* ----------- Presupuesto ----------- */

.presupuesto {
  padding: 4rem 0;
}

.presupuesto h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  text-align: center;
}

.presupuesto p {
  text-align: center;
  margin-bottom: 2rem;
}

.presupuesto form {
  max-width: 700px;
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
}

.presupuesto .form-group {
  display: flex;
  flex-direction: column;
}

.presupuesto label {
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.presupuesto input,
.presupuesto select,
.presupuesto textarea {
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-size: 1rem;
}

.presupuesto button {
  background: var(--primary-color);
  color: var(--white);
  border: none;
  padding: 0.75rem;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
}

.presupuesto button:hover {
  background: var(--secondary-color);
}
