/* Variables y Reset */
:root {
    --primary-red: #c41e3a;
    --primary-dark: #8b1525;
    --primary-light: #e63946;
    --secondary-dark: #2c3e50;
    --secondary-light: #34495e;
    --accent-gold: #f39c12;
    --text-dark: #1a1a1a;
    --text-medium: #4a4a4a;
    --text-light: #6c757d;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-gray: #e9ecef;
    --border-color: #dee2e6;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Navegación */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    width: 55px;
    height: 55px;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--primary-red);
    line-height: 1.2;
}

.logo-subtitle {
    font-size: 0.7rem;
    color: var(--text-light);
    font-weight: 500;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-red);
    transition: var(--transition);
    border-radius: 3px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-weight: 600;
    color: var(--text-dark);
    padding: 0.5rem 0;
    position: relative;
    font-size: 0.95rem;
}

.nav-link:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-red);
    transition: var(--transition);
}

.nav-link:hover:after,
.nav-link.active:after {
    width: 100%;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 76px;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(139, 21, 37, 0.85) 0%, rgba(196, 30, 58, 0.75) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--bg-white);
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    font-weight: 400;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    display: inline-block;
}

.btn-emergency {
    background-color: var(--bg-white);
    color: var(--primary-red);
}

.btn-emergency:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: transparent;
    color: var(--bg-white);
    border: 2px solid var(--bg-white);
}

.btn-secondary:hover {
    background-color: var(--bg-white);
    color: var(--primary-red);
}

.btn-primary {
    background-color: var(--primary-red);
    color: var(--bg-white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Sections General */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: var(--primary-red);
    margin: 0 auto 1.5rem;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* Historia Section */
.historia {
    background-color: var(--bg-white);
}

.historia-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
    align-items: center;
}

.historia-text p {
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.historia-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.historia-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.historia-image:hover img {
    transform: scale(1.05);
}

.historia-continuation {
    margin-bottom: 4rem;
}

.historia-continuation p {
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-align: justify;
}

/* Misión y Visión */
.mision-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.mv-card {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.mv-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.mv-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.mv-icon svg {
    width: 30px;
    height: 30px;
    color: var(--bg-white);
}

.mv-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    color: var(--primary-red);
    margin-bottom: 1rem;
}

.mv-card p {
    color: var(--text-medium);
    line-height: 1.7;
}

/* Valores */
.valores {
    margin-bottom: 4rem;
}

.valores-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 2.5rem;
}

.valores-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.valor-item {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary-red);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.valor-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.valor-item h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    color: var(--primary-red);
    margin-bottom: 0.8rem;
}

.valor-item p {
    color: var(--text-medium);
    line-height: 1.6;
}

/* Homenaje */
.homenaje {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-red) 100%);
    padding: 3rem;
    border-radius: 10px;
    color: var(--bg-white);
    box-shadow: var(--shadow-lg);
}

.homenaje-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: center;
}

.homenaje-text h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.homenaje-text h4 {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.homenaje-text p {
    line-height: 1.8;
    margin-bottom: 1.2rem;
    opacity: 0.95;
}

.homenaje-quote {
    font-style: italic;
    font-size: 1.1rem;
    border-left: 3px solid var(--bg-white);
    padding-left: 1.5rem;
    margin-top: 1.5rem;
}

.homenaje-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.homenaje-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    padding: 1rem;
    text-align: center;
    font-weight: 600;
}

/* Servicios Section */
.servicios {
    background-color: var(--bg-light);
}

.servicios-featured {
    margin-bottom: 4rem;
}

.servicio-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    align-items: center;
}

.servicio-main.reverse {
    direction: rtl;
}

.servicio-main.reverse > * {
    direction: ltr;
}

.servicio-main-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    height: 350px;
}

.servicio-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.servicio-main-image:hover img {
    transform: scale(1.05);
}

.servicio-main-content h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.servicio-main-content p {
    color: var(--text-medium);
    line-height: 1.8;
    font-size: 1.05rem;
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.servicio-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.servicio-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.servicio-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.servicio-icon svg {
    width: 30px;
    height: 30px;
    color: var(--primary-red);
}

.servicio-card h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
}

.servicio-card p {
    color: var(--text-medium);
    line-height: 1.6;
}

.servicio-ceremonial {
    position: relative;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.servicio-ceremonial img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ceremonial-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
    padding: 3rem;
    color: var(--bg-white);
}

.ceremonial-overlay h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.ceremonial-overlay p {
    font-size: 1.1rem;
    opacity: 0.95;
}

/* Capacitaciones Section */
.capacitaciones {
    background-color: var(--bg-white);
}

.capacitacion-block {
    margin-bottom: 5rem;
}

