* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

:root {
    --primary: #0066B3;
    --accent: #14427a;
    --light: #f5f5f5;
    --dark: #1A202C;
    --gray: #666666;
    --gray-light: #E2E8F0;
    --white: #FFFFFF;
    --black: #000000;
    --orange:#FF6B00;
    --accent-color: #003D73;
    --radius: 8px;
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--gray);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--white);
}

.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}

/* ===== HEADER ===== */
.header {
    background: var(--primary);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 60px;
}

.logo {
    display: flex;
    align-items: center;
    height: 60px;
}

.logo img {
    display: block;
    width: 180px;
    height: 80px;
    object-fit: contain;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    width: 40px;
    height: 40px;
    position: relative;
    z-index: 1002;
    justify-content: center;
    align-items: center;
}

.mobile-menu-toggle span {
    display: block;
    height: 3px;
    width: 25px;
    background-color: var(--white);
    margin: 2px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

.nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
    margin-left: auto;
}

.nav-item {
    position: relative;
    display: flex;
    align-items: center;
}

.nav a {
    text-decoration: none;
    color: #FFFFFF;
    font-size: 14px;
    transition: color 0.3s;
    display: block;
    padding: 10px 5px;
}

.nav a:hover, .nav a.active { color: var(--white); }

.submenu-toggle {
    display: none;
    background: none;
    border: none;
    color: #FFFFFF;
    font-size: 18px;
    cursor: pointer;
    padding: 5px 10px;
    transition: transform 0.3s;
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    align-items: center;
    justify-content: center;
    width: 50px;
    z-index: 2;
}

.submenu-toggle.active { transform: rotate(90deg); }

.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--primary);
    min-width: 220px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    list-style: none;
    padding: 10px 0;
    z-index: 1001;
    display: flex;
    flex-direction: column;
}

.nav-item:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu li { padding: 0; width: 100%; }

.submenu a {
    color: #FFFFFF;
    padding: 12px 20px;
    font-size: 13px;
    transition: all 0.2s;
    display: block;
    width: 100%;
}

.submenu a:hover {
    background: var(--accent-color);
    color: var(--white);
    padding-left: 25px;
}

.cta-button {
    background: var(--dark);
    color: var(--white);
    padding: 12px 28px;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    margin-left: 20px;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.7s;
}

.cta-button:hover::before { left: 100%; }
.cta-button:hover {
    background: var(--orange);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* ===== HERO PARALLAX ===== */
.hero-parallax {
    position: relative;
    overflow: hidden;
    margin-top: 90px;
}

.hero-parallax-container {
    position: relative;
    min-height: 500px;
}

.hero-parallax-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.25);
    z-index: 1;
}

.hero-parallax-container > .container {
    position: relative;
    z-index: 2;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
}

.hero-parallax-content {
   max-width: 780px;
    width: 100%;
    text-align: center;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    border-radius: 20px;
    padding: 55px 60px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-parallax-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    color: #fff;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-transform: uppercase;
    border: 1px solid rgba(255,255,255,0.25);
}

.hero-parallax-title {
    font-size: 52px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 20px;
}

.text-highlight { color: #bad6ff; }

.hero-parallax-description {
    font-size: 16px;
    color: rgba(255,255,255,0.9);
    line-height: 1.75;
    font-weight: 300;
}

/* ===== SECTION HEADERS ===== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    background: rgba(26,86,157,0.1);
    color: var(--primary);
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.section-title {
    font-size: 40px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 15px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 16px;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.section-header-white {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge-white {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    color: #fff;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.section-title-white {
    font-size: 40px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
    line-height: 1.2;
}

.section-subtitle-white {
    font-size: 16px;
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===== TARJETAS PQRSF ===== */
.pqrsf-cards {
    padding: 100px 0;
    background: var(--white);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
}

.info-card {
    background: var(--white);
    border: 2px solid var(--gray-light);
    border-radius: var(--radius);
    padding: 35px 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.info-card:hover {
    border-color: var(--primary);
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(26,86,157,0.15);
}

.card-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    color: var(--primary);
}

.info-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 12px;
}

.info-card p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.6;
}

/* ===== FORMULARIO ===== */
.pqrsf-form-section {
    padding: 100px 0;
    background: var(--light);
}

.pqrsf-form {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    padding: 50px;
    border-radius: var(--radius);
    box-shadow: 0 4px 30px rgba(0,0,0,0.08);
}

.form-type-selector { margin-bottom: 40px; }

.type-options {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

.type-option { cursor: pointer; }
.type-option input[type="radio"] { display: none; }

.type-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px 15px;
    border: 2px solid var(--gray-light);
    border-radius: var(--radius);
    transition: all 0.3s ease;
    background: var(--white);
    min-height: 140px;
    text-align: center;
}

.type-card svg {
    margin-bottom: 10px;
    color: var(--gray);
    transition: color 0.3s;
}

.type-card strong {
    font-size: 14px;
    color: var(--dark);
    font-weight: 600;
}

.type-option:hover .type-card {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.type-option input[type="radio"]:checked + .type-card {
    border-color: var(--primary);
    background: linear-gradient(135deg, var(--white) 0%, var(--light) 100%);
    box-shadow: 0 4px 15px rgba(26,86,157,0.2);
}

.type-option input[type="radio"]:checked + .type-card svg { color: var(--primary); }

.form-group { margin-bottom: 25px; }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
}

.form-label.required::after { content: ' *'; color: #dc3545; }

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--gray-light);
    border-radius: 6px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26,86,157,0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-helper {
    display: block;
    font-size: 12px;
    color: var(--gray);
    margin-top: 5px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: var(--gray);
}

