/*
Theme Name: Il Abogados
Theme URI: Seoconsultingperu.com
Author: Seo Consulting 
Author URI: 
Description: Plantilla Básica Seo Consulting

*/

:root {
    --primary-color: #e67e22;      /* Naranja acento del diseño */
    --primary-hover: #d35400;
    --bg-dark: #0f1012;             /* Fondo oscuro */
    --bg-card: #181a1d;
    --text-white: #ffffff;
    --text-muted: #a0a5ad;
    --font-heading: 'Playfair Display', 'Times New Roman', serif;
    --font-body: 'Open Sans', sans-serif;
    --transition: all 0.3s ease;
    --max-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}
/* Carrusel de Equipo sobre Nosotros */
.team-carousel {
    margin: 25px 0 35px 0;
}


.team-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 16px 20px;
    display: flex;
	margin: 10px;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(230, 126, 34, 0.2);
}

.team-avatar {
    width: 38px;
    height: 38px;
    background: rgba(230, 126, 34, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.team-avatar i {
    font-size: 1.1rem;
    color: var(--primary-color, #e67e22);
}

.team-name {
    font-family: var(--font-body, system-ui, -apple-system, sans-serif);
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.3;
}
.cards{width: 100%; max-width: 577px;}
/* Personalización de Puntos (Dots) del Carrusel */
.team-carousel .owl-dots {
    margin-top: 15px !important;
    text-align: left;
}

.team-carousel .owl-dot span {
    width: 6px !important;
    height: 6px !important;
    background: #ccc !important;
    transition: all 0.3s ease !important;
    margin: 0 4px !important;
}

.team-carousel .owl-dot.active span {
    background: var(--primary-color, #e67e22) !important;
    width: 18px !important;
    border-radius: 4px !important;
}
/* ==========================================================================
   Header & Navegación
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(15, 16, 18, 0.9);
    backdrop-filter: blur(8px);
    padding: 20px 0;
    transition: var(--transition);
}
.hero-image-wrapper{position: relative;}
.loc{position: absolute; right: 40%; }
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-white);
}

.logo-symbol {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-text small {
    font-size: 0.55rem;
    color: var(--text-muted);
    letter-spacing: 1px;
    margin-top: 2px;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    transition: var(--transition);
    position: relative;
    padding-bottom: 5px;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-white);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.btn-whatsapp-nav {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--primary-color);
    color: var(--text-white);
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition);
}

.btn-whatsapp-nav:hover {
    background-color: var(--primary-hover);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 1.8rem;
    cursor: pointer;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    padding-top: 100px;
    padding-bottom: 0px;
    display: flex;
    align-items: center;
    background: url(img/banner.jpg);
    background-size: cover;
    background-position: left;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.sub-heading {
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 15px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3rem;             /* Un poco más prominente */
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.5px;         /* Ajuste fino para la tipografía serif */
    margin-bottom: 20px;
}

.hero-title .highlight {
    color: var(--primary-color);
}

.hero-description {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 35px;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 50px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-white);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    border-color: var(--text-white);
    background-color: rgba(255, 255, 255, 0.05);
}

/* Features Footer del Hero */
.hero-features {
    display: flex;
    gap: 25px;
    list-style: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 25px;
}

.hero-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 0.82rem;
}



.hero-features i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: flex-end;
}

.hero-image-wrapper img {
    max-width: 74%;
    height: auto;
    object-fit: cover;
    border-radius: 4px;
}
/* ==========================================================================
   Sección Métricas / Stats
   ========================================================================== */
