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

body {
    font-family: 'Source Sans Pro', sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    height: 80px;
}

.navbar {
    padding: 1rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: #141E42;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.logo-img {
    height: 50 px;
    width: auto;
    margin-right: 10px;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #141E42;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #c9a96e;
}

.cta-button {
    background: #c9a96e;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #b8956b;
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #141E42;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
                url(/src/law-4.png) center/cover;
    display: flex;
    align-items: center;
    position: relative;
    color: #F9F7F3;
    z-index: 1;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.hero-text {
    max-width: 600px;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #c9a96e;
    font-weight: 300;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.hero-location, .hero-firm {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.1rem;
    margin: 2rem 0;
    color: #F9F7F3;
    line-height: 1.8;
}

.hero-button {
    display: inline-block;
    background: transparent;
    color: #F9F7F3;
    padding: 15px 30px;
    text-decoration: none;
    border: 2px solid #c9a96e;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.hero-button:hover {
    background: #c9a96e;
    transform: translateY(-2px);
}

/* About Section */
.about {
    padding: 120px 0 100px 0;
    background: #F9F7F3;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

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

.about-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #141E42;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: #5a6c7d;
}

.signature {
    margin-top: 2rem;
}

.signature-img {
    max-width: 150px;
    height: auto;
    display: block;
}

.about-image {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: block;
}

.about-image img:hover {
    transform: scale(1.05);
}

/* Practice Areas */
.practice-areas {
    padding: 120px 0 100px 0;
    background: #F9F7F3;
    position: relative;
    z-index: 1;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: #141E42;
}

.section-subtitle {
    text-align: center;
    color: #c9a96e;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
    font-size: 1.1rem;
    color: #5a6c7d;
    line-height: 1.8;
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.area-card {
    background: #F9F7F3;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-left: 4px solid #c9a96e;
}

.area-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.area-number {
    font-size: 1.2rem;
    font-weight: 700;
    color: #c9a96e;
    margin-bottom: 1rem;
}

.area-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #141E42;
}

.area-card p {
    color: #5a6c7d;
    line-height: 1.6;
}

.area-card.highlight {
    background: #c9a96e;
    color: #F9F7F3;
    border: none;
}

.area-card.highlight h3 {
    color: #F9F7F3;
}

.area-card.highlight ul {
    list-style: none;
    padding: 0;
}

.area-card.highlight li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.area-card.highlight li:last-child {
    border-bottom: none;
}

/* Why Choose Us */
.why-choose {
    padding: 120px 0 100px 0;
    background: #141E42;
    color: #F9F7F3;
    position: relative;
    z-index: 1;
}

.why-content {
    max-width: 800px;
    margin: 0 auto;
}

.why-choose h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #F9F7F3;
}

.why-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.why-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.why-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.why-header:hover {
    color: #c9a96e;
}

.why-header h4 {
    font-size: 1.2rem;
    font-weight: 500;
    margin: 0;
}

.why-header i {
    color: #c9a96e;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.why-content-text {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s ease;
    padding: 0 0;
}

.why-content-text.active {
    max-height: 200px;
    opacity: 1;
    padding: 0 0 1.5rem 0;
}

.why-content-text p {
    color: #F9F7F3;
    line-height: 1.7;
    font-size: 1rem;
    margin: 0;
}

.why-item.active .why-header i {
    transform: rotate(90deg);
}

/* Contact */
.contact {
    padding: 120px 0 100px 0;
    background: #F9F7F3;
    text-align: center;
    position: relative;
    z-index: 1;
}

.contact h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #141E42;
}

.contact p {
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #5a6c7d;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-item {
    background: #F9F7F3;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-item h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #141E42;
}

.contact-item p {
    color: #c9a96e;
    font-weight: 600;
    font-size: 1.1rem;
    margin: 0;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: #F9F7F3;
    padding: 2rem 0;
    text-align: center;
}

.footer p {
    margin: 0.5rem 0;
    color: #999;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

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

    .nav-menu li {
        margin: 1rem 0;
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    .cta-button {
        display: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-location, .hero-firm {
        font-size: 1.8rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .areas-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-location, .hero-firm {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .areas-grid {
        grid-template-columns: 1fr;
    }
    
    .area-card {
        padding: 1.5rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Animation classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Navigation active state */
.nav-menu a.active {
    color: #c9a96e;
    position: relative;
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #c9a96e;
}

/* Botón flotante de WhatsApp */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #F9F7F3;
    border-radius: 50px;
    text-align: center;
    font-size: 28px;
    box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-float i {
    margin: 0;
    line-height: 1;
}

/* Animación de pulso para llamar la atención */
.whatsapp-float::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(37, 211, 102, 0.3);
    border-radius: 50%;
    animation: whatsapp-pulse 2s infinite;
    z-index: -1;
}

@keyframes whatsapp-pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

/* Responsivo para móviles */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
        font-size: 24px;
    }
} 