/* Estilos para Guía Completa - Sitio 4 */

/* Variables CSS */
:root {
    --primary-guide: #7c3aed;
    --secondary-guide: #a855f7;
    --accent-guide: #c084fc;
    --success-guide: #10b981;
    --warning-guide: #f59e0b;
    --danger-guide: #ef4444;
    --dark-guide: #1f2937;
    --light-guide: #f8fafc;
    --gray-guide: #6b7280;
    --white-guide: #ffffff;
    --shadow-guide: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg-guide: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --border-guide: #e5e7eb;
    --gradient-guide: linear-gradient(135deg, var(--primary-guide) 0%, var(--secondary-guide) 100%);
}

/* Reset y Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-guide);
    background-color: var(--white-guide);
}

.container-guide {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Barra Superior */
.top-bar-guide {
    background: var(--gradient-guide);
    color: var(--white-guide);
    padding: 8px 0;
    font-size: 14px;
}

.top-info-guide {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.guide-badge {
    font-weight: 600;
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 8px;
    border-radius: 4px;
}

.separator-guide {
    opacity: 0.7;
}

.top-info-guide a {
    color: var(--white-guide);
    text-decoration: none;
}

.top-info-guide a:hover {
    text-decoration: underline;
}

/* Header Principal */
.main-header-guide {
    background: var(--white-guide);
    box-shadow: var(--shadow-guide);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content-guide {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.brand-guide {
    display: flex;
    align-items: center;
    gap: 15px;
}

.brand-logo-guide {
    font-size: 40px;
}

.brand-text-guide h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-guide);
    margin-bottom: 5px;
}

.brand-text-guide h1 span {
    color: var(--secondary-guide);
}

.tagline-guide {
    font-size: 14px;
    color: var(--gray-guide);
    font-weight: 500;
}

.nav-guide {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-guide a {
    color: var(--dark-guide);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-guide a:hover {
    color: var(--secondary-guide);
}

.btn-nav-guide {
    background: var(--gradient-guide);
    color: var(--white-guide) !important;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
}

.btn-nav-guide:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg-guide);
}

/* Hero Section */
.hero-guide {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.9), rgba(168, 85, 247, 0.8)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%23f1f5f9" width="1200" height="600"/><path fill="%23e2e8f0" d="M0,300 Q300,200 600,300 T1200,300 L1200,600 L0,600 Z"/></svg>');
    background-size: cover;
    background-position: center;
    color: var(--white-guide);
    padding: 100px 0;
    position: relative;
}

.hero-content-guide {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title-guide {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-description-guide {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.95;
    line-height: 1.6;
}

.disclaimer-guide {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 20px;
    margin: 30px 0;
    backdrop-filter: blur(10px);
}

.disclaimer-icon-guide {
    font-size: 24px;
    margin-bottom: 10px;
}

.disclaimer-text-guide strong {
    display: block;
    margin-bottom: 10px;
    font-size: 18px;
}

.disclaimer-text-guide p {
    margin: 0;
    font-size: 16px;
    opacity: 0.9;
}

.disclaimer-text-guide a {
    color: var(--accent-guide);
    text-decoration: none;
}

.disclaimer-text-guide a:hover {
    text-decoration: underline;
}

.hero-actions-guide {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

.btn-primary-guide, .btn-secondary-guide {
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary-guide {
    background: var(--white-guide);
    color: var(--primary-guide);
}

.btn-primary-guide:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg-guide);
}

.btn-secondary-guide {
    background: transparent;
    color: var(--white-guide);
    border: 2px solid var(--white-guide);
}

.btn-secondary-guide:hover {
    background: var(--white-guide);
    color: var(--primary-guide);
}

/* Secciones Generales */
.guide-section-guide,
.procedures-section-guide,
.resources-section-guide,
.faq-guide {
    padding: 80px 0;
}

.section-header-guide {
    text-align: center;
    margin-bottom: 60px;
}

.section-header-guide h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-guide);
    margin-bottom: 15px;
}

.section-header-guide p {
    font-size: 18px;
    color: var(--gray-guide);
    max-width: 600px;
    margin: 0 auto;
}

/* Grid de Guía */
.guide-grid-guide {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.guide-card-guide {
    background: var(--white-guide);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-guide);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-guide);
}

