/* ========================================
   ESTUDIO JURÍDICO LS - ESTILOS PREMIUM
   ======================================== */

/* ===== CSS RESET & BASE ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Paleta de colores del estudio - Elegante Dorado */
    --color-primary: #C4B798;
    --color-primary-light: #E8DDC9;
    --color-primary-dark: #A69B7B;
    --color-secondary: #4A3C31;
    --color-dark: #1A1A1A;
    --color-darker: #0D0D0D;
    --color-text: #FFFFFF;
    --color-text-muted: #B8B8B8;
    --color-accent: #D4AF37;

    /* WhatsApp Standard Premium */
    --color-whatsapp: #25D366;
    --color-whatsapp-dark: #128C7E;
    --color-whatsapp-glow: rgba(37, 211, 102, 0.2);

    /* Tipografía */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    /* Espaciado */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 5rem;

    /* Transiciones */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

    /* Sombras */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 30px rgba(196, 183, 152, 0.3);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background: var(--color-darker);
    color: var(--color-text);
    line-height: 1.7;
    overflow-x: hidden;
}

/* ===== TIPOGRAFÍA ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: 0.02em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--color-primary);
}

h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--color-primary);
    margin-bottom: var(--spacing-md);
}

h3 {
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    color: var(--color-primary-light);
}

p {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-sm);
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--color-primary-light);
}

/* ===== UTILIDADES ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section {
    padding: var(--spacing-xl) 0;
}

.text-center {
    text-align: center;
}

.accent-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    margin: var(--spacing-md) 0;
}

.accent-line-center {
    margin: var(--spacing-md) auto;
}

/* ===== ANIMACIONES ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.animate-fade-in {
    animation: fadeIn 1s ease forwards;
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

/* ===== PRELOADER PREMIUM ===== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-darker) 0%, #0a0a0a 50%, var(--color-darker) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1),
        visibility 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

/* Animación de salida del contenido del preloader */
.preloader.hidden .preloader-content {
    animation: preloaderExit 0.6s ease forwards;
}

@keyframes preloaderExit {
    0% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }

    100% {
        opacity: 0;
        transform: scale(0.9) translateY(-30px);
    }
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    position: relative;
    z-index: 2;
}

/* Background glow effect */
.preloader-bg-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(196, 183, 152, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    animation: glowPulse 3s ease-in-out infinite;
    z-index: 0;
}

@keyframes glowPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.6;
    }

    50% {
        transform: scale(1.2);
        opacity: 1;
    }
}

/* Floating particles */
.preloader-particles {
    position: absolute;
    width: 300px;
    height: 300px;
    pointer-events: none;
}

.preloader-particles span {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 4s ease-in-out infinite;
}

.preloader-particles span:nth-child(1) {
    top: 10%;
    left: 20%;
    animation-delay: 0s;
    width: 6px;
    height: 6px;
}

.preloader-particles span:nth-child(2) {
    top: 30%;
    right: 15%;
    animation-delay: 0.8s;
    width: 10px;
    height: 10px;
}

.preloader-particles span:nth-child(3) {
    bottom: 20%;
    left: 10%;
    animation-delay: 1.6s;
    width: 5px;
    height: 5px;
}

.preloader-particles span:nth-child(4) {
    bottom: 35%;
    right: 20%;
    animation-delay: 2.4s;
    width: 7px;
    height: 7px;
}

.preloader-particles span:nth-child(5) {
    top: 50%;
    left: 5%;
    animation-delay: 3.2s;
    width: 4px;
    height: 4px;
}

@keyframes particleFloat {

    0%,
    100% {
        opacity: 0;
        transform: translateY(20px) scale(0);
    }

    50% {
        opacity: 0.8;
        transform: translateY(-20px) scale(1);
    }
}

/* Logo container with ring */
.preloader-logo-container {
    position: relative;
    width: 160px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    overflow: hidden;
    /* Recorta todo lo que sobresale del círculo */
}

.preloader-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid rgba(196, 183, 152, 0.1);
    border-top: 3px solid var(--color-primary);
    border-right: 3px solid var(--color-accent);
    border-radius: 50%;
    animation: ringRotate 1.5s linear infinite;
    z-index: 2;
    /* Asegura que el anillo esté sobre la imagen */
}

