/* Estilos generales */
:root {
    --primary-color: #1a365d;
    --secondary-color: #c9b18c;
    --light-bg: #f5f5f5;
    --white: #ffffff;
    --text-color: #333333;
}

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

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.container-services {
    display: inline-flex;
    overflow-x: auto;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s ease;
}

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

section {
    padding: 80px 0;
}

/* Header */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 15px;
}

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

.logo h1 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0;
}

.logo p {
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: var(--secondary-color);
    margin-top: -5px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

nav ul li a.active {
    color: var(--secondary-color);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 3px 0;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(26, 54, 93, 0.8), rgba(26, 54, 93, 0.8)), url('../img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    padding: 180px 0 100px;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.hero h3 {
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Intro Section */
.intro {
    background-color: var(--white);
    text-align: center;
}

.intro h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
}

.intro p {
    max-width: 800px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
}

/* Values Section */
.values {
    background-color: var(--light-bg);
    text-align: center;
}

.values h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.value-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-10px);
}

.value-card i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.value-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
}

/* Practice Areas Section */
.practice-areas {
    background-color: var(--white);
    text-align: center;
}

.practice-areas h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

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

.area-card {
    background-color: var(--light-bg);
    padding: 40px 30px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.area-card:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.area-card:hover h3 {
    color: var(--white);
}

.area-card:hover i {
    color: var(--secondary-color);
}

.area-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.area-card h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    transition: color 0.3s ease;
}

/* Contact Info Section */
.contact-info {
    background-color: var(--light-bg);
    text-align: center;
}

.contact-info h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.contact-info p {
    max-width: 700px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
}

.contact-details {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
}
.contact-item p {
    font-size: 1.5rem;
    margin: auto;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo h2 {
    font-size: 2rem;
    margin-bottom: 0;
}

.footer-logo p {
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: var(--secondary-color);
    margin-top: -5px;
}

.footer-links h3, .footer-contact h3 {
    color: var(--secondary-color);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: var(--white);
}

.footer-links ul li a:hover {
    color: var(--secondary-color);
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.footer-contact i {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero h2 {
        font-size: 2.5rem;
    }
    
    .hero h3 {
        font-size: 1.5rem;
    }
    
    section {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    nav ul.active {
        display: flex;
    }
    
    nav ul li {
        margin: 10px 0;
        text-align: center;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero {
        padding: 150px 0 80px;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .hero h3 {
        font-size: 1.3rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .intro h2, .values h2, .practice-areas h2, .contact-info h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .hero h3 {
        font-size: 1.1rem;
    }
    
    .intro h2, .values h2, .practice-areas h2, .contact-info h2 {
        font-size: 1.8rem;
    }
    
    .value-card, .area-card {
        padding: 30px 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-logo {
        margin-bottom: 20px;
    }
    
    .footer-contact p {
        justify-content: center;
    }
}
