/* ===== BANNER ===== */

.banner{
    height:100vh;
    background:url('contenido/fondobanner.jpeg') center/cover no-repeat;
    display:flex;
    align-items:center;
    justify-content:center;
    position:relative;
    padding:0 20px;
}

/* Overlay oscuro */
.banner::after{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.55);
}

/* Contenido */
.banner-content{
    position:relative;
    z-index:2;
    text-align:center;
    color:#fff;
    max-width:800px;
    animation:fadeUp 1.2s ease;
}

.banner h1{
    font-size:52px;
    margin-bottom:20px;
    font-weight:600;
}

.banner p{
    font-size:20px;
    margin-bottom:35px;
    opacity:0.9;
}

/* Botón */
.btn-banner{
    padding:14px 32px;
    background:#0a2a66;
    color:#fff;
    text-decoration:none;
    border-radius:40px;
    font-weight:500;
    transition:0.3s;
}

.btn-banner:hover{
    background:#08306f;
    transform:translateY(-3px);
}

/* Animación */
@keyframes fadeUp{
    from{
        opacity:0;
        transform:translateY(30px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

/* RESPONSIVE */
@media(max-width:768px){

    .banner h1{
        font-size:32px;
    }

    .banner p{
        font-size:16px;
    }

    .btn-banner{
        padding:12px 25px;
    }
}

.item img{
    transition:0.4s;
}

.item:hover img{
    transform:scale(1.1);
}

/* ===== SECCIÓN CONTACTO ===== */

html, body{
    margin:0;
    padding:0;
}

.contacto{
    margin-top:100px;
    padding:40px 20px 80px;
    background:#f7f9fc;
}

/* CONTENEDOR */
.contacto-container{
    max-width:1200px;
    margin:auto;
    margin-bottom:0;
    display:grid;
    grid-template-columns: 1.2fr 1fr;
    gap:50px;
    align-items:start;
}

/* TEXTO */
.contacto-info h2{
    font-size:36px;
    margin-bottom:15px;
}

.contacto-info p{
    font-size:16px;
    margin-bottom:25px;
    color:#555;
}

/* BOTONES */
.contacto-botones{
    display:grid;
    grid-template-columns: repeat(2, 1fr);
    gap:15px;
}

.btn-contacto-item{
    display:flex;
    align-items:center;
    gap:10px;
    padding:12px 15px;
    border-radius:10px;
    text-decoration:none;
    color:#fff;
    font-weight:500;
    transition:0.3s;
}

.btn-contacto-item img{
    width:22px;
}

/* Colores */
.whatsapp{ background:#25D366; }
.correo{ background:#0a2a66; }
.facebook{ background:#1877f2; }
.instagram{ 
    background:linear-gradient(45deg,#f58529,#dd2a7b,#8134af,#515bd4);
}

/* Hover */
.btn-contacto-item:hover{
    transform:translateY(-3px);
    box-shadow:0 10px 20px rgba(0,0,0,0.15);
}

/* TARJETA */
.contacto-card{
    background:#fff;
    padding:30px;
    border-radius:15px;
    box-shadow:0 15px 40px rgba(0,0,0,0.08);
}

.contacto-card h3{
    margin-bottom:15px;
}

.contacto-card p{ 
    margin:8px 0;
    color:#555;
}

/* BOTÓN */
.btn-card{
    display:inline-block;
    margin-top:20px;
    padding:12px 25px;
    background:#0a2a66;
    color:#fff;
    border-radius:30px;
    text-decoration:none;
    transition:0.3s;
}

.btn-card:hover{
    background:#08306f;
    transform:translateY(-3px);
}

/* RESPONSIVE */
@media(max-width:768px){
    .contacto-container{
        grid-template-columns:1fr;
    }

    .contacto-info h2{
        font-size:28px;
    }
}

/* Sobre nosotros */

.about-corp {
  padding: 100px 10%;
  background: #fff;
}

/* CONTENEDOR */
.about-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* TEXTO */
.about-text {
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s ease;
}

.about-text.show {
  opacity: 1;
  transform: translateY(0);
}

.about-text h2 {
  font-size: 40px;
  color: #111;
  margin-bottom: 20px;
}

.about-text p {
  font-size: 17px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 15px;
}

/* FEATURES */
.features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 30px 0;
}

.feature {
  border-left: 4px solid #ff6600;
  padding-left: 15px;
  font-weight: 500;
  color: #333;
}

/* BOTÓN */
.btn-corp {
  display: inline-block;
  padding: 14px 28px;
  background: #111;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: 0.3s;
}

.btn-corp:hover {
  background: #ff6600;
}

/* IMAGEN */
.about-image {
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s ease;
}

.about-image.show {
  opacity: 1;
  transform: translateY(0);
}

.about-image img {
  width: 100%;
  border-radius: 12px;
}

/* RESPONSIVE */
@media(max-width: 900px) {
  .about-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .features {
    grid-template-columns: 1fr;
  }
}

html, body{
    height:100%;
    margin:0;
    padding:0;
}

.layout{
    min-height:100vh;
    display:flex;
    flex-direction:column;
}

main{
    flex:1;
}

/* SOBRE NOSOTROS */

.sobre-nosotros-pro {
  padding: 100px 20px;
  background: #f8f9fb;
  margin-top: 50px;
  text-align: center;
}

.container-pro {
  max-width: 1200px;
  margin: auto;
}

/* HEADER */
.header-pro h2 {
  font-size: 2.8rem;
  margin-bottom: 15px;
  color: #111;
}

.header-pro p {
  max-width: 700px;
  margin: auto;
  color: #666;
  line-height: 1.7;
}

/* STATS */
.stats {
  margin: 60px 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.stat {
  background: #fff;
  padding: 35px 20px;
  border-radius: 14px;
  transition: 0.3s;
  position: relative;
  overflow: hidden;
}

.stat::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: #111;
  transform: scaleX(0);
  transition: 0.3s;
}

.stat:hover::after {
  transform: scaleX(1);
}

.stat:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.stat i {
  font-size: 32px;
  margin-bottom: 10px;
  color: #111;
}

.stat h3 {
  font-size: 2.2rem;
  margin-bottom: 5px;
  font-weight: bold;
}

.stat p {
  color: #777;
  font-size: 0.95rem;
}

/* SERVICIOS */
.servicios-pro {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.servicio {
  background: #fff;
  padding: 30px;
  border-radius: 14px;
  transition: 0.3s;
}

.servicio:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

.servicio i {
  font-size: 30px;
  margin-bottom: 10px;
}

.servicio h4 {
  margin-bottom: 10px;
}

/* BOTÓN */
.cta-pro {
  margin-top: 50px;
}

.btn-pro {
  display: inline-block;
  padding: 14px 30px;
  background: #111;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.3s;
}

.btn-pro:hover {
  background: #333;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .servicios-pro {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 500px) {
  .stats {
    grid-template-columns: 1fr;
  }
}

/* servicios */

.servicios-pro2 {
  margin-top: 40px;
  padding: 90px 20px;
  background: #f8f9fb;
}

.container-servicios {
  max-width: 1200px;
  margin: auto;
}

/* Header */
.header-servicios {
  text-align: center;
  margin-bottom: 50px;
}

.header-servicios h2 {
  font-size: 2.7rem;
  margin-bottom: 10px;
}

.header-servicios p {
  color: #666;
  max-width: 600px;
  margin: auto;
}

/* Grid */
.grid-servicios {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

/* Card */
.card-servicio {
  background: #fff;
  padding: 35px 25px;
  border-radius: 14px;
  text-align: center;
  transition: 0.3s;
  position: relative;
  overflow: hidden;
}

.card-servicio::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: #111;
  transform: scaleX(0);
  transition: 0.3s;
}

.card-servicio:hover::after {
  transform: scaleX(1);
}

.card-servicio:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

/* Iconos */
.card-servicio i {
  font-size: 35px;
  margin-bottom: 15px;
  color: #111;
}

.card-servicio h3 {
  margin-bottom: 10px;
}

.card-servicio p {
  color: #666;
  font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 900px) {
  .grid-servicios {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .grid-servicios {
    grid-template-columns: 1fr;
  }
}

/* IMAGEN EN CARD */
.img-servicio {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
  transition: 0.3s;
}

/* EFECTO HOVER */
.card-servicio:hover .img-servicio {
  transform: scale(1.05);
}

/* BOTÓN PROFESIONAL */
.btn-servicio {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: linear-gradient(135deg, #111, #333);
  color: #fff;
  border-radius: 8px;
  margin-top: 15px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* EFECTO BRILLO */
.btn-servicio::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.4), transparent);
  transition: 0.5s;
}

.btn-servicio:hover::before {
  left: 100%;
}

/* HOVER */
.btn-servicio:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #facc15, #eab308);
  color: #000;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* ACTIVO (CLICK) */
.btn-servicio:active {
  transform: scale(0.95);
}