/* ============================================
   FUNDACIÓN ROCA & CORAL - ESTILOS MEJORADOS
   ============================================ */

:root {
    /* Colors - Diseño Roca & Coral */
    --primary: #0B2850;
    --primary-dark: #051A2C;
    --primary-light: #1a4a7f;
    --secondary: #D4AF37;
    --secondary-light: #E8C547;
    --accent: #D4AF37;
    --accent-green: #4DB846;
    
    --bg-light: #f0f8fb;
    --bg-white: #ffffff;
    --text-dark: #081d2d;
    --text-gray: #556b7a;
    --text-light: #8a9aad;
    
    --border: rgba(11, 40, 80, 0.1);
    --shadow-sm: 0 4px 15px rgba(11, 40, 80, 0.08);
    --shadow-md: 0 8px 30px rgba(11, 40, 80, 0.12);
    --shadow-lg: 0 20px 60px rgba(11, 40, 80, 0.15);
    
    --font-main: 'Inter', sans-serif;
    --header-height: 75px;
}

/* ============================================
   RESET & GLOBALS
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.2;
}

p {
    color: var(--text-gray);
    line-height: 1.8;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 50px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.text-center {
    text-align: center;
}

.highlight {
    color: var(--secondary);
    font-weight: 800;
}

.img-responsive {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:active::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #021820 100%);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(10, 95, 127, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: #fff;
}

.btn-nav {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.btn-block {
    width: 100%;
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1rem;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: linear-gradient(135deg, #0B2850 0%, #051A2C 100%);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 2px solid #D4AF37;
    box-shadow: 0 4px 20px rgba(11, 40, 80, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    transition: all 0.3s ease;
    padding: 10px;
}

.logo-svg {
    width: 65px;
    height: 65px;
    flex-shrink: 0;
    filter: drop-shadow(0 0 10px rgba(0, 255, 77, 0.4));
    animation: logoFloat 3s ease-in-out infinite;
    transform-origin: center;
}

.logo-svg .flower {
    transform-origin: center center;
    animation: flowerRotate 8s linear infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

@keyframes flowerRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.logo:hover {
    color: #00FF4D;
    text-shadow: 0 0 15px rgba(0, 255, 77, 0.6);
}

.logo:hover .logo-svg {
    filter: drop-shadow(0 0 20px rgba(0, 255, 77, 0.8));
    animation-duration: 4s;
}

.nav-menu {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-list {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--secondary);
    border-radius: 2px;
    transition: width 0.4s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--secondary);
}

.nav-toggle,
.nav-close {
    display: none;
    font-size: 1.5rem;
    color: #fff;
    cursor: pointer;
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: var(--header-height);
        flex-direction: column;
        background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 30px 0;
        gap: 20px;
        overflow-y: auto;
    }

    .nav-menu.show-menu {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 20px;
    }

    .nav-toggle,
    .nav-close {
        display: block;
    }

    .nav-close {
        position: absolute;
        right: 20px;
        top: 20px;
    }
}

/* ============================================
   HERO SECTION - Rediseño Elegante
   ============================================ */
.hero {
    position: relative;
    margin-top: var(--header-height);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.55) saturate(1.4) blur(1px);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center bottom, rgba(11, 40, 80, 0.45) 0%, rgba(5, 26, 44, 0.65) 50%, rgba(2, 14, 26, 0.75) 100%);
    z-index: 2;
}

/* Efecto luz submarina */
.underwater-lights {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    background: 
        radial-gradient(ellipse 600px 200px at 20% 0%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse 400px 150px at 80% 10%, rgba(212, 175, 55, 0.05) 0%, transparent 60%);
    animation: underwaterShimmer 6s ease-in-out infinite;
}

@keyframes underwaterShimmer {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 0.9; }
}

/* Logo Grande - Protagonista Principal */
.hero-logo-container {
    position: absolute;
    left: 8%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 320px;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo-large {
    width: 100%;
    height: 100%;
    max-width: 320px;
    max-height: 320px;
    filter: drop-shadow(0 0 50px rgba(212, 175, 55, 0.5)) drop-shadow(0 0 100px rgba(0, 255, 77, 0.2));
    animation: floatLogoSlow 6s ease-in-out infinite;
}

@keyframes floatLogoSlow {
    0%, 100% { 
        transform: translateY(0px) scale(1);
    }
    50% { 
        transform: translateY(-25px) scale(1.05);
    }
}

.animate-float {
    animation: floatLogoSlow 5s ease-in-out infinite;
}

/* Burbujas decorativas */
.bubble {
    position: absolute;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.2), rgba(0, 255, 77, 0.05));
    border: 1px solid rgba(0, 255, 77, 0.1);
    border-radius: 50%;
    animation: bubbleFloat 4s ease-in infinite;
    opacity: 0.6;
}

