/* Reset y Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Paleta AZUL ELEGANTE - Colores específicos del cliente */
    --primary-blue: #0f1223;            /* Azul principal */
    --blue-dark: #0b111f;               /* Azul secundario oscuro */
    --blue-medium: #23435c;             /* Azul secundario medio */
    --blue-light: #2d4f6a;              /* Azul claro para hover */
    --blue-lighter: #375b78;            /* Azul más claro para elementos sutiles */
    --blue-muted: #416786;              /* Azul apagado para variaciones */
    
    /* Escala monocromática - Negro, gris, blanco */
    --black-pure: #000000;              /* Negro puro */
    --black-soft: #1a1a1a;              /* Negro suave */
    --gray-dark: #2d2d2d;               /* Gris oscuro */
    --gray-medium: #4a4a4a;             /* Gris medio */
    --gray-light: #6b6b6b;              /* Gris claro */
    --gray-lighter: #9a9a9a;            /* Gris muy claro */
    --gray-subtle: #d1d1d1;             /* Gris sutil */
    --gray-background: #f5f5f5;         /* Gris para fondos */
    --white-pure: #ffffff;              /* Blanco puro */
    --white-off: #fafafa;               /* Blanco roto */
    
    /* Beige (mantenido para contacto e historia) */
    --beige-warm: #f5f0e8;              /* Beige cálido para contacto */
    --beige-medium: #ede4d3;            /* Beige medio */
    --beige-light: #f8f3eb;             /* Beige claro */
    
    /* Variables de aplicación */
    --dominant-bg: var(--primary-blue);         /* Fondo principal */
    --secondary-bg: var(--blue-dark);           /* Fondo secundario */
    --card-bg: var(--blue-medium);              /* Cards azul medio */
    --text-on-blue: var(--white-pure);          /* Texto sobre azul */
    --text-primary: var(--white-pure);          /* Texto principal - blanco para mejor contraste */
    --text-secondary: var(--gray-background);   /* Texto secundario - gris claro */
    --text-light: var(--gray-lighter);          /* Texto claro */
    --accent-beige: var(--beige-warm);          /* Acento beige */
    
    /* Sombras refinadas con azul elegante */
    --shadow-blue: 0 8px 24px rgba(15, 18, 35, 0.15);
    --shadow-blue-light: 0 4px 12px rgba(15, 18, 35, 0.08);
    --shadow-blue-heavy: 0 16px 32px rgba(15, 18, 35, 0.20);
    --shadow-soft: 0 4px 12px rgba(0, 0, 0, 0.05);
    
    /* Gradientes suaves con azul elegante */
    --gradient-blue: linear-gradient(135deg, var(--blue-dark), var(--primary-blue));
    --gradient-blue-light: linear-gradient(135deg, var(--primary-blue), var(--blue-medium));
    --gradient-subtle: linear-gradient(135deg, var(--gray-background), var(--white-pure));
    
    --border-radius: 12px;
    --transition: all 0.3s ease;
    
    /* Tipografía */
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Libre Bodoni', serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-primary);
    overflow-x: hidden;
    background-color: var(--primary-blue);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Tipografía */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

/* Utilidades */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary {
    background: var(--white-pure);
    color: var(--primary-blue);
    border-color: var(--white-pure);
    box-shadow: var(--shadow-blue-light);
    font-weight: 600;
}

.btn-primary:hover {
    background: var(--gray-background);
    transform: translateY(-3px);
    box-shadow: var(--shadow-blue-heavy);
    color: var(--primary-blue);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: var(--text-on-blue);
    border-color: var(--text-on-blue);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--text-on-blue);
    color: var(--blue-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-blue);
}

/* Header y Navegación */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--dominant-bg);
    backdrop-filter: blur(15px);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 3px solid var(--gray-subtle);
    box-shadow: var(--shadow-blue);
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 900px; /* Reducido aún más */
    margin: 0 auto;
    padding: 0 20px;
}

.logo-link {
    text-decoration: none;
    transition: var(--transition);
}

.logo-link:hover {
    transform: scale(1.05);
}