.stats-section {
    background-color: #f8f6f0;      /* Tono crema/hueso elegante como en la imagen */
    color: #1a1a1a;                 /* Texto oscuro para alto contraste y lectura clara */
    padding: 35px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    align-items: center;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Iconos finos en tono primario */
.stat-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

/* Números y Títulos serif para un acabado premium */
.stat-number, 
.stat-title {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f1012;
    line-height: 1.1;
    margin-bottom: 4px;
}
.stat-text {
    font-size: 0.8rem;
    color: #555555;
    line-height: 1.3;
    font-weight: 600;
}
/* ==========================================================================
   Sección Sobre Nosotros
   ========================================================================== */
.about-section {
    background-color: #ffffff;      /* Fondo blanco para destacar del fondo oscuro del hero */
    color: #1a1a1a;
    padding: 90px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 60px;
    align-items: self-start;
}

/* Imagen y Patrón de Puntos */
.about-image-wrapper {
    position: sticky; top: 120px;
}
/* ==========================================================================
   Sección Áreas de Práctica / Servicios (Carrusel)
   ========================================================================== */
.practice-areas {
    padding: 80px 0;
    background-color: var(--bg-dark, #0f1012);
}

.practice-areas__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.practice-areas__eyebrow {
    color: var(--primary-color, #e67e22);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 8px;
}

.practice-areas__title {
    font-family: var(--font-heading, 'Playfair Display', serif);
    font-size: 2.2rem;
    color: var(--text-white, #ffffff);
    margin: 0;
}

.practice-areas__title span {
    color: var(--primary-color, #e67e22);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: var(--text-white, #ffffff);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition, all 0.3s ease);
}

.btn-outline:hover {
    border-color: var(--primary-color, #e67e22);
    color: var(--primary-color, #e67e22);
}

/* Tarjeta estilo Destacado Uniforme */
.practice-card--featured {
    position: relative;
    height: 380px;
    border-radius: 12px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.practice-card--featured:hover {
    transform: translateY(-6px);
    border-color: var(--primary-color, #e67e22);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.practice-card--featured__icon {
    width: 48px;
    height: 48px;
    background-color: var(--primary-color, #e67e22);
    color: #ffffff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.practice-card--featured__content h3 {
    font-family: var(--font-heading, 'Playfair Display', serif);
    font-size: 1.4rem;
    color: #ffffff;
    margin-bottom: 10px;
}

.practice-card--featured__content p {
    font-size: 0.98rem;
    color: #fff;
    line-height: 1.5;
    margin-bottom: 20px;
	font-weight: 700;
}

.btn-solid {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--primary-color, #e67e22);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition, all 0.3s ease);
}

.btn-solid:hover {
    background-color: var(--primary-hover, #d35400);
}

/* Personalización de Owl Carousel Dots */
.practice-carousel .owl-dots {
    text-align: center;
    margin-top: 30px;
}

.practice-carousel .owl-dot span {
    width: 10px !important;
    height: 10px !important;
    background: rgba(255, 255, 255, 0.2) !important;
    transition: all 0.3s ease !important;
    margin: 0 4px !important;
}

.practice-carousel .owl-dot.active span {
    background: var(--primary-color, #e67e22) !important;
    width: 24px !important;
    border-radius: 5px !important;
}

.about-img {
    border-radius: 14px;
    object-fit: cover;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    z-index: 2;
	display: block;
	border: 4px solid var(--primary-color);
	width: 70%;
	margin: 0 auto;
}

/* Patrón decorativo de puntos en la esquina */
.dots-pattern {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 90px;
    height: 90px;
    z-index: 1;
    background-image: radial-gradient(var(--primary-color) 2px, transparent 2.5px);
    background-size: 12px 12px;
    opacity: 0.8;
}

/* Textos de la sección */
.about-title {
    font-family: var(--font-heading);
    font-size: 2.3rem;
    line-height: 1.25;
    color: #0f1012;
    font-weight: 700;
    margin-bottom: 20px;
}

.about-description {
    color: #555555;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 35px;
}

/* Lista de 3 pilares */
.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-icon {
    font-size: 2.2rem;
    color: var(--primary-color);
    line-height: 1;
}

.feature-info h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    color: #0f1012;
    margin-bottom: 6px;
}

.feature-info p {
    font-size: 0.82rem;
    color: #666666;
    line-height: 1.4;
}

/* Alineación del botón */
.about-action {
    display: flex;
    justify-content: flex-end;
}
/* ==========================================================================
   Sección: Áreas de práctica legal
   ========================================================================== */
.practice-areas {
    padding: 80px 0;
    background: #f2f2f2;
}
 
.practice-areas__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
}
 
.practice-areas__eyebrow {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 10px;
}
 
.practice-areas__title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--bg-card);
}
 
.practice-areas__title span {
    color: var(--primary-color);
    font-style: italic;
}
 
.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border: 1px solid var(--primary-color);
    border-radius: 6px;
    color: var(--primary-color);
    background: transparent;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: var(--transition);
}
 
.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--text-white);
}
 
.btn-outline i {
    font-size: 1rem;
    transition: var(--transition);
}
 
.btn-outline:hover i {
    transform: translateX(3px);
}
 
/* Grid principal */
.practice-areas__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
 
/* Tarjeta destacada (imagen) */
.practice-card--featured {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    min-height: 460px;
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-position: center;
}
 
.practice-card--featured::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 20%, rgba(0,0,0,0.15) 70%);
}
 
.practice-card--featured__icon {
    position: absolute;
    top: 30px;
    left: 30px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}
 
.practice-card--featured__icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
}
 
.practice-card--featured__content {
    position: absolute;
    z-index: 2;
    padding: 30px;
	bottom: 0;
	left: 0px;
}
 
.practice-card--featured__content h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 12px;
}
 

 
.btn-solid {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 24px;
    background-color: var(--primary-color);
    color: var(--text-white);
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}
 
.btn-solid:hover {
    background-color: var(--primary-hover);
}
 
.btn-solid i {
    transition: var(--transition);
}
 
.btn-solid:hover i {
    transform: translateX(3px);
}
 
/* Subgrid de tarjetas pequeñas */
.practice-card__subgrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
 
.practice-card {
    background-color: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    padding: 28px 24px;
    transition: var(--transition);
}
 
.practice-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
}
 