.preloader-ring::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border: 2px solid transparent;
    border-top: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    animation: ringRotate 2s linear infinite reverse;
}

@keyframes ringRotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.preloader-logo {
    width: 140%;
    /* Zoom para que no se vean los bordes cuadrados */
    height: 140%;
    object-fit: cover;
    /* Mantiene la proporción recortando */
    object-position: center;
    /* Centra la imagen */
    animation: logoBreath 2s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(196, 183, 152, 0.4));
}

@keyframes logoBreath {

    0%,
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 20px rgba(196, 183, 152, 0.4));
    }

    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 30px rgba(196, 183, 152, 0.6));
    }
}

/* Text elements */
.preloader-text {
    text-align: center;
    animation: textFadeIn 0.8s ease 0.3s forwards;
    opacity: 0;
}

.preloader-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 50%, var(--color-primary) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmerText 3s linear infinite;
    margin-bottom: 0.5rem;
    letter-spacing: 0.1em;
}

.preloader-subtitle {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--color-text-muted);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 300;
}

@keyframes textFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmerText {
    0% {
        background-position: 200% center;
    }

    100% {
        background-position: -200% center;
    }
}

/* Loading bar */
.preloader-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    animation: loaderFadeIn 0.8s ease 0.6s forwards;
    opacity: 0;
}

.preloader-bar {
    width: 200px;
    height: 3px;
    background: rgba(196, 183, 152, 0.15);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.preloader-progress {
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent), var(--color-primary));
    background-size: 200% 100%;
    border-radius: 10px;
    animation: progressMove 2s ease-in-out infinite;
}

@keyframes progressMove {
    0% {
        transform: translateX(-100%);
        background-position: 0% center;
    }

    50% {
        background-position: 100% center;
    }

    100% {
        transform: translateX(350%);
        background-position: 0% center;
    }
}

.preloader-loading-text {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    animation: loadingTextPulse 1.5s ease-in-out infinite;
}

@keyframes loadingTextPulse {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

@keyframes loaderFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== HEADER / NAVBAR ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: var(--spacing-sm) 0;
    transition: var(--transition-smooth);
    background: transparent;
}

.header.scrolled {
    background: rgba(13, 13, 13, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(196, 183, 152, 0.15);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.logo img {
    height: 50px;
    transition: var(--transition-smooth);
}

.header.scrolled .logo img {
    height: 40px;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--color-primary);
    letter-spacing: 0.1em;
}

.nav {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
}

.nav-links a {
    color: var(--color-text);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-primary);
    transition: var(--transition-smooth);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-primary);
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 280px;
    background: rgba(26, 26, 26, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(196, 183, 152, 0.2);
    border-radius: 8px;
    padding: var(--spacing-sm);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-lg);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(10px);
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--color-text-muted);
    font-size: 0.85rem;
    border-radius: 4px;
    transition: var(--transition-fast);
}

.dropdown-menu a:hover {
    background: rgba(196, 183, 152, 0.1);
    color: var(--color-primary);
    padding-left: 1.5rem;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger span {
    width: 28px;
    height: 2px;
    background: var(--color-primary);
    transition: var(--transition-smooth);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--color-darker);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg,
            rgba(13, 13, 13, 0.7) 0%,
            rgba(13, 13, 13, 0.5) 50%,
            rgba(13, 13, 13, 0.9) 100%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
}

.hero-content {
    animation: fadeInUp 1s ease 0.3s forwards;
    opacity: 0;
}

.hero-logo {
    width: 140px;
    height: auto;
    margin-bottom: var(--spacing-lg);
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(196, 183, 152, 0.15);
    border: 1px solid rgba(196, 183, 152, 0.4);
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    font-size: 0.8rem;
    color: var(--color-primary-light);
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    backdrop-filter: blur(10px);
}

.hero-badge i {
    font-size: 0.75rem;
}

.hero-title {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    /* Ligeramente más pequeño para no saturar */
    margin-bottom: var(--spacing-md);
    line-height: 1.35;
    /* Más aire entre líneas */
    color: var(--color-text);
    font-weight: 300;
    /* Más fino y elegante */
    letter-spacing: 0.02em;
}