.bubble-1 {
    width: 40px;
    height: 40px;
    left: 15%;
    top: 20%;
    animation-delay: 0s;
}

.bubble-2 {
    width: 60px;
    height: 60px;
    left: 5%;
    top: 70%;
    animation-delay: 1.5s;
}

.bubble-3 {
    width: 30px;
    height: 30px;
    left: 20%;
    top: 50%;
    animation-delay: 3s;
}

@keyframes bubbleFloat {
    0% {
        transform: translateY(0px) translateX(0px);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100px) translateX(20px);
        opacity: 0;
    }
}

/* Contenido de texto */
.hero-content {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    height: 100%;
    padding: 80px 60px;
    padding-left: 350px;
}

.hero-text-container {
    max-width: 500px;
    animation: slideInRight 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.5px;
}

.gradient-text {
    background: linear-gradient(135deg, #FFE55C 0%, #D4AF37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 10px rgba(212, 175, 55, 0.3));
}

.hero-subtitle {
    font-size: 1.05rem;
    color: var(--secondary);
    letter-spacing: 5px;
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: 24px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.hero-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 32px;
    line-height: 1.8;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-buttons .btn-secondary {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.05);
}

.hero-buttons .btn-secondary:hover {
    background: #ffffff;
    color: var(--primary);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: fadeInDown 0.8s ease 0.5s both;
}

.scroll-indicator span {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: scrollBounce 2s infinite;
}

.scroll-indicator span:nth-child(2) {
    animation-delay: 0.2s;
    opacity: 0.7;
}

.scroll-indicator span:nth-child(3) {
    animation-delay: 0.4s;
    opacity: 0.4;
}

@keyframes scrollBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats-wrapper {
    position: relative;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 60px 0;
    margin-top: -50px;
}

.stats-card {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 30px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(212, 175, 55, 0.3) !important;
    border-radius: 24px;
    text-align: center;
}

.stat-item h3 {
    font-size: 2.8rem;
    color: var(--secondary);
    margin-bottom: 5px;
    font-weight: 800;
}

.stat-item p {
    font-size: 0.95rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.stat-divider {
    width: 1px;
    height: 80px;
    background: linear-gradient(180deg, transparent 0%, var(--text-light) 50%, transparent 100%);
}

/* ============================================
   GLASS CARD
   ============================================ */
.glass-card {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.4s ease;
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.98) !important;
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
}

/* ============================================
   IMPACT SECTION
   ============================================ */
.impact {
    background: linear-gradient(135deg, #f0f8fb 0%, #e0f4fb 100%);
}

.impact-content h2 {
    margin-bottom: 30px;
}

.impact-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    font-size: 1.05rem;
    color: var(--text-dark);
    font-weight: 600;
}

.feature-item i {
    font-size: 1.8rem;
    color: var(--secondary);
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    background: #fff;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.about-card {
    text-align: center;
    padding: 40px;
}

.about-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    font-size: 2.5rem;
    margin: 0 auto 20px;
}

.about-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.about-card p {
    font-size: 0.95rem;
    line-height: 1.8;
}

/* ============================================
   PROJECTS SECTION
   ============================================ */
.projects {
    background: linear-gradient(135deg, #f0f8fb 0%, #e0f4fb 100%);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.project-card {
    padding: 40px;
    border: 1px solid rgba(212, 175, 55, 0.22);
    border-top: 5px solid #D4AF37;
    background: rgba(255, 255, 255, 0.96);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    position: relative;
    overflow: visible;
    animation: fadeInUp 0.6s ease both;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 70px rgba(11, 40, 80, 0.18);
    border-color: rgba(212, 175, 55, 0.45);
}

.project-icon {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 20px;
}

.project-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: transparent;
    position: relative;
    display: inline-block;
    background: linear-gradient(90deg, var(--secondary), var(--secondary-light));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    min-height: 60px; /* Asegura espacio para 2 líneas de título */
}

.project-card h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 35px;
    height: 3px;
    border-radius: 999px;
    background: var(--secondary);
    transition: width 0.35s ease;
}

.project-card:hover h3::after {
    width: 60px;
}