.logo h1 {
    font-size: 1.8rem;
    color: var(--white-pure);
    margin: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-on-blue);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 8px 16px;
    border-radius: 6px;
}

.nav-link:hover {
    color: var(--gray-background);
    background: rgba(255, 255, 255, 0.1);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 16px;
    width: 0;
    height: 2px;
    background: var(--white-pure);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: calc(100% - 32px);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-blue);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}



.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3rem;
    color: var(--text-on-blue);
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out;
    text-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 2rem;
    color: var(--gray-background);
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out 0.2s both;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.hero-description {
    font-size: 1rem;
    color: var(--white-off);
    margin-bottom: 2rem;
    line-height: 1.7;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-image {
    position: relative;
    height: 500px;
    animation: fadeInRight 1s ease-out 0.8s both;
}

.hero-bg-shape {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        rgba(255, 255, 255, 0.05) 50%, 
        rgba(255, 255, 255, 0.1) 100%);
    border-radius: 50% 20% 50% 20%;
    position: relative;
    animation: float 6s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(2px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Logo en versión desktop */
.hero-bg-shape::after {
    content: "";
    width: 223px; /* Reducido 10% de 248px */
    height: 223px; /* Reducido 10% de 248px */
    background-image: url('assets/logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    background-color: transparent;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2)) brightness(1.1) contrast(1.2) saturate(0.9);
    mix-blend-mode: multiply;
}



/* Secciones */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Servicios */
.services {
    background: var(--blue-medium);
    color: var(--text-on-blue);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--blue-dark), var(--blue-medium));
    z-index: -1;
}

.services-accordion {
    max-width: 900px;
    margin: 0 auto;
}

.service-category-accordion {
    background: var(--blue-dark);
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-blue);
    overflow: hidden;
    transition: var(--transition);
    border: 2px solid var(--blue-medium);
}