.hero-title .highlight {
    color: var(--color-primary);
    font-style: italic;
}

.hero-divider {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    margin: var(--spacing-md) auto;
}

.hero-subtitle {
    font-size: 1.1rem;
    /* Un toque más pequeño */
    color: var(--color-text-muted);
    margin-bottom: 4rem;
    /* Mucho más espacio antes de lo siguiente */
    font-weight: 300;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.hero-credentials {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
}

.hero-credential {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.hero-credential i {
    color: var(--color-primary);
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
    justify-content: center;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    animation: fadeIn 1s ease 1.5s forwards;
    opacity: 0;
}

.hero-scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(180deg, var(--color-primary), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {

    0%,
    100% {
        transform: scaleY(1);
        opacity: 1;
    }

    50% {
        transform: scaleY(0.5);
        opacity: 0.5;
    }
}

/* ===== BUTTONS - PREMIUM DESIGN ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-whatsapp) 0%, var(--color-whatsapp-dark) 100%);
    color: #FFFFFF;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    text-shadow: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    filter: brightness(1.1);
}

.btn-secondary {
    background: transparent;
    border: 1px solid rgba(196, 183, 152, 0.5);
    color: var(--color-primary);
    backdrop-filter: blur(5px);
}

.btn-secondary::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50px;
    background: rgba(196, 183, 152, 0.1);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.btn-secondary:hover {
    color: var(--color-text);
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(196, 183, 152, 0.2);
}

.btn-secondary:hover::after {
    opacity: 1;
}

/* ===== WHATSAPP BUTTON - PREMIUM NEON (SUTIL) ===== */
.btn-whatsapp {
    background: rgba(0, 255, 106, 0.1);
    /* Fondo muy sutil */
    backdrop-filter: blur(5px);
    border: 1px solid rgba(0, 255, 106, 0.5);
    /* Borde neón fino */
    color: #00FF6A;
    /* Texto color neón */
    font-weight: 600;
    box-shadow: 0 0 15px rgba(0, 255, 106, 0.15), inset 0 0 10px rgba(0, 255, 106, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.btn-whatsapp:hover {
    background: rgba(0, 255, 106, 0.2);
    box-shadow: 0 0 30px rgba(0, 255, 106, 0.3), inset 0 0 20px rgba(0, 255, 106, 0.1);
    transform: translateY(-3px);
    color: #fff;
    /* Blanco al hover para leer mejor */
    border-color: #00FF6A;
}

.btn-whatsapp i {
    font-size: 1.2em;
}

.btn-lg {
    padding: 1.25rem 2.8rem;
    font-size: 0.95rem;
    gap: 1rem;
}

/* ===== ABOUT SECTION ===== */
.about {
    background: var(--color-dark);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
}

.about .container {
    max-width: 900px;
}

/* Header: Foto + Título en línea horizontal */
.about-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.about-title-group h2 {
    margin-bottom: 0.25rem;
    line-height: 1.1;
}

.about-title-group .about-subtitle {
    margin-bottom: 0;
}

.about-image-wrapper {
    flex-shrink: 0;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Asegura que la imagen cubra todo el alto */
    filter: grayscale(20%);
    transition: var(--transition-smooth);
}

.about-image:hover img {
    filter: grayscale(0%);
}

.about-content {
    /* Contenido a ancho completo */
}

.about-subtitle {
    font-size: 1.1rem;
    color: var(--color-primary-light);
    font-weight: 300;
}

.about-text {
    margin-bottom: 1rem;
    text-align: justify;
    line-height: 1.7;
}

/* Estilos explícitos para strong - evita problemas de caché */
.about-text strong,
.about strong {
    color: var(--color-primary) !important;
    font-weight: 600;
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    -webkit-text-fill-color: var(--color-primary) !important;
}

.credentials-list {
    list-style: none;
    margin: 0;
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.credentials-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    padding: 0.5rem 0;
    color: var(--color-text-muted);
    font-size: 1rem;
}

.credentials-list i {
    color: var(--color-primary);
    font-size: 1rem;
    margin-top: 0.2rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(196, 183, 152, 0.2);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--color-primary);
    display: block;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ===== STUDIO SECTION REDESIGN ===== */
.studio {
    background: radial-gradient(circle at 0% 50%, rgba(20, 20, 20, 1) 0%, var(--color-darker) 100%);
    position: relative;
    padding: var(--spacing-xl) 0;
    overflow: hidden;
}

/* Fondo decorativo sutil */
.studio::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(102, 109, 97, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.studio .container {
    position: relative;
    z-index: 1;
}

.studio-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

/* Columna Izquierda */
.studio-intro {
    position: relative;
}

.studio-label {
    display: inline-block;
    color: var(--color-primary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
    font-weight: 600;
}

.studio-intro h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #a0a0a0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.studio-line {
    width: 60px;
    height: 3px;
    background: var(--color-primary);
    margin-bottom: 1.5rem;
}

.studio-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--color-text);
    margin-bottom: 1rem;
    max-width: 400px;
}

.studio-description-sub {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    font-style: italic;
}

/* Columna Derecha: Lista de Features */
.studio-features-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.studio-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem 2rem;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.studio-feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background: var(--color-primary);
    transform: scaleY(0);
    transition: transform 0.4s ease;
    transform-origin: bottom;
}

.studio-feature-item:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(102, 109, 97, 0.3);
}

.studio-feature-item:hover::before {
    transform: scaleY(1);
}

.feature-icon-wrapper {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: rgba(102, 109, 97, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 1.2rem;
    transition: all 0.4s ease;
}

.studio-feature-item:hover .feature-icon-wrapper {
    background: var(--color-primary);
    color: #ffffff;
    transform: rotate(10deg);
}

.feature-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
    font-family: var(--font-heading);
    letter-spacing: 0.02em;
}

.feature-content p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    margin: 0;
}

/* Responsive */
@media (max-width: 992px) {
    .studio-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .studio-intro {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .studio-description {
        margin-left: auto;
        margin-right: auto;
    }
}

/* ===== PRACTICE AREAS - PREMIUM REDESIGN ===== */
.practice-areas {
    background: linear-gradient(180deg, var(--color-darker) 0%, #0a0a0a 50%, var(--color-darker) 100%);
    position: relative;
    padding: var(--spacing-xl) 0;
}

.practice-areas::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
}

.practice-areas-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--spacing-xl);
}

