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

body {
    font-family: 'Proxima Nova', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

.main-content{
    --background:#FFFFFF;
    width: 100%;
    min-height: 600px; /* ajusta según la sección */
    background: radial-gradient(
      circle at top left,  /* posición y forma del degradado */
      #e4f3ff 0%,          /* color azul muy suave al centro */
      #ffffff 40%          /* se vuelve blanco gradualmente */
    );
}

.container-pqrs{
    margin: 40px auto;
    max-width: 1046px;
}

/* Header Section */
.header-pqrs {
    text-align: center;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header-pqrs h1 {
    font-family: 'Proxima Nova', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    font-size: 32px;
    font-weight: 600;
    line-height: 45px;
    letter-spacing: 2%;
    text-align: center;
    color: #008767;
    margin-bottom: 0.5rem;
}

.header-pqrs p {
    font-family: 'Proxima Nova', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 45px;
    letter-spacing: 0%;
    text-align: center;
    color: #002F87;
}

.header-icon {
    width: 80px;
    height: 80px;
    border: 1px solid #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 4px 4px 0px #00000033;
    box-shadow: 0px -1px 2px 0px #0000001A;
}

.header-pqrs .schedule-message {
    display: none;
    font-family: 'Proxima Nova', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
    letter-spacing: 0%;
    text-align: center;
    color: #212121;
    margin-top: 1rem;
}

.header-pqrs .schedule-message strong {
    font-weight: 700;
    color: #212121;
}

/* Info Banner */
.info-banner {
    background-color: #E6F1FA;
    border: 1px solid #0071CE;
    border-radius: 15px;
    padding: 5px 10px;
    margin-bottom: 2rem;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    box-shadow: 0px 8px 8px 0px rgba(24, 144, 255, 0.25);
}

.info-icon {
    background-color: transparent;
    border-radius: 40px;
    padding: 10px 5px 10px 5px;
    flex-shrink: 0;
    width: 62px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-icon svg {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
}

.info-content h2 {
    color: #0071CE;
    font-family: 'Proxima Nova', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    font-weight: 600;
    font-size: 20px;
    line-height: 27px;
    letter-spacing: 0%;
    margin-top: 0.5rem;
}

.info-content p {
    color: #000000;
    font-family: 'Proxima Nova', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    letter-spacing: 0%;
}

.info-content strong {
    font-weight: 700;
    color: #000000;
}

/* Cards Section */
.cards-grid {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 24px;
    margin-bottom: 3rem;
    width: 100%;
    max-width: 1046px;
    flex-wrap: wrap;
}

.card {
    background-color: white;
    border-radius: 10px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 15px;
    text-align: left;
    transition: box-shadow 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 205px;
    height: 159px;
    gap: 5px;
    position: relative;
}

.card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
    background: #ece7e7;
}

.card:hover .card-button svg {
    background-color: #0071A3;
    border-radius: 50%;
}

.card:hover .card-button svg path {
    fill: white;
}

.card-icon {
    background-color: transparent;
    padding: 0;
    border-radius: 0;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    height: auto;
}

.card-icon svg {
    width: 54.57px;
    height: 50px;
    flex-shrink: 0;
}

.card-title {
    font-family: 'Proxima Nova', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 100%;
    letter-spacing: 0%;
    color: #002F87;
    text-align: left;
    margin: 0 0 0.25rem 0;
}

.card-title .subtitle {
    display: inline-block;
    font-family: 'Proxima Nova', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 100%;
    letter-spacing: 0%;
    color: #002F87;
}

.card-button {
    background-color: transparent;
    color: #002F87;
    border: none;
    border-radius: 0;
    padding: 20px 0 0 0;
    cursor: pointer;
    transition: all 0.3s ease;
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-button:hover svg {
    --opacity: 0.8;
    background-color: #0071A3;
    border-radius: 50%;
}

.card-button:hover svg path {
    fill: white;
}

.card-button:active svg {
    background-color: #0071A3;
    border-radius: 50%;
    padding: 4px;
}

.card-button:active svg path {
    fill: white;
}


.card-button svg {
    width: 32px;
    height: 32px;
}

/* Contact Section */
.contact-section {
    background-color: white;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 25px 70px;
    max-width: 1046px;
    width: 100%;
    position: relative;
}

.contact-section::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #389EE1 0%, #2DB789 100%);
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.contact-intro {
    font-family: 'Proxima Nova', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
    letter-spacing: 0%;
    color: #212121;
    margin-bottom: 1.5rem;
    text-align: left;
}

.phone-grid {
    display: grid;
    grid-template-columns: auto auto 1fr 1fr;
    gap: 10px;
    column-gap: 30px;
    max-width: 906px;
    width: 100%;
    align-items: start;
}

.phone-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Proxima Nova', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
    color: #212121;
}

.phone-separator {
    grid-column: 2;
    grid-row: 1 / 7;
    width: 1px;
    background-color: #002F87;
    height: 70%;
    justify-self: center;
}

.phone-item::before {
    content: '•';
    color: #002F87;
    font-size: 2em;
    font-weight: bold;
    margin-top: -0.1em;
}

.phone-item.national {
    grid-column: 1;
    grid-row: 1 / 7;
    font-weight: 600;
    padding-right: 0;
}

.phone-item h3 {
    display: inline;
    font-weight: 400;
    color: #212121;
    margin: 0;
    font-size: 16px;
}

.phone-item p {
    display: inline;
    color: #212121;
    margin: 0;
    font-size: 16px;
}

.phone-item.national h3,
.phone-item.national p {
    font-weight: 600;
    color: #212121;
}

/* Sofia Assistant */
.sofia-assistant {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
}

.sofia-bubble {
    background-color: #00B8A9;
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.sofia-button {
    background-color: white;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.sofia-button:hover {
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }


    .header-icon,
    .header-pqrs svg {
        display: none;
    }

    .header-pqrs {
        margin-bottom: 1.5rem;
    }

    
    .header-pqrs h1 {
        display: none;
    }

    
    .header-pqrs p {
        font-size: 24px;
        line-height: 32px;
        margin-bottom: 1rem;
    }

    
    .header-pqrs .schedule-message {
        display: block;
        font-size: 16px;
        line-height: 22px;
        margin-top: 1rem;
        text-align: justify;
    }   

    
    .info-banner {
        display: none;
    }

    
    .cards-grid {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        margin-bottom: 2rem;
    }

    .card {
        width: 100%;
        height: auto;
        min-height: 120px;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 20px;
    }

    .card-icon {
        flex-shrink: 0;
        margin-right: 15px;
    }

    .card-icon svg {
        width: 48px;
        height: 48px;
    }

    .card-title {
        flex: 1;
        font-size: 16px;
        line-height: 120%;
    }

    .card-button {
        position: static;
        margin-left: auto;
        padding: 0;
    }

    
    .contact-section {
        padding: 20px;
        border-radius: 15px;
        background-color: #E5FAFF;
        border: none;
        box-shadow: none;
    }

    .contact-section::after {
        display: none;
    }

    .contact-intro {
        font-size: 14px;
        line-height: 20px;
        margin-bottom: 1.5rem;
        color: #212121;
    }

    .phone-grid {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    
    .phone-separator {
        display: block;
        width: 100%;
        height: 1px;
        background-color: #002F87;
        margin: 8px 0;
        order: 1;
    }
    
    .phone-item {
        font-size: 14px;
        line-height: 20px;
        gap: 8px;
        display: flex;
        alfign-items: baseline;
    }

    .phone-item::before {
        font-size: 16px;
        flex-shrink: 0;
    }

    .phone-item h3,
    .phone-item p {
        display: inline;
        font-size: 14px;
        line-height: 20px;
    }
    
    .phone-item.national {
        order: 0;
        font-weight: 600;
    }

    .phone-item.national h3,
    .phone-item.national p {
        font-weight: 600;
    }

    
    .phone-item:not(.national) {
        order: 2;
    }

    
    .sofia-assistant {
        display: none;
    }
}