/* Reset */

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Estilos principales */
html, body{
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.7em;
}

a{
  color: #333;
  text-decoration: none;
}

h1, h2, h3{
  padding-bottom: 10px 0;
}

p{
  margin: 10px 0;
}

/* Utilidades */
.container{
margin: auto;
max-width: 1100px;
overflow: auto;
padding: 0 20px;
}

.clr{
  clear: both;
}

/* padding */
.py-1{
  padding: 10px 0;
}

.py-2{
  padding: 20px 0;
}

.py-3{
  padding: 30px 0;
}

.btn{
  display: inline-block;
  font-size: 16px;
  color: #ffffff;
  background: #333;
  padding: 13px 20px;
  border: none;
  cursor: pointer;
}

.lead{
  font-size: 20px; 
  color: #f1ee06;
}

.text-primary{
  color: #f15050;
}

.btn:hover{
  background: #fff466;
  color: #333;
}

/* NavegaciÃ³n */
#navbar{
  position:sticky;
  top:0;
  background: lab(16.22% 0.46 0.16);
  color: #ffff;
  overflow: auto;
  z-index: 9999;
 
}

#navbar a{
  color: #f3dddd;
}

#navbar h1{
  float: left;
  padding-top: 20px;
  color: #252323;
  
}

#navbar ul{
  list-style: none;
  float: right;
}

#navbar ul li{
  float: left;
}

#navbar ul li a{
  display: block;
  padding: 20px;
  text-align: center;
}

#navbar ul li a:hover,#navbar ul li a.current{
  background: #fff466;
  color: #000;
}

/* Showcase */
#showcase{
  background: url('../img/bg-1.jpg') no-repeat center center/cover;
  opacity: 0.8;
  height: 600px;
 
}

#showcase .showcase-content{
  color: white;
  text-align: center;
  padding-top: 170px;
}

#showcase .showcase-content h1{
  font-size: 60px;
  line-height: 1.2em;
}

#showcase .showcase-content p{
  padding-bottom: 20px;
  line-height: 1.7em;
}

/* Home */
#home-info{
  height: 400px;
}

#home-info .info-img{
  float: left;
  width: 50%;
  background: url('../img/instalaciones-electricas-en-lima.jpg') no-repeat;
  background-position: center;
  background-size: cover;
  min-height: 100%;
}

#home-info .info-content{
  float: right;
  width: 50%;
  height: 100%;
  text-align: center;
  padding: 50px 30px;
  overflow: hidden;
}

/* Features */
.box{
  float: left;
  width: 33.3%;
  padding: 50px;
  text-align: center;
}

.box i{
  margin-bottom: 20px;
}
.bg-gray{
  background: #cfcfcf;
  color: #333;
}

.bg-light{
  background: #f4f4f4;
  color: #333;
}

.bg-primary{
  background: #fff466;
  color: #333;
 
}
/* youtube........................................*/

.videos-section{
  width: 100%;
  max-width: 1100px;
  margin: 40px auto;
  overflow: hidden; /* limpia floats */
}

.video-box{
  float: left;
  width: 31%;
  margin-right: 3.5%;
  margin-bottom: 30px;
}

/* quitar margen al ¨²ltimo */
.video-box:nth-child(3){
  margin-right: 0;
}

.video-container{
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* proporci¨®n 16:9 */
  height: 0;
  overflow: hidden;
}

.video-container iframe{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
/* fin youtube........................................*/











/* Footer */
#main-footer{
  text-align: center;
  background: #000;
  color: #fff;
  padding: 20px;
}

/* Empresa */
#about-info .info-right{
  float: right;
  width: 50%;
  min-height: 100%;
}

#about-info .info-right img{
  display: block;
  margin: auto;
  width: 70%;
  border-radius: 50%;
}

#about-info .info-left{
  float: left;
  width: 50%;
  min-height: 100%;
}

.l-heading{
  font-size: 40px;
}

/* Testimonios */
#testimonials{
  height: 100%;
  background: url('../img/mantenimiento-de-ups.jpg') no-repeat center center/cover;
  padding-top: 100px;
}

#testimonials h2{
  color: white;
  text-align: center;
  padding-bottom: 40px;
}

#testimonials .testimonial{
  padding: 20px;
  margin-bottom: 40px;
  border-radius: 5px;
  opacity: 0.9;
}

#testimonials .testimonial img{
  width: 100px;
  float: left;
  margin-right: 20px;
  border-radius: 50%;
}

/* Contacto */
#contact-form .form-group{
  display: block;
  margin-bottom: 5px;
}

#contact-form label{
  display: block;
  margin-bottom: 5px;
  
}

#contact-form input, #contact-form textarea{
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
}

#contact-form textarea{
  height: 200px;
}

#contact-form input:focus,
#contact-form textarea:focus{
  margin-right: 5px;
  margin-left: 5px;
  outline: none;
  border-color: #2ddd1d;
 
}

.whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 100;
  display: flex;
  align-items: center;
  text-decoration: none;
}

