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

:root {
    --primary-color: #1b6a91;
    --secondary-color: #155270;
    --accent-color: #2382b2;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --success: #10b981;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

/* Top Bar */
.top-bar {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 0;
    text-align: center;
}

.top-bar-text {
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0;
}

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

/* Header & Navigation */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
}

.logo-img {
    height: 80px;
    width: auto;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger {
    width: 30px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    position: relative;
    transition: all 0.3s;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s;
}

.hamburger::before {
    top: -10px;
}

.hamburger::after {
    top: 10px;
}

.menu-toggle.active .hamburger {
    background: transparent;
}

.menu-toggle.active .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.menu-toggle.active .hamburger::after {
    transform: rotate(-45deg);
    top: 0;
}

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

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.btn-contact {
    background: var(--primary-color);
    color: var(--white) !important;
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
}

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

.btn-search {
    padding: 4px 16px !important;
}

/* Hero Section */
.hero {
    position: relative;
    background-image: 
        linear-gradient(135deg, rgba(27, 106, 145, 0.92) 0%, rgba(21, 82, 112, 0.92) 100%),
        url('https://images.unsplash.com/photo-1554224155-8d04cb21cd6c?w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    padding: 200px 20px;
    text-align: center;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.highlight {
    color: #fbbf24;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-color);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

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

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
}

/* Sections */
.section {
    padding: 80px 20px;
}

.section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-description {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Benefits */
.benefits {
    background: var(--bg-light);
}

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

.benefit-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    color: var(--success);
    font-size: 2.5rem;
    font-weight: bold;
    display: block;
    margin-bottom: 1rem;
}

.benefit-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
}

.benefit-item p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Process */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    border-top: 4px solid var(--primary-color);
}

.step-number {
    background: var(--primary-color);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.step h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.step p {
    color: var(--text-light);
    line-height: 1.8;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 80px 20px;
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* Contact */
.contact {
    background: var(--bg-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-info h3,
.contact-form h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.info-item {
    margin-bottom: 1.5rem;
}

.info-item strong {
    display: block;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.info-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.info-item a:hover {
    text-decoration: underline;
}

.info-item p {
    color: var(--text-light);
}

/* Form */
.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

/* Contact Form Styling - Diseño Limpio y Profesional */
.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-weight: 600;
}

.contact-form-inner {
    display: grid;
    gap: 15px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.2s ease;
    background: white;
    box-sizing: border-box;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #aaa;
    opacity: 1;
    transition: opacity 0.2s ease;
}

.form-input:focus::placeholder,
.form-textarea:focus::placeholder {
    opacity: 0;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

.form-footer {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;
    align-items: center;
    margin-top: 5px;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.form-checkbox input[type="checkbox"] {
    margin-top: 3px;
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: var(--primary-color);
    flex-shrink: 0;
}

.form-checkbox label {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
    cursor: pointer;
}

.form-checkbox label a {
    color: var(--primary-color);
    text-decoration: none;
}

.form-checkbox label a:hover {
    text-decoration: underline;
}

.btn-submit {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 40px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 3px;
    cursor: pointer;
    transition: background 0.2s ease;
    white-space: nowrap;
}

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

/* Alerts */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.alert-success {
    background-color: #d1fae5;
    color: #065f46;
    border-left: 4px solid #10b981;
}

.alert-error {
    background-color: #fee2e2;
    color: #991b1b;
    border-left: 4px solid #ef4444;
}

/* Responsive Form */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .form-footer {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .btn-submit {
        width: 100%;
        justify-self: stretch;
    }
}

/* Coming Soon (mantenemos por si acaso) */
.coming-soon {
    padding: 3rem 2rem;
    text-align: center;
    background: #f8f9fa;
    border-radius: 8px;
}

.coming-soon p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

/* Breadcrumbs */
.breadcrumbs {
    padding: 0;
    margin-bottom: 1.5rem;
    background: transparent;
}

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

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.85rem;
    color: var(--text-light);
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumb-item a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb-item a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb-item span:not(.breadcrumb-separator) {
    color: var(--text-light);
    font-weight: 400;
}

.breadcrumb-separator {
    color: var(--text-light);
    opacity: 0.5;
}

/* Article FAQ */
.article-faq {
    background: var(--background);
    padding: 3rem 0;
    margin-top: 3rem;
}

.article-faq h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.faq-items {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.faq-item.active {
    border-color: var(--primary-color);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: white;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.faq-question:hover {
    background: var(--background);
}

.faq-icon {
    transition: transform 0.3s;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Author Page */
.author-page {
    padding: 3rem 0;
}

.author-header {
    display: flex;
    gap: 2rem;
    align-items: center;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    margin-bottom: 3rem;
}

.author-avatar {
    flex-shrink: 0;
}

.author-avatar img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-color);
}

.author-info h1 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.author-title {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.author-stats {
    display: flex;
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat strong {
    display: block;
    font-size: 1.8rem;
    color: var(--primary-color);
}

.stat span {
    font-size: 0.9rem;
    color: var(--text-light);
}

.author-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.author-bio {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.author-bio h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.author-bio h3 {
    color: var(--secondary-color);
    margin: 1.5rem 0 1rem;
}

.expertise-list, .why-trust {
    list-style: none;
    padding: 0;
}

.expertise-list li, .why-trust li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--background);
}

.author-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.author-contact-box, .author-topics {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.author-contact-box h3, .author-topics h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.topic-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: var(--background);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.author-articles h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.article-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.article-card a {
    text-decoration: none;
    color: inherit;
}

.article-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.article-card p {
    color: var(--text-light);
}

.view-all-articles {
    text-align: center;
}

@media (max-width: 768px) {
    .author-header {
        flex-direction: column;
        text-align: center;
    }
    
    .author-content {
        grid-template-columns: 1fr;
    }
    
    .author-stats {
        justify-content: center;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 60px 20px 20px;
}

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

.footer-section h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section p {
    color: #94a3b8;
    line-height: 1.8;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #334155;
    color: #94a3b8;
}

/* Legal Pages */
.legal-page {
    background: var(--bg-light);
}

.legal-page h1 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.last-updated {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 3rem;
    text-align: center;
}

.legal-content {
    background: var(--white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    max-width: 900px;
    margin: 0 auto 2rem;
}

.legal-content h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    text-align: left;
}

.legal-content h3 {
    color: var(--text-dark);
    font-size: 1.3rem;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
}

.legal-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-content ul {
    color: var(--text-light);
    line-height: 1.8;
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.legal-content ul li {
    margin-bottom: 0.5rem;
}

.legal-content a {
    color: var(--primary-color);
    text-decoration: none;
}

.legal-content a:hover {
    text-decoration: underline;
}

.cookies-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

.cookies-table thead {
    background: var(--primary-color);
    color: var(--white);
}

.cookies-table th,
.cookies-table td {
    padding: 1rem;
    text-align: left;
    border: 1px solid #e2e8f0;
}

.cookies-table tbody tr:nth-child(even) {
    background: var(--bg-light);
}

.back-link {
    text-align: center;
    margin-top: 2rem;
}

.coming-soon {
    background: var(--bg-light);
    padding: 3rem;
    border-radius: 12px;
    text-align: center;
}

.coming-soon p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .logo-img {
        height: 60px;
    }

    .top-bar-text {
        font-size: 0.85rem;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 70%;
        max-width: 300px;
        background: var(--white);
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        gap: 0;
        padding: 2rem 0;
        transition: right 0.3s ease;
        z-index: 1000;
        height: calc(100vh - 70px);
    }

    .nav-menu.active {
        right: 0;
        text-align: center;
    }

    .nav-menu li {
        padding: 0;
        width: 100%;
    }

    .nav-menu a {
        display: block;
        padding: 1rem 2rem;
        border-bottom: 1px solid #e2e8f0;
    }

    .nav-menu a:hover {
        background: var(--bg-light);
    }

    .btn-contact {
        margin: 1rem 2rem;
        text-align: center;
        border-radius: 8px !important;
    }

    .btn-search {
        max-width: 60%;
        margin: 0 auto;
        padding-top: 10px;
        margin-top: 10px;
        text-align: center;
        display: block;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .services-grid,
    .benefits-grid,
    .process-steps {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 60px 20px;
    }

    .section h2 {
        font-size: 2rem;
    }

    .legal-content {
        padding: 1.5rem;
    }

    .cookies-table {
        font-size: 0.9rem;
    }

    .cookies-table th,
    .cookies-table td {
        padding: 0.5rem;
    }
}

/* FAQ Section */
.hero-small {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 100px 20px 60px;
    text-align: center;
}

.hero-small h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-small p {
    font-size: 1.2rem;
    opacity: 0.95;
}

.faq-section {
    padding: 80px 20px;
    background: var(--background);
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    padding: 2rem;
    margin-bottom: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 20px rgba(27, 106, 145, 0.1);
}

.faq-item h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.faq-item h3::before {
    content: "?";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    margin-right: 1rem;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.faq-item p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.05rem;
}

.faq-cta {
    text-align: center;
    margin-top: 60px;
    padding: 3rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 15px;
    color: white;
}

.faq-cta h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.faq-cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.faq-cta .btn-primary {
    background: var(--white);
    color: var(--primary-color);
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.faq-cta .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .hero-small h1 {
        font-size: 1.8rem;
    }

    .hero-small p {
        font-size: 1rem;
    }

    .faq-item {
        padding: 1.5rem;
    }

    .faq-item h3 {
        font-size: 1.2rem;
    }

    .faq-cta {
        padding: 2rem;
    }

    .faq-cta h2 {
        font-size: 1.6rem;
    }
}

/* Blog Styles */
.blog-list-section {
    padding: 80px 20px;
    background: var(--bg-light);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.blog-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12), 0 1px 3px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(27, 106, 145, 0.08);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(27, 106, 145, 0.25), 0 4px 12px rgba(0,0,0,0.12);
    border-color: rgba(27, 106, 145, 0.2);
}

.blog-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
    position: relative;
}

.blog-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.blog-card:hover .blog-image::after {
    opacity: 1;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.08);
}

.blog-content {
    padding: 2rem;
}

.blog-category {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(27, 106, 145, 0.3);
}

.blog-content h2 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.blog-content h2 a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-content h2 a:hover {
    color: var(--primary-color);
}

.blog-content > p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.blog-read-more {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: all 0.3s ease;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    background: rgba(27, 106, 145, 0.05);
    margin-top: 0.5rem;
}

.blog-read-more:hover {
    gap: 0.7rem;
    background: rgba(27, 106, 145, 0.1);
    padding-right: 1.5rem;
}

/* Blog Post Styles */
.blog-post {
    padding: 60px 20px 80px;
    margin-top: 2rem;
}

.blog-post-header {
    max-width: 900px;
    margin: 0 auto 3rem;
}

.back-link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    margin-bottom: 1rem;
    font-weight: 500;
}

.back-link:hover {
    text-decoration: underline;
}

.blog-post-header h1 {
    font-size: 2.8rem;
    line-height: 1.2;
    margin: 1rem 0;
    color: var(--text-dark);
}

.blog-featured-image {
    width: 100%;
    border-radius: 12px;
    margin-top: 2rem;
}

.blog-post-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.blog-post-content h2 {
    font-size: 2rem;
    margin: 2.5rem 0 1rem;
    color: var(--primary-color);
}

.blog-post-content h3 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    color: var(--text-dark);
}

.blog-post-content p {
    margin-bottom: 1.5rem;
}

.blog-post-content ul, .blog-post-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

/* Tablas Responsive - Desktop */
.blog-post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.blog-post-content th,
.blog-post-content td {
    padding: 12px;
    border: 1px solid #ddd;
    text-align: left;
}

.blog-post-content th {
    background: var(--primary-color);
    color: white;
    font-weight: 600;
}

.blog-post-content tbody tr:nth-child(even) {
    background: #f8f9fa;
}

.blog-post-content tbody tr:hover {
    background: #e9ecef;
    transition: background 0.3s;
}

/* Tablas Responsive - Mobile/Tablet (tarjetas) */
@media (max-width: 1024px) {
    .blog-post-content table {
        border: 0;
    }
    
    .blog-post-content table thead {
        display: none;
    }
    
    .blog-post-content table tr {
        display: block;
        margin-bottom: 20px;
        border: 2px solid #ddd;
        border-radius: 8px;
        background: white;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        overflow: hidden;
    }
    
    .blog-post-content table tr:hover {
        box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    }
    
    .blog-post-content table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 15px;
        border: 0;
        border-bottom: 1px solid #eee;
        text-align: right;
    }
    
    .blog-post-content table td:last-child {
        border-bottom: 0;
    }
    
    .blog-post-content table td:before {
        content: attr(data-label);
        font-weight: 700;
        color: var(--primary-color);
        text-align: left;
        flex-basis: 40%;
        flex-grow: 0;
        flex-shrink: 0;
    }
    
    /* Filas destacadas */
    .blog-post-content tbody tr:nth-child(even) {
        background: #f8f9fa;
    }
    
    /* Primera fila con estilo especial (si existe) */
    .blog-post-content table tr:first-child {
        border-color: var(--primary-color);
        border-width: 2px;
    }
}

/* Grids Responsive en artículos */
.blog-post-content [style*="display: grid"],
.blog-post-content [style*="display:grid"] {
    display: grid !important;
}

/* Grid de 2 columnas responsive */
.blog-post-content [style*="grid-template-columns: repeat(2"] {
    grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 768px) {
    .blog-post-content [style*="grid-template-columns: repeat(2"] {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
}

/* Grid de 3 columnas responsive */
.blog-post-content [style*="grid-template-columns: repeat(3"] {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1024px) {
    .blog-post-content [style*="grid-template-columns: repeat(3"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 640px) {
    .blog-post-content [style*="grid-template-columns: repeat(3"] {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
}

/* Ajustes para textos en grids en móvil */
@media (max-width: 768px) {
    .blog-post-content [style*="display: grid"] > div {
        padding: 15px !important;
    }
    
    .blog-post-content [style*="display: grid"] [style*="font-size: 36px"] {
        font-size: 28px !important;
    }
    
    .blog-post-content [style*="display: grid"] [style*="font-size: 18px"] {
        font-size: 16px !important;
    }
}

.blog-post-content li {
    margin-bottom: 0.8rem;
}

.blog-content-image {
    width: 100%;
    border-radius: 8px;
    margin: 2rem 0;
}

.article-author-box {
    background: var(--background);
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 2rem;
}

.article-author-box p {
    margin: 0.5rem 0;
}

.article-author-box a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.article-author-box a:hover {
    text-decoration: underline;
}

.blog-callout {
    background: #f0f7ff;
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 8px;
}

.blog-callout h4 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.blog-callout-success {
    background: #f0fdf4;
    border-left-color: var(--success);
}

.blog-callout-success h4 {
    color: var(--success);
}

.blog-cta {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    margin: 3rem 0;
}

.blog-cta h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.blog-cta p {
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.blog-tags {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--bg-light);
}

.blog-tags a {
    display: inline-block;
    background: var(--bg-light);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    margin: 0.3rem;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.blog-tags a:hover {
    background: var(--primary-color);
    color: white;
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-post-header h1 {
        font-size: 2rem;
    }

    .blog-post-content {
        font-size: 1rem;
    }

    .blog-post-content h2 {
        font-size: 1.6rem;
    }

    .blog-post-content h3 {
        font-size: 1.3rem;
    }
}

/* Clase para enlaces de índices */
.estilo-indice-gris {
    color: #333;
    text-decoration: none;
}

.estilo-indice-gris:hover {
    color: #28a745;
    text-decoration: underline;
}
