/* Page Layout */
.nosotros-page {
    background-color: var(--background);
    min-height: 100vh;
}

.pt-32 {
    padding-top: 8rem;
}

.pb-16 {
    padding-bottom: 4rem;
}

.page-title {
    font-size: 2rem;
    color: var(--foreground);
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    line-height: 1.6;
}

.text-center {
    text-align: center;
}

.max-w-2xl {
    max-width: 42rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mb-12 {
    margin-bottom: 3rem;
}

.mb-16 {
    margin-bottom: 4rem;
}

.mb-20 {
    margin-bottom: 5rem;
}

.mt-6 {
    margin-top: 1.5rem;
}

.text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
}

@media (min-width: 640px) {
    .text-3xl {
        font-size: 2.25rem;
        line-height: 2.5rem;
    }
}

.font-bold {
    font-weight: 700;
}

.leading-relaxed {
    line-height: 1.625;
}

/* Main Content Grid */
.nosotros-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
     margin-bottom: 6rem; /* 👈 AGREGA ESTO */
}

@media (min-width: 1024px) {
    .nosotros-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.nosotros-img-container {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.nosotros-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nosotros-text-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.nosotros-subtitle {
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.nosotros-desc {
    font-size: 1.125rem;
    color: rgba(44, 62, 80, 0.7);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    display: inline-table;
    width: fit-content;
}

/* Valores */
.valores-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 640px) {
    .valores-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .valores-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.valor-card {
    background-color: var(--card);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
}

.valor-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.valor-icon-wrapper {
    width: 4rem;
    height: 4rem;
    background-color: rgba(255, 107, 107, 0.1);
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.valor-icon-wrapper svg {
    color: var(--primary);
}

.valor-titulo {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.valor-desc {
    color: var(--muted-foreground);
    line-height: 1.5;
}

/* CTA */
.cta-section {
    background: linear-gradient(to bottom right, rgba(255, 107, 107, 0.1), rgba(255, 107, 107, 0.05));
    border-radius: 1rem;
    padding: 3rem;
    text-align: center;
}

/* Animations */
.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}