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

body {
    font-family: 'Inter', sans-serif;
    background: white;
    color: #111;
    line-height: 1.5;
    scroll-behavior: smooth;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url('../imagenes/bg_jin.png');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    opacity: 0.20;
    pointer-events: none;
    z-index: -1;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(135, 206, 250, 0.5);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 5%;
    z-index: 1000;
    transition: all 0.2s;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.logo-img {
    width: 48px;
    height: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
    transition: transform 0.2s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .logo-img {
        width: 40px;
    }
}

.logo-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.logo-icon {
    font-size: 2rem;
    color: #0a2b4e;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.brand-name {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #0a2b4e;
    margin-top: 4px;
}

.nav-links ul {
    display: flex;
    gap: 2rem;
    list-style: none;
    flex-wrap: wrap;
    justify-content: center;
}

.nav-links a {
    text-decoration: none;
    font-weight: 600;
    color: #111;
    transition: 0.2s;
    font-size: 1rem;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
}

.nav-links a:hover, .nav-links a.active {
    border-bottom-color: #0a2b4e;
    color: #0a2b4e;
}

.btn-login {
    background: rgba(255,255,255,0.6);
    border: none;
    padding: 0.5rem 1.2rem;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.2s;
    color: #111;
    font-size: 0.9rem;
    text-decoration: none;  
}

.btn-login:hover {
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    text-decoration: none; 
}

.main-content {
    margin-top: 100px;
    padding: 2rem 5%;
    min-height: 70vh;
}

.hero {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    margin-bottom: 4rem;
}

.hero-text {
    flex: 1;
    min-width: 250px;
}

.hero-text h1 {
    font-size: clamp(1.8rem, 5vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.highlight {
    background: linear-gradient(120deg, #87cefa, #3a7ca5);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.hero-text p {
    font-size: clamp(1rem, 3vw, 1.2rem);
    color: #2d3748;
    margin-bottom: 2rem;
}

.btn-primary {
    background: #0a2b4e;
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: 0.2s;
}

.btn-primary:hover {
    background: #1e4a76;
    transform: translateY(-2px);
}

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

.stat-card {
    background: #f8fafc;
    border-radius: 24px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.03);
    flex: 1;
    min-width: 120px;
}

.stat-card i {
    font-size: 2rem;
    color: #3b82f6;
    margin-bottom: 0.5rem;
}

.stat-card h3 {
    font-size: 1.8rem;
    font-weight: 800;
}

.services-preview h2, .about-header h1, .services-detailed h1, .contact-section h1, .faq-comments h2 {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
    margin-bottom: 2rem;
    text-align: center;
}

.cards, .services-grid, .about-grid, .testimonial-grid {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.service-card, .service-detailed-card, .testimonial-card {
    background: #ffffff;
    border-radius: 28px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.05);
    flex: 1;
    min-width: 250px;
    transition: 0.2s;
    border: 1px solid #eef2ff;
}

.service-card i, .service-detailed-card i {
    font-size: 2.5rem;
    color: #3b82f6;
    margin-bottom: 1rem;
}

.service-card:hover, .service-detailed-card:hover {
    transform: translateY(-6px);
    border-color: #87cefa;
}

.service-detailed-card ul {
    margin-top: 1rem;
    list-style: none;
    text-align: left;
}

.service-detailed-card li {
    margin: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* About page */
.about-grid {
    align-items: start;
}

.about-text {
    flex: 2;
    min-width: 250px;
}

.about-values {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.value-item {
    background: #f1f5f9;
    padding: 1rem;
    border-radius: 48px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.faq-item {
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 1rem;
}

.faq-question {
    font-weight: 600;
    padding: 1rem 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: 0.3s ease;
    padding-left: 1.5rem;
    color: #334155;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-bottom: 1rem;
}

.testimonials {
    margin-top: 3rem;
    text-align: center;
}

.testimonial-card {
    text-align: left;
    max-width: 350px;
}

.testimonial-card i.fa-star {
    color: #fbbf24;
    margin-right: 2px;
}

.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-form {
    flex: 2;
    background: #f9fbfe;
    padding: 2rem;
    border-radius: 32px;
    min-width: 280px;
}

.form-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.2rem;
}

.input-group-full {
    flex: 1;
    display: flex;
    align-items: center;
    background: white;
    border-radius: 48px;
    border: 1px solid #cbd5e1;
    padding: 0 1rem;
    transition: 0.2s;
}

.input-group-full i {
    color: #5b7a9a;
    margin-right: 8px;
}

.input-group-full input, .input-group-full textarea {
    width: 100%;
    border: none;
    padding: 0.9rem 0;
    outline: none;
    font-family: inherit;
    font-size: 0.95rem;
    background: transparent;
}

.input-group-full textarea {
    padding: 1rem 0;
    resize: vertical;
}

.contact-info-side {
    flex: 1;
    background: #f0f6fe;
    border-radius: 32px;
    padding: 2rem;
    min-width: 250px;
}

.social-links a {
    font-size: 1.6rem;
    margin-right: 1rem;
    color: #0a2b4e;
}

.footer {
    background: #0b1e2e;
    color: #cddfe7;
    padding: 2rem 5% 1rem;
    margin-top: 3rem;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col {
    flex: 1;
    min-width: 180px;
}

.footer-col i {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #87cefa;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #2c3e4e;
    padding-top: 1.5rem;
    font-size: 0.8rem;
}

.modal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.modal-content {
    background: white;
    border-radius: 28px;
    padding: 2rem;
    width: 90%;
    max-width: 400px;
    position: relative;
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 1.8rem;
    cursor: pointer;
}

.input-group {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 48px;
    margin: 1rem 0;
    padding: 0 1rem;
}

.input-group input {
    border: none;
    padding: 0.8rem;
    width: 100%;
    outline: none;
}

.btn-submit {
    background: #0a2b4e;
    color: white;
    border: none;
    width: 100%;
    padding: 0.8rem;
    border-radius: 48px;
    font-weight: bold;
    cursor: pointer;
}

.form-status {
    margin-top: 1rem;
    text-align: center;
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding: 0.7rem;
        gap: 0.8rem;
    }
    .main-content {
        margin-top: 140px;
    }
    .nav-links ul {
        gap: 1rem;
    }
    .hero {
        flex-direction: column;
        text-align: center;
    }
    .hero-text {
        text-align: center;
    }
    .hero-stats {
        justify-content: center;
    }
    .about-grid {
        flex-direction: column;
    }
    .contact-wrapper {
        flex-direction: column;
    }
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-col {
        text-align: center;
    }
    .footer-col i {
        display: block;
        margin: 0 auto 0.5rem;
    }
    .modal-content {
        width: 95%;
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .btn-login {
        padding: 0.4rem 1rem;
        font-size: 0.8rem;
    }
    .stat-card {
        padding: 1rem;
    }
    .service-card, .service-detailed-card, .testimonial-card {
        padding: 1.2rem;
    }
    .contact-form, .contact-info-side {
        padding: 1.2rem;
    }
}