

:root{
    --negro:#212121;
    --blanco: #ffffff;
    --oscuro: #212121;
    --primario: #FFC107;
    --secundario: #0097A7;
    --gris: #757575;
    --grisClaro: #DFE9F3;
}


h1,h2,h3 {
   text-align: center;
}


.dksolar{
    background-image: url(/img/WhatsApp\ Image\ 2025-03-22\ at\ 10.09.45\ PM\ \(1\).jpeg);
    background-repeat: no-repeat;
    background-size: cover;
    height: 450px;
    position: relative;
    margin-bottom: 2rem;
 }
/*  Globales **/
html {
   font-size: 62.5%;
   box-sizing: border-box; /* Hack para Box Model **/
   scroll-snap-type: y mandatory;
}
/** Scroll Snap**/
.nosotros ,.servicios,
.navegacion-principal,
.formulario, footer {
   scroll-snap-align: center;
   scroll-snap-stop: always;
}

*, *:before, *:after {
   box-sizing: inherit;
}
 body {
   margin: 0;
    font-size: 16px; /* 1rem = 10px */
   
    background-image: linear-gradient(to top, var(--grisClaro) 0%, var(--blanco) 100% );
    font-family: Arial, Helvetica, sans-serif;
    
 }
.contenedor {
   max-width: 200rem;
   margin: 0 auto;
}

 .nav_bar{
    background-color:#FFA725;
  
    
}

.navegacion-principal {
    display: flex;
    flex-direction: column;
   
    position: fixed; /* Make it stick/fixed */
    top: 0; /* Stay on top */
    width: 100%; /* Full width */
    transition: background 0.3s ease;
    z-index: 1000;
            padding: 15px 0;
 }
 @media (min-width: 768px) {
    .navegacion-principal {
        flex-direction: row;
        justify-content:center;
        margin-top: -8px;
        padding: 35px;
        position: fixed; /* Make it stick/fixed */
        top: 0; /* Stay on top */
        width: 100%; /* Full width */
        transition: background 0.3s ease;
    }
 }
 
 .navegacion-principal a {
    display: block;
    text-align: center;
    color:white;
    text-decoration: none;
    font-size: 2rem;
    font-weight: 700;
    padding: 1rem;
 }
 .navegacion-principal a:hover {
    background-color: darkgoldenrod;
    color:black;
    transition-delay: 1.3ms;
    transition: color .3s ease-out;
    text-decoration: none;
    
    
 }
 
 .logo{
   background-image: url(/img/Logo\ DK\ Solar\ Full\ Ress\ -ok.png);
   
   background-size:33%;
  position: relative;
   background-repeat: no-repeat;
 }
@media (min-width:768px){
   .logo{
      background-image: url(/img/Logo\ DK\ Solar\ Full\ Ress\ -ok.png);
      
      background-size:7%;
     justify-content: center;
     
   position: relative;
      background-repeat: no-repeat;
    }
   
 }
 .contenido-hero {
   position: absolute;
   background-color: rgba( 0,0,0, .7 ); /** Anterior **/
   background-color: rgb( 0 0 0 / 70% );
   width: 100%;
   height: 100%;

   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;

}
.contenido-hero h2, 
.contenido-hero p {
   color: var(--blanco);
}


.boton {
   background-color: var(--primario);
   color: var(--blanco);
   padding: 1rem 3rem;
   margin-top: 3rem;
   font-size: 2rem;
   text-decoration: none;
   text-transform: uppercase;
   font-weight: bold;
   border-radius: .5rem;
   width: 90%;
   text-align: center;
   border: 19%;
  
}
@media (min-width: 768px) {
   .boton {
       width: auto;
   }
}
.boton:hover {
   cursor: pointer;
   text-decoration: none;
   color: var(--oscuro);
}
.sombra {
   box-shadow: 0px 5px 15px 0px rgba(112,112,112,0.48);
   background-color: var(--blanco);
   padding: 2rem;
   border-radius: 1rem;
}

@media (min-width: 768px) {
   .servicios {
       display: grid;
       grid-template-columns: repeat(3, 1fr);
       column-gap: 1rem;
   }
}
.nosotros{
   display: flex;
   flex-direction: column;

}
.servicio {
   display: flex;
   flex-direction: column;
   align-items: center;
}
.servicio h3 {
   color: var(--oscuro);
   font-weight: 700px;
}
.servicio p {
   line-height: 2;
   text-align: center;
}
.servicio .iconos {
   height: 15rem;
   width: 15rem;
   background-color: var(--primario);
   border-radius: 50%;
   display: flex;
   justify-content: space-evenly;
   align-items: center;
}
