/* Variables globales */
/* Variables globales */
:root {
    --primary-color: #8e44ad; /* Color morado/púrpura para REECH */
    --secondary-color: #5d3c81;
    --accent-color: #e74c3c;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --text-color: #333;
    --gray-color: #6c757d;
    --light-gray: #e9ecef;
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Open Sans', sans-serif;
    --transition: all 0.3s ease;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --border-radius: 5px;
}

/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
}

h2:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* Botones */
.btn {
    display: inline-block;
    padding: 8px 18px;
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    margin: 5px;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
    z-index: -1;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
    z-index: -1;
}

.btn-secondary:hover::before {
    left: 100%;
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-lg {
    padding: 15px 30px;
    font-size: 1.1rem;
}

/* Navegación */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease, filter 0.3s ease, opacity 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.05));
    animation: subtle-pulse 5s infinite alternate;
}

.logo:hover img {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

@keyframes subtle-pulse {
    0% {
        opacity: 0.95;
        transform: translateY(0);
    }
    100% {
        opacity: 1;
        transform: translateY(-2px);
    }
}

.nav-links {
    display: flex;
}

.nav-links li {
    margin-left: 25px;
}

.nav-links a {
    color: var(--dark-color);
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--dark-color);
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.6)), url('../img/equipo/e1.jpeg');
    background-size: cover;
    background-position: center top;
    color: white;
    padding: 200px 0 150px;
    margin-top: 0;
    min-height: 700px;
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-text {
    text-align: center;
    max-width: 800px;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Epilepsia Section */
.epilepsia {
    background-color: var(--light-color);
}

.epilepsia-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.epilepsia-text {
    flex: 1;
}

.epilepsia-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.epilepsia-image {
    flex: 1;
    text-align: center;
}

.epilepsia-image img {
    max-width: 300px;
}

.stat-box {
    background-color: var(--primary-color);
    color: white;
    padding: 20px;
    border-radius: var(--border-radius);
    display: inline-block;
}

.stat-box h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.stat-box p {
    margin-bottom: 0;
    font-size: 1rem;
}

/* About Section */
.about {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 50%, rgba(142, 68, 173, 0.05) 100%);
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/logo-reech.svg') no-repeat;
    background-position: -50px -50px;
    background-size: 250px;
    opacity: 0.07;
    z-index: 0;
    animation: pulse 8s ease-in-out infinite;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.about-content p {
    font-size: 1.2rem;
    margin-bottom: 1.8rem;
    line-height: 1.7;
    color: var(--dark-color);
}

.about-tagline {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.8rem;
    position: relative;
    display: inline-block;
    background: linear-gradient(90deg, var(--primary-color), #9b59b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 3px 10px rgba(142, 68, 173, 0.2);
}

.about-tagline::after {
    content: '';
    display: block;
    width: 85%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #9b59b6);
    position: absolute;
    bottom: -12px;
    left: 8%;
    border-radius: 4px;
    animation: pulse 2s ease-in-out infinite;
}

.about-mission {
    margin: 2rem 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    font-size: 1.1rem;
    color: var(--text-color);
    background-color: rgba(255, 255, 255, 0.7);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1;
}

.about-mission h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.social-connect {
    margin-top: 2.5rem;
    background: linear-gradient(135deg, white 0%, #f8f9fa 100%);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(142, 68, 173, 0.1);
}

.social-connect::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(142, 68, 173, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.social-connect p {
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 25px;
    position: relative;
    z-index: 1;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: white;
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 1.6rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid rgba(142, 68, 173, 0.15);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.social-icon:hover {
    transform: translateY(-8px) scale(1.05);
    color: white;
    background-color: var(--primary-color);
    box-shadow: 0 15px 25px rgba(142, 68, 173, 0.25);
}

.about-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 40px 0;
    text-align: left;
}

.about-intro {
    margin-bottom: 30px;
    line-height: 1.7;
    font-size: 1.05rem;
}

.about-intro p {
    margin-bottom: 15px;
}

.about-intro p:last-child {
    margin-bottom: 0;
}

.about-intro strong {
    color: var(--primary-color);
    font-weight: 700;
}

.about-list li {
    padding: 25px;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: flex-start;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-left: 5px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.about-list li::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(142, 68, 173, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.about-list li:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(142, 68, 173, 0.2);
}

.about-list li:hover::after {
    opacity: 1;
}

.about-list li i {
    color: var(--primary-color);
    font-size: 2rem;
    margin-right: 25px;
    transition: all 0.4s ease;
    background-color: rgba(142, 68, 173, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.about-list li:hover i {
    transform: scale(1.1) rotate(5deg);
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 5px 15px rgba(142, 68, 173, 0.3);
}

.list-content {
    flex: 1;
}

.list-title {
    display: block;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--text-color);
}

.list-content p {
    margin: 0;
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
}

.trust-badge {
    display: inline-block;
    background-color: white;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 40px;
    border: 2px solid rgba(142, 68, 173, 0.3);
    box-shadow: 0 10px 25px rgba(142, 68, 173, 0.15);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.trust-badge::before {
    content: '✓';
    font-size: 1.2rem;
    margin-right: 8px;
    color: white;
    background-color: var(--primary-color);
    border-radius: 50%;
    width: 25px;
    height: 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.9);
    transition: all 0.3s ease;
}

.trust-badge::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transition: 0.5s;
    z-index: 1;
}

.trust-badge:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(142, 68, 173, 0.25);
}

.trust-badge:hover::before {
    transform: scale(1.1);
}

.trust-badge:hover::after {
    left: 100%;
}

/* Historias Section */
.historias {
    background-color: var(--light-color);
}

.historias-intro {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    text-align: center;
}

.historias-icon {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
    animation: float 3s ease-in-out infinite;
}

.historias-descripcion {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--gray-color);
    line-height: 1.8;
}

.historia-card {
    display: flex;
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.historia-image {
    flex: 1;
    min-height: 300px;
    background-color: #ddd; /* Placeholder color */
}

.historia-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.historia-content {
    flex: 1;
    padding: 30px;
}

.historia-content h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.historia-autor {
    font-style: italic;
    color: var(--gray-color);
    margin-top: 15px;
}

.historia-autor a {
    display: inline-block;
    margin-left: 10px;
    color: #833AB4; /* Color morado */
    text-decoration: none;
    transition: color 0.3s ease;
}

.historia-autor a:hover {
    color: var(--primary-color);
}

.more-historias {
    text-align: center;
    margin-top: 30px;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Ayudar Section */
.ayudar-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem;
    font-size: 1.2rem;
    color: var(--text-color);
    line-height: 1.6;
}

.ayudar-instruccion {
    text-align: center;
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 600;
    margin: 0 auto 25px;
    background-color: rgba(142, 68, 173, 0.1);
    padding: 8px 15px;
    border-radius: 30px;
    display: inline-block;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.ayudar-instruccion i {
    margin-right: 5px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 0.7;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0.7;
    }
}

.ayudar-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 40px auto;
    max-width: 600px;
}

.ayudar-card {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
    padding: 25px 15px;
    text-align: center;
    transition: all 0.5s ease;
    display: flex;
    flex-direction: column;
    min-height: 180px;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(233, 236, 239, 0.8);
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    cursor: pointer;
}

.ayudar-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(142, 68, 173, 0.25);
    border-color: var(--primary-color);
    cursor: pointer;
}

.ayudar-card:hover .card-description {
    opacity: 1;
    color: var(--text-color);
}

.ayudar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.ayudar-card:hover::before {
    transform: scaleX(1);
}

.ayudar-card-icon {
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80px;
    position: relative;
}

.ayudar-card-icon i {
    font-size: 3.2rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.ayudar-card:hover i {
    transform: scale(1.1);
}

.ayudar-card-icon::after {
    content: '';
    position: absolute;
    width: 90px;
    height: 90px;
    background-color: rgba(142, 68, 173, 0.1);
    border-radius: 50%;
    z-index: -1;
    transition: all 0.3s ease;
}

.ayudar-card:hover .ayudar-card-icon::after {
    transform: scale(1.1);
    background-color: rgba(142, 68, 173, 0.2);
}

.ayudar-card h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
    font-size: 1.2rem;
    position: relative;
    display: inline-block;
    padding-bottom: 5px;
    transition: all 0.5s ease;
    opacity: 0.9;
    margin-top: 8px;
}

.ayudar-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.ayudar-card .card-description {
    margin: 0 auto;
    color: var(--gray-color);
    line-height: 1.5;
    font-size: 0.9rem;
    max-width: 90%;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.read-more-btn {
    color: var(--primary-color);
    font-size: 0;
    cursor: pointer;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 0;
    transition: all 0.3s ease;
    background-color: transparent;
    padding: 0;
    border-radius: 4px;
    opacity: 0;
}

.read-more-btn:hover {
    color: var(--secondary-color);
    background-color: rgba(142, 68, 173, 0.2);
}

.ayudar-card.expanded {
    border-radius: 8px;
    height: auto;
    width: 100%;
    min-height: 450px;
    padding: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
    margin: 0 0 20px;
    justify-content: flex-start;
}

.ayudar-card.expanded .ayudar-card-icon {
    margin-bottom: 1rem;
    height: 70px;
}

.ayudar-card.expanded h3 {
    margin-bottom: 12px;
    font-size: 1.4rem;
    padding-bottom: 8px;
}

.ayudar-card.expanded .card-description {
    margin-bottom: 5px;
    font-size: 0.95rem;
    max-height: none;
    opacity: 1;
    display: -webkit-box;
    -webkit-line-clamp: unset;
    -webkit-box-orient: vertical;
}

.ayudar-card.expanded .read-more-btn {
    font-size: 0.85rem;
    margin-bottom: 10px;
    background-color: rgba(142, 68, 173, 0.1);
    padding: 3px 8px;
    opacity: 1;
}

.ayudar-card.expanded .donation-options,
.ayudar-card.expanded .membership-options,
.ayudar-card.expanded .empresa-options,
.ayudar-card.expanded .social-share,
.ayudar-card.expanded .share-note,
.ayudar-card.expanded .btn {
    display: block;
    opacity: 1;
}

.ayudar-card .social-share,
.ayudar-card .share-note,
.ayudar-card .btn {
    display: none;
    opacity: 0;
    transition: all 0.5s ease;
}

.donation-options, .membership-options, .empresa-options {
    background-color: var(--light-gray);
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 15px;
    text-align: left;
    box-shadow: inset 0 0 2px rgba(0,0,0,0.02);
    border: 1px solid rgba(233, 236, 239, 0.7);
    display: none;
    opacity: 0;
    transition: all 0.5s ease;
}

.donation-info, .membership-info, .empresa-options p {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 0.95rem;
    position: relative;
    display: inline-block;
    padding-left: 12px;
}

.donation-info::before, .membership-info::before, .empresa-options p::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.donation-details, .membership-details, .empresa-details {
    list-style: none;
    padding: 0;
    margin: 0;
}

.donation-details li, .membership-details li, .empresa-details li {
    margin-bottom: 6px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    padding-left: 3px;
}

.donation-details li:hover, .membership-details li:hover, .empresa-details li:hover {
    transform: translateX(3px);
    color: var(--primary-color);
}

.membership-details li i, .empresa-details li i {
    color: var(--primary-color);
    font-size: 1rem;
    margin-right: 0.5rem;
    transition: all 0.3s ease;
}

.membership-details li:hover i, .empresa-details li:hover i {
    transform: scale(1.2);
}

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e1306c, #c13584);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    margin: 0 auto;
    box-shadow: 0 6px 12px rgba(225, 48, 108, 0.3);
    font-size: 1.2rem;
    letter-spacing: 0.8px;
    width: auto;
    max-width: 80%;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-social {
    background: #E1306C;
    border: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    width: 60px;
    height: 60px;
    max-width: 60px;
    font-size: 1.1rem;
    padding: 0;
    border-radius: 50%;
    font-weight: 600;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: none;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.social-btn i {
    margin-right: 0.9rem;
    font-size: 1.5rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.btn-social i {
    font-size: 1.5rem;
    margin-right: 0;
    color: white;
}

.social-btn:hover {
    background: linear-gradient(135deg, #c13584, #833ab4);
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(225, 48, 108, 0.4);
    color: white;
}

.btn-social:hover {
    background: #C13584;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

/* Estilos eliminados del contenedor de feed en la sección de difusión */

.social-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
    z-index: -1;
}

.social-btn:hover:before {
    left: 100%;
}

.modal-trigger {
    position: relative;
    z-index: 1;
}

/* Estilos para modales */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease-in-out;
}

.social-share-modal {
    margin: 20px 0;
    text-align: center;
    animation: fadeIn 0.5s ease-in-out;
}

.modal-content {
    background-color: #fff;
    margin: 3% auto;
    padding: 30px;
    border-radius: 12px;
    max-width: 600px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    position: relative;
    animation: slideDown 0.4s ease-out;
    border: 1px solid rgba(233, 236, 239, 0.8);
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: var(--gray-color);
    transition: all 0.3s ease;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-modal:hover {
    color: var(--primary-color);
    background-color: rgba(142, 68, 173, 0.1);
    transform: rotate(90deg);
}

.modal h2 {
    color: var(--primary-color);
    margin-bottom: 8px;
    text-align: center;
    font-size: 1.3rem;
}

.modal-body {
    margin-top: 8px;
}

.modal-note {
    font-size: 0.8rem;
    font-style: italic;
    margin-top: 10px;
    color: var(--gray-color);
}

.empresa-info-modal {
    margin: 20px 0;
    background-color: var(--light-gray);
    padding: 15px;
    border-radius: 8px;
    animation: fadeIn 0.5s ease-in-out;
}

.donation-amounts {
    margin-top: 20px;
}

.donation-details {
    margin: 5px 0;
    padding-left: 15px;
    font-size: 0.85rem;
    line-height: 1.3;
}

.donation-details li {
    margin-bottom: 3px;
}

.amount-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.amount-btn {
    padding: 8px 15px;
    background-color: var(--light-gray);
    border: 1px solid var(--gray-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s ease;
}

.amount-btn:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Estilos para formulario de socio */
.socio-form {
    margin-top: 10px;
}

.form-group {
    margin-bottom: 6px;
}

.form-group label {
    display: block;
    margin-bottom: 2px;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.85rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 0.85rem;
}

.form-group textarea {
    resize: vertical;
}

/* Estilos para página de agradecimiento */
.gracias-section {
    padding: 100px 0;
    text-align: center;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.gracias-content {
    max-width: 700px;
    margin: 0 auto;
    padding: 40px;
    background-color: #fff;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.gracias-icon {
    font-size: 80px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.gracias-content h1 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.gracias-content p {
    margin-bottom: 20px;
    color: var(--gray-color);
    font-size: 1.1rem;
}

.gracias-content .btn {
    margin-top: 20px;
}

/* Estilos para validación de formularios */
.form-group.has-error input,
.form-group.has-error textarea,
.form-group.has-error select {
    border-color: #dc3545;
}

.error-message {
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 5px;
    display: block;
}

.social-share {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    padding: 0.5rem;
    width: 100%;
    align-items: center;
}

.social-share a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--light-gray);
    border-radius: 50%;
    color: var(--dark-color);
    transition: var(--transition);
}

.social-share a:hover {
    background-color: var(--primary-color);
    color: white;
}

.share-note {
    margin-top: 1rem;
    font-size: 0.95rem;
    font-style: italic;
    color: #444;
    text-align: center;
    background-color: rgba(225, 48, 108, 0.12);
    padding: 0.8rem 1.2rem;
    border-radius: 10px;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border-left: 3px solid rgba(225, 48, 108, 0.5);
    margin-bottom: 0;
    margin-top: auto;
}

/* Logros Section */
.logros {
    background-color: var(--primary-color);
    color: white;
}

.logros h2 {
    color: white;
}

.logros h2:after {
    background-color: white;
}

.logros-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.logro-item h3 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.logro-item p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Alianzas Section */
.alianzas {
    background-color: var(--light-color);
}

.alianzas-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.logo-item {
    flex: 0 0 150px;
    height: 80px;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.logo-item img {
    max-width: 100%;
    max-height: 100%;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.logo-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* CTA Final */
.cta-final {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('../img/cta-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 100px 0;
}

.cta-final h2 {
    color: white;
    font-size: 2.2rem;
    max-width: 800px;
    margin: 0 auto 1.5rem;
}

.cta-final h2:after {
    display: none;
}

.cta-description {
    color: #fff;
    margin-bottom: 2rem;
    font-size: 1.2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo img {
    max-width: 180px;
    margin-bottom: 15px;
    transition: transform 0.3s ease, filter 0.3s ease, opacity 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(255, 255, 255, 0.1));
    animation: footer-logo-pulse 5s infinite alternate;
}

.footer-logo:hover img {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 8px rgba(255, 255, 255, 0.25));
}

@keyframes footer-logo-pulse {
    0% {
        opacity: 0.9;
        transform: translateY(0);
    }
    100% {
        opacity: 1;
        transform: translateY(-2px);
    }
}

.footer-logo p {
    opacity: 0.8;
}

.footer-contact h3,
.footer-links h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.footer-contact p i {
    margin-right: 10px;
    color: var(--primary-color);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary-color);
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-legal {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero-content {
        flex-direction: column;
    }
    
    .hero-text {
        text-align: center;
        margin-bottom: 30px;
    }
    
    .hero-image {
        max-width: 100%;
    }
    
    .epilepsia-content {
        flex-direction: column;
    }
    
    .historia-card {
        flex-direction: column;
    }
    
    .historia-image {
        min-height: 200px;
    }
    
    /* Ajustes para la sección Sobre REECH en tablets */
    .about-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .about-tagline {
        font-size: 1.6rem;
    }
    
    .about-intro {
        font-size: 1.02rem;
    }
    
    .about-mission {
        padding: 25px;
    }
}

/* Estilos para el mensaje del desarrollador */
.dev-message, .info-message {
    grid-column: 1 / -1;
    margin-bottom: 20px;
}

/* Indicador de carga */
.loading-indicator {
    text-align: center;
    padding: 40px 0;
    grid-column: 1 / -1;
    color: var(--gray-color);
    font-style: italic;
    background-color: rgba(248, 249, 250, 0.7);
    border-radius: 8px;
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: var(--transition);
    }
    
    .nav-links.active {
        transform: translateY(0);
    }
    
    .nav-links li {
        margin: 10px 0;
    }
    
    .hamburger {
        display: block;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .btn {
        padding: 10px 20px;
    }
    
    .btn-lg {
        padding: 12px 24px;
    }
    
    .logro-item h3 {
        font-size: 2.5rem;
    }
    
    /* Ajustes para la sección Sobre REECH en móvil */
    .about-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .about-list li {
        padding: 20px;
    }
    
    .about-list li i {
        font-size: 1.5rem;
        width: 50px;
        height: 50px;
        margin-right: 15px;
    }
    
    .list-title {
        font-size: 1rem;
    }
    
    .list-content p {
        font-size: 0.9rem;
    }
    
    .about-tagline {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .about-intro {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .about-mission {
        padding: 20px;
    }
    
    .about-mission h3 {
        font-size: 1.2rem;
        margin-bottom: 1.2rem;
    }
    
    .trust-badge {
        padding: 12px 25px;
        margin-top: 30px;
        font-size: 0.9rem;
    }
}

@media (max-width: 1200px) {
    .ayudar-options {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .ayudar-options {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    section {
        padding: 60px 0;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-image {
        max-width: 90%;
        margin: 0 auto;
    }
    
    .ayudar-options {
        grid-template-columns: 1fr;
    }
    
    .logros-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .cta-final h2 {
        font-size: 1.8rem;
    }
    
    /* Ajustes adicionales para la sección Sobre REECH en móviles pequeños */
    .about-content {
        padding: 15px 10px;
    }
    
    .about-tagline {
        font-size: 1.3rem;
    }
    
    .about-intro {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }
    
    .about-mission {
        padding: 15px;
        margin: 1.5rem 0;
    }
    
    .about-list li {
        padding: 15px;
        flex-direction: column;
        text-align: center;
    }
    
    .about-list li i {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .list-title {
        margin-bottom: 5px;
    }
    
    .trust-badge {
        padding: 10px 20px;
        font-size: 0.85rem;
        margin-top: 25px;
    }
    
    .trust-badge::before {
        width: 20px;
        height: 20px;
        font-size: 1rem;
    }
}

/* Animaciones */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideDown {
    from { transform: translateY(-30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}