/* ========================================
   ANDRES GUERRERO ABOGADO - CÚCUTA
   PREMIUM PROFESSIONAL LAW FIRM DESIGN
   ======================================== */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

/* ========= VARIABLES Y RESET ========= */
:root {
    --color-primary: #0a192f;
    --color-secondary: #c9a84c;
    --color-white: #ffffff;
    --color-light-gray: #f5f5f5;
    --color-text: #2c3e50;
    --color-text-light: #666666;
    --color-border: #e8e8e8;
    --color-gold-light: #d4af37;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 5px 20px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 15px 40px rgba(0, 0, 0, 0.16);
    --shadow-xl: 0 25px 60px rgba(0, 0, 0, 0.2);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    line-height: 1.6;
    background-color: var(--color-white);
    letter-spacing: 0.3px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.5px;
}

p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-text-light);
}

/* ========= CONTAINER UTILITY ========= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ========= NAVBAR ========= */
.navbar {
    background-color: var(--color-primary);
    padding: 1.2rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(10px);
    background-color: rgba(10, 25, 47, 0.98);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.nav-logo a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-white);
}

.nav-logo-img {
    height: 45px;
    width: auto;
    transition: var(--transition);
}

.nav-logo-img:hover {
    filter: brightness(1.1);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-secondary);
    letter-spacing: -0.5px;
}

.logo-subtitle {
    font-size: 0.75rem;
    color: var(--color-light-gray);
    margin-left: 0.25rem;
    opacity: 0.9;
}

.nav-menu {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-link {
    color: var(--color-white);
    font-weight: 500;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    transition: var(--transition);
    position: relative;
    font-size: 0.95rem;
    letter-spacing: 0.2px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--color-secondary);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: calc(100% - 2.4rem);
}

.nav-link:hover,
.nav-link.active {
    background-color: rgba(201, 168, 76, 0.1);
}

.nav-whatsapp {
    background-color: #25D366;
    color: var(--color-white) !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
}

.nav-whatsapp::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: var(--transition);
}

.nav-whatsapp:hover::before {
    width: 300px;
    height: 300px;
}

.nav-whatsapp:hover {
    background-color: #1ea952;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.35);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--color-white);
    border-radius: 2px;
    transition: var(--transition);
}

/* ========= HERO SECTION ========= */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary) 0%, #0f2845 100%);
    padding: 4rem 2rem;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(201, 168, 76, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(201, 168, 76, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 2px,
            rgba(201, 168, 76, 0.02) 2px,
            rgba(201, 168, 76, 0.02) 4px
        );
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 30% 40%, rgba(201, 168, 76, 0.08) 0%, transparent 60%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    text-align: center;
    color: var(--color-white);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.15;
    color: var(--color-white);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    line-height: 1.9;
    letter-spacing: 0.3px;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Split Layout Hero */
.hero-split {
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
    padding: 4rem 2rem;
}

.hero-split .hero-content {
    text-align: left;
    max-width: none;
}

.hero-split .hero-content h1 {
    font-size: 3.5rem;
    text-align: left;
    margin-bottom: 1.2rem;
}

.hero-split .hero-subtitle {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
    font-size: 1.1rem;
}

.hero-split .hero-buttons {
    justify-content: flex-start;
    margin-top: 2rem;
}

.hero-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lawyer-photo {
    width: 100%;
    max-width: 420px;
    height: auto;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: 8px;
    box-shadow:
        0 0 0 8px var(--color-secondary),
        0 0 0 10px var(--color-primary),
        var(--shadow-xl);
    transition: var(--transition);
    position: relative;
}

.lawyer-photo:hover {
    transform: translateY(-10px);
    box-shadow:
        0 0 0 8px var(--color-secondary),
        0 0 0 10px var(--color-primary),
        0 30px 70px rgba(0, 0, 0, 0.25);
}

/* Button Styles */
.btn-primary,
.btn-secondary,
.btn-hero,
.btn-servicio,
.btn-servicio-cat,
.btn-cta,
.btn-cta-cat {
    display: inline-block;
    transition: var(--transition);
    font-weight: 600;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 1rem;
}

.btn-primary {
    padding: 1rem 2.5rem;
    background-color: var(--color-secondary);
    color: var(--color-primary);
    font-weight: 700;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background-color: rgba(10, 25, 47, 0.1);
    transform: translate(-50%, -50%);
    transition: var(--transition);
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    background-color: #d4b565;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(201, 168, 76, 0.35);
}

.btn-secondary {
    padding: 1rem 2.5rem;
    background-color: transparent;
    color: var(--color-white);
    border: 2.5px solid var(--color-white);
    font-weight: 700;
    position: relative;
    overflow: hidden;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: var(--color-white);
    transition: var(--transition);
    z-index: -1;
}

.btn-secondary:hover::before {
    left: 0;
}

.btn-secondary:hover {
    color: var(--color-primary);
    transform: translateY(-3px);
}

.btn-hero {
    padding: 1rem 2.5rem;
    background-color: var(--color-secondary);
    color: var(--color-primary);
    font-weight: 700;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.btn-hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background-color: rgba(10, 25, 47, 0.1);
    transform: translate(-50%, -50%);
    transition: var(--transition);
}

.btn-hero:hover::before {
    width: 300px;
    height: 300px;
}

.btn-hero:hover {
    background-color: #d4b565;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(201, 168, 76, 0.35);
}

.btn-servicio {
    padding: 0.9rem 2rem;
    background-color: var(--color-primary);
    color: var(--color-white);
    border-radius: 6px;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.btn-servicio::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background-color: var(--color-secondary);
    transform: translate(-50%, -50%);
    transition: var(--transition);
    z-index: -1;
}

.btn-servicio:hover::before {
    width: 300px;
    height: 300px;
}

.btn-servicio:hover {
    color: var(--color-primary);
    transform: translateX(5px);
}

.btn-servicio-cat {
    padding: 0.9rem 2rem;
    background-color: #25D366;
    color: var(--color-white);
    border-radius: 6px;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.btn-servicio-cat::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background-color: rgba(10, 25, 47, 0.2);
    transform: translate(-50%, -50%);
    transition: var(--transition);
}

.btn-servicio-cat:hover::before {
    width: 300px;
    height: 300px;
}

.btn-servicio-cat:hover {
    background-color: #1ea952;
    transform: translateX(5px);
}

.btn-cta,
.btn-cta-cat {
    padding: 1.25rem 3.5rem;
    background-color: #25D366;
    color: var(--color-white);
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.25);
}