.practice-card__icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: rgba(230, 126, 34, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}
 
.practice-card__icon i {
    font-size: 1.4rem;
    color: var(--primary-color);
}
 
.practice-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-white);
}
 
.practice-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}
 
.practice-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
}
 
.practice-card__link i {
    font-size: 1rem;
    transition: var(--transition);
}
 
.practice-card__link:hover i {
    transform: translateX(3px);
}
/* ==========================================================================
   Sección Medios / Carrusel Owl
   ========================================================================== */
.media-section {
    background: #fff;
    padding: 90px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.media-card {
    background-color: #f2f2f2;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
    margin-bottom: 10px; /* Margen para sombra inferior */
}

.media-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 25px rgba(230, 126, 34, 0.15);
}

h2.section-title{color: var(--primary-color);}

/* Miniatura y Botón Play */
.media-thumbnail {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background-color: #000;
}

.media-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.media-card:hover .media-thumbnail img {
    transform: scale(1.05);
    opacity: 0.7;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 55px;
    height: 55px;
    background-color: var(--primary-color);
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, background-color 0.3s ease;
    z-index: 2;
}

.media-card:hover .play-btn {
    transform: translate(-50%, -50%) scale(1.15);
    background-color: var(--primary-hover);
}

/* Badges del tipo de medio */
.media-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: rgb(254, 254, 254);
    backdrop-filter: blur(4px);
    color: var(--text-white);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 2;
    box-shadow: 0px 0px 10px 0px #000;
}
.media-badge img{height: 30px;}

.media-badge i {
    color: var(--primary-color);
}

/* Información del Video */
.media-info {
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
}

.media-date {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.media-date i {
    color: var(--primary-color);
}

.media-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--bg-card);
    line-height: 1.35;
    margin-bottom: 18px;
    font-weight: 700;
}

.media-link {
    color: var(--primary-color);
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s ease;
}

.media-link i {
    transition: transform 0.3s ease;
}

.media-card:hover .media-link i {
    transform: translateX(5px);
}

/* Estilos Personalizados para los Puntos de Owl Carousel */
.media-section .owl-theme .owl-dots {
    margin-top: 35px;
}

.media-section .owl-theme .owl-dots .owl-dot span {
    width: 10px;
    height: 10px;
    background: #fff;
    transition: var(--transition);
}

.media-section .owl-theme .owl-dots .owl-dot.active span,
.media-section .owl-theme .owl-dots .owl-dot:hover span {
    background: var(--primary-color);
    width: 25px;
    border-radius: 5px;
} 
.blog-section {
    background-color: var(--blog-bg);
    color: var(--blog-text-dark);
    padding: 70px 0;
}
 
.blog-section__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 36px;
}
 
.blog-section__eyebrow {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 10px;
}
 
.blog-section__title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600;
    color: var(--blog-text-dark);
}
 
