/* HelpPets CSS Styles */
        :root {
            --beige-bg: #FAF8F4;
            --verde-principal: #2E7D32;
            --verde-hover: #1B5E20;
            --texto-gris: #2E2E2E;
            --gris-claro: #E0E0E0;
            --blanco: #FFFFFF;
            --sombra: 0 2px 8px rgba(0, 0, 0, 0.1);
            --border-radius: 12px;
            --glass-bg: rgba(255, 255, 255, 0.7);
            --glass-border: rgba(255, 255, 255, 0.3);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Poppins', sans-serif;
            background-color: var(--beige-bg);
            color: var(--texto-gris);
            line-height: 1.6;
            overflow-x: hidden;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

            .menu {
            display: none;
            position: fixed;
            top: 50px;
            right: 10px;
            background: white;
            border: 1px solid #ccc;
            border-radius: 8px;
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
            padding: 10px;
            flex-direction: column;
        }

            .menu a {
            display: block;
            padding: 8px;
            text-decoration: none;
            color: #333;
            font-weight: bold;
        }

            .menu a:hover {
            background: #f0f0f0;
            border-radius: 4px;
        }

            .menu.open {
            display: flex;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 24px;
            font-weight: 600;
            color: var(--verde-principal);
            text-decoration: none;
        }

        .logo-img {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            object-fit: cover;
        }

        .logo-icon {
            width: 40px;
            height: 40px;
            border-radius: 8px;
            border: 2px solid var(--verde-principal);   /* Nuevo: solo borde */
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--verde-principal); /* Así los iconos o imagen también usan ese color si es SVG */
            background: transparent;       /* Por si acaso */
        }

        .nav-buttons {
            display: flex;
            gap: 15px;
        }

        .btn {
            padding: 10px 25px;
            border-radius: 25px;
            text-decoration: none;
            font-weight: 500;
            transition: all 0.3s ease;
            cursor: pointer;
            border: none;
            font-size: 16px;
        }

        .btn-outline {
            background: transparent;
            color: var(--verde-principal);
            border: 2px solid var(--verde-principal);
        }

        .btn-outline:hover {
            background: var(--verde-principal);
            color: white;
        }

        .btn-primary {
            background: var(--verde-principal);
            color: white;
        }

        .btn-primary:hover {
            background: var(--verde-hover);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(46, 125, 50, 0.3);
        }

        /* Hero Section */
        .hero {
            margin-top: 15px;
            padding: 80px 0;
            text-align: center;
        }

        .hero h1 {
            font-size: 48px;
            font-weight: 700;
            color: var(--texto-gris);
            margin-bottom: 20px;
            line-height: 1.2;
        }

        .hero p {
            font-size: 20px;
            color: #666;
            margin-bottom: 40px;
            font-weight: 300;
        }

        .hero .btn-primary {
            font-size: 18px;
            padding: 15px 40px;
        }

        /* Tarjetas de acciones */
        /* ========== ACCIONES PRINCIPALES Y SECUNDARIAS ========== */
        .actions {
            padding: 40px 0 60px;
            margin-top: -20px; /* Subir hacia el hero */
        }

        /* FILA 1: Acciones Principales (reducidas) */
        .actions-grid-primary {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
            margin-bottom: 30px;
        }

        .action-card-primary {
            background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
            border-radius: 16px;
            padding: 25px 20px;
            text-align: center;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
            transition: all 0.3s ease;
            cursor: pointer;
            border: 2px solid transparent;
            position: relative;
            overflow: hidden;
        }

        .action-card-primary::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(46, 125, 50, 0.1), transparent);
            transition: left 0.5s ease;
        }

        .action-card-primary:hover::before {
            left: 100%;
        }

        .action-card-primary:hover {
            transform: translateY(-8px);
            box-shadow: 0 8px 24px rgba(46, 125, 50, 0.2);
            border-color: var(--verde-principal);
        }

        .action-card-primary:nth-child(1) .action-icon-primary {
            background: linear-gradient(135deg, #2E7D32, #4CAF50);
        }

        .action-card-primary:nth-child(2) .action-icon-primary {
            background: linear-gradient(135deg, #1976D2, #42A5F5);
        }

        .action-card-primary:nth-child(3) .action-icon-primary {
            background: linear-gradient(135deg, #F57C00, #FFA726);
        }

        .action-icon-primary {
            width: 70px;
            height: 70px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 15px;
            font-size: 32px;
            color: white;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
        }

        .action-card-primary h3 {
            font-size: 20px;
            margin-bottom: 8px;
            color: var(--texto-gris);
            font-weight: 600;
        }

        .action-card-primary p {
            color: #666;
            font-size: 14px;
            font-weight: 400;
            line-height: 1.5;
        }

        /* FILA 2: Recursos Secundarios (sutiles) */
        .actions-grid-secondary {
            display: grid;
            grid-template-columns: repeat(6, 1fr);
            gap: 15px;
            margin-top: 30px;
        }

        .action-card-secondary {
            background: rgba(255, 255, 255, 0.8);
            border: 1px solid #e0e0e0;
            border-radius: 12px;
            padding: 20px 12px;
            text-align: center;
            transition: all 0.3s ease;
            cursor: pointer;
            text-decoration: none;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 8px;
            position: relative;
        }

        .action-card-secondary:hover {
            transform: translateY(-5px);
            border-color: var(--verde-principal);
            box-shadow: 0 6px 16px rgba(46, 125, 50, 0.15);
            background: white;
        }

        .action-icon-secondary {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: linear-gradient(135deg, #f5f5f5, #e8e8e8);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            color: #666;
            transition: all 0.3s ease;
        }

        .action-card-secondary:hover .action-icon-secondary {
            background: linear-gradient(135deg, var(--verde-principal), #4CAF50);
            color: white;
            transform: scale(1.15);
            box-shadow: 0 4px 12px rgba(46, 125, 50, 0.3);
        }

        .action-card-secondary span {
            font-size: 13px;
            font-weight: 500;
            color: #666;
            transition: color 0.3s ease;
        }

        .action-card-secondary:hover span {
            color: var(--verde-principal);
            font-weight: 600;
        }

        /* Responsive para acciones */
        @media (max-width: 1024px) {
            .actions-grid-secondary {
                grid-template-columns: repeat(3, 1fr);
            }
        }

        @media (max-width: 768px) {
            .actions-grid-primary {
                grid-template-columns: 1fr;
                gap: 15px;
            }

            .action-card-primary {
                padding: 20px 15px;
            }

            .action-icon-primary {
                width: 60px;
                height: 60px;
                font-size: 28px;
            }

            .action-card-primary h3 {
                font-size: 18px;
            }

            .actions-grid-secondary {
                grid-template-columns: repeat(2, 1fr);
                gap: 12px;
            }

            .action-card-secondary {
                padding: 18px 10px;
            }

            .action-icon-secondary {
                width: 45px;
                height: 45px;
                font-size: 20px;
            }

            .action-card-secondary span {
                font-size: 12px;
            }
        }

        @media (max-width: 480px) {
            .actions {
                padding: 30px 0 50px;
            }

            .actions-grid-secondary {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        /* Sponsors Carousel */
        .sponsors-carousel {
            padding: 50px 0;
            background: #f9fafb;
            border-top: 1px solid #e5e7eb;
            border-bottom: 1px solid #e5e7eb;
        }

        .sponsors-section-title {
            text-align: center;
            font-size: 28px;
            font-weight: 600;
            color: #6b7280;
            margin-bottom: 40px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .sponsors-slider-wrapper {
            overflow: hidden;
            position: relative;
            padding: 20px 0;
        }

        .sponsors-slider {
            display: block;
            position: relative;
            height: 140px; /* Altura fija para contener los elementos absolutos */
            width: 100%;
            overflow: hidden;
        }

        .sponsor-slide {
            display: flex;
            align-items: center;
            justify-content: center;
            min-width: 180px;
            height: 100px;
            background: white;
            border-radius: 12px;
            padding: 20px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
            transition: all 0.3s ease;
        }

        .sponsor-slide:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
        }

        .sponsor-slide.skeleton {
            background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
            background-size: 200% 100%;
            animation: loading 1.5s infinite;
        }

        .sponsor-logo-img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
            filter: grayscale(100%);
            opacity: 0.7;
            transition: all 0.3s ease;
        }

        .sponsor-slide:hover .sponsor-logo-img {
            filter: grayscale(0%);
            opacity: 1;
        }

        .sponsors-link-container {
            text-align: center;
            margin-top: 30px;
        }

        .sponsors-view-all {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            color: #764ba2;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s;
            padding: 10px 20px;
            border: 2px solid transparent;
            border-radius: 25px;
        }

        .sponsors-view-all:hover {
            color: #667eea;
            background: rgba(118, 75, 162, 0.05);
            border-color: rgba(118, 75, 162, 0.2);
            gap: 12px;
        }

        @keyframes loading {
            0% {
                background-position: 200% 0;
            }
            100% {
                background-position: -200% 0;
            }
        }

        /* ========== RESCATES EXITOSOS CAROUSEL ========== */
        .rescates-carousel {
            padding: 50px 0;
            background: #f9fafb;
            border-top: 1px solid #e5e7eb;
            border-bottom: 1px solid #e5e7eb;
        }

        .rescates-section-title {
            text-align: center;
            font-size: 28px;
            font-weight: 600;
            color: #6b7280;
            margin-bottom: 40px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .rescates-subtitle {
            text-align: center;
            font-size: 14px;
            color: #6b7280;
            margin-bottom: 40px;
        }

        .rescates-slider-wrapper {
            overflow: hidden;
            position: relative;
            padding: 20px 0;
        }

        .rescates-slider {
            display: block;
            position: relative;
            height: 400px; /* Altura suficiente para toda la tarjeta */
            width: 100%;
            overflow: hidden;
        }

        .rescue-slide {
            width: 280px;
            min-width: 280px;
            flex-shrink: 0;
            background: white;
            border-radius: 12px;
            padding: 20px;
            transition: all 0.3s;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
            cursor: pointer;
        }

        .rescue-slide:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
        }

        .rescue-slide.skeleton {
            background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
            background-size: 200% 100%;
            animation: loading 1.5s infinite;
        }

        .rescue-image {
            width: 100%;
            height: 180px;
            border-radius: 8px;
            overflow: hidden;
            margin-bottom: 15px;
            position: relative;
        }

        .rescue-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s ease;
        }

        .rescue-slide:hover .rescue-image img {
            transform: scale(1.05);
        }

        .rescue-badge {
            position: absolute;
            top: 10px;
            right: 10px;
            background: #10b981;
            color: white;
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 600;
        }

        .rescue-content h4 {
            font-size: 16px;
            color: #1f2937;
            margin-bottom: 8px;
            font-weight: 600;
        }

        .rescue-content p {
            color: #6b7280;
            font-size: 13px;
            line-height: 1.5;
            margin-bottom: 12px;
        }

        .rescue-meta {
            display: flex;
            justify-content: space-between;
            font-size: 12px;
            color: #9ca3af;
        }

        .rescue-meta span {
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .rescates-link-container {
            text-align: center;
            margin-top: 30px;
        }

        .rescates-view-all {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            color: #764ba2;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s;
            padding: 10px 20px;
            border: 2px solid transparent;
            border-radius: 25px;
        }

        .rescates-view-all:hover {
            color: #667eea;
            background: rgba(118, 75, 162, 0.05);
            border-color: rgba(118, 75, 162, 0.2);
            gap: 12px;
        }

        /* Carrusel de rescates */
        .rescates {
            padding: 60px 0;
            background: white;
            overflow: visible;
        }

        .rescates h2 {
            text-align: center;
            font-size: 36px;
            margin-bottom: 50px;
            color: var(--texto-gris);
        }

        /* Sección de Noticias - Mismo diseño que Rescates */
        .noticias-section {
            padding: 60px 0;
            background: white;
            overflow: visible;
        }

        .noticias-section h2 {
            text-align: center;
            font-size: 36px;
            margin-bottom: 50px;
            color: var(--texto-gris);
        }

        .news-card {
            min-width: 280px;
            background: var(--beige-bg);
            border-radius: var(--border-radius);
            overflow: hidden;
            box-shadow: var(--sombra);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            cursor: pointer;
        }

        .news-card:hover {
            transform: scale(1.02);
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
        }

        .news-card img {
            width: 100%;
            height: 200px;
            object-fit: cover;
        }

        .news-card-content {
            padding: 20px;
            text-align: center;
        }

        .news-card h4 {
            font-size: 18px;
            color: var(--texto-gris);
            margin-bottom: 5px;
            font-weight: 600;
        }

        .news-card p {
            color: #666;
            font-size: 14px;
            margin-top: 5px;
        }

        /* Skeleton Loading simplificado */
        .news-card.skeleton {
            pointer-events: none;
        }

        .skeleton-image {
            width: 100%;
            height: 200px;
            background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
            background-size: 200% 100%;
            animation: skeleton-loading 1.5s infinite;
        }

        .skeleton-text {
            height: 16px;
            background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
            background-size: 200% 100%;
            animation: skeleton-loading 1.5s infinite;
            border-radius: 4px;
            margin-bottom: 10px;
        }

        .skeleton-text.short {
            width: 60%;
            margin: 10px auto 0;
        }

        @keyframes skeleton-loading {
            0% {
                background-position: 200% 0;
            }
            100% {
                background-position: -200% 0;
            }
        }

        .carousel {
            display: flex;
            gap: 30px;
            overflow-x: auto;
            padding: 30px 20px;
            scroll-behavior: smooth;
            -webkit-overflow-scrolling: touch;
        }

        .carousel::-webkit-scrollbar {
            height: 8px;
        }

        .carousel::-webkit-scrollbar-track {
            background: var(--gris-claro);
            border-radius: 10px;
        }

        .carousel::-webkit-scrollbar-thumb {
            background: var(--verde-principal);
            border-radius: 10px;
        }

        .rescue-card {
            min-width: 280px;
            background: var(--beige-bg);
            border-radius: var(--border-radius);
            overflow: hidden;
            box-shadow: var(--sombra);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            position: relative;
        }

        .rescue-card:hover {
            transform: scale(1.02);
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
        }

        .rescue-card img {
            width: 100%;
            height: 200px;
            object-fit: cover;
        }

        .rescue-card-content {
            padding: 20px;
            text-align: center;
            position: relative;
        }

        .rescue-badge-small {
            position: absolute;
            top: 10px;
            right: 10px;
            background: rgba(46, 204, 113, 0.95);
            color: white;
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 5px;
            box-shadow: 0 2px 8px rgba(46, 204, 113, 0.3);
        }

        .rescue-badge-small .icon-check::before {
            content: '✓';
            font-weight: bold;
        }

        .rescue-card h4 {
            font-size: 18px;
            color: var(--texto-gris);
            margin-bottom: 8px;
            margin-top: 0;
        }

        .rescue-card p {
            color: #666;
            font-size: 14px;
            line-height: 1.5;
            margin-bottom: 12px;
        }

        .rescue-meta {
            display: flex;
            justify-content: space-around;
            align-items: center;
            padding-top: 12px;
            border-top: 1px solid #e0e0e0;
            font-size: 13px;
            color: #888;
        }

        .rescue-meta span {
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .rescue-meta i {
            color: var(--naranja-acento);
        }

        /* Menú móvil */
        .menu-toggle {
            display: none;
            background: none;
            border: none;
            cursor: pointer;
            padding: 5px;
        }

        .menu-toggle span {
            display: block;
            width: 25px;
            height: 3px;
            background: var(--verde-principal);
            margin: 5px 0;
            transition: 0.3s;
        }

        /* Footer Sponsors */
        .footer-sponsors {
            background: white;
            padding: 50px 0;
            border-top: 1px solid #e5e7eb;
        }

        .footer-sponsors h3 {
            text-align: center;
            font-size: 20px;
            font-weight: 600;
            color: #6b7280;
            margin-bottom: 30px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .footer-sponsors-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            gap: 30px;
            max-width: 900px;
            margin: 0 auto 30px;
        }

        .footer-sponsor-item {
            display: flex;
            align-items: center;
            justify-content: center;
            height: 80px;
            padding: 15px;
            background: #f9fafb;
            border-radius: 8px;
            transition: all 0.3s;
        }

        .footer-sponsor-item:hover {
            background: #f3f4f6;
            transform: translateY(-3px);
        }

        .footer-sponsor-logo {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
            filter: grayscale(100%);
            opacity: 0.6;
            transition: all 0.3s;
        }

        .footer-sponsor-item:hover .footer-sponsor-logo {
            filter: grayscale(0%);
            opacity: 0.9;
        }

        .footer-sponsors-link {
            display: block;
            text-align: center;
            color: #764ba2;
            font-weight: 600;
            text-decoration: none;
            transition: color 0.3s;
        }

        .footer-sponsors-link:hover {
            color: #667eea;
        }

        /* Footer */
        footer {
            background: var(--texto-gris);
            color: white;
            text-align: center;
            padding: 40px 0;
            margin-top: 1px;
        }

        footer p {
            opacity: 0.8;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .nav-buttons {
                display: none;
            }

            .menu-toggle {
                display: block;
            }

            .hero h1 {
                font-size: 36px;
            }

            .hero p {
                font-size: 18px;
            }

            .carousel {
                padding: 20px;
            }

            .nav-buttons.active {
                display: flex;
                position: absolute;
                top: 100%;
                left: 0;
                right: 0;
                background: var(--glass-bg);
                backdrop-filter: blur(10px);
                flex-direction: column;
                padding: 20px;
                box-shadow: var(--sombra);
            }
        }

        /* Animaciones */
        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .hero, .action-card-primary, .action-card-secondary, .rescue-card {
            animation: fadeIn 0.6s ease-out;
        }