.project-card p {
    margin-bottom: 25px;
    min-height: 115px; /* Asegura espacio para 4 líneas de descripción */
}

.project-list {
    list-style: none;
    background: var(--bg-light);
    padding: 20px;
    border-radius: 12px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--text-gray);
    font-size: 0.95rem;
}

.project-list li:last-child {
    margin-bottom: 0;
}

.project-list i {
    color: var(--secondary);
    font-size: 1.2rem;
}

.project-img {
    width: 100%;
    height: 250px;
    border-radius: 12px;
    overflow: hidden;
    margin: 20px 0;
    box-shadow: 0 8px 20px rgba(11, 40, 80, 0.15);
    position: relative;
    flex-shrink: 0;
}

/* Overlay dentro de las imágenes */
.project-img .img-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #fff;
    text-align: center;
    padding: 20px;
    background: linear-gradient(180deg, rgba(2,14,26,0.0) 0%, rgba(2,14,26,0.45) 100%);
    opacity: 0;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.project-card:hover .project-img .img-overlay {
    opacity: 1;
    transform: translateY(0);
}

.img-overlay h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
}

.project-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
    padding-top: 20px;
}

.project-actions .btn {
    flex: 1;
    padding: 10px 5px;
    font-size: 0.85rem;
    text-align: center;
    white-space: nowrap;
    border-radius: 10px;
    justify-content: center;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
    border-radius: 12px;
}

.project-card .btn-primary {
    border-radius: 10px;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease, filter 0.4s ease;
}

.project-card:hover .project-img img {
    transform: scale(1.05);
}

.project-img.square-bg {
    position: relative;
    background: rgba(212, 175, 55, 0.08);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.25);
}

.project-img.square-bg::before {
    content: '';
    position: absolute;
    inset: 20px;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 18px;
    box-shadow: 0 20px 40px rgba(11, 40, 80, 0.08);
}

.project-img.square-bg img {
    position: relative;
    z-index: 1;
    height: calc(100% - 40px);
    margin: 20px;
    border-radius: 14px;
    object-fit: cover;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.18);
}

.project-img.interactive-img {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
}

.project-img.interactive-img::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(0,0,0,0.14));
    pointer-events: none;
}

.project-img.interactive-img img {
    transform: scale(1);
    filter: saturate(1.05) contrast(1.02);
}

.project-img.interactive-img:hover img,
.project-card:hover .project-img.interactive-img img {
    transform: scale(1.08) rotate(0.6deg);
}