.checkbox-label input[type="checkbox"] {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.form-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.form-link:hover { text-decoration: underline; }

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 30px;
}

.btn-primary,
.btn-secondary {
    padding: 14px 35px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(26,86,157,0.3);
}

.btn-secondary {
    background: var(--white);
    color: var(--dark);
    border: 2px solid var(--gray-light);
}

.btn-secondary:hover {
    border-color: var(--primary);
    background: var(--light);
}

.form-message {
    padding: 15px 20px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
}

/* ===== PROCESO DE ATENCIÓN ===== */
.process-timeline {
    padding: 100px 0;
    background: var(--primary);
}

.timeline-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.timeline-item {
    text-align: center;
    position: relative;
}

.timeline-item::after {
    content: '';
    position: absolute;
    top: 40px;
    right: -20px;
    width: 40px;
    height: 2px;
    background: rgba(255,255,255,0.4);
}

.timeline-item:last-child::after { display: none; }

.timeline-number {
    width: 80px;
    height: 80px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    margin: 0 auto 20px;
}

.timeline-item h4 {
    font-size: 20px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 10px;
}

.timeline-item p {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
}

/* ===== CTA ===== */
.acerca-cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    padding: 100px 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 46px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 15px;
    line-height: 1.3;
}

.cta-content p {
    font-size: 18px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 35px;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    color: var(--primary);
    padding: 16px 40px;
    border-radius: var(--radius);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-cta:hover {
    background: rgba(255,255,255,0.9);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--white);
    padding: 50px 0;
    border-top: 1px solid var(--gray-light);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left p {
    font-size: 13px;
    color: var(--black);
    margin-bottom: 8px;
}

.footer-left a {
    color: var(--black);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-left a:hover { color: var(--primary); }

.copyright { margin-top: 15px; }

.social-icons { display: flex; gap: 20px; }

.social-icons a {
    color: var(--dark);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icons a:hover {
    color: var(--primary);
    transform: translateY(-3px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .cards-grid { grid-template-columns: repeat(3, 1fr); }
    .type-options { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
    .hero-parallax-title { font-size: 42px; }
    .timeline-grid { grid-template-columns: repeat(2, 1fr); gap: 50px 40px; }
    .timeline-item::after { display: none; }
    .nav ul { gap: 15px; }
}

@media (max-width: 768px) {
    .container { width: 95%; }
    .header { padding: 10px 0; }
    .header-content { flex-direction: row; gap: 15px; min-height: auto; }
    .logo { height: 50px; }
    .logo img { width: 150px; height: 40px; }
    .mobile-menu-toggle { display: flex; }

    .nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--primary);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 1001;
        max-height: 0;
        overflow: hidden;
    }

    .nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        max-height: 80vh;
        overflow-y: auto;
    }

    .nav ul { flex-direction: column; width: 100%; gap: 0; align-items: stretch; padding: 10px 0; }
    .nav-item { width: 100%; text-align: left; border-bottom: 1px solid rgba(255,255,255,0.1); position: relative; display: block; }
    .nav a { padding: 15px 20px; font-size: 16px; display: flex; justify-content: space-between; align-items: center; width: 100%; position: relative; z-index: 1; }
    .submenu-toggle { display: flex; position: absolute; right: 0; top: 0; height: 100%; align-items: center; justify-content: center; width: 50px; z-index: 2; margin: 0; }
    .nav-item.has-submenu > a { padding-right: 50px; }
    .submenu { position: static; opacity: 1; visibility: visible; transform: none; max-height: 0; overflow: hidden; transition: max-height 0.3s ease; box-shadow: none; background: rgba(0,0,0,0.1); width: 100%; margin: 0; padding: 0; display: block; }
    .submenu.active-mobile { max-height: 500px; }
    .submenu li { border-bottom: none; }
    .submenu a { padding: 12px 20px 12px 40px; font-size: 14px; background: rgba(0,0,0,0.1); position: relative; z-index: 1; }
    .submenu a:hover { background: rgba(255,255,255,0.1); padding-left: 45px; }

    .hero-parallax { margin-top: 70px; }
    .hero-parallax-title { font-size: 34px; }
    .hero-parallax-description { font-size: 15px; }
    .hero-parallax-container > .container { padding: 60px 0; min-height: 400px; }

    .pqrsf-cards { padding: 70px 0; }
    .cards-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .section-title { font-size: 30px; }
    .section-title-white { font-size: 30px; }

    .pqrsf-form-section { padding: 70px 0; }
    .pqrsf-form { padding: 30px 20px; }
    .form-row { grid-template-columns: 1fr; gap: 15px; }
    .type-options { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .type-card { padding: 20px 10px; min-height: 120px; }
    .form-actions { flex-direction: column-reverse; }
    .btn-primary, .btn-secondary { width: 100%; }

    .process-timeline { padding: 70px 0; }
    .timeline-grid { grid-template-columns: 1fr; gap: 40px; }

    .acerca-cta-section { padding: 70px 0; }
    .cta-content h2 { font-size: 32px; }

    .footer { padding: 30px 0; }
    .footer-content { flex-direction: column; gap: 20px; text-align: center; }
    .social-icons { justify-content: center; }
}

@media (max-width: 480px) {
    .hero-parallax-title { font-size: 28px; }
    .cards-grid { grid-template-columns: 1fr; }
    .type-options { grid-template-columns: 1fr; }
    .section-title { font-size: 26px; }
    .section-title-white { font-size: 26px; }
    .cta-content h2 { font-size: 26px; }
}

* { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img { max-width: 100%; height: auto; }
body.keyboard-navigation *:focus { outline: 2px solid var(--primary); outline-offset: 2px; }