.blog-section__title span {
    color: var(--primary-color);
    font-style: italic;
}
 
.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--blog-text-dark);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}
 
.link-arrow i {
    color: var(--primary-color);
    font-size: 1rem;
    transition: var(--transition);
}
 
.link-arrow:hover i {
    transform: translateX(3px);
}
 
/* Grid de posts */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
 
.blog-card {
    background-color: var(--blog-card-bg);
    border: 1px solid var(--blog-card-border);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
}
 
.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
 
.blog-card__image {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}
 
.blog-card__body {
    padding: 18px 18px 22px;
}
 
.blog-card__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 12px;
}
 
.blog-card__meta::after {
    content: "";
}
 
.blog-card__date {
    color: var(--blog-text-muted);
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
}
 
.blog-card__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--bg-card);
    margin-bottom: 16px;
    line-height: 1.4;
}
 
.blog-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
}
 
.blog-card__link i {
    font-size: 1rem;
    transition: var(--transition);
}
 
.blog-card__link:hover i {
    transform: translateX(3px);
}

/* ==========================================================================
   Franja CTA de contacto
   ========================================================================== */

 
.cta-strip {
    position: relative;
    background: linear-gradient(135deg, #1c1508 0%, #14100c 55%, #0f1012 100%);
    border: 1px solid rgba(230, 126, 34, 0.35);
    border-radius: 16px;
    padding: 36px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    overflow: hidden;
}
 
.cta-strip::before {
    content: "";
    position: absolute;
    top: -60%;
    left: 10%;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(230,126,34,0.18) 0%, rgba(230,126,34,0) 70%);
    pointer-events: none;
}
 
.cta-strip__title {
    position: relative;
    z-index: 1;
    font-family: var(--font-heading);
    font-size: 1.7rem;
    font-weight: 600;
    line-height: 1.3;
    max-width: 260px;
}
 
.cta-strip__title span {
    color: var(--primary-color);
    font-style: italic;
}
 
.cta-strip__features {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
 
.cta-feature {
    display: flex;
    align-items: center;
    gap: 10px;
}
 
.cta-feature__icon {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border-radius: 50%;
    border: 1px solid rgba(230, 126, 34, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}
 
.cta-feature__icon i {
    font-size: 1.05rem;
    color: var(--primary-color);
}
 
.cta-feature__text {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.35;
    max-width: 120px;
}
 
.cta-strip__action {
    position: relative;
    z-index: 1;
    text-align: center;
}
 
.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 26px;
    background-color: var(--primary-color);
    color: var(--text-white);
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: var(--transition);
}
 
.btn-cta:hover {
    background-color: var(--primary-hover);
}
 
.btn-cta i {
    font-size: 1.15rem;
}
 
.cta-strip__action small {
    display: block;
    margin-top: 8px;
    font-size: 0.75rem;
    color: var(--text-muted);
}
 
/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    padding: 50px 0 0;
    background: var(--bg-dark);
}
 
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
    gap: 30px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
 
.footer-brand__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}
 
.footer-brand__logo i {
    font-size: 2rem;
    color: var(--primary-color);
}
 
.footer-brand__logo-text {
    line-height: 1.1;
}
 
.footer-brand__logo-text strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    letter-spacing: 0.5px;
}
 
.footer-brand__logo-text span {
    display: block;
    font-size: 0.65rem;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    text-transform: uppercase;
}
 
.footer-brand p {
    font-size: 0.85rem;
    color: var(--text-muted);
    max-width: 240px;
    margin-bottom: 18px;
}
 
.footer-social {
    display: flex;
    gap: 10px;
}
 
.footer-social a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    text-decoration: none;
    transition: var(--transition);
}
 
.footer-social a:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}
 
.footer-social i {
    font-size: 1rem;
}
 
.footer-col h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 18px;
    color: var(--text-white);
}
 
.footer-col ul {
    list-style: none;
}
 
.footer-col ul li {
    margin-bottom: 12px;
}
 
.footer-col ul li a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.88rem;
    transition: var(--transition);
}
 
.footer-col ul li a:hover {
    color: var(--primary-color);
}
 
.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
 
.footer-contact li i {
    color: var(--primary-color);
    font-size: 1rem;
    margin-top: 2px;
    flex-shrink: 0;
}
 
