/* ================== ESTILOS GENERALES ================= */
body {
    font-family: 'Roboto', sans-serif;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
}
.titulo-dorado {
    color: #D4AF37 !important;
}
html {
    scroll-behavior: smooth;
}

/* ================== MENÚ RESPONSIVO =================== */
nav.hidden.md\:block ul {
    display: flex !important;
    flex-direction: row !important;
    list-style: none !important;
    gap: 1.5rem;
    margin: 0 !important;
    padding: 0 !important;
    align-items: center;
    height: 100%;
}
#menu-mobile ul {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    background-color: #111 !important;
    padding: 1.5rem 0 !important;
    width: 100%;
}
.mod-menu a {
    color: #fff !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    text-decoration: none !important;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
    transition: color 0.3s ease, border-color 0.3s ease;
}
.mod-menu a:hover {
    color: #D4AF37 !important;
}
nav.hidden.md\:block a:hover {
    border-bottom-color: #D4AF37 !important;
}

/* Botón hamburguesa */
.hamburger {
    cursor: pointer;
    width: 24px;
    height: 24px;
    position: relative;
    transition: all 0.25s;
}
.hamburger-top,
.hamburger-middle,
.hamburger-bottom {
    position: absolute;
    left: 0;
    width: 24px;
    height: 3px;
    background: #fff;
    transition: all 0.5s;
}
.hamburger-middle {
    transform: translateY(7px);
}
.hamburger-bottom {
    transform: translateY(14px);
}
.open .hamburger-top {
    transform: rotate(45deg) translateY(6px) translateX(6px);
}
.open .hamburger-middle {
    display: none;
}
.open .hamburger-bottom {
    transform: rotate(-45deg) translateY(6px) translateX(-6px);
}

/* ================== FORMULARIO =================== */
.cf7-form-wrapper,
.cf-convertforms {
    background-color: #111 !important;
    padding: 30px !important;
    border-radius: 15px !important;
    box-shadow: 0 0 20px rgba(0,0,0,0.5) !important;
    max-width: 600px;
    margin: 0 auto;
    color: #fff !important;
}
.cf7-form-wrapper label,
.cf-convertforms label {
    color: #D4AF37 !important;
    font-weight: bold;
    margin-bottom: 8px;
    display: block;
}
.cf7-form-wrapper input,
.cf7-form-wrapper select,
.cf7-form-wrapper textarea,
.cf-convertforms input,
.cf-convertforms select,
.cf-convertforms textarea {
    width: 100% !important;
    padding: 12px 15px;
    margin-bottom: 20px;
    border: 2px solid #1E90FF !important;
    border-radius: 8px;
    background-color: #222 !important;
    color: #fff !important;
}
.cf7-form-wrapper input[type="submit"],
.cf-convertforms input[type="submit"] {
    background-color: #D4AF37 !important;
    color: #111 !important;
    font-weight: bold;
    padding: 12px 25px;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
}
.cf7-form-wrapper input[type="submit"]:hover,
.cf-convertforms input[type="submit"]:hover {
    background-color: #1E90FF !important;
    color: #fff;
}

/* ================== CONTACTO ================== */
#contacto .flex > div {
    width: 100%;
    display: flex;
    justify-content: center;
}
#contacto iframe {
    width: 100% !important;
    height: 400px !important;
    border-radius: 15px;
    border: none;
}

/* ================== FOOTER ================== */
footer {
    background-color: #111;
    color: #fff;
    padding: 40px 0;
    text-align: center;
}
footer .direccion {
    color: #D4AF37;
    font-weight: bold;
    margin-top: 10px;
}
footer .redes a {
    color: #1E90FF;
    margin: 0 10px;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}
footer .redes a:hover {
    color: #D4AF37;
}

/* ================== EQUIPO ================== */
.abogados-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin: 50px 0;
}
.abogado-card {
    background-color: #111;
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    max-width: 250px;
    text-align: center;
    padding: 20px;
    transition: 0.3s;
    cursor: pointer;
}
.abogado-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.5);
}
.abogado-card img {
    width: 100%;
    border-radius: 50%;
    margin-bottom: 15px;
    border: 3px solid #1E90FF;
}
.abogado-card h3 {
    color: #D4AF37;
    margin-bottom: 5px;
}
.abogado-card p {
    color: #fff;
    font-size: 14px;
    margin: 5px 0;
}

/* ================== NUESTRO EQUIPO GRID ================== */
.equipo-contenedor {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 2.5rem;
    background-color: #0c0f1a;
    border: 1px solid #3b82f6;
    border-radius: 12px;
    box-shadow: 0 0 30px -5px rgba(59, 130, 246, 0.4);
}
.miembro-tarjeta {
    position: relative;
    height: 400px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    transition: transform 0.3s ease;
}
.miembro-tarjeta:hover {
    transform: scale(1.03);
}
.miembro-tarjeta::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
    opacity: 0.8;
}
.miembro-info {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 20px;
}
.miembro-info h3 {
    margin: 0 0 5px 0;
    color: #fff;
    font-size: 1.5rem;
}
.miembro-info p {
    margin: 0;
    font-size: 1rem;
    color: rgba(255,255,255,0.9);
}
.miembro-detalles {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.5s ease;
    background-color: #f7f7f7;
    border-radius: 0 0 8px 8px;
    color: #1a202c !important;
}
.miembro-equipo.activo .miembro-detalles {
    max-height: 500px;
    padding: 20px;
}

/* ================== ARTÍCULOS DE INVESTIGACIÓN ================== */
.articulo-investigacion {
  max-width: 800px;
  margin: 0 auto;
}
.investigacion-imagen img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 20px;
}
.investigacion-titulo {
  font-size: 2rem;
  margin-bottom: 15px;
}
.investigacion-contenido {
  font-size: 1.1rem;
  line-height: 1.6;
}
.investigacion-video {
  margin: 30px 0;
  text-align: center;
}
.investigacion-redes a {
  margin-right: 10px;
  text-decoration: none;
}

  /* Estilo general para artículos */
  article {
    margin-bottom: 4rem; /* Espacio entre artículos */
    border: 1px solid #e5e7eb; /* Línea gris clara */
    border-radius: 1rem;
    transition: all 0.3s ease-in-out;
  }