.guide-card-guide:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg-guide);
}

.guide-icon-guide {
    font-size: 48px;
    margin-bottom: 20px;
}

.guide-card-guide h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--primary-guide);
    margin-bottom: 15px;
}

.guide-card-guide p {
    color: var(--gray-guide);
    margin-bottom: 20px;
    line-height: 1.6;
}

.guide-features-guide {
    list-style: none;
    text-align: left;
}

.guide-features-guide li {
    padding: 5px 0;
    color: var(--gray-guide);
    position: relative;
    padding-left: 20px;
}

.guide-features-guide li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-guide);
    font-weight: bold;
}

/* Timeline de Procedimientos */
.procedures-timeline-guide {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.procedures-timeline-guide::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-guide);
}

.timeline-item-guide {
    display: flex;
    margin-bottom: 40px;
    position: relative;
}

.timeline-marker-guide {
    width: 60px;
    height: 60px;
    background: var(--gradient-guide);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-guide);
    font-weight: bold;
    font-size: 20px;
    margin-right: 30px;
    flex-shrink: 0;
    box-shadow: var(--shadow-guide);
}

.timeline-content-guide {
    flex: 1;
    background: var(--white-guide);
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow-guide);
    border: 1px solid var(--border-guide);
}

.timeline-content-guide h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-guide);
    margin-bottom: 10px;
}

.timeline-content-guide p {
    color: var(--gray-guide);
    margin-bottom: 15px;
    line-height: 1.6;
}

.timeline-note-guide {
    background: var(--light-guide);
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid var(--secondary-guide);
}

.timeline-note-guide strong {
    color: var(--primary-guide);
}

/* Tabs de Recursos */
.resources-tabs-guide {
    max-width: 1000px;
    margin: 0 auto;
}

.tabs-nav-guide {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    background: var(--light-guide);
    border-radius: 10px;
    padding: 5px;
}

.tab-btn-guide {
    background: transparent;
    border: none;
    padding: 15px 25px;
    border-radius: 8px;
    font-weight: 600;
    color: var(--gray-guide);
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    text-align: center;
}

.tab-btn-guide.active {
    background: var(--white-guide);
    color: var(--primary-guide);
    box-shadow: var(--shadow-guide);
}

.tab-btn-guide:hover {
    color: var(--primary-guide);
}

.tabs-content-guide {
    background: var(--white-guide);
    border-radius: 12px;
    padding: 40px;
    box-shadow: var(--shadow-guide);
    border: 1px solid var(--border-guide);
}

.tab-pane-guide {
    display: none;
}

.tab-pane-guide.active {
    display: block;
}

.tab-pane-guide h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-guide);
    margin-bottom: 30px;
    text-align: center;
}

/* Grid de Portales */
.portals-grid-guide {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.portal-card-guide {
    background: var(--light-guide);
    padding: 25px;
    border-radius: 10px;
    border: 1px solid var(--border-guide);
    transition: transform 0.3s ease;
}

.portal-card-guide:hover {
    transform: translateY(-3px);
}

.portal-card-guide h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-guide);
    margin-bottom: 10px;
}

.portal-card-guide p {
    color: var(--gray-guide);
    margin-bottom: 15px;
    font-size: 14px;
}

.portal-link-guide {
    display: inline-block;
    background: var(--gradient-guide);
    color: var(--white-guide);
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: transform 0.3s ease;
}

.portal-link-guide:hover {
    transform: translateY(-2px);
}

/* Tabla de Documentos */
.documents-table-guide {
    overflow-x: auto;
}

.guide-table-guide {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.guide-table-guide th,
.guide-table-guide td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-guide);
}

.guide-table-guide th {
    background: var(--light-guide);
    font-weight: 600;
    color: var(--primary-guide);
}

.guide-table-guide tr:hover {
    background: var(--light-guide);
}

/* Tarifas Detalladas */
.tariffs-detailed-guide {
    display: grid;
    gap: 40px;
}

.tariff-category-guide h4 {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-guide);
    margin-bottom: 20px;
    text-align: center;
}

.tariff-list-guide {
    display: grid;
    gap: 15px;
}

.tariff-item-guide {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--light-guide);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid var(--border-guide);
}

.tariff-icon-guide {
    font-size: 24px;
    flex-shrink: 0;
}