.footer-contact li span {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.4;
}
 
.footer-hours {
    margin-top: 14px;
}
 
.footer-hours p {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}
 
.btn-whatsapp-small {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    background-color: var(--primary-color);
    color: var(--text-white);
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-decoration: none;
    margin-bottom: 16px;
    transition: var(--transition);
}
 
.btn-whatsapp-small:hover {
    background-color: var(--primary-hover);
}
 
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 20px 0;
}
 
.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-muted);
}
 
.footer-bottom-links {
    display: flex;
    gap: 24px;
}
 
.footer-bottom-links a {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-decoration: none;
}
 
.footer-bottom-links a:hover {
    color: var(--primary-color);
}
 
/* Botón flotante de WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background-color: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0,0,0,0.3);
    z-index: 999;
    text-decoration: none;
}
 
.whatsapp-float i {
    color: var(--text-white);
    font-size: 1.7rem;
}
 /* ==========================================================================
   IL Abogados — Plantilla de páginas legales (legal-page.css)
   Se carga SOLO en páginas con "Template Name: Página Legal"
   ========================================================================== */
 
.legal-page {
    --primary-color: #e67e22;
    --primary-hover: #d35400;
    --bg-dark: #0f1012;
    --bg-card: #181a1d;
    --text-white: #ffffff;
    --text-muted: #a0a5ad;
 
    --font-heading: 'Playfair Display', 'Times New Roman', serif;
    --font-body: 'Open Sans', sans-serif;
 
    --transition: all 0.3s ease;
    --max-width: 1200px;
 
    background: var(--bg-dark);
    color: var(--text-white);
    font-family: var(--font-body);
    overflow-x: clip; /* permite que el glifo decorativo sangre fuera del viewport sin generar scroll horizontal */
}
 
.legal-page a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}
.legal-page a:hover {
    color: var(--primary-hover);
}
 
/* --------------------------------------------------------------------
   1. HERO — con el glifo "§" superpuesto (elemento sobrepuesto/signature)
   -------------------------------------------------------------------- */
.legal-hero {
    position: relative;
    padding: 100px 0 70px;
    isolation: isolate;
}
 
.legal-hero__glyph {
    position: absolute;
    top: -0.15em;
    right: -0.05em;
    font-family: var(--font-heading);
    font-size: clamp(220px, 28vw, 460px);
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(230, 126, 34, 0.18);
    font-weight: 600;
    z-index: 0;
    pointer-events: none;
    user-select: none;
}
 
.legal-hero__inner {
    position: relative;
    z-index: 1;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 32px;
}
 
.legal-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 20px;
}
.legal-hero__eyebrow::before {
    content: "";
    width: 28px;
    height: 1px;
    background: var(--primary-color);
}
 
.legal-hero__title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.1;
    max-width: 14ch;
    margin: 0 0 22px;
}
 
.legal-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 28px;
    color: var(--text-muted);
    font-size: 14px;
}
.legal-hero__meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.legal-hero__meta i {
    color: var(--primary-color);
}
 
/* --------------------------------------------------------------------
   2. LAYOUT PRINCIPAL — la tarjeta índice se superpone al borde del hero
   -------------------------------------------------------------------- */
.legal-body {
    max-width: 100%;
    margin: 0 auto;
    padding: 50px 5%;
    position: relative;
    z-index: 1;
    background: #fff;
}
 
.legal-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 48px;
    align-items: start;
}
 
/* La tarjeta de índice "se sienta encima" del límite hero/contenido */
.legal-index {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 32px 28px;
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.55);
    position: sticky;
    top: 110px;
}
 
.legal-index__label {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 13px;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: 18px;
    display: block;
}
 
