*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:Arial, sans-serif;
    background:#061426;
}

/* CONTENEDOR GENERAL */
.contenedor{
    width:92%;
    max-width:1200px;
    margin:0 auto;
}

/* HEADER */
.header{
    width:100%;
    height:90px;
    background:#061426;
    color:white;
    display:flex;
    align-items:center;
}

.header-contenido{
    display:flex;
    align-items:center;
    justify-content:space-between;
}

/* LOGO */
.logo{
    display:flex;
    align-items:center;
    gap:12px;
}

.logo-circulo{
    width:52px;
    height:52px;
    border-radius:50%;
    background:linear-gradient(135deg,#22b14c,#0a6f38);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:26px;
    font-weight:bold;
}

.logo h1{
    font-size:28px;
    line-height:1;
    letter-spacing:1px;
}

.logo p{
    font-size:11px;
    text-transform:uppercase;
    margin-top:4px;
}

/* MENU */
.menu{
    display:flex;
    gap:24px;
}

.menu a{
    color:white;
    text-decoration:none;
    font-size:13px;
    font-weight:bold;
    text-transform:uppercase;
}

.menu a:hover{
    color:#8bd94c;
}

/* BOTON */
.boton-header{
    background:#22b14c;
    color:white;
    text-decoration:none;
    padding:13px 20px;
    border-radius:8px;
    font-size:13px;
    font-weight:bold;
    text-transform:uppercase;
}
/* HERO */
.hero{
    height:calc(100vh - 90px);


    background:
    linear-gradient(
        90deg,
        rgba(6,20,38,.85),
        rgba(6,20,38,.55),
        rgba(6,20,38,.15)
    ),
    url("../../images/hero.jpg");

    background-size:cover;
    background-position:center;
    display:flex;
    align-items:center;
}
.hero-contenido{
    height:100%;
    display:flex;
    align-items:center;
}
.hero-texto{
    max-width:720px;
    color:white;
    margin-left:50px;
}

.hero-texto h2{
    font-size:64px;
    line-height:1.1;
    max-width:700px;
    margin-bottom:25px;
}

.hero-texto h2 span{
    color:#8bd94c;
}

.hero-texto p{
    font-size:18px;
    max-width:650px;
    margin-bottom:30px;
}

.hero-beneficios{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:18px;
    margin-bottom:35px;
}

.hero-beneficios div{
    border-left:2px solid #8bd94c;
    padding-left:12px;
    font-size:14px;
    font-weight:bold;
}

.hero-botones{
    display:flex;
    gap:16px;
}

.boton-principal,
.boton-secundario{
    text-decoration:none;
    padding:15px 24px;
    border-radius:8px;
    font-size:13px;
    font-weight:bold;
    text-transform:uppercase;
}

.boton-principal{
    background:#22b14c;
    color:white;
}

.boton-secundario{
    border:2px solid #8bd94c;
    color:white;
}
/* SERVICIOS */

.servicios{
    background:#f5f7fa;
    padding:80px 0;
}

.titulo-seccion{
    text-align:center;
    color:#061426;
    font-size:42px;
    margin-bottom:50px;
}

.grid-servicios{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
}

.card-servicio{
    background:white;
    border-radius:18px;
    padding:45px 35px;
    min-height:230px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    transition:.3s;
}

.card-servicio:hover{
    transform:translateY(-10px);
    box-shadow:0 20px 40px rgba(0,0,0,.15);
}

.card-servicio h3{
    color:#061426;
    margin-bottom:15px;
}

.card-servicio p{
    color:#666;
    line-height:1.6;
}
.contenedor{
    width:90%;
    max-width:1200px;
    margin:auto;
}
.hero-descripcion{
    display:flex;
    align-items:center;
    gap:18px;
    margin:25px 0 30px;
}


.linea-verde{
    width:5px;
    height:70px;
    background:#8bd94c;
    flex-shrink:0;
}

.hero-descripcion p{
    margin:0;
    max-width:650px;
}
.trabajamos{
    padding:90px 0;
    background:
    linear-gradient(rgba(6,20,38,.88),rgba(6,20,38,.88)),
    url("../../images/hero.jpg");
    background-size:cover;
    background-position:center;
}

.blanco{
    color:white;
}

.pasos{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:20px;
    text-align:center;
}

.paso{
    color:white;
}

.paso span{
    width:70px;
    height:70px;
    border:3px solid #8bd94c;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    margin:auto;
    font-size:28px;
    font-weight:bold;
    color:#8bd94c;
}

.paso h3{
    margin-top:20px;
    margin-bottom:10px;
}

.paso p{
    font-size:14px;
    opacity:.9;
}
.nosotros{
    background:#f5f7fa;
    padding:100px 0;
}

.nosotros-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:80px;
}