.service-category-accordion:hover {
    box-shadow: var(--shadow);
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.category-header:hover {
    background: rgba(255, 255, 255, 0.05);
}

.category-header.active {
    border-bottom-color: var(--border-color);
}

.category-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.category-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.category-text h3 {
    font-size: 1.5rem;
    color: var(--white-pure);
    margin: 0 0 0.5rem 0;
    font-family: var(--font-heading);
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.category-text p {
    color: var(--white-off);
    margin: 0;
    font-size: 0.95rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.category-toggle {
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: var(--transition);
}

.category-toggle.rotated {
    transform: rotate(180deg);
}

.category-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.category-content.active {
    max-height: 500px;
    transition: max-height 0.4s ease-in;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    padding: 2rem;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem;
    background: var(--blue-lighter);
    border-radius: 10px;
    transition: var(--transition);
    border-left: 4px solid var(--white-pure);
    border: 1px solid var(--blue-light);
}

.service-item:hover {
    background: var(--beige-warm);
    transform: translateX(8px);
    box-shadow: var(--shadow-blue);
    border-left-color: var(--gray-dark);
    border-color: var(--gray-subtle);
}

.service-item i {
    color: var(--white-pure);
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.service-item span {
    color: var(--text-on-blue);
    font-weight: 500;
    line-height: 1.4;
}

.service-item:hover i {
    color: var(--blue-dark);
}

.service-item:hover span {
    color: var(--blue-dark);
}



/* Historia */
.history {
    background: var(--secondary-bg);
    color: var(--text-on-blue);
}

.history-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.history-intro {
    font-size: 1.2rem;
    color: var(--white-off);
    margin-bottom: 2rem;
    line-height: 1.8;
    text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gray-subtle);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -1rem;
    top: 0;
    width: 16px;
    height: 16px;
    background: var(--gray-subtle);
    border-radius: 50%;
    border: 4px solid var(--text-on-blue);
    box-shadow: 0 0 0 2px var(--blue-light);
}

.timeline-year {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-lighter);
    margin-bottom: 0.5rem;
}

.timeline-content h4 {
    color: var(--text-on-blue);
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--gray-background);
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.history-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.stat-card {
    background: var(--blue-medium);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-blue);
    text-align: center;
    border: 3px solid var(--blue-light);
    transition: var(--transition);
    color: var(--text-on-blue);
}

.stat-card.large-stat {
    display: flex;
    align-items: center;
    text-align: left;
    padding: 3rem;
    min-width: 300px;
    background: linear-gradient(135deg, var(--blue-medium), var(--blue-light));
    color: var(--text-on-blue);
}

.stat-card:hover {
    background: var(--blue-light);
    border-color: var(--blue-lighter);
    transform: translateY(-8px);
    box-shadow: var(--shadow-blue-heavy);
    color: var(--text-on-blue);
}

.stat-card.large-stat:hover {
    background: linear-gradient(135deg, var(--blue-light), var(--blue-lighter));
    color: var(--text-on-blue);
}

.stat-icon {
    margin-right: 2rem;
    font-size: 3rem;
    color: var(--white-pure);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    flex-shrink: 0;
}

.stat-content {
    flex: 1;
}

.stat-number {
    font-size: 3rem;
    color: var(--white-pure);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.stat-card p {
    color: var(--white-pure);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.stat-content span {
    color: var(--gray-background);
    font-size: 0.9rem;
    font-style: italic;
}

/* Nuestro Equipo */
.team {
    background: var(--white);
    padding: 60px 0;
}

.team-grid {
    display: flex;
    flex-direction: column;
    gap: 6rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Fila de 2 miembros */
.team-row-two {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    justify-items: center;
}

/* Fila de 3 miembros */
.team-row-three {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

/* Mantener compatibilidad con .team-row general */
.team-row {
    display: grid;
    gap: 3rem;
}

.team-member {
    text-align: center;
    max-width: 200px;
    width: 100%;
    justify-self: center;
}

.member-photo {
    margin-bottom: 1rem;
}

.member-img {
    width: 160px;
    height: 200px;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid var(--gray-subtle);
    transition: var(--transition);
    background: var(--gray-background);
    display: block;
    margin: 0 auto;
}

.member-img:hover {
    transform: scale(1.03);
    border-color: var(--blue-light);
}

.member-info h3 {
    font-size: 1.2rem;
    color: var(--white-pure);
    margin: 0;
    font-family: var(--font-heading);
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.member-quote {
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
    position: relative;
    padding: 0 1rem;
}

.member-quote::before {
    content: '"';
    font-size: 2rem;
    color: var(--gray-subtle);
    position: absolute;
    left: -0.5rem;
    top: -0.5rem;
    font-family: var(--font-heading);
}

.member-quote::after {
    content: '"';
    font-size: 2rem;
    color: var(--gray-subtle);
    position: absolute;
    right: -0.5rem;
    bottom: -1rem;
    font-family: var(--font-heading);
}

.member-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), var(--blue-light));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    border: 4px solid var(--gray-subtle);
    transition: var(--transition);
}

.member-placeholder i {
    font-size: 3rem;
    color: var(--white-pure);
}

.member-placeholder:hover {
    transform: scale(1.05);
    background: linear-gradient(135deg, var(--blue-light), var(--blue-lighter));
}

.member-role {
    color: var(--primary-blue);
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Versículo Bíblico */
.bible-verse {
    background: linear-gradient(135deg, var(--blue-dark), var(--primary-blue));
    padding: 60px 0;
    color: var(--text-on-blue);
    position: relative;
    overflow: hidden;
}

.bible-verse::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(255, 255, 255, 0.03) 25%, 
        transparent 25%, 
        transparent 75%, 
        rgba(255, 255, 255, 0.03) 75%), 
        linear-gradient(45deg, 
        rgba(255, 255, 255, 0.03) 25%, 
        transparent 25%, 
        transparent 75%, 
        rgba(255, 255, 255, 0.03) 75%);
    background-size: 60px 60px;
    background-position: 0 0, 30px 30px;
    opacity: 0.1;
}

.verse-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-blue);
}