.capacitacion-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.capacitacion-block.reverse .capacitacion-content {
    direction: rtl;
}

.capacitacion-block.reverse .capacitacion-content > * {
    direction: ltr;
}

.capacitacion-badge {
    display: inline-block;
    background: var(--primary-red);
    color: var(--bg-white);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.capacitacion-text h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.capacitacion-text p {
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 1.2rem;
    text-align: justify;
}

.capacitacion-images {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cap-img-main {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
}

.cap-img-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.cap-img-grid img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.cap-img-grid img:hover {
    box-shadow: var(--shadow-md);
    transform: scale(1.03);
}

.capacitacion-cta {
    text-align: center;
    background: var(--bg-light);
    padding: 3rem;
    border-radius: 10px;
}

.capacitacion-cta h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.capacitacion-cta p {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

/* Donaciones Section */
.donaciones {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-red) 100%);
    color: var(--bg-white);
}

.donaciones-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.donaciones-intro {
    text-align: center;
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}

.donacion-tipos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.donacion-tipo {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.donacion-tipo:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.donacion-tipo h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.donacion-tipo p {
    line-height: 1.7;
    opacity: 0.95;
}

.donacion-impacto {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 10px;
    margin-bottom: 3rem;
}

.donacion-impacto h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.donacion-impacto ul {
    list-style: none;
    max-width: 700px;
    margin: 0 auto;
}

.donacion-impacto li {
    padding: 0.8rem 0;
    padding-left: 2.5rem;
    position: relative;
    line-height: 1.6;
    font-size: 1.05rem;
}

.donacion-impacto li:before {
    content: '✓';
    position: absolute;
    left: 0;
    font-weight: 800;
    font-size: 1.3rem;
}

.donacion-contacto {
    text-align: center;
}

.donacion-contacto p {
    font-size: 1.15rem;
    margin-bottom: 2rem;
}

/* Contacto Section */
.contacto {
    background-color: var(--bg-light);
}

.contacto-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contacto-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.info-card:hover {
    box-shadow: var(--shadow-md);
}

.info-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.info-icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary-red);
}

.info-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
}

.info-card p {
    color: var(--text-medium);
    line-height: 1.6;
}

.info-card strong {
    color: var(--primary-red);
    font-size: 1.3rem;
}

.info-secundario {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

.social-media {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
}

.social-media h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 50px;
    height: 50px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-red);
    transform: translateY(-3px);
}

.social-links svg {
    width: 24px;
    height: 24px;
    color: var(--text-dark);
}

.social-links a:hover svg {
    color: var(--bg-white);
}

.contacto-form {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    align-self: start;
}

.contacto-form h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--bg-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-red);
    background: var(--bg-white);
}

.form-group textarea {
    resize: vertical;
}

.btn-submit {
    width: 100%;
    padding: 1.2rem;
    font-size: 1.1rem;
}

/* Footer */
.footer {
    background: var(--secondary-dark);
    color: var(--bg-white);
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 1rem;
}

.footer-logo {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
}

.footer-section p {
    opacity: 0.9;
    line-height: 1.7;
    font-size: 0.95rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    opacity: 0.9;
    transition: var(--transition);
}

.footer-section a:hover {
    opacity: 1;
    color: var(--primary-light);
}

.emergency-text {
    opacity: 0.9;
    margin-bottom: 0.8rem;
}

.emergency-number {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-light);
    margin: 1rem 0;
}

.emergency-note {
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: 76px;
        left: -100%;
        flex-direction: column;
        background: var(--bg-white);
        width: 100%;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
        align-items: flex-start;
    }

    .nav-menu.active {
        left: 0;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .historia-content,
    .mision-vision,
    .servicio-main,
    .capacitacion-content,
    .contacto-wrapper,
    .homenaje-content {
        grid-template-columns: 1fr;
    }

    .valores-grid,
    .servicios-grid,
    .donacion-tipos {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .logo-title {
        font-size: 1.1rem;
    }

    .logo-subtitle {
        font-size: 0.6rem;
    }

    .hero {
        height: 100vh;
        min-height: 600px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .section-title {
        font-size: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}
/* Donaciones Section - Mejorada */
.donaciones {
    position: relative;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-red) 50%, #dc143c 100%);
    color: var(--bg-white);
    overflow: hidden;
}

.donaciones-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
}

.dona-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255,255,255,.05) 35px, rgba(255,255,255,.05) 70px),
        repeating-linear-gradient(-45deg, transparent, transparent 35px, rgba(255,255,255,.05) 35px, rgba(255,255,255,.05) 70px);
}

.donation-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

/* Columna Izquierda - Info */
.donation-info-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.donation-card-info {
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-dark);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.donation-card-info h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    color: var(--primary-red);
    margin-bottom: 1.5rem;
}