.nosotros h2{
    color:#061426;
    margin-bottom:25px;
    font-size:38px;
}

.nosotros p{
    color:#444;
    line-height:1.8;
    margin-bottom:20px;
}

.elegirnos ul{
    list-style:none;
}

.elegirnos li{
    margin-bottom:18px;
    font-size:18px;
    color:#333;
}
.foto-nosotros{
    width:260px;
    height:260px;
    border-radius:50%;
    object-fit:cover;
    border:8px solid #22b14c;
    margin-bottom:30px;
}
.especialidades{
    background:#eef5f1;
    padding:90px 0;
}

.especialidades-grid{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:20px;
}

.especialidad{
    background:white;
    padding:35px;
    border-radius:15px;
    text-align:center;
    font-weight:bold;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
}
.estadisticas{
    background:#061426;
    color:white;
    padding:70px 0;
}

.stats-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    text-align:center;
}

.stats-grid h3{
    color:#8bd94c;
    font-size:50px;
    margin-bottom:10px;
}.footer{
    background:#061426;
    color:white;
    padding:80px 0;
    border-top:1px solid rgba(255,255,255,.15);
}

.footer-grid{
    display:grid;
    grid-template-columns:2fr 1fr 1.5fr 1.5fr;
    gap:50px;
}

.footer h2{
    font-size:34px;
    margin-bottom:15px;
}

.footer h3{
    color:#8bd94c;
    margin-bottom:18px;
}

.footer p,
.footer a{
    display:block;
    color:white;
    text-decoration:none;
    margin-bottom:10px;
    opacity:.9;
}

.boton-footer{
    background:#22b14c;
    padding:14px 18px;
    border-radius:8px;
    margin-top:20px;
    text-align:center;
    font-weight:bold;
}
.icono-servicio{
    font-size:50px;
    margin-bottom:20px;
}
.titulo-seccion::after{
    content:"";
    display:block;
    width:80px;
    height:4px;
    background:#22b14c;
    margin:15px auto 0;
    border-radius:10px;
}
.logo-img{
    width:60px;
    height:60px;
    border-radius:50%;
    object-fit:cover;
}
.whatsapp{
    position:fixed;
    right:25px;
    bottom:25px;
    width:65px;
    height:65px;
    background:#25D366;
    color:white;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:30px;
    text-decoration:none;
    z-index:9999;
    box-shadow:0 10px 25px rgba(0,0,0,.3);
}
@media(max-width:768px){

.menu{
    display:none;
}

.hero-texto h2{
    font-size:48px;
}

.grid-servicios{
    grid-template-columns:1fr;
}

.especialidades-grid{
    grid-template-columns:1fr 1fr;
}

.stats-grid{
    grid-template-columns:1fr;
    gap:30px;
}

.footer-grid{
    grid-template-columns:1fr;
}

}
.instagram{
    position:fixed;
    right:25px;
    bottom:100px;
    width:65px;
    height:65px;
    background:#E1306C;
    color:white;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:30px;
    text-decoration:none;
    z-index:9999;
    box-shadow:0 10px 25px rgba(0,0,0,.3);
}