.project-img.interactive-img:hover::before,
.project-card:hover .project-img.interactive-img::before {
    opacity: 0.2;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials {
    background: #fff;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    padding: 30px;
}

.stars {
    color: #ffc107;
    font-size: 1rem;
    margin-bottom: 15px;
    display: flex;
    gap: 3px;
}

.testimonial-card p {
    margin-bottom: 20px;
    font-style: italic;
    line-height: 1.8;
}

.testimonial-card h4 {
    margin-bottom: 5px;
    color: var(--primary);
}

.testimonial-card span {
    font-size: 0.9rem;
    color: var(--secondary);
    font-weight: 600;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq {
    background: linear-gradient(135deg, #f0f8fb 0%, #e0f4fb 100%);
}

.faq-content {
    max-width: 700px;
    margin: 50px auto 0;
}

.faq-item {
    background: #fff;
    margin-bottom: 15px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid #D4AF37;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    user-select: none;
    font-weight: 600;
    color: var(--primary);
}

.faq-header h3 {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 0;
    font-size: 1.05rem;
}

.faq-header i:last-child {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-header i:last-child {
    transform: rotate(180deg);
}

.faq-body {
    padding: 0 20px;
    background: var(--bg-light);
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-body {
    padding: 20px;
    max-height: 500px;
}

/* ============================================
   DONATION SECTION
   ============================================ */
.donation {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.donation::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.donation::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite reverse;
}

.donation-header {
    position: relative;
    z-index: 2;
    margin-bottom: 40px;
}

.donation-header .section-title {
    color: #fff;
}

.donation-header p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.05rem;
}

.donation-form-wrapper {
    position: relative;
    z-index: 2;
    max-width: 500px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.98);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group {
    position: relative;
    display: flex;
    flex-direction: column;
}

.input-group input,
.input-group textarea {
    padding: 15px;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-family: var(--font-main);
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--bg-light);
}

.input-group input:focus,
.input-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
}

.input-group label {
    position: absolute;
    left: 15px;
    top: 15px;
    font-size: 1rem;
    color: var(--text-light);
    pointer-events: none;
    transition: all 0.3s ease;
}

.input-group input:not(:placeholder-shown) ~ label,
.input-group textarea:not(:placeholder-shown) ~ label,
.input-group input:focus ~ label,
.input-group textarea:focus ~ label {
    top: -12px;
    left: 12px;
    font-size: 0.85rem;
    color: var(--secondary);
    background: #fff;
    padding: 0 5px;
}

.donation-success {
    text-align: center;
    padding: 40px 20px;
}

.donation-success i {
    font-size: 5rem;
    color: var(--secondary);
    margin-bottom: 20px;
}

.donation-success h3 {
    margin-bottom: 15px;
}

.donation-success p {
    color: var(--text-gray);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    background: linear-gradient(135deg, #f0f8fb 0%, #e0f4fb 100%);
}

.contact-info h2 {
    margin-bottom: 20px;
}

.contact-info > p {
    margin-bottom: 40px;
    font-size: 1.05rem;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.info-item:hover {
    background: #fff;
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.info-item i {
    font-size: 1.8rem;
    color: var(--secondary);
}

.info-item h4 {
    margin-bottom: 5px;
}

.info-item p {
    font-size: 0.95rem;
    color: var(--text-light);
}

.contact-form {
    background: #fff !important;
}

@media (max-width: 768px) {
    .grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Hero Responsive - Tablet */
    .hero-logo-container {
        left: 5%;
        width: 180px;
        height: 180px;
    }

    .hero-logo-large {
        max-width: 180px;
        max-height: 180px;
    }

    .hero-content {
        padding-left: 250px;
        padding: 60px 40px;
        padding-left: 250px;
    }

    .hero-title {
        font-size: 2.4rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-lg {
        width: 100%;
    }

    .scroll-indicator {
        display: none;
    }

    .bubble-1 {
        width: 30px;
        height: 30px;
    }

    .bubble-2 {
        width: 45px;
        height: 45px;
    }

    .section-title {
        font-size: 2rem;
    }

    .stats-card {
        flex-direction: column;
        gap: 20px;
    }

    .stat-divider {
        width: 80px;
        height: 1px;
    }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col a,
.footer-col p {
    color: rgba(255, 255, 255, 0.9);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: #fff;
}

.footer-logo i {
    color: var(--secondary);
}

.footer-col h4 {
    color: var(--secondary);
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col ul a {
    transition: all 0.3s ease;
}

.footer-col ul a:hover {
    color: var(--secondary);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--secondary);
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--secondary);
    color: var(--primary);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* ============================================
   WHATSAPP BUTTON
   ============================================ */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s ease;
    z-index: 999;
}

.whatsapp-btn:hover {
    background: #1fbb50;
    transform: scale(1.15) translateY(-5px);
}

.email-btn {
    position: fixed;
    bottom: 105px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #D4AF37;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s ease;
    z-index: 999;
}

.email-btn:hover {
    background: #b8972e;
    transform: scale(1.15) translateY(-5px);
}

/* ============================================
   RESPONSIVE - MOBILE
   ============================================ */
@media (max-width: 480px) {
    /* Hero Mobile */
    .hero-logo-container {
        left: 50%;
        top: 30%;
        transform: translateX(-50%);
        width: 140px;
        height: 140px;
    }

    .hero-logo-large {
        max-width: 140px;
        max-height: 140px;
        filter: drop-shadow(0 0 30px rgba(212, 175, 55, 0.3));
    }

    .hero-content {
        flex-direction: column;
        padding: 40px 20px;
        padding-left: 20px;
        justify-content: flex-end;
    }

    .hero-text-container {
        text-align: center;
        max-width: 100%;
    }

    .hero-title {
        font-size: 1.8rem;
        margin-top: 120px;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        letter-spacing: 3px;
    }

    .hero-description {
        font-size: 0.9rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .btn-lg {
        width: 100%;
        padding: 14px 20px;
        font-size: 0.9rem;
    }

    .bubble {
        display: none;
    }

    .scroll-indicator {
        display: flex;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .stats-card {
        flex-direction: column;
        gap: 20px;
        padding: 30px 20px;
    }

    .stat-divider {
        width: 80px;
        height: 1px;
    }

    .whatsapp-btn, .email-btn {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        right: 20px;
    }
    .whatsapp-btn {
        bottom: 20px;
    }
    .email-btn {
        bottom: 85px;
    }
}

/* ============================================
   SECCIÓN "NUESTRA HISTORIA" MEJORADA
   ============================================ */

/* Línea Decorativa */
.decorative-line {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--secondary), transparent);
    margin: 30px auto;
    border-radius: 50%;
}

/* Tarjeta de Historia Principal */
.story-main-card {
    /* Fondo oscuro semitransparente para resaltar la imagen y contrastar el texto */
    background-image: linear-gradient(135deg, rgba(5,26,44,0.55) 0%, rgba(11,40,80,0.45) 100%), url("assets/img/historia_fondo.png");
    background-size: cover, cover;
    background-position: center center, center center;
    background-repeat: no-repeat, no-repeat;
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 24px;
    padding: 50px;
    margin: 40px 0;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease-out;
    color: #fff;
}

.story-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.story-icon {
    font-size: 2.5rem;
}

.story-info h3 {
    color: #fff;
    font-size: 1.8rem;
    margin: 0 0 5px 0;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.story-date {
    color: var(--secondary);
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 0.95rem;
}

.story-intro {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.8;
    margin-bottom: 30px;
    text-shadow: 0 1px 5px rgba(0,0,0,0.5);
}

/* Timeline */
.story-timeline {
    margin-top: 40px;
}

.timeline-item {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeInLeft 0.8s ease-out forwards;
}

.timeline-item:nth-child(1) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.4s; }
.timeline-item:nth-child(5) { animation-delay: 0.6s; }

.timeline-marker {
    font-size: 2rem;
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.9), var(--secondary));
    border-radius: 50%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.timeline-text h4 {
    color: #fff;
    font-size: 1.25rem;
    margin: 0 0 10px 0;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.timeline-text p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

.timeline-divider {
    height: 2px;
    background: linear-gradient(90deg, var(--secondary), transparent);
    margin: 0 0 40px 30px;
    opacity: 0.5;
}

/* Pillars Section */
.pillars-title {
    text-align: center;
    color: var(--primary);
    font-size: 1.8rem;
    margin: 60px 0 40px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.pillar-card {
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 2px solid transparent;
    background: rgba(255, 255, 255, 0.95) !important;
}

.pillar-card:hover {
    transform: translateY(-15px);
    border-color: var(--secondary);
    box-shadow: 0 25px 60px rgba(212, 175, 55, 0.25) !important;
}

.pillar-icon {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 15px;
}

.pillar-card h3 {
    color: var(--primary);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.pillar-accent {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--secondary-light));
    transition: width 0.5s ease;
}

.pillar-card:hover .pillar-accent {
    width: 100%;
}

/* Actions Section */
.actions-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 20px;
    padding: 60px;
    margin: 60px 0;
    position: relative;
    overflow: hidden;
}

.actions-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.actions-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.actions-title {
    text-align: center;
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.actions-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
}

.action-item {
    display: flex;
    gap: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 229, 92, 0.3);
    border-radius: 16px;
    padding: 25px;
    transition: all 0.4s ease;
}

.action-item:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 229, 92, 0.6);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.action-number {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--secondary-light), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    flex-shrink: 0;
}

.action-content h4 {
    color: #fff;
    margin: 0 0 10px 0;
    font-size: 1.1rem;
}

.action-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* Story Closing */
.story-closing {
    margin: 60px 0 40px;
}

.closing-quote {
    text-align: center;
    animation: fadeInDown 0.8s ease-out;
}

.closing-quote h3 {
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.closing-quote > p {
    color: var(--text-gray);
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.8;
}

.closing-highlight {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(77, 184, 70, 0.1) 100%);
    border-left: 5px solid var(--secondary);
    border-radius: 12px;
    padding: 30px;
    margin-top: 30px;
    box-shadow: 0 10px 30px rgba(11, 40, 80, 0.08);
}

.highlight-text {
    font-size: 1.3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--secondary), var(--accent-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.closing-highlight p {
    color: var(--text-dark);
    margin: 10px 0;
    line-height: 1.7;
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Media Queries */
@media (max-width: 768px) {
    .story-main-card {
        padding: 30px;
    }

    .pillars-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .actions-section {
        padding: 40px 20px;
    }

    .actions-container {
        grid-template-columns: 1fr;
    }

    .timeline-item {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .story-main-card {
        padding: 20px;
        margin: 20px 0;
    }

    .pillars-grid {
        grid-template-columns: 1fr;
    }

    .story-header {
        flex-direction: column;
        text-align: center;
    }

    .closing-highlight {
        padding: 20px;
        border-left-width: 3px;
    }
}