.donation-list {
    list-style: none;
    padding: 0;
}

.donation-list li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-medium);
    line-height: 1.6;
    border-bottom: 1px solid var(--bg-light);
}

.donation-list li:last-child {
    border-bottom: none;
}

.donation-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-red);
    font-weight: 800;
    font-size: 1.2rem;
}

.donation-breakdown {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.breakdown-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.breakdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.breakdown-label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.breakdown-percent {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--primary-red);
    font-size: 1rem;
}

.breakdown-bar {
    width: 100%;
    height: 10px;
    background: var(--bg-light);
    border-radius: 10px;
    overflow: hidden;
}

.breakdown-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-red), var(--primary-light));
    border-radius: 10px;
    transition: width 1s ease-out;
}

/* Columna Derecha - Métodos de Pago */
.donation-methods-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.donation-amounts-card {
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-dark);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.donation-amounts-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    color: var(--primary-red);
    margin-bottom: 1.5rem;
}

.amount-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.amount-btn {
    padding: 1rem;
    border: 2px solid var(--border-color);
    background: var(--bg-white);
    color: var(--text-dark);
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
}

.amount-btn:hover {
    border-color: var(--primary-red);
    color: var(--primary-red);
    transform: translateY(-2px);
}

.amount-btn.active {
    background: var(--primary-red);
    color: var(--bg-white);
    border-color: var(--primary-red);
}

.custom-amount {
    margin-top: 1.5rem;
}

.custom-amount label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
}

.input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.input-prefix {
    position: absolute;
    left: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-light);
}

.input-group input {
    width: 100%;
    padding: 1rem 1rem 1rem 2.5rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1.1rem;
    font-family: 'Montserrat', sans-serif;
    transition: var(--transition);
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary-red);
}

.payment-methods {
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-dark);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.payment-methods h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    color: var(--primary-red);
    margin-bottom: 2rem;
}

.payment-option {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--bg-light);
}
.payment-container{
    display:flex;
    gap:20px;
    justify-content:center;
    align-items:center;
}

.payment-icon{
    width:70px;
    height:70px;
    border-radius:20px;
    background:#ffffff;
    box-shadow:0 4px 15px rgba(0,0,0,0.1);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:32px;
    transition:0.3s ease;
    cursor:pointer;
}

.payment-icon:hover{
    transform:translateY(-5px) scale(1.05);
    box-shadow:0 8px 20px rgba(0,0,0,0.15);
}

.payment-option:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* .payment-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
} */

.payment-content {
    flex: 1;
}

.payment-content h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
}

.payment-content p {
    color: var(--text-medium);
    line-height: 1.6;
    margin-bottom: 0.8rem;
}

.bank-info {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 1rem;
}
.money-icon{
    width:60px;
    height:60px;
    background:#16a34a;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    color:white;
    font-size:28px;
}

.bank-info p {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.bank-info strong {
    color: var(--primary-red);
}

.btn-link-dona {
    display: inline-block;
    color: var(--primary-red);
    font-weight: 600;
    margin-top: 0.5rem;
    transition: var(--transition);
}

.btn-link-dona:hover {
    color: var(--primary-dark);
}

.especie-list {
    list-style: none;
    padding-left: 0;
    margin-top: 1rem;
}

.especie-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-medium);
}

.especie-list li:before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-red);
    font-size: 1.5rem;
    line-height: 1;
}

.donation-note {
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-dark);
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid var(--primary-red);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.donation-note p {
    color: var(--text-medium);
    line-height: 1.7;
    margin: 0;
}

.donation-note strong {
    color: var(--primary-red);
}