.practice-areas-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 0.5rem;
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.area-card {
    background: linear-gradient(165deg, rgba(35, 35, 35, 0.9) 0%, rgba(18, 18, 18, 0.95) 100%);
    border: 1px solid rgba(196, 183, 152, 0.12);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-decoration: none;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
}

.area-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent), var(--color-primary));
    background-size: 200% 100%;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.area-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 30%, rgba(196, 183, 152, 0.08) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.area-card:hover {
    border-color: rgba(196, 183, 152, 0.4);
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(196, 183, 152, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.area-card:hover::before {
    transform: scaleX(1);
    animation: gradientMove 2s linear infinite;
}

.area-card:hover::after {
    opacity: 1;
}

@keyframes gradientMove {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 200% center;
    }
}

.area-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(196, 183, 152, 0.15) 0%, rgba(196, 183, 152, 0.05) 100%);
    border: 1px solid rgba(196, 183, 152, 0.2);
    border-radius: 18px;
    font-size: 1.8rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.area-icon::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
}

.area-card:hover .area-icon {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    color: var(--color-dark);
    border-color: transparent;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 30px rgba(196, 183, 152, 0.4);
}

.area-card h3 {
    color: var(--color-text);
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    transition: all 0.4s ease;
    font-weight: 500;
}

.area-card:hover h3 {
    color: var(--color-primary);
    transform: translateX(5px);
}

.area-card p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: 1.25rem;
    line-height: 1.7;
    flex-grow: 1;
}

.area-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-primary);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.75rem 0;
    border-top: 1px solid rgba(196, 183, 152, 0.1);
    margin-top: auto;
    transition: all 0.4s ease;
}

.area-link i {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.9rem;
}