.whatsapp img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  transition: transform 0.3s;
}

.whatsapp img:hover {
  transform: scale(1.1);
}

/* Estilo del texto emergente */
.tooltip {
  visibility: hidden;
  opacity: 0;
  margin-right: 10px;
  padding: 6px 10px;
  background-color: #153dac;
  color: white;
  border-radius: 6px;
  font-size: 14px;
  white-space: nowrap;
  transition: opacity 0.3s;
}

/* Mostrar texto al pasar el mouse */
.whatsapp:hover .tooltip {
  visibility: visible;
  opacity: 1;
}

/* contador de visitas*/
.contador {
  margin: 20px auto;
  padding: 15px 20px;
  max-width: 400px;
  text-align: center;
  font-family: Arial, sans-serif;
  font-size: 16px;
  background: #f0f8ff;
  border: 2px solid #25d366;
  border-radius: 12px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.15);
  color: #333;
}

.contador .numero {
  display: block;
  margin-top: 8px;
  font-size: 22px;
  font-weight: bold;
  color: #d3b325; /* Verde estilo WhatsApp */
}

/* Botones de redes sociales */
.social-left {
  position: fixed;
  bottom: 20px;
  left: 20px;
  display:flex;
  flex-direction:column;
  gap: 12px;
  z-index: 200;
}

.social-left a {
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  color: white;
  font-size: 22px;
  text-decoration: none;
  transition: transform 0.3s, opacity 0.3s;
}

/* Colores oficiales */
.social-left .tiktok { background: #000000; }
.social-left .linkedin { background: #0e76a8; }
.social-left .facebook { background: #1877f2; }

.social-left a:hover {
  transform: scale(1.2);
  opacity: 0.9;
}

/* ======== SECCIONES SEO ======== */

.seo-text,
.faq,
.zona {
    max-width: 1000px;
    margin: 60px auto;
    padding: 40px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    line-height: 1.7;
}





/* TITULOS PRINCIPALES */
.seo-text h2,
.faq h2,
.zona h2 {
    font-size: 28px;
    color: #0b3c5d;
    margin-bottom: 25px;
    border-left: 6px solid #0077b6;
    padding-left: 15px;
}

/* SUBTITULOS */
.seo-text h3,
.faq h3,
.zona h3 {
    font-size: 20px;
    margin-top: 30px;
    margin-bottom: 10px;
    color: #1a1a1a;
}

/* PARRAFOS */
.seo-text p,
.faq p,
.zona p {
    margin-bottom: 15px;
    color: #444;
    font-size: 16px;
}

/* LISTAS TECNICAS */
.seo-text ul {
    margin-top: 15px;
    padding-left: 25px;
}

.seo-text ul li {
    margin-bottom: 10px;
    position: relative;
}

/* CHECK TECNICO */
.seo-text ul li::marker {
    color: #00a86b;
}

/* FAQ estilo acorde¨®n visual */
.faq h3 {
    background: #f5f8fa;
    padding: 12px 15px;
    border-radius: 6px;
    border-left: 4px solid #0077b6;
}

/* ZONA */
.zona {
    background: #f7fbff;
    border: 1px solid #e1ecf4;
}

/* ======== MOVIL ======== */
@media(max-width:768px){

.seo-text,
.faq,
.zona {
    padding: 25px 18px;
    margin: 40px 12px;
}

.seo-text h2,
.faq h2,
.zona h2{
    font-size: 22px;
}

}







/* botones redes sociales........................................*/


/* Contenedor */
.share-buttons{
  margin-top:20px;
  padding:15px;
  border-top:1px solid #e5e5e5;
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  font-family:Arial, Helvetica, sans-serif;
}

.share-buttons span{
  font-weight:600;
  margin-right:10px;
  color:#444;
}

/* Botones */
.share-buttons a{
  text-decoration:none;
  padding:8px 14px;
  border-radius:6px;
  font-size:14px;
  color:#fff;
  transition:0.25s ease;
  display:inline-block;
}

/* Colores oficiales */
#share-wa{ background:#25D366; }
#share-fb{ background:#1877F2; }
#share-ln{ background:#0A66C2; }

/* Hover */
.share-buttons a:hover{
  transform:translateY(-2px);
  opacity:0.9;
}

/* M¨®vil */
@media(max-width:600px){
  .share-buttons{
    justify-content:center;
    text-align:center;
  }
}

.galeria-servicios {
    padding: 40px;
    text-align: center;
}

.galeria-servicios h2 {
    font-size: 26px;
    margin-bottom: 20px;
}

.grid-galeria {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.grid-galeria img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
}

.faq {
  padding: 40px;
  max-width: 900px;
  margin: auto;
}

.faq h2 {
  text-align: center;
  margin-bottom: 30px;
}

.faq-item {
  margin-bottom: 20px;
}

.faq-item h3 {
  font-size: 18px;
  color: #0a58ca;
}

.faq-item p {
  font-size: 15px;
  line-height: 1.6;
}





