/* empresasbase.com.mx - Estilo Clásico Elegante */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Times New Roman', 'Palatino', serif;
    line-height: 1.9;
    color: #3e2723;
    background: #efebe9;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(139,69,19,0.03) 35px, rgba(139,69,19,0.03) 70px);
}

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

header {
    background: #5d4037;
    color: #fff3e0;
    padding: 2.5rem 0;
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
    border-bottom: 8px solid #8d6e63;
    position: relative;
}

header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #d7ccc8, #8d6e63, #d7ccc8);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2.5rem;
    font-weight: bold;
    font-style: italic;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    letter-spacing: 3px;
    transition: letter-spacing 0.3s;
}

.logo:hover {
    letter-spacing: 5px;
}

nav a {
    color: #fff3e0;
    text-decoration: none;
    margin: 0 1.5rem;
    font-size: 1.1rem;
    position: relative;
    transition: color 0.3s;
}

nav a::before {
    content: '◆';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: opacity 0.3s;
}

nav a:hover::before {
    opacity: 1;
}

nav a:hover {
    color: #d7ccc8;
}

.content {
    background: #fff8e1;
    padding: 3.5rem;
    margin: 2.5rem 0;
    border-radius: 0;
    box-shadow: 
        inset 0 0 0 4px #8d6e63,
        0 10px 30px rgba(0,0,0,0.2);
    border: 1px solid #bcaaa4;
    position: relative;
}

.content::before {
    content: '❦';
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 3rem;
    color: rgba(141, 110, 99, 0.1);
}

h1 {
    color: #fff3e0;
    font-size: 3.2rem;
    text-align: center;
    padding: 3rem 0;
    font-weight: normal;
    font-style: italic;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.5);
    letter-spacing: 2px;
}

h2 {
    color: #5d4037;
    font-size: 2.2rem;
    margin: 2.5rem 0 1.5rem;
    border-bottom: 3px double #8d6e63;
    padding-bottom: 0.8rem;
    font-weight: normal;
    font-style: italic;
    position: relative;
}

h2::first-letter {
    font-size: 1.5em;
    color: #8d6e63;
}

.service-box {
    background: #f3e5f5;
    border: 4px double #8d6e63;
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 0;
    box-shadow: inset 0 0 15px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s;
}

.service-box:hover {
    box-shadow: inset 0 0 25px rgba(141, 110, 99, 0.3);
}

footer {
    background: #3e2723;
    color: #d7ccc8;
    text-align: center;
    padding: 3rem 20px;
    border-top: 8px solid #5d4037;
    font-style: italic;
}

.elegant-fade {
    animation: elegantFade 2s ease;
}

@keyframes elegantFade {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