.area-card:hover .area-link {
    color: var(--color-accent);
    border-top-color: rgba(196, 183, 152, 0.3);
}

.area-card:hover .area-link i {
    transform: translateX(8px);
}

/* ===== ATTENTION MODALITY ===== */
.attention {
    background: var(--color-dark);
    position: relative;
}

.attention .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: stretch;
}

.attention-content h2 {
    margin-bottom: var(--spacing-md);
}

.attention-list {
    list-style: none;
    margin: var(--spacing-md) 0;
}

.attention-list li {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 1rem;
    background: rgba(196, 183, 152, 0.05);
    border-radius: 8px;
    margin-bottom: var(--spacing-sm);
    transition: var(--transition-smooth);
}

.attention-list li:hover {
    background: rgba(196, 183, 152, 0.1);
    transform: translateX(10px);
}

.attention-list i {
    color: var(--color-primary);
    font-size: 1.2rem;
}

.attention-list span {
    color: var(--color-text);
    font-size: 1rem;
}

.attention-map {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 100%;
}

.map-placeholder {
    height: 400px;
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-dark) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--spacing-md);
}

.map-placeholder i {
    font-size: 3rem;
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
}

.map-placeholder h4 {
    color: var(--color-primary-light);
    margin-bottom: 0.5rem;
}

.map-placeholder p {
    font-size: 0.9rem;
}

/* ===== CONTACT SECTION ===== */
.contact {
    background: linear-gradient(180deg, var(--color-darker) 0%, var(--color-dark) 50%, var(--color-darker) 100%);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(196, 183, 152, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.contact-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--spacing-xl);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

/* ===== CONTACT SECTION - REDESIGNED ===== */
.contact {
    background: linear-gradient(180deg, var(--color-darker) 0%, #151515 100%);
    position: relative;
    padding-bottom: 8rem;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: stretch;
}

/* Panel de Información (Izquierda) */
.contact-info-panel {
    background: linear-gradient(145deg, rgba(30, 30, 30, 0.4), rgba(20, 20, 20, 0.6));
    border: 1px solid rgba(196, 183, 152, 0.1);
    border-radius: 20px;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.info-header {
    margin-bottom: 3rem;
    border-bottom: 1px solid rgba(196, 183, 152, 0.1);
    padding-bottom: 1.5rem;
}

.info-header h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

.info-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1rem;
    border-radius: 12px;
    transition: background 0.3s ease;
}

.info-item:hover {
    background: rgba(196, 183, 152, 0.05);
}

.info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(196, 183, 152, 0.1), transparent);
    border: 1px solid rgba(196, 183, 152, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--color-primary);
    flex-shrink: 0;
}

.info-content h4 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--color-text);
    margin-bottom: 0.2rem;
    font-weight: 600;
}

.info-content p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 0.2rem;
}

.contact-link {
    display: inline-block;
    color: var(--color-primary);
    font-weight: 600;
    margin-top: 0.2rem;
    font-size: 1.1rem;
    position: relative;
}

.contact-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-primary);
    transition: width 0.3s ease;
}

.contact-link:hover::after {
    width: 100%;
}

.contact-text {
    display: block;
    font-size: 0.9rem;
    color: var(--color-primary-light);
    margin-top: 0.2rem;
}

/* Panel de Formulario (Derecha) */
.contact-form-panel {
    background: rgba(26, 26, 26, 0.3);
    border: 1px solid rgba(196, 183, 152, 0.1);
    border-radius: 20px;
    padding: 3rem;
}