.legal-index__list {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.legal-index__list a {
    display: flex;
    gap: 12px;
    align-items: baseline;
    color: var(--text-muted);
    font-size: 14.5px;
    padding: 8px 4px;
    border-left: 2px solid transparent;
    padding-left: 12px;
    transition: var(--transition);
}
.legal-index__list a:hover,
.legal-index__list a.is-active {
    color: var(--text-white);
    border-left-color: var(--primary-color);
    background: rgba(230, 126, 34, 0.06);
}
.legal-index__list .num {
    font-family: var(--font-heading);
    font-style: italic;
    color: var(--primary-color);
    font-size: 13px;
    flex-shrink: 0;
}
 
.legal-index__cta {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 22px;
}
.legal-index__cta p {
    font-size: 13.5px;
    color: var(--text-muted);
    margin: 0 0 14px;
    line-height: 1.5;
}
.legal-index__cta .btn-whatsapp-small {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-color);
    color: var(--text-white);
    font-weight: 600;
    font-size: 14px;
    padding: 10px 18px;
    border-radius: 8px;
    transition: var(--transition);
}
.legal-index__cta .btn-whatsapp-small:hover {
    background: var(--primary-hover);
    color: var(--text-white);
}
 
/* --------------------------------------------------------------------
   3. CONTENIDO — artículos numerados (orden real de cláusulas legales)
   -------------------------------------------------------------------- */
.legal-content {
    padding-top: 40px;
    min-width: 0; /* evita overflow de texto largo dentro del grid */
}
 
.legal-content h2 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(24px, 2.4vw, 30px);
    margin: 64px 0 18px;
    padding-top: 8px;
    scroll-margin-top: 110px;
    position: relative;
}
.legal-content h2:first-child {
    margin-top: 0;
}
 
.legal-content h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    margin: 32px 0 12px;
    color: var(--text-white);
    scroll-margin-top: 110px;
}
 
.legal-content p {
    color: #2f2e2e;
    line-height: 1.8;
    font-size: 16px;
    margin: 0 0 18px;
}
 
.legal-content strong {
    color: var(--text-white);
}
 
.legal-content ul,
.legal-content ol {
    color: var(--text-muted);
    line-height: 1.8;
    padding-left: 22px;
    margin: 0 0 20px;
}
.legal-content li {
    margin-bottom: 8px;
}
.legal-content li::marker {
    color: var(--primary-color);
}
 
.legal-content a {
    border-bottom: 1px solid rgba(230, 126, 34, 0.35);
}
 
.legal-content blockquote {
    border-left: 3px solid var(--primary-color);
    margin: 28px 0;
    padding: 4px 0 4px 22px;
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 18px;
    color: var(--text-white);
}
 
.legal-content hr {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin: 48px 0;
}
 .practice-card--featured__content .btn-solid{background: #04a841}
/* --------------------------------------------------------------------
   4. CIERRE — franja de contacto (reutiliza el lenguaje visual del CTA)
   -------------------------------------------------------------------- */
.legal-closing {
    margin-top: 80px;
    background: linear-gradient(135deg, rgba(230, 126, 34, 0.12), transparent 60%), var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.legal-closing__text h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    margin: 0 0 6px;
}
.legal-closing__text p {
    color: var(--text-muted);
    margin: 0;
    font-size: 14.5px;
}
.legal-closing .btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-color);
    color: var(--text-white);
    font-weight: 600;
    padding: 14px 26px;
    border-radius: 10px;
    white-space: nowrap;
    transition: var(--transition);
}
.legal-closing .btn-cta:hover {
    background: var(--primary-hover);
}
 .youtu{background: #f00; color: #fff}
/* --------------------------------------------------------------------
   5. RESPONSIVE
   -------------------------------------------------------------------- */
/* ==========================================================================
   Sección Staff (Owl Carousel Overlapping + Popups Persistentes)
   ========================================================================== */
.staff-section {
    background-color: var(--bg-dark, #121418);
    padding: 90px 0;
    position: relative;
}

.staff-carousel-wrapper {
    padding: 20px 0;
}

/* Efecto Overlapping en Owl Carousel */
.staff-overlapping-carousel .owl-stage {
    display: flex;
    align-items: center;
    padding-top: 30px;
    padding-bottom: 30px;
}

.staff-overlapping-carousel .owl-item {
    transition: transform 0.3s ease, z-index 0.3s ease;
}

/* Solapamiento/Sobreposición de las tarjetas adyacentes */
@media (min-width: 769px) {
    .staff-overlapping-carousel .owl-item {
        margin-right: -40px !important; /* Fuerza la sobreposición horizontal */
    }
}

.staff-card {
    position: relative;
    height: 536px;
    background-color: var(--bg-card, #191c22);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: -8px 12px 25px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.staff-card:hover {
    transform: translateY(-12px) scale(1.03);
    border-color: var(--primary-color, #e67e22);
    box-shadow: 0 15px 35px rgba(230, 126, 34, 0.25);
}

.staff-card-img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.staff-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(35%);
    transition: filter 0.3s ease;
}

.staff-card:hover .staff-card-img img {
    filter: grayscale(0%);
}

.staff-card-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(18, 20, 24, 0.85);
    backdrop-filter: blur(4px);
    color: var(--primary-color, #e67e22);
    border: 1px solid rgba(230, 126, 34, 0.4);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
}

.staff-card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px 15px;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0) 100%);
}