.tariff-item-guide strong {
    color: var(--primary-guide);
    display: block;
    margin-bottom: 5px;
}

.tariff-item-guide p {
    color: var(--gray-guide);
    margin: 0;
    font-size: 14px;
}

/* Ubicaciones */
.locations-analysis-guide {
    margin-top: 30px;
}

.location-cards-guide {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.location-card-guide {
    background: var(--light-guide);
    padding: 25px;
    border-radius: 10px;
    border: 1px solid var(--border-guide);
}

.location-card-guide h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-guide);
    margin-bottom: 15px;
}

.location-details-guide p {
    margin-bottom: 8px;
    color: var(--gray-guide);
    font-size: 14px;
}

/* FAQ */
.faq-container-guide {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item-guide {
    background: var(--white-guide);
    border: 1px solid var(--border-guide);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-guide);
}

.faq-question-guide {
    padding: 20px;
    background: var(--light-guide);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--primary-guide);
    transition: background 0.3s ease;
}

.faq-question-guide:hover {
    background: var(--accent-guide);
    color: var(--white-guide);
}

.faq-question-guide.active {
    background: var(--secondary-guide);
    color: var(--white-guide);
}

.faq-icon-guide {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.faq-question-guide.active .faq-icon-guide {
    transform: rotate(180deg);
}

.faq-answer-guide {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: var(--white-guide);
}

.faq-answer-guide.active {
    padding: 20px;
    max-height: 200px;
}

.faq-answer-guide p {
    color: var(--gray-guide);
    line-height: 1.6;
    margin: 0;
}

/* CTA */
.cta-guide {
    background: var(--gradient-guide);
    color: var(--white-guide);
    padding: 80px 0;
    text-align: center;
}

.cta-content-guide h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-content-guide p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-buttons-guide {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-cta-primary-guide,
.btn-cta-secondary-guide {
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.btn-cta-primary-guide {
    background: var(--white-guide);
    color: var(--primary-guide);
}

.btn-cta-primary-guide:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg-guide);
}

.btn-cta-secondary-guide {
    background: transparent;
    color: var(--white-guide);
    border: 2px solid var(--white-guide);
}

.btn-cta-secondary-guide:hover {
    background: var(--white-guide);
    color: var(--primary-guide);
}

/* Footer */
.footer-guide {
    background: var(--dark-guide);
    color: var(--white-guide);
    padding: 60px 0 20px;
}

.footer-main-guide {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand-guide {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-brand-guide .brand-logo-guide {
    font-size: 32px;
}

.footer-brand-guide h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-guide);
}

.footer-column-guide h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--accent-guide);
}

.footer-links-guide {
    list-style: none;
}

.footer-links-guide li {
    margin-bottom: 10px;
}

.footer-links-guide a {
    color: var(--gray-guide);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links-guide a:hover {
    color: var(--accent-guide);
}

.disclaimer-footer-guide {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    font-size: 14px;
}

.disclaimer-footer-guide a {
    color: var(--accent-guide);
    text-decoration: none;
}

.disclaimer-footer-guide a:hover {
    text-decoration: underline;
}

.footer-bottom-guide {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom-guide p {
    color: var(--gray-guide);
    margin-bottom: 10px;
}

.footer-disclaimer-guide {
    font-size: 14px;
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
    .header-content-guide {
        flex-direction: column;
        gap: 20px;
    }

    .nav-guide {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .hero-title-guide {
        font-size: 36px;
    }

    .hero-description-guide {
        font-size: 18px;
    }

    .hero-actions-guide {
        flex-direction: column;
        align-items: center;
    }

    .tabs-nav-guide {
        flex-direction: column;
    }

    .cta-buttons-guide {
        flex-direction: column;
        align-items: center;
    }

    .procedures-timeline-guide::before {
        left: 20px;
    }

    .timeline-marker-guide {
        width: 40px;
        height: 40px;
        font-size: 16px;
        margin-right: 20px;
    }

    .timeline-content-guide {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .container-guide {
        padding: 0 15px;
    }

    .hero-title-guide {
        font-size: 28px;
    }

    .section-header-guide h2 {
        font-size: 28px;
    }

    .tabs-content-guide {
        padding: 20px;
    }

    .guide-grid-guide {
        grid-template-columns: 1fr;
    }
}
