* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Poppins", Arial, sans-serif;
    color: #777;
    line-height: 1.6;
    overflow-x: hidden;
}

.heradad {
    background: linear-gradient(to right, #0088CC, #005c8a);
    color: white;
    padding: 100px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.subtitulos {
    color: white;
}

.heradad::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/nota-web-1.webp') center center/cover;
    opacity: 0.5;
    z-index: 1;
}

.header-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.titulos_h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    font-weight: 700;
}

h2 {
    color: #0088CC;
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 600;
}

h3 {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 40px 0;
}

section:nth-child(even) {
    background-color: #f9f9f9;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.card.active {
    opacity: 1;
    transform: translateY(0);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card-icon {
    font-size: 2.5rem;
    color: #0088CC;
    margin-bottom: 20px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.process-steps::before {
    content: "";
    position: absolute;
    top: 30px;
    left: 60px;
    right: 60px;
    height: 3px;
    background: #ddd;
    z-index: 1;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: translateY(20px);
}

.step.active {
    opacity: 1;
    transform: translateY(0);
}

.step-number {
    width: 60px;
    height: 60px;
    background: #0088CC;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.step-text {
    text-align: center;
    font-weight: 500;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease-in-out;
}

.faq-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.faq-question {
    background: #f5f5f5;
    padding: 20px;
    cursor: pointer;
    position: relative;
    font-weight: 600;
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease-in-out;
}

.faq-question:hover {
    background: #e0e0e0;
}


/* Estilos para el icono */

.faq-question::after {
    border-radius: 50%;
    background: #0088CC;
    padding: 2px 12px 2px 13px;
    color: #fff;
    content: "+";
    font-size: 1.5rem;
    transition: transform 0.3s ease-in-out, background 0.3s ease-in-out, color 0.3s ease-in-out;
}

.faq-question:hover::after {
    background: #005f99;
    transform: rotate(90deg);
}


/* Cambia el icono cuando se abre la respuesta */

.faq-item.active .faq-question::after {
    content: "−";
    background: #ff6600;
    transform: rotate(180deg);
}


/* Animación de la respuesta */

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}


/* Cuando se activa, se expande */

.faq-item.active .faq-answer {
    max-height: 700px;
    opacity: 1;
    padding: 15px 20px;
    background: #fff;
    border-left: 4px solid #0088CC;
}

.cta {
    background: linear-gradient(to right, #0088CC, #005c8a);
    color: white;
    text-align: center;
    padding: 80px 0;
}

.btn {
    display: inline-block;
    background: #0088CC;
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: 20px;
    border: 2px solid transparent;
}

.btn:hover {
    background: white;
    color: #0088CC;
    border-color: #0088CC;
}

.contact-methods {
    margin-top: 30px;
}

.contact-method {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.contact-icon {
    margin-right: 15px;
    color: #0088CC;
    font-size: 1.5rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-weight: 600;
    color: #333;
}

.contact-value {
    color: #777;
}

footer {
    background: #333;
    color: white;
    padding: 40px 0;
    text-align: center;
}

@media (max-width: 768px) {
    .grid {
        grid-template-columns: 1fr;
    }
    .process-steps {
        flex-direction: column;
        gap: 30px;
    }
    .process-steps::before {
        display: none;
    }
}