.staff-name {
    font-family: var(--font-heading, 'Playfair Display', serif);
    color: #fff;
    font-size: 1.15rem;
    margin-bottom: 2px;
}

.staff-role {
    font-size: 0.78rem;
    color: #a0a5b1;
}

/* Personalización de Controles Owl Carousel */
.staff-overlapping-carousel .owl-dots {
    text-align: center;
    margin-top: 25px;
}

.staff-overlapping-carousel .owl-dot span {
    width: 10px !important;
    height: 10px !important;
    background: rgba(255, 255, 255, 0.2) !important;
    transition: all 0.3s ease !important;
}

.staff-overlapping-carousel .owl-dot.active span {
    background: var(--primary-color, #e67e22) !important;
    width: 26px !important;
    border-radius: 5px !important;
}

/* ==========================================================================
   Modal / Popup de Hoja de Vida (Transición Suave + Cierre Manual)
   ========================================================================== */
.staff-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 99999;
}

.staff-modal.is-open {
    opacity: 1;
    visibility: visible;
}

/* Overlay / Fondo Oscuro Traslúcido */
.staff-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 12, 15, 0.85);
    backdrop-filter: blur(6px);
}

/* Contenido del Modal */
.staff-modal-content {
    position: relative;
    background-color: var(--bg-card, #191c22);
    border: 1px solid rgba(230, 126, 34, 0.3);
    border-radius: 16px;
    max-width: 650px;
    width: 90%;
    display: flex;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8);
    transform: translateY(30px) scale(0.95);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

.staff-modal.is-open .staff-modal-content {
    transform: translateY(0) scale(1);
}

/* Botón de Cierre (✕) */
.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    z-index: 10;
    line-height: 1;
}