.verse-text {
    font-size: 1.4rem;
    line-height: 1.8;
    font-style: italic;
    color: var(--white-pure);
    margin: 0 0 1.5rem 0;
    padding: 0;
    border: none;
    font-family: var(--font-primary);
    font-weight: 400;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.verse-reference {
    display: block;
    font-size: 1.1rem;
    color: var(--gray-background);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-style: normal;
    font-family: var(--font-primary);
}

.verse-reference::before {
    content: '— ';
    color: var(--gray-lighter);
}

/* Contacto Directo */
.location {
    background: var(--gray-background);
    padding: 80px 0;
    color: var(--primary-blue);
}

.location .section-header p {
    color: var(--primary-blue);
}

.contact-direct-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-direct-grid {
    display: flex;
    gap: 4rem;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-direct-card {
    background: var(--white-pure);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-blue);
    text-align: center;
    border: 3px solid var(--gray-subtle);
    transition: var(--transition);
    width: 320px;
    min-width: 320px;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.contact-direct-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-blue-heavy);
    border-color: var(--primary-blue);
}

.contact-icon {
    background: linear-gradient(135deg, var(--primary-blue), var(--blue-light));
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    transition: var(--transition);
}

.contact-icon i {
    font-size: 2rem;
    color: var(--white-pure);
}

.contact-direct-card:hover .contact-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, var(--blue-light), var(--blue-lighter));
}

.contact-details h4 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.contact-details p {
    color: var(--gray-dark);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-details span {
    color: var(--gray-medium);
    font-size: 0.9rem;
    font-style: italic;
}

.info-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.location-map {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.map-container {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 2px solid var(--gray-subtle);
    box-shadow: var(--shadow-soft);
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    border: none;
}

/* Contacto */
.contact {
    background: var(--blue-medium);
    color: var(--text-on-blue);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--beige-warm);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-blue-heavy);
    border: 3px solid var(--gray-subtle);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1.2rem;
    border: 2px solid var(--blue-light);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    font-family: var(--font-primary);
    background: var(--white-pure);
    color: var(--blue-dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gray-medium);
    background: var(--white-pure);
    box-shadow: 0 0 0 4px rgba(26, 26, 26, 0.1);
    transform: translateY(-2px);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: var(--gradient-blue);
    color: var(--text-on-blue);
    padding: 6rem 0 4rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gray-subtle);
}

.footer-section {
    margin-bottom: 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.footer-logo span {
    color: var(--gray-lighter);
    font-size: 0.9rem;
}

.footer-section h4 {
    margin-bottom: 1.5rem;
    color: var(--gray-lighter);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--gray-background);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--gray-subtle);
    transform: translateY(-2px);
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* AOS Animations */
[data-aos="fade-up"] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

[data-aos="fade-up"].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

[data-aos="fade-right"] {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s ease;
}

[data-aos="fade-right"].aos-animate {
    opacity: 1;
    transform: translateX(0);
}

[data-aos="fade-left"] {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s ease;
}

