/* Estilos generales */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  
  font-family: "Open Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
	  
  background-color: #f8f9fa;
  display: block;
  margin: 0;
  padding: 0;
  width: 100%;
}

/* Centrado de los contenedores */
.container {
  width: 100%;
  max-width: 1200px; /* Ajusta este valor a lo que necesites */
  margin: 0 auto; /* Esto centra el contenido */
  padding: 20px;
}
/* Header dorado con WhatsApp */
.header-dorado {
  background-color: #d5b36b; /* Color dorado */
  color: white;
  padding: 8px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 10;
}
.header-dorado-container {
  width: 100%;
  max-width: 1400px;
  margin: auto;
  display: flex;
  justify-content: flex-end;;
  align-items: center;
  gap: 35px;
  color:#665236;
}

.header-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color:#665236;
}

.header-item i {
  font-size: 16px;
  color:#665236;
}

.header-item a {
  text-decoration: none;
  font-weight: 600;
  color:#665236;
}

.header-item.redes a {
  margin-left: 10px;
  font-size: 16px;
  transition: 0.3s ease;
  color:#665236;
}

.header-item.redes a:hover {
  transform: scale(1.2);
}


/* Header */
.header {
    position: fixed;
    top: 45px; /* altura del header dorado */
    width: 100%;
    left: 0;
    z-index: 9999;
    background: white;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}


.header-container {
    width: 85%;
    max-width: 1200px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 columnas iguales */
    align-items: center;
}

.logo {
    display: flex;
    justify-content: flex-start; /* izquierda */
}

.logo img {
    height: 40px;
}

.nav ul {
    list-style: none;
    display: flex;
    justify-content: flex-end; /* derecha */
    gap: 40px; /* espaciamiento igual entre botones */
    margin: 0;
    padding: 0;
}

.nav ul li a {
    text-decoration: none;
    font-weight: 600;
    color: #333;
    transition: 0.3s;
}

.nav ul li a:hover {
    color: #007bff;
}


.hero-abogados {
    width: 100%;
    height: 360px;
    background-image: url('images/hero.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    
    display: flex;
    justify-content: center;  /* CENTRA HORIZONTAL */
    align-items: center;      /* CENTRA VERTICAL */
    text-align: center;       /* CENTRA EL TEXTO */
    
    margin-top: 50px;
}


/* Oscurecer igual al ejemplo */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
}

/* CONTENIDO */
.hero-content-abg {
   position: relative;
    z-index: 2;
    color: white;
    max-width: 1120px;  /* Controla el ancho centrado */
    width: 100%;
    text-align: left;
}


.hero-content-abg h1 {
    font-size: 44px;
    font-weight: 800;
    margin-bottom: 10px;
}

.breadcrumb-hero {
    color: #9ec5ff;   /* azul profesional */
    font-size: 16px;
    margin-top: 5px;
}
/* ========= SOBRE NOSOTROS ========= */

/* ==== SOBRE NOSOTROS ==== */
.nosotros {
    padding: 90px 20px;
    background: #ffffff;
}

.nosotros-contenedor {
    max-width: 1200px;
    margin: auto;
    display: flex;
    gap: 50px;
    align-items: center;
}

.nosotros-texto h1 {
    font-size: 40px;
    font-weight: 800;
    color: #1a1a1a;
}

.linea-amarilla {
    width: 80px;
    height: 4px;
    background: #d5b36b;
    border-radius: 3px;
    margin: 10px 0 25px;
}

.nosotros-img img {
    width: 420px;
    border-radius: 12px;
    box-shadow: 0 6px 25px rgba(0,0,0,.1);
}

/* ==== MISIÓN Y VISIÓN ==== */
.mision-vision {
    background: #e7eef6;
    padding: 90px 20px;
}