.modal-close-btn:hover {
    background: var(--primary-color, #e67e22);
    border-color: var(--primary-color, #e67e22);
    transform: rotate(90deg);
}

.modal-photo {
    width: 40%;
    position: relative;
    min-height: 320px;
}

.modal-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.specialty-tag {
    position: absolute;
    bottom: 15px;
    left: 15px;
    right: 15px;
    background: rgba(18, 20, 24, 0.9);
    color: var(--primary-color, #e67e22);
    border: 1px solid rgba(230, 126, 34, 0.4);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    text-align: center;
}

.modal-body {
    width: 60%;
    padding: 35px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-name {
    font-family: var(--font-heading, 'Playfair Display', serif);
    font-size: 1.45rem;
    color: #fff;
    margin-bottom: 4px;
}

.modal-subtitle {
    color: var(--primary-color, #e67e22);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.owl-nav button{
	background: var(--primary-color) !important;
    width: 30px !important;
    color: #fff !important;
    border-radius: 20px !important;
	margin: 0px 5px;
}
.about-grid .owl-nav{display: flex; justify-content: center; margin-top: 15px;}

.modal-description {
    color: var(--text-muted, #a0a5b1);
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.btn-consult {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color, #e67e22);
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.btn-consult:hover {
    color: #ffffff;
}

/* Responsivo para móviles */
@media (max-width: 768px) {
    .staff-modal-content {
        flex-direction: column;
        max-height: 85vh;
        overflow-y: auto;
    }

    .modal-photo, .modal-body {
        width: 100%;
    }

    .modal-photo {
        height: 200px;
        min-height: auto;
    }
}



@media (max-width: 960px) {
    .legal-grid {
        grid-template-columns: 1fr;
    }
    .legal-index {
        margin-top: -60px;
        position: static;
    }
    .legal-hero {
        padding: 100px 0 90px;
    }
    .legal-hero__glyph {
        font-size: clamp(160px, 45vw, 260px);
        top: -0.05em;
    }
}
 
@media (max-width: 600px) {
    .legal-hero__inner,
    .legal-body {
        padding-left: 20px;
        padding-right: 20px;
    }
    .legal-closing {
        flex-direction: column;
        align-items: flex-start;
        padding: 28px;
    }
}
 
/* Accesibilidad: respeta preferencia de movimiento reducido */
@media (prefers-reduced-motion: reduce) {
    .legal-page * {
        transition: none !important;
    }
}
/* Responsive */
@media (max-width: 1000px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .cta-strip {
        justify-content: center;
        text-align: center;
    }
    .cta-strip__title {
        max-width: 100%;
    }
    .cta-strip__features {
        justify-content: center;
    }
}
 
@media (max-width: 560px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
    .cta-feature__text {
        max-width: none;
    }
}
/* Configuración para el menú desplegable en pantallas pequeñas */
@media (max-width: 992px) {
    .nav-container {
        position: relative;
    }

    /* Ocultamos el menú fuera de pantalla */
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-card, #181a1d);
        border-top: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
        box-shadow: 0 10px 20px rgba(0,0,0,0.4);
        padding: 20px;
        display: none; /* Oculto por defecto */
        flex-direction: column;
        z-index: 999;
    }

    /* Clase activa que muestra el menú al presionar el botón */
    .nav-menu.is-active {
        display: flex;
		left: 0px;
    }
	.about-image-wrapper{top: 0px;}
    .nav-menu ul {
        display: flex;
        flex-direction: column;
        list-style: none;
        padding: 0;
        margin: 0;
        gap: 15px;
    }

    .nav-menu a {
        color: var(--text-white, #ffffff);
        text-decoration: none;
        font-size: 1rem;
        display: block;
        padding: 8px 0;
    }

    /* Estilos para el botón hamburguesa */
    .nav-toggle {
        display: block;
        background: transparent;
        border: none;
        color: var(--text-white, #ffffff);
        font-size: 1.8rem;
        cursor: pointer;
    }
}

/* En pantallas grandes el menú se muestra horizontal y el botón toggle se oculta */
@media (min-width: 993px) {
    .nav-toggle {
        display: none;
    }
}








@media (max-width: 1000px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
 
@media (max-width: 560px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
    .blog-section__title {
        font-size: 1.6rem;
    }
}
/* Responsive */
@media (max-width: 900px) {
    .practice-areas__grid {
        grid-template-columns: 1fr;
    }
    .practice-card--featured {
        min-height: 380px;
    }
}
 
@media (max-width: 560px) {
    .practice-card__subgrid {
        grid-template-columns: 1fr;
    }
    .practice-areas__title {
        font-size: 1.7rem;
    }
}






/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-features {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-image-wrapper {
        justify-content: center;
    }

    .nav-menu {
        position: fixed;
        top: 75px;
        left: -100%;
        width: 100%;
        background-color: var(--bg-dark);
        padding: 30px 0;
        transition: var(--transition);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .btn-whatsapp-nav {
        display: none;
    }

    .nav-toggle {
        display: block;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 20px;
    }
    
    .stat-card {
        justify-content: center;
    }
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .section-title {
        font-size: 1.9rem;
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image-wrapper {
        max-width: 600px;
        margin: 0 auto;
    }

    .about-title {
        font-size: 1.9rem;
    }

    .about-action {
        justify-content: flex-start;
    }
    .featured-service .service-content {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.2rem;
    }
	.navbar{padding: 0px;}
	.cards{width: 300px}
	.about-image-wrapper{position: relative;}
	.hero-image-wrapper{
		width: 80%;
        margin: 0 auto;
	}
    .hero-actions {
        flex-direction: column;
    }

    .hero-features {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .stats-section {
        padding: 40px 0;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .stat-card {
        justify-content: flex-start;
        padding-left: 10px;
    }
    .about-features {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .dots-pattern {
        top: -10px;
        left: -10px;
    }
    .services-subgrid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .featured-service {
        padding: 25px 20px;
    }
	.about-vidio{max-width: 357px;}
    .featured-service .service-title {
        font-size: 1.4rem;
    }
	.about-grid{display: block;}
}