/* ============================================
   NOSOTROS.CSS - Estilos para la página Nosotros
   ============================================ */

/* Variables */
:root {
    --primary-color: #70979e;
    --secondary-color: #72979f;
    --accent-color: #70979e;
    --text-color: #333;
    --text-light: #5a6c7d;
    --white: #ffffff;
    --light-bg: #f8f9fa;
}

/* General */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    overflow-x: hidden;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-nosotros {
    position: relative;
    height: 400px;
    margin-top: 90px;
    background: linear-gradient(135deg, #70979e 0%, #c3dadf 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-nosotros::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(114, 151, 159, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 107, 157, 0.1) 0%, transparent 50%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(147, 212, 216, 0.3) 0%, rgba(160, 180, 179, 0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    animation: fadeInUp 0.8s ease;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    color: #141a1a;
    letter-spacing: -2px;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 2rem;
    color: #cce3e8;
    font-weight: 800;
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.2);
}

/* ============================================
   QUIÉNES SOMOS SECTION
   ============================================ */
.quienes-somos {
    padding: 100px 0;
    background: white;
    position: relative;
    overflow: hidden;
}

.image-container {
    position: relative;
    animation: fadeInLeft 0.8s ease;
}

.main-image {
    width: 100%;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 2;
}

.decorative-circle {
    position: absolute;
    top: -30px;
    right: -30px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(114, 151, 159, 0.2) 0%, rgba(255, 107, 157, 0.2) 100%);
    z-index: 1;
    animation: float 6s ease-in-out infinite;
}

.content-box {
    padding-left: 3rem;
    animation: fadeInRight 0.8s ease;
}

.section-tag {
    display: inline-block;
    color: var(--accent-color);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 900;
    color: #396e70;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.section-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-light);
    font-weight: 400;
    text-align: justify;
}

/* ============================================
   MISIÓN Y VISIÓN SECTION
   ============================================ */
.mision-vision {
    padding: 100px 0;
    background: linear-gradient(135deg, #e8f4f5 0%, #f5f9fa 100%);
}

.mv-card {
    background: white;
    border-radius: 30px;
    padding: 50px 40px;
    height: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.5s ease;
    animation: fadeInUp 0.8s ease backwards;
    text-align: justify;
}

.mision-card {
    animation-delay: 0.1s;
}

.vision-card {
    animation-delay: 0.2s;
}

.mv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    transition: all 0.5s ease;
}

.mision-card::before {
    background: linear-gradient(90deg, #72979f 0%, #396e70 100%);
}

.vision-card::before {
    background: linear-gradient(90deg, #ff6b9d 0%, #ffa4c0 100%);
}

.mv-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.mv-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    transition: all 0.5s ease;
    border: 3px solid;
}

.mision-card .mv-icon {
    background: linear-gradient(135deg, rgba(114, 151, 159, 0.1) 0%, rgba(57, 110, 112, 0.15) 100%);
    border-color: #72979f;
}

.vision-card .mv-icon {
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.1) 0%, rgba(255, 164, 192, 0.15) 100%);
    border-color: #ff6b9d;
}

.mv-icon i {
    font-size: 2rem;
}

.mision-card .mv-icon i {
    color: #72979f;
}

.vision-card .mv-icon i {
    color: #ff6b9d;
}

.mv-card:hover .mv-icon {
    transform: scale(1.1) rotate(10deg);
}

.mision-card:hover .mv-icon {
    background: linear-gradient(135deg, #72979f 0%, #396e70 100%);
    border-color: #72979f;
}

.vision-card:hover .mv-icon {
    background: linear-gradient(135deg, #ff6b9d 0%, #ffa4c0 100%);
    border-color: #ff6b9d;
}

.mv-card:hover .mv-icon i {
    color: white;
}

.mv-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-align: center;
}

.mision-card .mv-title {
    color: #396e70;
}

.vision-card .mv-title {
    color: #ff6b9d;
}

.mv-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-light);
}

.decorative-dots {
    display: flex;
    gap: 10px;
    margin-top: 2rem;
    justify-content: center;
}

.decorative-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #72979f;
    animation: pulse 2s ease-in-out infinite;
}

.decorative-dots span:nth-child(2) {
    animation-delay: 0.3s;
}

.decorative-dots span:nth-child(3) {
    animation-delay: 0.6s;
}

/* ============================================
   VALORES SECTION
   ============================================ */
.valores-section {
    padding: 100px 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
    animation: fadeInDown 0.8s ease;
}

.valores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
}

.valor-card {
    background: white;
    border-radius: 25px;
    padding: 40px 30px;
    text-align: center;
    border: 2px solid #e8f4f5;
    transition: all 0.5s ease;
    animation: fadeInUp 0.8s ease backwards;
    position: relative;
    overflow: hidden;
}

