.logoAvanza   {
    width: 200px; /* La imagen se ajusta al 100% del contenedor */
    height: 80px;
}
:root {
--primary: #04636c;
--secondary: #c904a3;
--accent: #00a8e8;
--light: #f8f9fa;
--dark: #212529;
--success: #28a745;
--gray: #6c757d;
--light-gray: #e9ecef;
--transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header Styles */
.consultora-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 30px 0;
    border-bottom: 5px solid var(--accent);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--primary);
}

.consultora-name h1 {
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.consultora-name p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.contact-info {
    text-align: right;
}

/* Article Header */
.article-header {
    background: white;
    padding: 30px;
    margin: 20px 0;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-left: 5px solid var(--accent);
}

.article-title {
    color: var(--dark);
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.article-meta {
    display: flex;
    gap: 20px;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.highlight {
    background: var(--light);
    padding: 15px;
    border-radius: 8px;
    font-weight: 500;
}

/* Content Layout */
.content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.main-content {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.sidebar-widget {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* Typography */
h2 {
    color: var(--primary);
    margin: 25px 0 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--light);
}

h3 {
    color: var(--secondary);
    margin: 20px 0 10px;
}

p {
    margin-bottom: 15px;
}

ul, ol {
    margin: 15px 0;
    padding-left: 20px;
}

li {
    margin-bottom: 8px;
}

/* Special Elements */
.alert-box {
    background-color: #fff8e1;
    border-left: 4px solid var(--warning);
    padding: 20px;
    margin: 20px 0;
    border-radius: 0 5px 5px 0;
}

.success-box {
    background-color: #e8f5e9;
    border-left: 4px solid var(--success);
    padding: 20px;
    margin: 20px 0;
    border-radius: 0 5px 5px 0;
}

.tax-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.tax-table th, .tax-table td {
    border: 1px solid #ddd;
    padding: 12px 15px;
    text-align: left;
}

.tax-table th {
    background-color: var(--primary);
    color: white;
}

.tax-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.key-points {
    background-color: var(--light);
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.key-points h3 {
    color: var(--primary);
    margin-top: 0;
}

.cta-box {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    margin: 25px 0;
}

.cta-button {
    display: inline-block;
    background: white;
    color: var(--primary);
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 15px;
    transition: all 0.3s;
}

.cta-button:hover {
    background: var(--light);
    transform: translateY(-2px);
}

.disclaimer {
    font-size: 0.85rem;
    font-style: italic;
    color: #666;
    margin-top: 30px;
    padding: 15px;
    background-color: #f5f5f5;
    border-radius: 5px;
}

/* Footer */
footer {
    background: var(--primary);
    color: white;
    padding: 60px 0 20px;
}
        
.footer-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
            margin-bottom: 40px;
        }
        
.footer-col h3 {
            color: white;
            margin-bottom: 20px;
            font-size: 1.3rem;
        }
        
.footer-col p {
            color: #ffffff;
        }
        
.footer-links {
            list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    text-decoration: none;
    color: var(--light-gray);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent);
    transform: translateY(-5px);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--light-gray);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .about,
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    form {
        width: 100%;
    }
    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px 0;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    }
    
    nav ul.active {
        display: flex;
    }
    
    nav ul li {
        margin: 0;
        text-align: center;
    }
    
    nav ul li a {
        display: block;
        padding: 15px;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    h1 {
        font-size: 2.8rem;
    }
    
    h2 {
        font-size: 2rem;
    }
}


.dropdown-menu {
    position: static;
    width: 100%;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    background-color: #f8f9fa;
}

.nav-item:hover .dropdown-menu {
    display: block;
}

.dropdown-menu::before {
    display: none;
}
.menu-toggle {
    display: block;
}
.nav-menu.active {
    left: 0;
}

.nav-item {
    margin: 0;
    border-bottom: 1px solid #f0f0f0;
}

.nav-link {
    padding: 15px 20px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 220px;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 5px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 20px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #fff;
}

.dropdown-item {
    display: block;
    padding: 12px 20px;
    text-decoration: none;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: #3498db;
    padding-left: 25px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #f5f5f5;
    color: #333;
}

/* Header y navegación */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #2c3e50;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-item {
    position: relative;
    margin-left: 30px;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 10px 0;
    transition: color 0.3s;
    display: block;
}

.nav-link:hover {
    color: #3498db;
}