/* CTA Final */
.donacion-cta-final {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 3rem;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.donacion-cta-final h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.donacion-cta-final p {
    font-size: 1.15rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.btn-donar-final {
    background: var(--bg-white);
    color: var(--primary-red);
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    display: inline-block;
    transition: var(--transition);
}

.btn-donar-final:hover {
    background: var(--accent-gold);
    color: var(--bg-white);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Responsive */
@media (max-width: 968px) {
    .donation-layout {
        grid-template-columns: 1fr;
    }

    .amount-buttons {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .amount-buttons {
        grid-template-columns: 1fr;
    }

    .payment-option {
        flex-direction: column;
    }

    .payment-icon {
        font-size: 2rem;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .form-grid-simple {
        grid-template-columns: 1fr;
    }

    .experiencias-grid {
        grid-template-columns: 1fr;
    }

    .form-container-simple {
        padding: 2rem 1.5rem;
    }
}
/* Responsive Updates */
@media (max-width: 968px) {
    .donaciones-grid,
    .nos-viste-intro,
    .impacto-stats {
        grid-template-columns: 1fr;
    }

    .nos-viste-formulario {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-donar,
    .btn-info-dona {
        width: 100%;
        max-width: 350px;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
    }

    .social-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}
/* ============================================
   DONACIONES - MERCADO PAGO (añadido)
   ============================================ */

/* Stats de lo recaudado */
.don-stats-card { margin-top: 1.2rem; }
.don-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.2rem;
}
.don-stat-item { text-align: center; }
.don-stat-num {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: #c0392b;
    line-height: 1.1;
}
.don-stat-label {
    font-size: .75rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.don-meta-wrap { margin-bottom: 1.2rem; }
.don-meta-top {
    display: flex;
    justify-content: space-between;
    font-size: .82rem;
    color: #666;
    margin-bottom: .4rem;
}
.don-pbar {
    height: 7px;
    background: #eee;
    border-radius: 4px;
    overflow: hidden;
}
.don-pfill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #c0392b, #e67e22);
    border-radius: 4px;
    transition: width 1.4s cubic-bezier(.4,0,.2,1);
}

/* Últimas donaciones */
.ultimas-titulo {
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #999;
    margin-bottom: .6rem;
    padding-top: .8rem;
    border-top: 1px solid #f0f0f0;
}
.ultimas-loading { color: #aaa; font-size: .85rem; }
.dona-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: .55rem 0;
    border-bottom: 1px solid #f5f5f5;
}
.dona-av {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: #fdecea;
    color: #c0392b;
    display: flex; align-items: center; justify-content: center;
    font-size: .75rem; font-weight: 700;
    flex-shrink: 0;
}
.dona-nombre { font-size: .87rem; font-weight: 600; color: #333; }
.dona-hace   { font-size: .73rem; color: #aaa; }
.dona-monto  { margin-left: auto; font-size: .87rem; font-weight: 700; color: #e67e22; white-space: nowrap; }

/* Columna derecha */
.donation-right-column { display: flex; flex-direction: column; gap: 1.5rem; }

/* Widget MP */
.mp-widget-card {
    border: 2px solid #c0392b !important;
    position: relative;
    overflow: hidden;
}

.mp-subtitle { font-size: .83rem; color: #888; margin-bottom: 1.2rem; }

/* Selector de monto */
.amount-selector { margin-bottom: 1.2rem; }
.amount-label { font-size: .85rem; color: #555; margin-bottom: .6rem; font-weight: 600; }
.amount-buttons { display: flex; flex-wrap: wrap; gap: .5rem; }
.amount-btn {
    padding: 9px 18px;
    border: 1.5px solid #ddd;
    border-radius: 6px;
    background: #fff;
    font-size: .9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
    color: #333;
}
.amount-btn:hover { border-color: #c0392b; color: #c0392b; }
.amount-btn.active { background: #c0392b; border-color: #c0392b; color: #fff; }

/* Campos donador */
.donor-fields { margin-bottom: 1.2rem; }
.anon-check {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: .85rem;
    color: #666;
    cursor: pointer;
    margin-top: .4rem;
}
.anon-check input { width: auto; accent-color: #c0392b; }

/* Botón donar */
.btn-donar-mp {
    width: 100%;
    padding: 14px;
    background: #c0392b;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background .2s, transform .1s;
    margin-bottom: 1rem;
}
.btn-donar-mp:hover { background: #96281b; transform: translateY(-1px); }
.btn-donar-mp:disabled { opacity: .6; cursor: not-allowed; transform: none; }

/* Badges de métodos */
.mp-badges {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    justify-content: center;
}
.mp-badges span {
    background: #f8f8f8;
    border: 1px solid #eee;
    border-radius: 4px;
    padding: 4px 10px;
    font-size: .78rem;
    color: #555;
}

/* Toast de notificación */
.bs-toast {
    position: fixed;
    bottom: 1.5rem; right: 1.5rem;
    z-index: 9999;
    background: #1a1a1a;
    color: #fff;
    padding: 1rem 1.4rem;
    border-radius: 8px;
    font-size: .88rem;
    max-width: 320px;
    box-shadow: 0 8px 24px rgba(0,0,0,.3);
    transform: translateY(80px);
    opacity: 0;
    transition: all .3s cubic-bezier(.4,0,.2,1);
    border-left: 4px solid #c0392b;
}
.bs-toast.show { transform: translateY(0); opacity: 1; }
.bs-toast.success { border-color: #27ae60; }
.bs-toast.error   { border-color: #e74c3c; }

@media (max-width: 768px) {
    .don-stats-grid { grid-template-columns: 1fr 1fr; }
    .donation-right-column { gap: 1rem; }
}