.mv-contenedor {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.mv-bloque h2 {
    color: #1c335f;
    font-size: 30px;
    margin-bottom: 10px;
}

/* ==== NUEVA SECCIÓN DE VALORES ==== */
/* ==== NUEVA SECCIÓN DE VALORES ==== */
.valores {
    background: #f7f7f7;
    padding: 90px 20px;
}

.valores-contenedor {
    max-width: 1100px;
    margin: auto;
    text-align: center;
}

.valores-grid {
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 35px;
}

.valor-item {
    background: white;
    padding: 25px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: .3s;
}

.valor-item:hover {
    transform: translateY(-6px);
}

.valor-item img {
    width: 50px;
    height: 50px;
    margin-bottom: 12px;
}

.valor-item p {
    font-size: 16px;
    font-weight: 700;
    color: #1c335f;
}

/* Responsive */
@media(max-width: 900px) {
    .valores-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media(max-width: 600px) {
    .valores-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* ==== ESTADÍSTICAS ==== */
.estadisticas {
    background: #1c335f;
    color: white;
    padding: 80px 20px;
}

.stats-contenedor {
    max-width: 1000px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    text-align: center;
}

.stat h3 {
    font-size: 42px;
    font-weight: 800;
    color: #d5b36b;
}

.stat p {
    font-size: 16px;
    margin-top: 5px;
}




/* porque-elegirnos */

.porque-elegirnos {
    width: 100%;
    background: #f1f8fa; /* Cambia el color */
    padding: 70px 20px;
    color: white;
    margin-top: 60px
}

/* Contenido centrado y limitado */
.porque-container {
    max-width: 900px; /* Aquí controlas el ancho limitado */
    margin: 0 auto;   /* Centrado */
    text-align: center;
}


.pe-title {
    font-size: 28px;
    font-weight: 800;
    color: #1c335f;
    text-transform: uppercase;
}

.pe-title::after {
    content: "";
    width: 80px;
    height: 4px;
    background: #d5b36b;
    display: block;
    margin: 10px auto;
    border-radius: 6px;
}

.pe-sub {
    font-size: 18px;
    color: #555;
    margin-bottom: 40px;
}

.pe-list {
    text-align: left;
    margin-top: 40px;
}

.pe-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 30px;
}

.pe-num {
    font-size: 32px;
    font-weight: 800;
    color: #d5b36b;
    font-family: 'Montserrat', sans-serif;
}

.pe-item h4 {
    font-size: 20px;
    font-weight: 700;
    color: #1c335f;
    margin-bottom: 5px;
}

.pe-item p {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
}

/* CTA */

.cta-section {
  background-color: #003366;  /* Fondo azul oscuro */
  color: white;
  text-align: center;
  padding: 60px 20px;/* Espacio encima de la sección */
}

.cta-section h2 {
  font-size: 36px;
  font-weight: bold;
  color: white;
  margin-bottom: 20px;
}

.cta-section p {
  font-size: 18px;
  color: #dbe3ec;  /* Color de texto más suave */
  margin-bottom: 30px;
  max-width: 800px;
  margin: 0 auto;
}

.cta-btn {
  background: #d5b36b;
  color: white;
  padding: 15px 30px;
  text-decoration: none;
  font-weight: 700;
  border-radius: 5px;
  display: inline-block;
  text-transform: uppercase;
  margin-top: 25px;
}

.cta-btn:hover {
  background-color: #d58a00;  /* Fondo amarillo oscuro cuando pasa el mouse */
}

/* testimonios */

.testimonios {
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fc;
}

.testimonios h2 {
    font-size: 32px;
    margin-bottom: 40px;
    color: #1a1a1a;
    font-weight: 700;
}

.testimonios-container {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.testimonio-card {
    width: 350px;
    background: #f5f5f7;
    padding: 60px 25px 25px; /* Aumentamos padding top */
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    position: relative;
    transition: transform .25s;
}

.testimonio-card:hover {
    transform: translateY(-6px);
}

.google-icon {
    position: absolute;
    bottom: -4px;
    right: -4px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: white;
    padding: 2px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* Contenedor de la foto con posición relativa para colocar el logo encima */
.perfil {
    position: absolute;
    top: -35px;  /* Sube la foto */
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 5px;
    border-radius: 50%;
}

.foto-perfil {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
}


.testimonio-card h3 {
    margin-top: 10px;
    font-size: 20px;
    color: black;
    font-weight: 600;
}

.fecha {
    display: block;
    font-size: 14px;
    margin-bottom: 8px;
    color: #777;
}

.rating {
    font-size: 18px;
    color: #f5b300;
    margin: 10px 0;
}

.verificado img {
    width: 30px;
    height: 30px;
    margin-left: 6px;
    vertical-align: middle;
    padding-bottom: 5px;
    cursor: pointer;
}

.texto {
    height: 80px;
    overflow: hidden;
    font-size: 15px;
    color: #444;
    transition: .3s;
}

.texto.expandido {
    height: auto;
}

.leer-mas {
    margin-top: 10px;
    background: none;
    border: none;
    color: #9e9e9e;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    text-align: center;
}
.estrella-icon {
    width: 18px;
    height: 18px;
    margin-right: 2px;
}


/* FOOTER */
.footer {
  background: #062044;
  padding: 60px 20px 20px;
  color: #dbe7f7;
  font-family: 'Montserrat', sans-serif;
}

.footer-container {
  max-width: 1300px;
  margin: auto;
  display: grid;
  grid-template-columns: 260px 1fr 1fr 350px;
  gap: 50px;
  align-items: flex-start;
}

/* Logo */
.footer-logo {
  width: 240px;
  margin-bottom: 20px;
}

/* Redes */
.footer-social a {
  margin-right: 15px;
  font-size: 18px;
  color: white;
  transition: 0.3s;
}

.footer-social a:hover {
  color: #f2b632;
}

/* Títulos */
.footer-col h4 {
  color: white;
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 18px;
}

/* Listas */
.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin: 8px 0;
}

.footer-col ul li a {
  color: #b8c7db;
  text-decoration: none;
  transition: 0.3s;
  font-size: 15px;
}

.footer-col ul li a:hover {
  color: #f2b632;
}

/* Botón */
.footer-btn {
  display: inline-block;
  background: #f2b632;
  color: #062044;
  padding: 12px 25px;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 20px;
  transition: 0.3s;
}

.footer-btn:hover {
  background: #ffcc56;
}

/* Caja contacto */
.footer-contact-box {
  background: #0a2d57;
  padding: 15px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.footer-contact-box i {
  font-size: 28px;
  color: #f2b632;
  margin-right: 10px;
}

.footer-contact-box .phone {
  font-size: 17px;
  font-weight: 700;
  color: white;
}

/* Email & dirección */
.footer-email, .footer-address {
  margin: 8px 0;
  font-size: 15px;
}

.footer-email i, .footer-address i {
  margin-right: 8px;
  color: #f2b632;
}

/* Abajo */
.footer-bottom {
  margin-top: 40px;
  text-align: center;
  padding-top: 15px;
  border-top: 1px solid #123a66;
}

.footer-bottom a {
  margin: 0 10px;
  color: #dbe7f7;
  text-decoration: none;
}

.footer-bottom a:hover {
  color: #f2b632;
}

/* RESPONSIVE */
@media (max-width: 991px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-contact-box {
    justify-content: center;
  }
}


