* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #2c2420;
    line-height: 1.6;
    background-color: #faf7f0;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 25px;
}

/* ==================== HEADER ==================== */
.header {
    background: #e5d94f;
    border-top: 6px solid #2c2420;
}

.header .container {
    padding: 10px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.top-bar {
    background: #2c2420;
    color: #d4c9b8;
    padding: 10px 0;
    font-size: 13px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0 25px;
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.contact-info i, .social-links a {
    margin-right: 8px;
    color: #e5d94f;
}

.social-links a {
    margin-left: 15px;
    color: #d4c9b8;
    transition: color 0.3s;
    text-decoration: none;
}

.social-links a:hover {
    color: #e5d94f;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 260px;
}

.logo {
    width: 120px;
    height: 120px;
    min-width: 120px;
    border-radius: 50%;
    overflow: hidden;
    background: transparent;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.text h1 {
    font-size: 30px;
    color: #2c2420;
    font-weight: 700;
    line-height: 1.3;
}

.text p {
    font-size: 14px;
    color: #2c2420;
    font-weight: 500;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    text-decoration: none;
    color: #2c2420;
    font-weight: 600;
    position: relative;
    padding-bottom: 5px;
    transition: all 0.3s;
}

.nav a.active,
.nav a:hover {
    color: white;
}

.nav a.active::after,
.nav a:hover::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 3px;
    background: white;
    border-radius: 2px;
}

.menu-toggle {
    display: none;
    font-size: 30px;
    cursor: pointer;
    color: #2c2420;
    background: none;
    border: none;
    padding: 8px;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background: #e5d94f;
    padding: 30px 25px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    transition: right 0.4s ease;
    z-index: 1000;
    box-shadow: -5px 0 30px rgba(0,0,0,0.3);
    overflow-y: auto;
}

.mobile-menu.show {
    right: 0;
}

.mobile-menu a {
    text-decoration: none;
    color: #2c2420;
    font-size: 18px;
    font-weight: 600;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0,0,0,0.15);
    transition: all 0.3s;
}

.mobile-menu a.active,
.mobile-menu a:hover {
    color: white;
    border-bottom: 2px solid white;
    padding-left: 10px;
}

.close-btn {
    align-self: flex-end;
    font-size: 32px;
    cursor: pointer;
    color: #2c2420;
    background: none;
    border: none;
    padding: 5px;
    margin-bottom: 20px;
    transition: all 0.3s;
}

.close-btn:hover {
    color: white;
    transform: scale(1.1);
}

/* ==================== TÍTULO DE PÁGINA ==================== */
.page-title {
    padding: 60px 0 40px;
    background: #faf7f0;
    text-align: center;
}

.page-title h1 {
    font-size: 2.5rem;
    color: #2c2420;
    margin-bottom: 15px;
}

.title-line {
    width: 80px;
    height: 3px;
    background: #e5d94f;
    margin: 0 auto 20px;
}

.page-title p {
    color: #6b5a48;
    max-width: 600px;
    margin: 0 auto;
    font-style: italic;
}

/* ==================== QUIÉNES SOMOS ==================== */
.quienes-somos {
    padding: 60px 0;
    background: #faf7f0;
}

.quienes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.section-tag {
    display: inline-block;
    background: #e5d94f20;
    color: #e5d94f;
    padding: 5px 16px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.quienes-texto h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #2c2420;
}

.quienes-texto .highlight {
    color: #e5d94f;
}

.line {
    width: 60px;
    height: 3px;
    background: #e5d94f;
    margin-bottom: 25px;
}

.quienes-texto p {
    color: #5a4a3a;
    margin-bottom: 20px;
    line-height: 1.7;
    text-align: justify;
}

.quienes-imagen {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 35px rgba(0,0,0,0.1);
}

.quienes-imagen img {
    width: 100%;
    height: auto;
    display: block;
}

.fe-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: linear-gradient(135deg, #e5d94f, #d4c42a);
    padding: 10px 20px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #2c2420;
    font-weight: 600;
    font-size: 0.8rem;
}

.fe-badge i {
    font-size: 1rem;
}

/* ==================== MISIÓN RELIGIOSA ==================== */
.mision-religiosa {
    padding: 60px 0;
    background: linear-gradient(135deg, #2c2420 0%, #3d322c 100%);
}

.mision-box {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    color: white;
}

.mision-box i {
    font-size: 3rem;
    color: #e5d94f;
    margin-bottom: 20px;
}

.mision-box h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.mision-box p {
    font-size: 1.3rem;
    font-style: italic;
    line-height: 1.5;
    margin-bottom: 20px;
}

.mision-autor {
    font-size: 0.9rem;
    opacity: 0.8;
    display: block;
}

/* ==================== DÓNDE ESTAMOS ==================== */
.donde-estamos {
    padding: 60px 0;
    background: #f0ebe0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2rem;
    color: #2c2420;
}

.section-header .highlight {
    color: #e5d94f;
}

.section-header .line {
    margin: 15px auto;
}

.section-header p {
    color: #6b5a48;
    max-width: 600px;
    margin: 0 auto;
}

.paises-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 25px;
}

.pais-card {
    background: #faf7f0;
    padding: 30px 15px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s;
}

.pais-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.pais-card i {
    font-size: 2rem;
    color: #e5d94f;
    margin-bottom: 15px;
}

.pais-card h3 {
    font-size: 1rem;
    margin-bottom: 10px;
    color: #2c2420;
}

.pais-card p {
    font-size: 0.8rem;
    color: #6b5a48;
}

/* ==================== CARISMA Y ESPIRITUALIDAD ==================== */
.carisma {
    padding: 60px 0;
    background: #faf7f0;
}

.carisma-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.carisma-contenido h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #2c2420;
}