.btn-cta::before,
.btn-cta-cat::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: var(--transition);
}

.btn-cta:hover::before,
.btn-cta-cat:hover::before {
    width: 400px;
    height: 400px;
}

.btn-cta:hover,
.btn-cta-cat:hover {
    background-color: #1ea952;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.4);
}

/* ========= SECCIÓN DE CONFIANZA ========= */
.trust-section {
    padding: 6rem 0;
    background-color: var(--color-white);
}

.trust-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.trust-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
}

.trust-image img:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.18);
}

.trust-content h2 {
    color: var(--color-primary);
    font-size: 2.75rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.trust-content p {
    color: var(--color-text);
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 2rem;
}

.trust-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, var(--color-light-gray) 0%, #f9f9f9 100%);
    border-radius: 10px;
    border-top: 5px solid var(--color-secondary);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(201, 168, 76, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.stat-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-secondary);
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
    letter-spacing: -1px;
}

.stat-label {
    font-size: 1rem;
    color: var(--color-text);
    font-weight: 600;
    letter-spacing: 0.2px;
}

/* ========= SERVICIOS PRINCIPALES ========= */
.servicios-principales {
    padding: 6rem 0;
    background-color: var(--color-light-gray);
}

.servicios-principales .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.servicio-card {
    background-color: var(--color-white);
    border-radius: 10px;
    padding: 0;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    overflow: hidden;
    position: relative;
}

.servicio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-secondary) 0%, var(--color-gold-light) 100%);
    opacity: 0;
    transition: var(--transition);
}

.servicio-card:hover::before {
    opacity: 1;
}

.servicio-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.servicio-header {
    position: relative;
    height: 320px;
    overflow: hidden;
}

.servicio-image {
    width: 100%;
    height: 100%;
}

.servicio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.servicio-card:hover .servicio-image img {
    transform: scale(1.08);
}

.servicio-icon {
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 3.5rem;
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-gold-light) 100%);
    width: 90px;
    height: 90px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(201, 168, 76, 0.25);
    transition: var(--transition);
}

.servicio-card:hover .servicio-icon {
    transform: rotate(-10deg) scale(1.1);
}

.servicio-card h2 {
    padding: 2rem 2.5rem 0;
    color: var(--color-primary);
    font-size: 1.75rem;
    margin-bottom: 1rem;
    margin-top: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
}

.servicio-card p {
    padding: 0 2.5rem;
    color: var(--color-text);
    margin-bottom: 1.25rem;
    font-size: 1rem;
    line-height: 1.8;
}

.servicio-card strong {
    color: var(--color-secondary);
    font-weight: 600;
}

.servicio-card .btn-servicio {
    margin: 1.5rem 2.5rem 2.5rem;
}