.contact-form-panel form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-muted);
    margin-left: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: rgba(10, 10, 10, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1.2rem;
    color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group textarea {
    min-height: 160px;
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background: rgba(10, 10, 10, 0.9);
    box-shadow: 0 0 0 4px rgba(196, 183, 152, 0.05);
}

.btn-block {
    width: 100%;
    margin-top: 1rem;
    padding: 1.2rem;
    font-size: 1rem;
}

/* Responsive */
@media (max-width: 900px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-info-panel,
    .contact-form-panel {
        padding: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ===== FOOTER ===== */
.footer {
    background: var(--color-darker);
    padding: var(--spacing-xl) 0 var(--spacing-md);
    border-top: 1px solid rgba(196, 183, 152, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-brand img {
    height: 60px;
    margin-bottom: var(--spacing-md);
}

.footer-brand p {
    font-size: 0.95rem;
    max-width: 300px;
}

.footer-social {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.footer-social a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(196, 183, 152, 0.1);
    border: 1px solid rgba(196, 183, 152, 0.2);
    border-radius: 50%;
    color: var(--color-primary);
    transition: var(--transition-smooth);
}

.footer-social a:hover {
    background: var(--color-primary);
    color: var(--color-dark);
    transform: translateY(-3px);
}

.footer-links h4 {
    color: var(--color-primary);
    font-size: 1rem;
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--spacing-md);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-primary);
    padding-left: 5px;
}

.footer-bottom {
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(196, 183, 152, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin: 0;
}

.footer-legal {
    display: flex;
    gap: var(--spacing-md);
}

.footer-legal a {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.footer-credits {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 0.5rem;
}

.footer-credits a {
    color: var(--color-primary);
    transition: color 0.3s ease;
}

.footer-credits a:hover {
    color: var(--color-primary-light);
}

/* ===== WHATSAPP FLOATING BUTTON - NEON ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, var(--color-whatsapp), var(--color-whatsapp-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 25px var(--color-whatsapp-glow),
        0 0 50px rgba(0, 255, 106, 0.3),
        0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 999;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: floatNeonPulse 2s ease-in-out infinite;
}

@keyframes floatNeonPulse {

    0%,
    100% {
        box-shadow: 0 0 25px var(--color-whatsapp-glow),
            0 0 50px rgba(0, 255, 106, 0.3),
            0 4px 15px rgba(0, 0, 0, 0.3);
        transform: translateY(0);
    }

    50% {
        box-shadow: 0 0 35px var(--color-whatsapp-glow),
            0 0 70px rgba(0, 255, 106, 0.4),
            0 0 100px rgba(0, 255, 106, 0.2),
            0 4px 15px rgba(0, 0, 0, 0.3);
        transform: translateY(-5px);
    }
}

.whatsapp-float:hover {
    transform: scale(1.15) translateY(-5px);
    box-shadow: 0 0 50px var(--color-whatsapp-glow),
        0 0 100px rgba(0, 255, 106, 0.5),
        0 0 150px rgba(0, 255, 106, 0.3),
        0 8px 25px rgba(0, 0, 0, 0.4);
    animation: none;
}

.whatsapp-float i {
    font-size: 2rem;
    color: #0D0D0D;
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background: var(--color-dark);
    color: var(--color-text);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-md);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
}

/* ===== PAGE HERO (Internal Pages) ===== */
/* ===== PAGE HERO (Internal Pages) ===== */
.page-hero {
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 140px 0 60px;
    overflow: hidden;
}

/* Imagen de fondo con desenfoque */
.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/page-hero-bg.png') center center / cover no-repeat;
    filter: blur(3px);
    opacity: 0.5;
    z-index: 0;
}

/* Overlay gradiente elegante */
.page-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(180deg,
            rgba(13, 13, 13, 0.9) 0%,
            rgba(13, 13, 13, 0.7) 50%,
            rgba(13, 13, 13, 0.95) 100%),
        radial-gradient(ellipse at 50% 80%, rgba(196, 183, 152, 0.12) 0%, transparent 60%);
    z-index: 1;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    width: 100%;
    padding: 0 var(--spacing-lg);
    animation: fadeInUp 0.8s ease forwards;
}

.page-hero h1 {
    font-size: clamp(1.8rem, 5vw, 3rem);
    margin-bottom: 1.2rem;
    line-height: 1.15;
    letter-spacing: 0.02em;
    color: #FFFFFF;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.9), 0 0 2px rgba(0, 0, 0, 0.5);
    font-weight: 600;
    font-family: var(--font-heading);
    /* Limitar a máximo 2 líneas */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-hero .hero-subtitle {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0.5rem auto 0;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 300;
    padding: 0 20px;
}

/* Línea decorativa */
.page-hero-content::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    margin: 1.5rem auto 0;
    /* Reducido drásticamente */
    opacity: 0.8;
}

.breadcrumb {
    display: none;
    /* Oculto por diseño */
}

.breadcrumb a {
    color: var(--color-text-muted);
    transition: var(--transition-fast);
}

.breadcrumb a:hover {
    color: var(--color-primary-light);
}

.breadcrumb span {
    color: rgba(184, 184, 184, 0.5);
}

.breadcrumb .current {
    color: var(--color-primary);
    font-weight: 500;
}

/* ===== CONTENT SECTIONS (Internal Pages) ===== */
.content-section {
    padding: var(--spacing-xl) 0;
}

.content-section.alt {
    background: var(--color-dark);
}

.content-header {
    margin-bottom: var(--spacing-lg);
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-xl);
}

.content-main h2 {
    margin-bottom: var(--spacing-md);
}

.content-list {
    list-style: none;
    margin: var(--spacing-md) 0;
}

.content-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    padding: 0.75rem 0;
    color: var(--color-text-muted);
    border-bottom: 1px solid rgba(196, 183, 152, 0.1);
}

.content-list li:last-child {
    border-bottom: none;
}

.content-list i {
    color: var(--color-primary);
    margin-top: 0.25rem;
}

.content-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-card {
    background: rgba(26, 26, 26, 0.6);
    border: 1px solid rgba(196, 183, 152, 0.1);
    border-radius: 12px;
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
}

.sidebar-card h3 {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-md);
    color: var(--color-primary);
}