.carisma-contenido .highlight {
    color: #e5d94f;
}

.carisma-contenido p {
    color: #5a4a3a;
    margin-bottom: 20px;
    line-height: 1.7;
    text-align: justify;
}

.valores-espirituales {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 25px;
}

.valores-espirituales div {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: #2c2420;
}

.valores-espirituales i {
    color: #e5d94f;
    font-size: 1.1rem;
}

.carisma-imagen img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 35px rgba(0,0,0,0.1);
}

/* ==================== DIOS ES AMOR ==================== */
.dios-amor {
    padding: 60px 0;
    background: linear-gradient(135deg, #e5d94f 0%, #d4c42a 100%);
}

.amor-box {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    color: #2c2420;
}

.amor-box i {
    font-size: 3rem;
    margin-bottom: 20px;
}

.amor-box h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.amor-box p {
    font-size: 1.4rem;
    font-style: italic;
    margin-bottom: 15px;
}

.amor-box span {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ==================== CONTACTO CONGREGACIÓN ==================== */
.contacto-congregacion {
    padding: 60px 0;
    background: #f0ebe0;
}

.contacto-congregacion-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.contacto-card {
    background: #faf7f0;
    padding: 35px 25px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s;
}

.contacto-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.contacto-card i {
    font-size: 2.5rem;
    color: #e5d94f;
    margin-bottom: 20px;
}

.contacto-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #2c2420;
}

.contacto-card p {
    color: #6b5a48;
    line-height: 1.6;
}

/* ==================== VOCACIÓN ==================== */
.vocacion {
    padding: 0 0 60px;
    background: #faf7f0;
}

.vocacion-box {
    background: linear-gradient(135deg, #2c2420 0%, #3d322c 100%);
    border-radius: 30px;
    padding: 50px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 60px;
}

.vocacion-box h3 {
    color: #e5d94f;
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.vocacion-box p {
    color: #d4c9b8;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #e5d94f;
    color: #2c2420;
    padding: 12px 30px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
}

.btn:hover {
    background: white;
    color: #2c2420;
    transform: translateY(-3px);
}

/* ==================== FOOTER REDISEÑADO ==================== */
.footer {
    background: #1a1512;
    position: relative;
    padding: 70px 0 30px;
    border-top: 1px solid rgba(229, 217, 79, 0.15);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #e5d94f, #c4b82a, #e5d94f);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1.2fr 0.8fr;
    gap: 40px;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.footer-col {
    color: #cbc3b0;
}

.footer-col:first-child {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo-img {
    width: 65px;
    height: 65px;
    min-width: 65px;
    border-radius: 50%;
    object-fit: cover;
    background: transparent;
    transition: transform 0.3s, box-shadow 0.3s;
}

.footer-logo-img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(229, 217, 79, 0.3);
}

.footer-logo-text h3 {
    color: #e5d94f;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 3px;
}

.footer-logo-text p {
    font-size: 0.7rem;
    color: #9e8e7a;
    letter-spacing: 0.5px;
}

.footer-description {
    font-size: 0.85rem;
    line-height: 1.6;
    color: #cbc3b0;
    margin-bottom: 20px;
}

.footer-badge {
    display: inline-block;
    background: rgba(229, 217, 79, 0.12);
    padding: 6px 14px;
    border-radius: 40px;
    font-size: 0.7rem;
    font-weight: 500;
    color: #e5d94f;
    border: 1px solid rgba(229, 217, 79, 0.25);
}

.footer-col h4 {
    color: #e5d94f;
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
    letter-spacing: 1px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #e5d94f, transparent);
    border-radius: 3px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #cbc3b0;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.25s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a i {
    font-size: 0.7rem;
    color: #e5d94f;
    opacity: 0.6;
    transition: all 0.25s;
}

.footer-links a:hover {
    color: #e5d94f;
    transform: translateX(5px);
}

.footer-links a:hover i {
    opacity: 1;
    transform: translateX(3px);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
    font-size: 0.85rem;
    color: #cbc3b0;
    transition: transform 0.25s;
}

.contact-item:hover {
    transform: translateX(5px);
}

.contact-item i {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(229, 217, 79, 0.08);
    border-radius: 50%;
    color: #e5d94f;
    font-size: 0.85rem;
    transition: all 0.3s;
}

.contact-item:hover i {
    background: #e5d94f;
    color: #1a1512;
    transform: scale(1.05);
}

.contact-item span {
    flex: 1;
    line-height: 1.5;
}

.social-footer {
    display: flex;
    gap: 14px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.social-footer a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    color: #cbc3b0;
    transition: all 0.3s;
    font-size: 1rem;
    text-decoration: none;
    border: 1px solid rgba(229, 217, 79, 0.2);
}

.social-footer a:hover {
    background: #e5d94f;
    color: #1a1512;
    transform: translateY(-5px);
    border-color: #e5d94f;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(229, 217, 79, 0.12);
    font-size: 0.75rem;
    color: #8a7a68;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    position: relative;
    z-index: 2;
}

.heart {
    color: #e5d94f;
    font-size: 0.7rem;
}

/* ==================== SCROLL TOP BUTTON ==================== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #e5d94f;
    color: #2c2420;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s;
    opacity: 0;
    visibility: hidden;
    z-index: 99;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: #2c2420;
    color: #e5d94f;
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1000px) {
    .nav {
        display: none;
    }
    .menu-toggle {
        display: block;
    }
    .logo {
        width: 80px;
        height: 80px;
        min-width: 80px;
    }
    .text h1 {
        font-size: 16px;
    }
    .text p {
        font-size: 12px;
    }
}

@media (max-width: 1024px) {
    .paises-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .contacto-congregacion-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .quienes-grid, .carisma-grid {
        gap: 40px;
    }
}

@media (max-width: 1100px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .top-bar .container {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    .contact-info {
        justify-content: center;
    }
    .quienes-grid, .carisma-grid {
        grid-template-columns: 1fr;
    }
    .paises-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .contacto-congregacion-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .quienes-somos, .mision-religiosa, .donde-estamos, 
    .carisma, .dios-amor, .contacto-congregacion {
        padding: 50px 0;
    }
    .page-title h1 {
        font-size: 2rem;
    }
    .quienes-texto h2, .carisma-contenido h2, .section-header h2 {
        font-size: 1.8rem;
    }
    .mision-box p {
        font-size: 1.1rem;
    }
    .amor-box p {
        font-size: 1.2rem;
    }
    .vocacion-box {
        flex-direction: column;
        text-align: center;
        padding: 35px 25px;
        margin-top: 40px;
    }
    .valores-espirituales {
        grid-template-columns: 1fr;
    }
    .fe-badge {
        bottom: 10px;
        left: 10px;
        padding: 6px 12px;
        font-size: 0.7rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .footer-col:first-child {
        align-items: center;
        text-align: center;
    }
    .footer-logo {
        justify-content: center;
    }
    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .footer-col h4 {
        display: block;
        text-align: center;
    }
    .footer-links li {
        text-align: center;
    }
    .footer-links a {
        justify-content: center;
    }
    .contact-item {
        justify-content: center;
    }
    .social-footer {
        justify-content: center;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .logo {
        width: 65px;
        height: 65px;
        min-width: 65px;
    }
    .text h1 {
        font-size: 13px;
    }
    .text p {
        font-size: 10px;
    }
    .contact-info span {
        display: block;
        margin: 5px 0;
    }
    .page-title h1 {
        font-size: 1.5rem;
    }
    .page-title {
        padding: 40px 0 30px;
    }
    .quienes-texto h2, .carisma-contenido h2, .section-header h2 {
        font-size: 1.5rem;
    }
    .mision-box h3 {
        font-size: 1.5rem;
    }
    .mision-box p {
        font-size: 1rem;
    }
    .amor-box h2 {
        font-size: 1.5rem;
    }
    .amor-box p {
        font-size: 1rem;
    }
    .paises-grid {
        grid-template-columns: 1fr;
    }
    .pais-card, .contacto-card {
        padding: 25px 15px;
    }
    .vocacion-box {
        padding: 25px 20px;
    }
    .vocacion-box h3 {
        font-size: 1.2rem;
    }
    .btn {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
    .fe-badge {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: 15px;
        display: inline-flex;
        justify-content: center;
    }
    .quienes-imagen {
        display: flex;
        flex-direction: column;
    }
    .footer-logo-img {
        width: 50px;
        height: 50px;
    }
    .footer-logo-text h3 {
        font-size: 0.85rem;
    }
}