/* ========= POR QUÉ ELEGIRNOS ========= */
.por-que-elegirnos {
    padding: 6rem 0;
    background-color: var(--color-white);
}

.por-que-elegirnos h2 {
    text-align: center;
    color: var(--color-primary);
    font-size: 2.75rem;
    margin-bottom: 4rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.razones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 2.5rem;
}

.razon-card {
    background: linear-gradient(135deg, var(--color-light-gray) 0%, #fafafa 100%);
    padding: 2.5rem;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.razon-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(201, 168, 76, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.razon-card:hover {
    border-color: var(--color-secondary);
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
    background: var(--color-white);
}

.razon-numero {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--color-secondary);
    margin-bottom: 1rem;
    font-family: var(--font-heading);
    letter-spacing: -1px;
}

.razon-card h3 {
    color: var(--color-primary);
    font-size: 1.35rem;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.razon-card p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ========= ZONAS DE SERVICIO ========= */
.zonas-servicio {
    padding: 6rem 0;
    background-color: var(--color-light-gray);
}

.zonas-servicio h2 {
    text-align: center;
    color: var(--color-primary);
    font-size: 2.75rem;
    margin-bottom: 1rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.zonas-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3.5rem;
    color: var(--color-text-light);
    font-size: 1.1rem;
    line-height: 1.8;
}

.zonas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.zona-item {
    background-color: var(--color-white);
    padding: 1.25rem;
    border-radius: 8px;
    border-left: 5px solid var(--color-secondary);
    font-weight: 500;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.zona-item:hover {
    background: linear-gradient(135deg, var(--color-primary) 0%, #0f2845 100%);
    color: var(--color-white);
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
}

.zonas-footer {
    text-align: center;
    margin-top: 2.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, var(--color-light-gray) 0%, #f9f9f9 100%);
    border-radius: 10px;
    color: var(--color-text);
    font-style: italic;
    border-left: 5px solid var(--color-secondary);
    line-height: 1.8;
}

/* ========= CTA SECTION ========= */
.cta-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, var(--color-primary) 0%, #0f2845 50%, var(--color-primary) 100%);
    background-size: 200% 200%;
    text-align: center;
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(201, 168, 76, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(201, 168, 76, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    font-size: 2.75rem;
    margin-bottom: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.9;
}

/* ========= MAPA SECCIÓN ========= */
.mapa-seccion {
    padding: 6rem 0;
    background-color: var(--color-white);
}

.mapa-seccion h2 {
    text-align: center;
    color: var(--color-primary);
    font-size: 2.75rem;
    margin-bottom: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.mapa-info {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3.5rem;
    align-items: start;
}

.info-contacto h3 {
    color: var(--color-secondary);
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    margin-top: 2rem;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.info-contacto h3:first-child {
    margin-top: 0;
}

.info-contacto p {
    color: var(--color-text);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1rem;
}

.info-contacto a {
    color: var(--color-secondary);
    font-weight: 600;
    transition: var(--transition);
}

.info-contacto a:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

.mapa-embed {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.mapa-embed iframe {
    display: block;
}

/* ========= FAQ SECTION ========= */
.faq-section {
    padding: 6rem 0;
    background-color: var(--color-light-gray);
}

.faq-section h2 {
    text-align: center;
    color: var(--color-primary);
    font-size: 2.75rem;
    margin-bottom: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.faq-item {
    background-color: var(--color-white);
    padding: 2.25rem;
    margin-bottom: 1.75rem;
    border-radius: 10px;
    border-left: 5px solid var(--color-secondary);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.faq-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-secondary) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.faq-item:hover::before {
    opacity: 1;
}

.faq-item h3 {
    color: var(--color-primary);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.faq-item p {
    color: var(--color-text);
    line-height: 1.8;
    font-size: 1rem;
}

/* ========= BOTÓN FLOTANTE WHATSAPP ========= */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #25D366 0%, #1ea952 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    border: 3px solid var(--color-white);
    animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
    }
}

.whatsapp-float:hover {
    transform: scale(1.15);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.5);
    animation: none;
}

.whatsapp-float svg {
    width: 38px;
    height: 38px;
    fill: white;
}

/* ========= FOOTER ========= */
.footer {
    background: linear-gradient(135deg, var(--color-primary) 0%, #0f2845 100%);
    padding: 3rem 0;
    text-align: center;
    border-top: 3px solid var(--color-secondary);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer p {
    color: var(--color-white);
    font-size: 1rem;
    margin: 0;
    font-weight: 500;
    letter-spacing: 0.2px;
}

/* ========= PÁGINAS DE CATEGORÍA ========= */
.hero-categoria {
    position: relative;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary) 0%, #0f2845 100%);
    padding: 4rem 2rem;
    overflow: hidden;
}

.hero-categoria::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(201, 168, 76, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(201, 168, 76, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

.hero-categoria .hero-content h1 {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    line-height: 1.2;
    color: var(--color-white);
    letter-spacing: -0.5px;
}

.hero-categoria .hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: var(--color-white);
    line-height: 1.8;
}

/* Introducción de Categoría */
.intro-categoria {
    padding: 6rem 0;
    background-color: var(--color-white);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 3.5rem;
    align-items: start;
}

.intro-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.intro-image img:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.intro-content h2 {
    color: var(--color-primary);
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

.intro-content p {
    color: var(--color-text);
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 1.5rem;
}

.intro-content strong {
    color: var(--color-secondary);
    font-weight: 600;
}

/* Servicios de Categoría */
.servicios-categoria {
    padding: 6rem 0;
    background-color: var(--color-light-gray);
}

.servicios-titulo {
    text-align: center;
    color: var(--color-primary);
    font-size: 2.75rem;
    margin-bottom: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.servicio-detalle {
    background-color: var(--color-white);
    border-radius: 10px;
    padding: 3.5rem;
    margin-bottom: 2.5rem;
    box-shadow: var(--shadow-md);
    border-left: 6px solid var(--color-secondary);
    transition: var(--transition);
    position: relative;
}

.servicio-detalle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-secondary) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition);
}

.servicio-detalle:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-lg);
}

.servicio-detalle:hover::before {
    opacity: 1;
}

.servicio-detalle .servicio-icono {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.servicio-detalle h2,
.servicio-detalle h3 {
    color: var(--color-primary);
    font-size: 1.85rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.servicio-detalle p {
    color: var(--color-text);
    font-size: 1rem;
    line-height: 1.9;
    margin-bottom: 1.25rem;
}

.servicio-detalle strong {
    color: var(--color-secondary);
    font-weight: 600;
}

/* Zonas Categoría */
.zonas-categoria {
    padding: 5rem 0;
    background-color: var(--color-white);
}

.zonas-categoria h2 {
    text-align: center;
    color: var(--color-primary);
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.zonas-grid-small {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 3rem;
}

.zona-item-small {
    background: linear-gradient(135deg, var(--color-light-gray) 0%, #fafafa 100%);
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid var(--color-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.zona-item-small:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

/* FAQ Categoría */
.faq-categoria {
    padding: 6rem 0;
    background-color: var(--color-light-gray);
}

.faq-categoria h2 {
    text-align: center;
    color: var(--color-primary);
    font-size: 2.75rem;
    margin-bottom: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

/* CTA Categoría */
.cta-categoria {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, var(--color-primary) 0%, #0f2845 100%);
    text-align: center;
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.cta-categoria::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(201, 168, 76, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(201, 168, 76, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.cta-categoria .container {
    position: relative;
    z-index: 1;
}

.cta-categoria h2 {
    font-size: 2.75rem;
    margin-bottom: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.cta-categoria p {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.9;
}

/* ========= BREADCRUMB ========= */
.breadcrumb-link {
    display: inline-block;
    padding: 0.9rem 1.8rem;
    background: linear-gradient(135deg, var(--color-light-gray) 0%, #fafafa 100%);
    border-left: 5px solid var(--color-secondary);
    color: var(--color-primary);
    font-weight: 600;
    transition: var(--transition);
    border-radius: 6px;
    box-shadow: var(--shadow-sm);
}

.breadcrumb-link:hover {
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-gold-light) 100%);
    color: var(--color-white);
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
}

/* ========= SERVICIO CONTENIDO ========= */
.servicio-contenido {
    padding: 4rem 0;
}

.content-section {
    margin-bottom: 4rem;
    padding-bottom: 3rem;
    border-bottom: 2px solid var(--color-border);
}

.content-section:last-child {
    border-bottom: none;
}

.content-section h3 {
    color: var(--color-primary);
    font-size: 1.65rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.content-section p {
    color: var(--color-text);
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 1.25rem;
}

/* ========= ANIMACIONES ========= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.servicio-card,
.razon-card,
.zona-item,
.faq-item,
.servicio-detalle {
    animation: fadeInUp 0.6s ease-out;
}

/* ========= RESPONSIVE DESIGN ========= */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        padding: 3rem 2rem;
    }

    .hero-split .hero-content h1 {
        font-size: 2.75rem;
    }

    .trust-grid,
    .intro-grid,
    .mapa-info {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .lawyer-photo {
        max-width: 350px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--color-primary);
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
        display: none;
        box-shadow: var(--shadow-lg);
        max-height: 80vh;
        overflow-y: auto;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-link {
        width: 100%;
        text-align: center;
        padding: 1rem;
    }

    .nav-toggle {
        display: flex;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-primary,
    .btn-secondary,
    .btn-hero {
        width: 100%;
        max-width: none;
    }

    .hero-split .hero-content h1 {
        font-size: 2rem;
    }

    .lawyer-photo {
        max-width: 280px;
    }

    .trust-image img {
        height: 350px;
    }

    .trust-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .servicio-card {
        margin-bottom: 2rem;
    }

    .servicio-header {
        height: 250px;
    }

    .servicio-icon {
        width: 75px;
        height: 75px;
        font-size: 2.5rem;
    }

    .servicio-card h2 {
        font-size: 1.5rem;
    }

    .por-que-elegirnos h2,
    .zonas-servicio h2,
    .cta-section h2,
    .mapa-seccion h2,
    .faq-section h2,
    .servicios-titulo,
    .intro-content h2,
    .hero-categoria .hero-content h1 {
        font-size: 1.85rem;
    }

    .razones-grid {
        grid-template-columns: 1fr;
    }

    .zonas-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stat-item {
        padding: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .servicio-detalle {
        padding: 2rem 1.5rem;
    }

    .servicio-detalle h2,
    .servicio-detalle h3 {
        font-size: 1.5rem;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 60px;
        height: 60px;
    }

    .whatsapp-float svg {
        width: 32px;
        height: 32px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero {
        min-height: 500px;
        padding: 2rem 1rem;
    }

    .hero h1 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-buttons {
        gap: 0.75rem;
    }

    .btn-primary,
    .btn-secondary {
        padding: 0.85rem 1.75rem;
        font-size: 0.9rem;
    }

    .nav-container {
        padding: 0 1rem;
    }

    .logo-text {
        font-size: 1.25rem;
    }

    .nav-logo-img {
        height: 35px;
    }

    .nav-menu {
        gap: 0;
    }

    .nav-link {
        padding: 0.75rem 1rem;
    }

    .trust-image img {
        height: 250px;
    }

    .servicio-header {
        height: 200px;
    }

    .servicio-icon {
        width: 65px;
        height: 65px;
        font-size: 2rem;
        bottom: 12px;
        right: 12px;
    }

    .servicio-card h2,
    .servicio-card p {
        font-size: 1rem;
    }

    .razon-card {
        padding: 1.75rem 1.25rem;
    }

    .razon-numero {
        font-size: 2.5rem;
    }

    .razon-card h3 {
        font-size: 1.1rem;
    }

    .por-que-elegirnos h2,
    .zonas-servicio h2,
    .cta-section h2,
    .mapa-seccion h2,
    .faq-section h2,
    .servicios-titulo,
    .intro-content h2 {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

    .zonas-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .zona-item {
        padding: 1rem;
        font-size: 0.9rem;
    }

    .faq-item {
        padding: 1.5rem;
    }

    .faq-item h3 {
        font-size: 1.1rem;
    }

    .servicio-detalle {
        padding: 1.5rem 1rem;
        margin-bottom: 1.5rem;
    }

    .servicio-detalle h2,
    .servicio-detalle h3 {
        font-size: 1.25rem;
    }

    .servicio-detalle p {
        font-size: 0.95rem;
    }

    .cta-section p {
        font-size: 1rem;
    }

    .btn-cta,
    .btn-cta-cat {
        padding: 1rem 2.5rem;
        font-size: 1rem;
    }

    .intro-image img {
        height: 250px;
    }

    .whatsapp-float {
        bottom: 15px;
        right: 15px;
        width: 55px;
        height: 55px;
    }

    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }

    .footer {
        padding: 2rem 1rem;
    }

    .breadcrumb-link {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
}

/* ========= ACCESSIBILITY ========= */
:focus-visible {
    outline: 3px solid var(--color-secondary);
    outline-offset: 2px;
}

button:focus-visible,
a:focus-visible {
    outline: 3px solid var(--color-secondary);
    outline-offset: 2px;
}

/* ========= UTILITY CLASSES ========= */
.text-center {
    text-align: center;
}

.mt-1 {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 2rem;
}

.mt-3 {
    margin-top: 3rem;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mb-3 {
    margin-bottom: 3rem;
}


body > section.hero.hero-split > div.hero-container > div.hero-content > p {
    font-size: 1.15rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: white;
    line-height: 1.8;
}
body > section.cta-section > div > p{
        color: white;
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.9;
}