.sidebar-contact-info {
    list-style: none;
}

.sidebar-contact-info li {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 0.75rem 0;
    color: var(--color-text-muted);
}

.sidebar-contact-info i {
    color: var(--color-primary);
    width: 20px;
}

.sidebar-contact-info a {
    color: var(--color-text-muted);
}

.sidebar-contact-info a:hover {
    color: var(--color-primary);
}

/* CTA Box - Formulario de Consulta */
.cta-box {
    position: relative;
    background: linear-gradient(145deg, rgba(26, 26, 26, 0.9) 0%, rgba(13, 13, 13, 0.95) 100%);
    border: 1px solid rgba(196, 183, 152, 0.25);
    border-radius: 20px;
    padding: var(--spacing-xl) var(--spacing-lg);
    text-align: center;
    margin-top: var(--spacing-xl);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Fondo decorativo con imagen borrosa */
.cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/page-hero-bg.png') center center / cover no-repeat;
    filter: blur(20px);
    opacity: 0.15;
    z-index: 0;
}

/* Overlay gradiente */
.cta-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 50% 100%, rgba(196, 183, 152, 0.1) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

.cta-box>* {
    position: relative;
    z-index: 2;
}

.cta-box h3 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin-bottom: var(--spacing-md);
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.02em;
}

