.hero {
    background-image:
        linear-gradient(
            rgba(0, 0, 0, 0.7),
            rgba(0, 0, 0, 0.7)
        ),
        url('../img/fondo-abogados.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-content {
    color: #ffffff;
}

.frase-container {
    max-width: 100%;
    position: absolute;
    bottom: 0px;
    right: 20px;
}

.hero-container {
    height: 100%;
    display: flex;
    padding: 40px;
}

.hero-title {
    font-size: calc(1.5rem + 3vw);
    font-weight: bold;
}

.texto-introduccion {
    font-size: calc(0.8rem + 1vw);
    margin-top: 20px;
    max-width: 600px;
    color: var(--color-secundario);
    font-weight: bolder;
}

.btn-consulta {
    font-size: 16px;
}

.hero-buttons {
    text-align: center;
    margin-top: 60px;
}

.texto-metricas {
    color: var(--color-secundario);
    font-weight: bold;
}

.icono-metricas {
    font-size: 60px;
    color: var(--color-principal);
}

.icono-metricas-container {
    height: 100px;
    width: 100px;
    border-radius: 50%;
    margin-inline: auto;
    background-color: rgb(221, 221, 221);
    padding: 5px;
    margin-block: 20px;
}

.section-dark {
    background-color: var(--color-principal);
    color: #ffffff;
}

.contenedor-nosotros {
    padding-block: 60px;
}

.imagen-card {
    border-radius: 20px;
}

.titulo-dark {
    color: var(--color-secundario);
    font-weight: bold;
    margin-bottom: 40px;
}



/* ===============================
   Servicios / Áreas de práctica
================================ */
.contenedor-servicios {
    padding-inline: 7%;
}

#servicios .section-text {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 20px auto;
    color: #555;
}

/* Grid de servicios */
/* .grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(250px, 1fr));
    gap: 30px;
} */

/* Tarjeta */
#servicios .tarjeta {
    border-radius: 16px;
    padding: 30px 25px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    color: white;
    margin-bottom: 30px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Línea decorativa superior */
#servicios .tarjeta::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 5px;
    width: 100%;
    background-color: var(--color-secundario);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

#servicios .tarjeta:hover::before {
    transform: scaleX(1);
}

/* Hover */
#servicios .tarjeta:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

/* Imagen / icono del servicio */
/* #servicios .image-placeholder {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px auto;
    border-radius: 50%;
    background-color: #19202c;
    color: #dbb835;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
} */

#servicios .image-placeholder {
    font-size: 40px;
}

.tarjeta a {
    text-decoration: underline;
    font-size: small;
}

#servicio1 {
    background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)),
        url('../img/pension.webp');
}

#servicio2 {
    background-image: linear-gradient(
            rgba(0, 0, 0, 0.7),
            rgba(0, 0, 0, 0.7)
        ),
        url('../img/asuntos-laborales.webp');
}

#servicio3 {
    background-image: linear-gradient(
            rgba(0, 0, 0, 0.7),
            rgba(0, 0, 0, 0.7)
        ),
        url('../img/derecho-familiar.webp');
}

#servicio4 {
    background-image: linear-gradient(
            rgba(0, 0, 0, 0.7),
            rgba(0, 0, 0, 0.7)
        ),
        url('../img/responsabilidad-civil.webp');
}

#servicio5 {
    background-image: linear-gradient(
            rgba(0, 0, 0, 0.7),
            rgba(0, 0, 0, 0.7)
        ),
        url('../img/tramites-notariales.webp');
}

#servicio6 {
    background-image: linear-gradient(
            rgba(0, 0, 0, 0.7),
            rgba(0, 0, 0, 0.7)
        ),
        url('../img/area-civil.webp');
}

#servicio7 {
    background-image: linear-gradient(
            rgba(0, 0, 0, 0.7),
            rgba(0, 0, 0, 0.7)
        ),
        url('../img/casacion.webp');
}

#servicio8 {
    background-image: linear-gradient(
            rgba(0, 0, 0, 0.7),
            rgba(0, 0, 0, 0.7)
        ),
        url('../img/consultoria.webp');
}

/* Título del servicio */
#servicios .tarjeta h3 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--color-secundario);
}

/* Texto del servicio */
#servicios .tarjeta p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #f0f0f0;
}

.servicio {
  display: flex;
}

.tarjeta {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.tarjeta a {
  margin-top: auto;
}





/* ===============================
   COBERTURA DE ATENCIÓN
================================ */

.cobertura-container {
    padding-block: 70px;
}

.cobertura-texto p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 18px;
    color: #e0e0e0;
}

.cobertura-texto strong {
    color: var(--color-secundario);
}

/* Contenedor de imágenes */
.cobertura-imagenes {
    position: relative;
    min-height: 320px;
    margin-top: 30px;
}

/* Imagen base */
.imagen-cobertura {
    position: absolute;
    border-radius: 18px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

/* Imagen principal */
.imagen-1 {
    width: 75%;
    height: 260px;
    top: 0;
    left: 0;
    background-image: url("/img/ciudad-medellin.webp");
}

/* Imagen secundaria superpuesta */
.imagen-2 {
    width: 55%;
    height: 200px;
    bottom: 0;
    right: 0;
    background-image: url("/img/itagui.jpg");
    border: 4px solid var(--color-principal);
}

#cobertura {
    background-image:
        linear-gradient(
            rgba(0, 0, 0, 0.8),
            rgba(0, 0, 0, 0.6)
        ),
        url("https://www.semana.com/resizer/v2/TXYNYBTBSJFWJOKAWZ2FPSAKUM.jpg?smart=true&auth=a09223b46e0d3e9b00e655c7e827e7f335ff4ada894e213e6111763eb7e45998&width=1280&height=720");
    background-size: cover;
    background-position: center;
}

/* Responsive */
@media (max-width: 991px) {
    .cobertura-imagenes {
        position: static;
        display: flex;
        gap: 20px;
        margin-top: 40px;
    }

    .imagen-cobertura {
        position: static;
        width: 100%;
        height: 220px;
    }
}

@media (max-width: 767px) {
    .hero {
        flex-wrap: wrap;
    }

    .frase-container{
        position: relative;
        flex: 0 0 100%;
        text-align: center;
        margin: auto;
        width: 100%;
        right: 0px;
    }

    .frase-container img {
        max-width: 100%;
    }
}


/* ===============================
   CONTACTO
================================ */

.contacto-texto{
    /* background-color: var(--color-gris); */
}

.contacto-texto h2 {
    color: var(--color-secundario);
    font-weight: bold;
}

#contacto-section {
    padding: 60px 0;
}

#contacto-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-principal);
    margin-bottom: 20px;
}

.contact-info {
    font-size: 1rem;
    color: #555;
    margin-bottom: 30px;
}

.contact-details {
    font-size: 1rem;
    color: #555;
}

.contact-details p {
    margin-bottom: 10px;
}

.contact-details i {
    margin-right: 10px;
    color: var(--color-principal);
}

.social-links {
    margin-top: 20px;
}

.social-links p {
    font-weight: 600;
    color: var(--color-principal);
    margin-bottom: 10px;
}

.social-icon {
    font-size: 1.5rem;
    color: var(--color-principal);
    margin-right: 15px;
    transition: color 0.3s;
}

.contact-form-link {
    margin-top: 30px;
}

/* Mapa de Google */
.contact-map iframe {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

@media (max-width: 767px) {
    #contacto .container {
        padding: 0 15px;
    }

    .contact-map iframe {
        height: 200px;
    }
}
.icono-metricas-container {
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

#nosotros p, #cobertura p{
    text-align: justify;
}