* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f5f7fa;
    color: #333;
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.page {
    min-height: 100vh;
    width: 100vw;
    display: flex;
    padding: 0;
    margin: 0;
    background: #f5f7fa;
}

.container-wrapper {
    width: 100%;
    min-height: 100vh;
}

.content-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
    padding-top: 100px;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 1rem 5%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(13, 71, 161, 0.1);
    transition: all 0.3s ease;
}

.nav {
    display: flex;
    gap: 2rem;
    align-items: center;
    width: 100%;
}

.nav a {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav a.active {
    color: #0D47A1;
    font-weight: 600;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #0D47A1;
    transition: width 0.3s ease;
}

.nav a:hover::after {
    width: 100%;
}

.nav a:hover {
    color: #0D47A1;
}

.logo {
    font-weight: bold;
    color: #0D47A1;
    margin-left: auto;
    margin-right: 1rem;
}

.logo-img {
    height: 45px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover .logo-img {
    transform: scale(1.05);
}

.btn-contact {
    background: #0D47A1;
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.9rem;
    white-space: nowrap;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(13, 71, 161, 0.2);
}

.btn-contact:hover {
    background: #083c8a;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(13, 71, 161, 0.3);
}

/* Title and Image Section */
.title-image-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    padding: 60px 0;
    animation: fadeInUp 0.8s ease;
}

.title-image-section.reverse {
    margin-top: 40px;
}

.title-column {
    text-align: right;
    animation: fadeInUp 0.8s ease;
}

.main-title {
    font-size: 3.5rem;
    color: #0D47A1;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.2;
}

.hrstyle {
    width: 250px;
    margin-left: auto;
    margin-right: 0;
    border: none;
    height: 4px;
    background: linear-gradient(90deg, transparent, #0D47A1);
    border-radius: 2px;
}

.feature-card {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(13, 71, 161, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    animation: scaleIn 0.6s ease 0.2s backwards;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(13, 71, 161, 0.15);
    border-color: #0D47A1;
}

.benefit-text {
    color: #546e7a;
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: justify;
}

.image-column {
    display: flex;
    justify-content: center;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.image-column img {
    max-width: 100%;
    width: 500px;
    height: auto;
    border-radius: 20px;
    transition: all 0.5s ease;
    box-shadow: 0 15px 40px rgba(13, 71, 161, 0.15);
}

.image-column img:hover {
    transform: scale(1.03);
    box-shadow: 0 20px 50px rgba(13, 71, 161, 0.25);
}

/* Tagline */
.tagline {
    background: white;
    padding: 2.5rem 3rem;
    border-radius: 16px;
    text-align: center;
    margin: 60px 0;
    color: #0D47A1;
    font-weight: 600;
    font-size: 1.4rem;
    box-shadow: 0 8px 24px rgba(13, 71, 161, 0.1);
    border-left: 5px solid #0D47A1;
    animation: fadeIn 0.8s ease;
}

/* Values Section */
.values-section {
    margin: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #0D47A1;
    margin-bottom: 50px;
    font-weight: 700;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
}

.value-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    box-shadow: 0 8px 24px rgba(13, 71, 161, 0.08);
    animation: scaleIn 0.6s ease backwards;
}

.value-card:nth-child(1) { animation-delay: 0.1s; }
.value-card:nth-child(2) { animation-delay: 0.2s; }
.value-card:nth-child(3) { animation-delay: 0.3s; }
.value-card:nth-child(4) { animation-delay: 0.4s; }

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 16px 48px rgba(13, 71, 161, 0.15);
    border-color: #0D47A1;
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0D47A1 0%, #1976D2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.3s ease;
}

.value-card:hover .value-icon {
    transform: scale(1.1) rotate(360deg);
}

.value-icon i {
    font-size: 2.5rem;
    color: white;
}

.value-card h3 {
    color: #0D47A1;
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.value-card p {
    color: #546e7a;
    font-size: 1rem;
    line-height: 1.6;
}

/* Footer */
.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 0;
    margin-top: 80px;
    border-top: 2px solid rgba(13, 71, 161, 0.1);
    font-size: 0.95rem;
    color: #546e7a;
    font-weight: 500;
}

.footer div {
    transition: all 0.3s ease;
}

.footer div:hover {
    color: #0D47A1;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .title-image-section {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .title-column {
        text-align: center;
    }

    .main-title {
        font-size: 2.8rem;
    }

    .hrstyle {
        margin: 0 auto;
    }

    .image-column img {
        max-width: 80%;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 1rem 3%;
    }

    .nav {
        gap: 1rem;
        font-size: 0.85rem;
    }

    .btn-contact {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .logo-img {
        height: 35px;
    }

    .content-container {
        padding: 0 5%;
        padding-top: 90px;
    }

    .title-image-section {
        padding: 40px 0;
        gap: 30px;
    }

    .main-title {
        font-size: 2.2rem;
    }

    .feature-card {
        padding: 30px;
    }

    .benefit-text {
        font-size: 1rem;
    }

    .tagline {
        font-size: 1.1rem;
        padding: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .value-card {
        padding: 35px 25px;
    }

    .footer {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .nav {
        gap: 0.5rem;
        font-size: 0.75rem;
        flex-wrap: wrap;
    }

    .logo-img {
        height: 30px;
    }

    .btn-contact {
        padding: 0.4rem 0.8rem;
        font-size: 0.7rem;
    }

    .content-container {
        padding: 0 4%;
        padding-top: 80px;
    }

    .title-image-section {
        padding: 30px 0;
    }

    .main-title {
        font-size: 1.8rem;
    }

    .feature-card {
        padding: 25px;
    }

    .benefit-text {
        font-size: 0.95rem;
    }

    .tagline {
        font-size: 0.95rem;
        padding: 1.5rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .value-icon {
        width: 70px;
        height: 70px;
    }

    .value-icon i {
        font-size: 2rem;
    }

    .value-card h3 {
        font-size: 1.2rem;
    }

    .value-card p {
        font-size: 0.9rem;
    }
}