.cta-box p {
    margin-bottom: var(--spacing-lg);
    font-size: 1.1rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.cta-buttons .btn {
    min-width: 220px;
    padding: 1.1rem 2rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        order: 2;
    }

    .hero-image {
        order: 1;
    }

    .hero-subtitle {
        max-width: 100%;
        margin: 0 auto var(--spacing-lg);
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-floating-card {
        display: none;
    }

    .about .container,
    .attention .container {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .about-image {
        order: 1;
    }

    .about-content {
        order: 2;
    }

    .studio-features,
    .areas-grid,
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-lg);
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    .content-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: rgba(13, 13, 13, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        padding: var(--spacing-xl);
        transition: var(--transition-smooth);
        border-left: 1px solid rgba(196, 183, 152, 0.1);
    }

    .nav.active {
        right: 0;
    }

    .nav-links {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-md);
    }

    .dropdown-menu {
        position: static;
        transform: none;
        background: transparent;
        border: none;
        padding: var(--spacing-sm) 0;
        opacity: 1;
        visibility: visible;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        min-height: auto;
        padding: 120px 0 var(--spacing-xl);
    }

    .hero-image img {
        max-width: 200px;
    }

    .studio-features,
    .areas-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .btn {
        width: 100%;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }

    .page-hero {
        min-height: auto;
        padding: 110px 0 40px;
    }

    .page-hero h1 {
        margin-bottom: var(--spacing-md);
        font-size: clamp(1.4rem, 5vw, 2rem);
    }

    .page-hero-content::after {
        margin-top: var(--spacing-md);
    }

    .cta-box {
        padding: var(--spacing-lg) var(--spacing-md);
    }

    .cta-buttons {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .cta-buttons .btn {
        min-width: 100%;
    }
}

/* ===== PAGE TRANSITIONS ===== */
body {
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

body.page-transition-out {
    opacity: 0;
}

/* Animación de entrada de página */
body.page-loaded {
    animation: pageEnter 0.4s ease-out;
}

@keyframes pageEnter {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    :root {
        --spacing-xl: 3rem;
        --spacing-lg: 2rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .container {
        padding: 0 var(--spacing-sm);
    }

    .contact-form-wrapper {
        padding: var(--spacing-md);
    }
}

/* ===== SIDEBAR PREMIUM STYLES ===== */
.content-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-card {
    background: linear-gradient(165deg, rgba(35, 35, 35, 0.95) 0%, rgba(18, 18, 18, 0.98) 100%);
    border: 1px solid rgba(196, 183, 152, 0.15);
    border-radius: 16px;
    padding: 1.8rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary), var(--color-primary));
    opacity: 0.8;
}

.sidebar-card:hover {
    border-color: rgba(196, 183, 152, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(196, 183, 152, 0.1);
}

.sidebar-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 1.2rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(196, 183, 152, 0.15);
    letter-spacing: 0.02em;
}

.sidebar-contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.sidebar-contact-info li {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.6rem 0.8rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.3s ease;
}

.sidebar-contact-info li:hover {
    background: rgba(196, 183, 152, 0.08);
    transform: translateX(5px);
}

.sidebar-contact-info li i {
    font-size: 1.1rem;
    color: var(--color-primary);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(196, 183, 152, 0.1);
    border-radius: 8px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.sidebar-contact-info li:hover i {
    background: var(--color-primary);
    color: var(--color-black);
    transform: scale(1.1);
}

.sidebar-contact-info li a,
.sidebar-contact-info li span {
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    transition: color 0.3s ease;
}

.sidebar-contact-info li a:hover {
    color: var(--color-primary);
}

/* Botón del sidebar */
.sidebar-card .btn {
    width: 100%;
    margin-top: 1.2rem;
    padding: 0.9rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 10px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.sidebar-card .btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: var(--color-black);
    border: none;
    box-shadow: 0 4px 15px rgba(196, 183, 152, 0.3);
}

.sidebar-card .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(196, 183, 152, 0.4);
}

/* Content Grid Layout */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2.5rem;
    align-items: start;
}

@media (max-width: 992px) {
    .content-grid {
        grid-template-columns: 1fr;
    }

    .content-sidebar {
        order: 1;
        /* Sidebar va después del contenido principal */
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1rem;
        margin-top: 2rem;
    }
}

@media (max-width: 576px) {
    .sidebar-card {
        padding: 1.4rem;
    }

    .sidebar-card h3 {
        font-size: 1.1rem;
    }

    .sidebar-contact-info li {
        padding: 0.5rem 0.6rem;
    }
}

/* ===== ABOUT IMAGE SMALL - FOTO ABOGADA ===== */
.about-image-small {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    border: 3px solid rgba(196, 183, 152, 0.4);
    position: relative;
    flex-shrink: 0;
}

.about-image-small::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent 40%,
            rgba(196, 183, 152, 0.1) 50%,
            transparent 60%);
    animation: shimmerImage 3s ease-in-out infinite;
}

@keyframes shimmerImage {

    0%,
    100% {
        transform: translateX(-100%) translateY(-100%);
    }

    50% {
        transform: translateX(100%) translateY(100%);
    }
}

.about-image-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.4s ease, filter 0.4s ease;
}

.about-image-small:hover img {
    transform: scale(1.05);
}

/* ===== FACEBOOK ICON COLOR (ELIMINADO - USA DEFAULT DORADO) ===== */
/* Se eliminaron los estilos específicos para que herede el diseño general */