*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body{
  font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background:#f4f8f6;
  color:#000;
  line-height:1.6;
}

/* NAVBAR */

.navbar{
  background: linear-gradient(90deg, #0f4c97, #00a8e8);
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:18px 8%;
  flex-wrap:wrap;
  box-shadow:0 6px 18px rgba(0,0,0,0.12);
}

.logo{
  font-size:1.7rem;
  font-weight:1000;
  letter-spacing:0.5px;
  color:white;
}

.nav-links{
  list-style:none;
  display:flex;
  gap:20px;
  flex-wrap:wrap;
}

.nav-links a{
  color:white;
  text-decoration:none;
  font-weight:bold;
  padding:10px 18px;
  border-radius:10px;
  background: rgba(255,255,255,0.15);
  transition:0.3s;
}

.nav-links a:hover{
  background:white;
  color:#0077b6;
  transform:translateY(-2px);
}

/* HERO */

.hero{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:60px;
  padding:60px 8%;
  background:#ffffff;
  border-radius:24px;
  margin:30px 5%;
  box-shadow:0 12px 35px rgba(0,0,0,0.08);
  flex-wrap:wrap;
}

.hero-texto{
  flex:1;
  min-width:300px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.logo-hero{
  width:380px;
  max-width:100%;
  margin-bottom:10px;
  margin-top:-60px;
}

.hero-texto h2{
  font-size:2.1rem;
  color:#000;
  margin-bottom:20px;
  line-height:1.3;
  max-width:600px;
}

.hero-texto p{
  font-size:1rem;
  margin-bottom:25px;
  max-width:520px;
  color:#000;
}

.hero-imagen{
  flex:1;
  min-width:300px;
  display:flex;
  justify-content:center;
  align-items:center;
}

.hero-imagen img{
  width:100%;
  max-width:620px;
  border-radius:18px;
}

/* BOTONES */

.botones-hero{
  display:flex;
  gap:15px;
  flex-wrap:wrap;
  align-items:center;
  margin-top:10px;
}

.btn{
  display:inline-block;
  background:#00a8e8;
  color:#000;
  text-decoration:none;
  padding:12px 26px;
  border-radius:8px;
  font-weight:600;
  transition:0.3s;
}

.btn:hover{
  background:#0077b6;
  color:#fff;
}

.btn-secundario{
  display:inline-block;
  background:white;
  color:#0077b6;
  text-decoration:none;
  padding:12px 26px;
  border-radius:8px;
  font-weight:600;
  border:2px solid #0077b6;
  transition:0.3s;
}

.btn-secundario:hover{
  background:#0077b6;
  color:#fff;
}

/* SECCIONES */

.bienvenida,
.resumen,
.llamado{
  padding:60px 8%;
  text-align:center;
}

.bienvenida{
  background: linear-gradient(180deg, #eef6fb, #ffffff);
}

.resumen{
  background: linear-gradient(180deg, #eef6fb, #ffffff);
}

.llamado{
  background: linear-gradient(180deg, #eef6fb, #ffffff);
}

.subtitulo-seccion{
  display:block;
  color:#000;
  font-size:0.95rem;
  font-weight:700;
  letter-spacing:1px;
  text-transform:uppercase;
  margin-bottom:10px;
}

.bienvenida h2,
.resumen h2,
.llamado h2{
  color:#000;
  font-size:2.4rem;
  margin-bottom:10px;
}

.linea-centro{
  width:80px;
  height:4px;
  background:#00a8e8;
  margin:0 auto 25px auto;
  border-radius:10px;
}

.bienvenida p,
.llamado p{
  max-width:900px;
  margin:auto;
  font-size:1.08rem;
  line-height:1.9;
  color:#000;
}

/* CARDS */

.cards{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(260px, 1fr));
  gap:28px;
  margin-top:40px;
}

.card{
  background:white;
  padding:35px 25px;
  border-radius:16px;
  box-shadow:0 6px 18px rgba(0,0,0,0.08);
  transition:transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover{
  transform:translateY(-6px);
  box-shadow:0 10px 24px rgba(0,0,0,0.12);
}

.icono{
  font-size:32px;
  margin-bottom:12px;
}

.card h3{
  color:#000;
  margin-bottom:14px;
  font-size:1.35rem;
}

.card p{
  font-size:1rem;
  color:#000;
  line-height:1.8;
}

/* SERVICIOS ESTILO PDF */

.servicios-estilo-pdf{
  background:#f4f8f6;
  padding:60px 8%;
}

.contenedor-servicios-pdf{
  max-width:1200px;
  margin:0 auto;
}

.contenedor-servicios-pdf h2{
  font-size:2.3rem;
  margin-bottom:20px;
  color:#000;
  max-width:700px;
}

.intro-servicios{
  max-width:850px;
  font-size:1.05rem;
  line-height:1.8;
  margin-bottom:35px;
  color:#111;
}

.bloques-superiores{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:30px;
  margin-bottom:40px;
}

.bloque-servicio{
  background:#fff;
  padding:20px;
  border-radius:16px;
  box-shadow:0 6px 18px rgba(0,0,0,0.08);
}

.bloque-servicio img{
  width:100%;
  height:140px;
  object-fit:cover;
  margin-bottom:12px;
  border-radius:10px;
}

.bloque-servicio h3{
  font-size:1.4rem;
  margin-bottom:10px;
  color:#000;
}

.bloque-servicio p{
  font-size:1rem;
  line-height:1.7;
  color:#111;
}

.parte-inferior-servicios{
  display:grid;
  grid-template-columns:1.1fr 1fr;
  gap:40px;
  align-items:start;
}

.cuadro-consultoria{
  background:#0f4c97;
  color:white;
  padding:28px;
  border-radius:10px;
}

.cuadro-consultoria h3{
  margin-bottom:15px;
  font-size:1.4rem;
  color:#fff;
}

.cuadro-consultoria p{
  line-height:1.8;
  margin-bottom:18px;
  color:#fff;
}

.btn-contacto-servicio{
  display:inline-block;
  background:#8fd3ff;
  color:#000;
  text-decoration:none;
  padding:10px 18px;
  border-radius:6px;
  font-weight:600;
}

.lista-servicios{
  background:#fff;
  padding:28px;
  border-radius:10px;
  box-shadow:0 6px 18px rgba(0,0,0,0.08);
}

.lista-servicios h3{
  font-size:1.5rem;
  margin-bottom:15px;
  color:#000;
}

.lista-servicios ul{
  padding-left:20px;
}

.lista-servicios li{
  margin-bottom:12px;
  line-height:1.7;
  color:#111;
}

/* CAPACITACIONES */

.capacitaciones-estilo{
  background:#f4f8f6;
  padding:60px 8%;
}

.contenedor-capacitaciones{
  max-width:1200px;
  margin:0 auto;
}

.contenedor-capacitaciones h2{
  font-size:2.3rem;
  color:#000;
  margin-bottom:18px;
}

.intro-cap{
  max-width:900px;
  font-size:1.05rem;
  line-height:1.8;
  color:#111;
  margin-bottom:35px;
}

.grid-capacitaciones{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(250px, 1fr));
  gap:28px;
  margin-top:30px;
}

/* 🔥 SOLO SE AGREGÓ ESTO */
.card-capacitacion{
  background:#fff;
  border-radius:16px;
  overflow:hidden;
  box-shadow:0 6px 18px rgba(0,0,0,0.08);
  transition:0.3s;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}

.card-capacitacion img{
  width:100%;
  height:200px;
  object-fit:cover;
}

.card-capacitacion h3{
  margin:15px;
}

.card-capacitacion p{
  margin:0 15px 10px 15px;
}

/* BOTON NUEVO */
.btn-info{
  margin:10px 15px 15px 15px;
  background:#00a8e8;
  padding:10px;
  text-align:center;
  border-radius:8px;
  text-decoration:none;
  color:#000;
  font-weight:600;
}

.btn-info:hover{
  background:#0077b6;
  color:#fff;
}

/* RESTO IGUAL */

.bloque-final-capacitaciones{
  display:grid;
  grid-template-columns:1.2fr 1fr;
  gap:30px;
  margin-top:45px;
}

.bloque-cap-izq,
.bloque-cap-der{
  background:#fff;
  padding:28px;
  border-radius:16px;
  box-shadow:0 6px 18px rgba(0,0,0,0.08);
}

.footer{
 background: linear-gradient(90deg, #0f4c97, #00a8e8);
  color:#000;
  text-align:center;
  padding:40px 20px;
}

/* 🔥 MODAL (LO NUEVO) */

.modal{
  display:none;
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:rgba(0,0,0,0.6);
  justify-content:center;
  align-items:center;
  z-index:1000;
  padding:20px;
}

.modal-contenido{
  background:#fff;
  padding:25px;
  border-radius:12px;
  width:100%;
  max-width:500px;
  position:relative;
}

.cerrar{
  position:absolute;
  top:10px;
  right:15px;
  font-size:25px;
  cursor:pointer;
}

/* 🔥 FORMULARIO CONTACTO (AGREGADO) */

.formulario-contacto{
  display:flex;
  flex-direction:column;
  gap:12px;
  margin-top:15px;
}

.formulario-contacto input,
.formulario-contacto textarea{
  padding:12px;
  border-radius:8px;
  border:1px solid #ccc;
  font-size:14px;
  font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.formulario-contacto textarea{
  resize:none;
}

/* 🔥 NUEVO AGREGADO (SERVICIOS EXTRA + RESPONSIVE) */

.bloques-superiores + .bloques-superiores{
  margin-top: 30px;
}

@media (max-width: 900px){
  .bloques-superiores{
    grid-template-columns: 1fr;
  }

  .parte-inferior-servicios{
    grid-template-columns: 1fr;
  }
}
.mapa-pequeno{
  margin-top:20px;
  border-radius:10px;
  overflow:hidden;
  box-shadow:0 6px 18px rgba(0,0,0,0.1);
}

.mapa-pequeno iframe{
  width:100%;
  height:200px;
  border:0;
}
@media (max-width: 900px){
  .navbar{
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
  }

  .logo{
    font-size: 1.3rem;
  }

  .nav-links{
    justify-content: center;
    gap: 12px;
  }

  .hero{
    flex-direction: column;
    gap: 30px;
    padding: 40px 5%;
  }

  .hero-texto h2{
    font-size: 1.6rem;
  }

  .hero-texto p{
    font-size: 0.95rem;
  }

  .bienvenida,
  .resumen,
  .llamado,
  .servicios-estilo-pdf,
  .capacitaciones-estilo,
  .mapa{
    padding: 40px 5%;
  }

  .contenedor-servicios-pdf h2,
  .contenedor-capacitaciones h2,
  .bienvenida h2,
  .resumen h2,
  .llamado h2,
  .mapa h2{
    font-size: 1.7rem;
  }

  .bloques-superiores{
    grid-template-columns: 1fr;
  }

  .parte-inferior-servicios{
    grid-template-columns: 1fr;
  }

  .bloque-final-capacitaciones{
    grid-template-columns: 1fr;
  }

  .cards{
    grid-template-columns: 1fr;
  }

  .grid-capacitaciones{
    grid-template-columns: 1fr;
  }

  .bloque-servicio img,
  .card-capacitacion img{
    height: auto;
  }

  .btn,
  .btn-secundario,
  .btn-info{
    width: 100%;
    text-align: center;
  }

  .mapa-pequeno iframe{
    height: 180px;
  }
}
/* 🔥 FONDO IMAGEN NOSOTROS */

.fondo-nosotros{
  position: relative;
  background-image: url('https://images.unsplash.com/photo-1552664730-d307ca884978?auto=format&fit=crop&w=1200&q=80');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
}

/* capa oscura */
.fondo-nosotros::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background: rgba(0,0,0,0.5);
}

/* texto encima */
.fondo-nosotros h2,
.fondo-nosotros p,
.fondo-nosotros .subtitulo-seccion{
  position: relative;
  z-index: 2;
  color: white;
}

/* línea blanca */
.fondo-nosotros .linea-centro{
  position: relative;
  z-index: 2;
  background: #fff;
}
/* HERO ESTILO PORTADA PROFESIONAL */

.hero-banner{
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 40px 8%;
  overflow: hidden;
  background-image: url('https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?auto=format&fit=crop&w=1400&q=80');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-banner::before{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(16, 35, 96, 0.88), rgba(28, 57, 153, 0.45));
}

.hero-contenido{
  position: relative;
  z-index: 2;
  max-width: 600px;
  color: white;
}

.hero-contenido h1{
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 25px;
}

.hero-datos{
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 1.2rem;
  font-weight: 600;
  text-shadow: 0 2px 6px rgba(0,0,0,0.35);
}

.hero-datos span{
  display: inline-block;
}

.hero-persona{
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: end;
}

.hero-persona img{
  width: 320px;
  max-width: 100%;
  border-radius: 24px;
  object-fit: cover;
  box-shadow: 0 12px 30px rgba(0,0,0,0.28);
}

/* RESPONSIVE */
@media (max-width: 900px){
  .hero-banner{
    flex-direction: column;
    justify-content: center;
    text-align: center;
    min-height: auto;
    padding: 50px 5%;
  }

  .hero-contenido{
    max-width: 100%;
  }

  .hero-contenido h1{
    font-size: 2.5rem;
    margin-bottom: 18px;
  }

  .hero-datos{
    justify-content: center;
    font-size: 1rem;
  }

  .hero-persona img{
    width: 220px;
    margin-top: 20px;
  }
}
.fondo-bienvenida{
  position: relative;
   background-image: url('mifondo.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
}

.fondo-bienvenida::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background: rgba(0,0,0,0.35);
}

.fondo-bienvenida h2,
.fondo-bienvenida p,
.fondo-bienvenida .subtitulo-seccion{
  position: relative;
  z-index: 2;
  color: white;
}

.fondo-bienvenida .linea-centro{
  position: relative;
  z-index: 2;
  background: #fff;
}
/* 🔥 FONDO EN SECCIÓN LLAMADO */

.fondo-llamado{
  position: relative;
  background-image: url('aduana.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
}

/* capa oscura elegante */
.fondo-llamado::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background: rgba(0,0,0,0.6);
}

/* texto encima */
.fondo-llamado h2,
.fondo-llamado p,
.fondo-llamado .subtitulo-seccion{
  position: relative;
  z-index: 2;
  color: white;
}

/* línea blanca */
.fondo-llamado .linea-centro{
  position: relative;
  z-index: 2;
  background: #fff;
}

/* botón encima */
.fondo-llamado .btn{
  position: relative;
  z-index: 2;
}
/* FONDO SECCIÓN EXPERIENCIA */

.fondo-experiencia{
  position: relative;
  background-image: url('experiencia.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  overflow: hidden;
}

.fondo-experiencia::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background: rgba(0,0,0,0.70);
}

.fondo-experiencia h2,
.fondo-experiencia p,
.fondo-experiencia .linea-centro{
  position: relative;
  z-index: 2;
}

.fondo-experiencia h2,
.fondo-experiencia p{
  color: white;
}

.fondo-experiencia .linea-centro{
  background: #fff;
}
/* CARD CON IMAGEN */

.card-con-imagen{
  overflow: hidden;
  padding: 0;
}

.card-con-imagen img{
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.card-con-imagen h3{
  padding: 20px 20px 10px 20px;
  margin-bottom: 0;
}

.card-con-imagen p{
  padding: 0 20px 20px 20px;
}
.texto-azul{
  color:#1565c0;
}
.logo{
  text-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.logo:hover{
  transform:scale(1.02);
  transition:0.3s;
}
.logo span{
  color:#ffd166;
}
.img-card{
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 10px;
}
/* BOTONES VERDES SOLO DEL HERO */

.btn-hero{
  display:inline-block;
  background:#28a745;
  color:#fff;
  text-decoration:none;
  padding:12px 26px;
  border-radius:8px;
  font-weight:600;
  transition:0.3s;
}

.btn-hero:hover{
  background:#1e7e34;
  color:#fff;
}

.btn-hero-secundario{
  display:inline-block;
  background:white;
  color:#28a745;
  text-decoration:none;
  padding:12px 26px;
  border-radius:8px;
  font-weight:600;
  border:2px solid #28a745;
  transition:0.3s;
}

.btn-hero-secundario:hover{
  background:#28a745;
  color:#fff;
}
.btn-info{
  display:block;
  width:calc(100% - 30px);
  margin:15px auto;
  text-align:center;
}