[data-aos="fade-left"].aos-animate {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content,
    .history-content,
    .location-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .category-info {
        gap: 1rem;
    }

    .category-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .category-text h3 {
        font-size: 1.3rem;
    }

    /* Equipo responsive tablet */
    .team-row-two {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
    
    .team-row-three {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }

    .team-grid {
        gap: 4rem;
    }

    .team-member {
        max-width: 180px;
    }
    
    .member-img {
        width: 140px;
        height: 175px;
        border-width: 1px;
    }
    
    /* Contacto directo responsive tablet */
    .contact-direct-grid {
        gap: 2rem;
    }
    
    /* Estadísticas responsive tablet */
    .history-stats {
        gap: 2rem;
    }
    
    .stat-card.large-stat {
        min-width: 250px;
    }
    
    /* Mejorar hero en tablet */
    .hero {
        padding-top: 100px;
    }
    
    .hero-image {
        height: 400px;
        margin-top: 2rem;
    }
}

/* Responsive para móviles - Mapa optimizado */
@media (max-width: 768px) {
    .location-map {
        margin: 0 -20px; /* Compensa el padding del container */
        width: calc(100% + 40px);
    }
    
    .map-container {
        height: 300px; /* Altura reducida en móvil */
        border-radius: 0; /* Sin bordes redondeados en móvil para mejor ajuste */
    }
    /* Logo responsivo en móvil */
    .logo h1 {
        font-size: 1.4rem;
    }

    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 100%;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition);
        box-shadow: var(--shadow);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    /* Ajustar hero para que no sea tapado por navbar */
    .hero {
        padding-top: 120px;
        min-height: calc(100vh - 40px);
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-image {
        order: -1;
        height: 300px;
        margin-bottom: 2rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hero-title {
        font-size: 2.2rem;
        margin-top: 0;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn {
        text-align: center;
    }
    
    .hero-bg-shape {
        width: 331px; /* Aumentado 15% de 288px */
        height: 331px; /* Aumentado 15% de 288px */
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        box-shadow: var(--shadow-blue);
    }
    
    /* Logo en móvil - usar imagen local */
    .hero-bg-shape::after {
        content: "";
        width: 166px; /* Aumentado 15% de 144px */
        height: 166px; /* Aumentado 15% de 144px */
        background-image: url('assets/logo.png');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 2;
        background-color: transparent;
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15)) brightness(1.1) contrast(1.2) saturate(0.9);
        mix-blend-mode: multiply;
    }


    
    .services-accordion {
        margin: 0 1rem;
    }

    .service-category-accordion {
        margin-bottom: 1rem;
        border-radius: 8px;
    }

    .services-grid {
        display: flex;
        flex-direction: column;
        padding: 1rem;
        gap: 0.8rem;
    }

    .category-header {
        padding: 1rem;
    }

    .category-info {
        gap: 0.8rem;
    }

    .category-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .category-text h3 {
        font-size: 1.1rem;
        margin-bottom: 0.3rem;
    }

    .category-text p {
        font-size: 0.85rem;
        line-height: 1.3;
    }

    .category-content.active {
        max-height: 800px;
    }

    .service-item {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        text-align: left;
        padding: 0.8rem;
        gap: 0.8rem;
        border-radius: 6px;
        border-left-width: 2px;
    }

    .service-item i {
        font-size: 1.1rem;
        margin-bottom: 0;
        width: 16px;
        min-width: 16px;
    }

    .service-item span {
        font-size: 0.9rem;
        line-height: 1.3;
    }

    /* Equipo responsive móvil */
    .team-row-two,
    .team-row-three {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        justify-items: center;
    }

    .team-grid {
        gap: 3.5rem;
        max-width: 300px;
    }

    .team-member {
        max-width: 160px;
        width: 100%;
    }

    .member-img {
        width: 120px;
        height: 150px;
        border-width: 1px;
    }

    .member-info h3 {
        font-size: 1.1rem;
    }
    
    .member-placeholder {
        width: 100px;
        height: 100px;
    }
    
    .member-placeholder i {
        font-size: 2.5rem;
    }
    
    .member-role {
        font-size: 0.8rem;
    }
    
    /* Versículo bíblico responsive móvil */
    .bible-verse {
        padding: 40px 0;
    }
    
    .verse-content {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    .verse-text {
        font-size: 1.2rem;
        line-height: 1.6;
        margin-bottom: 1rem;
    }
    
    .verse-reference {
        font-size: 1rem;
        letter-spacing: 0.5px;
    }

    /* Contacto directo responsive móvil */
    .contact-direct-grid {
        flex-direction: column;
        gap: 2rem;
    }
    
    .contact-direct-card {
        width: 100%;
        min-width: auto;
        max-width: 100%;
        padding: 2rem;
    }
    
    .contact-icon {
        width: 60px;
        height: 60px;
    }
    
    .contact-icon i {
        font-size: 1.5rem;
    }
    
    .contact-details h4 {
        font-size: 1.2rem;
    }
    
    .contact-details p {
        font-size: 1rem;
    }
    
    /* Estadísticas responsive móvil */
    .history-stats {
        flex-direction: column;
        gap: 2rem;
    }
    
    .stat-card.large-stat {
        min-width: auto;
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }
    
    .stat-icon {
        margin-right: 0;
        margin-bottom: 1rem;
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .contact-form {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    /* Centrar footer en móvil */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .contact-info {
        text-align: center;
    }
    
    .footer-section ul {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    /* Accordion mejorado para pantallas muy pequeñas */
    .services-accordion {
        margin: 0 0.5rem;
    }

    .service-category-accordion {
        border-radius: 6px;
    }

    .category-header {
        padding: 0.8rem;
    }

    .category-icon {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .category-text h3 {
        font-size: 1rem;
    }

    .category-text p {
        font-size: 0.8rem;
        display: none; /* Ocultar descripción en móvil muy pequeño */
    }

    .services-grid {
        padding: 0.8rem;
        gap: 0.6rem;
    }

    .service-item {
        padding: 0.7rem;
        font-size: 0.85rem;
    }

    .service-item i {
        font-size: 1rem;
        width: 14px;
        min-width: 14px;
    }

    /* Equipo responsive pantallas muy pequeñas */
    .team {
        padding: 40px 0;
    }

    .team-row-two,
    .team-row-three {
        gap: 2rem;
    }

    .team-grid {
        gap: 3rem;
        max-width: 280px;
    }

    .team-member {
        max-width: 140px;
    }

    .member-img {
        width: 100px;
        height: 125px;
        border-width: 1px;
    }

    .member-info h3 {
        font-size: 1.1rem;
    }
    
    .member-placeholder {
        width: 80px;
        height: 80px;
        border-width: 3px;
    }
    
    .member-placeholder i {
        font-size: 2rem;
    }
    
    .member-role {
        font-size: 0.75rem;
    }
    
    /* Versículo bíblico pantallas muy pequeñas */
    .bible-verse {
        padding: 30px 0;
    }
    
    .verse-content {
        padding: 1rem;
        margin: 0 0.5rem;
    }
    
    .verse-text {
        font-size: 1.1rem;
        line-height: 1.5;
    }
    
    .verse-reference {
        font-size: 0.9rem;
    }

    /* Contacto directo pantallas muy pequeñas */
    .contact-direct-card {
        padding: 1.5rem;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 1rem;
    }
    
    .contact-icon i {
        font-size: 1.3rem;
    }
    
    .contact-details h4 {
        font-size: 1.1rem;
    }
    
    .contact-details p {
        font-size: 0.95rem;
    }
    
    .contact-details span {
        font-size: 0.8rem;
    }
    
    /* Estadísticas pantallas muy pequeñas */
    .stat-card.large-stat {
        padding: 1.5rem;
    }
    
    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }

    /* Logo en pantallas muy pequeñas */
    .logo h1 {
        font-size: 1.2rem;
    }
    
    /* Ajuste adicional para pantallas muy pequeñas */
    .hero {
        padding-top: 140px;
    }
    
    .hero-title {
        font-size: 1.8rem;
        margin-top: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    /* Imagen hero más pequeña en pantallas pequeñas */
    .hero-bg-shape {
        width: 298px; /* Aumentado 15% de 259px */
        height: 298px; /* Aumentado 15% de 259px */
        box-shadow: var(--shadow-blue-light);
    }
    
    .hero-bg-shape::after {
        width: 132px; /* Aumentado 15% de 115px */
        height: 132px; /* Aumentado 15% de 115px */
        filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.1)) brightness(1.1) contrast(1.2) saturate(0.9);
        mix-blend-mode: multiply;
    }


    
    .service-card,
    .contact-form {
        padding: 1.5rem;
    }
    
    /* Asegurar centrado completo del footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-section {
        margin-bottom: 2rem;
    }
    
    .social-links {
        justify-content: center;
        margin: 1rem 0;
    }
    
    .contact-info p {
        justify-content: center;
        text-align: center;
    }
    
    .footer-bottom {
        text-align: center;
        padding: 1.5rem 0;
    }
}

/* Mejoras adicionales de interactividad */
.service-card,
.stat-card,
.info-card {
    cursor: pointer;
}

.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    width: 100%;
}

/* Loading animation para números */
.stat-number {
    opacity: 0;
    animation: countUp 1s ease-out forwards;
}

@keyframes countUp {
    to {
        opacity: 1;
    }
}

/* Smooth scrolling mejorado */
html {
    scroll-padding-top: 80px;
}

/* Estados de hover para mejor UX */
.timeline-item:hover .timeline-year {
    color: var(--gray-background);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: var(--blue-light);
}