.whatsapp{
    position:fixed;
    right:25px;
    bottom:25px;
    width:65px;
    height:65px;
    background:#25D366;
    color:white;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:30px;
    text-decoration:none;
    z-index:9999;
    box-shadow:0 10px 25px rgba(0,0,0,.3);
}
.titulo-seccion::after{
    content:"";
    display:block;
    width:80px;
    height:4px;
    background:#22b14c;
    margin:15px auto 0;
    border-radius:20px;
}
.nosotros-texto h2::after{
    content:"";
    display:block;
    width:80px;
    height:4px;
    background:#22b14c;
    margin-top:15px;
    border-radius:20px;
}
.elegirnos h2::after{
    content:"";
    display:block;
    width:80px;
    height:4px;
    background:#22b14c;
    margin-top:15px;
    border-radius:20px;
}
.whatsapp,
.instagram{
    position:fixed;
    right:25px;
    width:60px;
    height:60px;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    color:white;
    font-size:28px;
    text-decoration:none;
    box-shadow:0 8px 20px rgba(0,0,0,.25);
    z-index:9999;
}

.whatsapp{
    bottom:25px;
    background:#25D366;
}

.instagram{
    bottom:100px;
    background:#E1306C;
}
html{
    scroll-behavior:smooth;
}
/* ===== RESPONSIVE CELULAR ===== */

@media screen and (max-width: 768px) {

  body {
    overflow-x: hidden;
  }

  .contenedor {
    width: 90%;
    max-width: 90%;
  }

  header,
  .hero,
  section {
    padding-left: 20px;
    padding-right: 20px;
  }

  nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }

  nav a {
    display: block;
    width: 100%;
  }

  .hero {
    min-height: auto;
    padding-top: 80px;
    padding-bottom: 60px;
  }

  .hero-contenido {
    flex-direction: column;
    text-align: left;
  }

  .hero h1 {
    font-size: 34px;
    line-height: 1.1;
  }

  .hero p {
    font-size: 17px;
    line-height: 1.5;
  }

  .hero-botones {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .boton-principal,
  .boton-secundario {
    width: 100%;
    text-align: center;
  }

  .grid-servicios,
  .grid-especialidades,
  .grid-pasos {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }

  .card-servicio,
  .card-especialidad,
  .paso {
    width: 100%;
  }

  img {
    max-width: 100%;
    height: auto;
  }

  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 22px;
  }

}
/* ===== FIX FINAL MOBILE DESBORDE ===== */

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

@media (max-width: 768px) {

  .header {
    height: auto;
    padding: 18px 0;
  }

  .header-contenido {
    width: 100%;
    flex-wrap: wrap;
    gap: 15px;
  }

  .boton-header {
    padding: 12px 18px;
    font-size: 12px;
  }

  .hero {
    width: 100%;
    height: auto;
    min-height: auto;
    padding: 70px 0;
    background-position: center;
  }

  .hero-texto {
    margin-left: 0;
    width: 100%;
    max-width: 100%;
  }

  .hero-texto h2 {
    font-size: 42px;
    line-height: 1.08;
  }

  .hero-beneficios {
    grid-template-columns: 1fr 1fr;
  }

  .hero-botones {
    flex-direction: column;
  }

  .boton-principal,
  .boton-secundario {
    width: 100%;
    text-align: center;
  }

  .servicios,
  .nosotros,
  .especialidades,
  .trabajamos,
  .estadisticas,
  .footer {
    padding-left: 0;
    padding-right: 0;
  }

  .instagram,
  .whatsapp {
    right: 14px;
    width: 58px;
    height: 58px;
  }
}
@media (max-width: 768px) {

  .nosotros-grid {
    grid-template-columns: 1fr !important;
    gap: 35px;
  }

  .nosotros-texto,
  .elegirnos {
    width: 100%;
    max-width: 100%;
  }

  .elegirnos h2 {
    font-size: 34px;
    line-height: 1.1;
  }

  .elegirnos li {
    font-size: 17px;
    line-height: 1.4;
  }

  .foto-nosotros {
    width: 230px;
    height: 230px;
    display: block;
    margin: 0 auto 30px;
  }
}