.valor-card:nth-child(1) { animation-delay: 0.1s; }
.valor-card:nth-child(2) { animation-delay: 0.2s; }
.valor-card:nth-child(3) { animation-delay: 0.3s; }
.valor-card:nth-child(4) { animation-delay: 0.4s; }
.valor-card:nth-child(5) { animation-delay: 0.5s; }
.valor-card:nth-child(6) { animation-delay: 0.6s; }

.valor-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(114, 151, 159, 0.05) 0%, rgba(255, 107, 157, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.valor-card:hover::before {
    opacity: 1;
}

.valor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    border-color: #72979f;
}

.valor-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #72979f 0%, #396e70 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.5s ease;
}

.valor-icon i {
    font-size: 1.8rem;
    color: white;
}

.valor-card:hover .valor-icon {
    transform: scale(1.1) rotate(360deg);
    background: linear-gradient(135deg, #ff6b9d 0%, #ffa4c0 100%);
}

.valor-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #396e70;
    margin-bottom: 1rem;
}

.valor-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-light);
}

/* ============================================
   CONTACTANOS SECTION
   ============================================ */
.contactanos-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f0f8f9 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.contacto-content {
    animation: fadeInLeft 0.8s ease;
}

.contact-info {
    margin: 3rem 0;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 2rem;
    padding: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.info-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(114, 151, 159, 0.15);
}

.info-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #72979f 0%, #396e70 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon i {
    font-size: 1.2rem;
    color: white;
}

.info-content h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #396e70;
    margin-bottom: 0.5rem;
}

.info-content p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin: 0;
}

.btn-contacto {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    background: linear-gradient(135deg, #25d366 0%, #20b358 100%);
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
    transition: all 0.4s ease;
    border: 3px solid transparent;
}

.btn-contacto:hover {
    background: linear-gradient(135deg, #20b358 0%, #25d366 100%);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.4);
}

.btn-contacto i {
    font-size: 1.5rem;
}

.contacto-image {
    position: relative;
    animation: fadeInRight 0.8s ease;
}

.contacto-image img {
    width: 100%;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
}

.shape-1 {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(114, 151, 159, 0.3) 0%, rgba(57, 110, 112, 0.3) 100%);
    top: -20px;
    left: -20px;
    animation: float 6s ease-in-out infinite;
}

.shape-2 {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.3) 0%, rgba(255, 164, 192, 0.3) 100%);
    bottom: 50px;
    right: -10px;
    animation: float 6s ease-in-out infinite 2s;
}

.shape-3 {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(95, 114, 189, 0.3) 0%, rgba(153, 33, 232, 0.3) 100%);
    top: 50%;
    left: -15px;
    animation: float 6s ease-in-out infinite 4s;
}

/* ============================================
   ANIMACIONES
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }
}

/* ============================================
   FOOTER
   ============================================ */
.footer-creative {
    background: linear-gradient(135deg, #587378, #70979e);
    color: #ffffff;
    font-family: 'Poppins', 'Segoe UI', sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    padding: 45px 30px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 35px;
}

.footer-brand img {
    width: 120px;
}

.brand-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.footer-brand h2 {
    font-size: 1.35rem;
}

.brand-text {
    opacity: 0.9;
    line-height: 1.5;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.footer-social .social {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.35s ease;
}

.social.facebook:hover {
    background: #1877f2;
    box-shadow: 0 8px 20px rgba(24, 119, 242, 0.5);
    transform: translateY(-4px);
}

.social.instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    box-shadow: 0 8px 20px rgba(228, 64, 95, 0.5);
    transform: translateY(-4px);
}

.social.tiktok:hover {
    background: #000;
    color: #25f4ee;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    transform: translateY(-4px);
}

.social.linkedin:hover {
    background: #0a66c2;
    box-shadow: 0 8px 20px rgba(10, 102, 194, 0.5);
    transform: translateY(-4px);
}

.footer-email {
    color: #ffffff;
}

.footer-email a {
    color: #ffffff;
    text-decoration: none;
    opacity: 0.9;
}

.footer-email a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-nav h4,
.footer-hours h4,
.footer-payments h4 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-nav a {
    display: block;
    color: #ffffff;
    opacity: 0.85;
    text-decoration: none;
    margin-bottom: 12px;
}

.footer-nav a:hover {
    opacity: 1;
    text-decoration: underline;
}

.hour-item {
    margin-bottom: 15px;
}

.hour-item span {
    display: block;
    opacity: 0.8;
}

.hour-item strong {
    font-weight: 600;
}

.payment-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.payment-grid img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    background: #ffffff;
    padding: 10px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    margin: 0 auto;
}

.payment-grid img:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

.footer-bottom {
    text-align: center;
    padding: 5px;
    background: rgba(0, 0, 0, 0.15);
    font-size: 0.9rem;
}

/* ============================================
   MODAL
   ============================================ */
/* MODAL */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: linear-gradient(135deg, #70979e 0%, #ffebf3 100%);
    border-radius: 22px;
    max-width: 420px;
    width: 92%;
    padding: 28px 24px;
    position: relative;
    animation: slideIn 0.35s ease;
    box-shadow: 0 18px 40px rgba(0,0,0,0.25);
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(0, 136, 204, 0.15);
    color: #0088cc;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.modal-close:hover {
    background: #0088cc;
    color: #ffffff;
    transform: rotate(90deg) scale(1.05);
}

.modal-title {
    color: #3a4c4e;
    font-size: 1.45rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 6px;
}

.modal-subtitle {
    text-align: center;
    color: #444;
    margin-bottom: 18px;
    font-size: 0.85rem;
    line-height: 1.5;
}

.banco-logo {
    background: #ffffff;
    padding: 14px;
    border-radius: 16px;
    text-align: center;
    margin-bottom: 18px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.banco-logo img {
    max-width: 110px;
}

.cuenta-label {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
    text-align: center;
}

.cuenta-numero {
    font-size: 1.8rem;
    font-weight: 900;
    color: #70979e;
    letter-spacing: 1px;
    text-align: center;
}

#cuentasContainer {
    background: #ffffff;
    padding: 20px;
    border-radius: 16px;
    margin-bottom: 18px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

 .titular-info {
    background: linear-gradient(135deg, #70979e, #92adb2);
    color: white;
     padding: 14px 28px; 
    border-radius: 15px;
    text-align: center;
    margin-bottom: 20px;

   display: inline-flex; 
    align-items: center;
    justify-content: center;

    gap: 1px;                 /* 👈 CLAVE */
    white-space: nowrap;
}


        .titular-info i {
            font-size: 1.2rem;
            /*margin-left: 15px;*/
            margin-right: 6px; 
           
        }

        .titular-nombre {
            font-size: 1.2rem;
            font-weight: 700;
        }


.modal-footer-text {
    text-align: center;
    font-style: italic;
    color: #666;
    font-size: 0.78rem;
    line-height: 1.5;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 991px) {
    .hero-title {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .content-box {
        padding-left: 0;
        margin-top: 2rem;
    }

    .valores-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }
}



@media (max-width: 768px) {
    .hero-nosotros {
        height: 300px;
        margin-top: 70px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .quienes-somos,
    .mision-vision,
    .valores-section,
    .contactanos-section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-text {
        font-size: 0.9rem;
    }
    .mv-text {
    font-size: 0.9rem;
    }

    .mv-card {
        padding: 40px 30px;
        margin-bottom: 1.5rem;
    }

    .valores-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .btn-contacto {
        font-size: 0.1rem;
        padding: 15px 30px;
        font-size: 1rem;
    }
      .qr-container {
        margin: 20px 0;
        padding: 15px;
    }
    
    .qr-image {
        max-width: 200px;
    }
    
    .qr-texto {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .btn-contacto {
        margin-bottom: 20px;
        font: 0.9rem;
        padding: 10px 30px;
        font-size: 1rem;
    }
    
.shape-1 {
    width: 50px;
    height: 50px;
   
}

.shape-2 {
    width: 30px;
    height: 30px;
}

.shape-3 {
    width: 15px;
    height: 15px;
}
 
    
   /* Modal */
    .modal-content {
        width: 95%;
        padding: 25px 20px;
    }
    
    .modal-title {
        font-size: 1.3rem;
    }
    
    .modal-subtitle {
        font-size: 0.8rem;
    }
    
    .banco-logo img {
        max-width: 90px;
    }
    
    .cuenta-label {
        font-size: 1.1rem;
    }
    
    .cuenta-numero {
        font-size: 1.3rem;
    }
    
    .titular-info {
        padding: 18px;
    }
    
    .titular-info i {
        font-size: 1rem;
    }
    
    .titular-nombre {
        font-size: 0.9rem;
    }
}
 /* Estilos para el contenedor del QR */
.qr-container {
    text-align: center;
    margin: 10px 0;
    padding: 10px;
    background: linear-gradient(135deg, #70979e 0%, #ffebf3 100%);
    border-radius: 18px;
}

.qr-image {
    max-width: 280px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    display: block;
    margin: 0 auto;
    
}


.qr-texto {
    margin-top: 12px;
    font-size: 0.9rem;
    color: #333;
    font-weight: 500;
}

/* Asegurar que el logo del banco esté centrado */
.banco-logo {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
    background: white;
    padding: 20px;
    border-radius: 15px;
}

.banco-logo img {
    max-width: 110px;
    display: block;
    margin: 0 auto;
}

.cuenta-label {
    font-size: 1rem;
    color: #666;
    margin-bottom: 8px;
}

.cuenta-numero {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2c3e50;
    letter-spacing: 1px;
}
