/* ========================================
   ESTILOS ESPECÍFICOS PARA ARTÍCULO DE PLANTAS MEDITERRÁNEAS
   ======================================== */

/* Contenedor principal con estilo profesional */
.article-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
    min-height: 100vh;
}

/* Header del artículo mejorado */
.article-header {
    background: linear-gradient(135deg, #e8f5e8 0%, #f1f8e9 100%);
    border-radius: 20px;
    padding: 3rem;
    margin: 2rem 0;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
}

.article-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 60%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(76,175,80,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.article-header h1 {
    position: relative;
    z-index: 2;
    font-size: 2.5rem;
    color: #2e7d32;
    text-align: center;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.article-meta {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    position: relative;
    z-index: 2;
}

/* Asegurar que el contenido principal también tenga el estilo */
.article-content .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
}

/* Estilos adicionales para el contenido mejorado */
.lead {
    font-size: 1.2rem;
    line-height: 1.7;
    color: #2c5530;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f1f8e9 0%, #e8f5e8 100%);
    border-left: 4px solid #4caf50;
    border-radius: 8px;
}

.highlight-box {
    background: linear-gradient(135deg, #fff3e0 0%, #ffecb3 100%);
    border: 2px solid #ffc107;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
    position: relative;
}

.highlight-box h3 {
    color: #e65100;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.highlight-box h3 i {
    color: #ff9800;
    font-size: 1.3rem;
}

.section-intro {
    font-size: 1.1rem;
    color: #424242;
    margin-bottom: 2rem;
    text-align: center;
    padding: 1rem;
    background: #fafafa;
    border-radius: 8px;
}

/* Imagen de cada planta en las tarjetas */
.plant-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.plant-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.plant-card:hover .plant-image img {
    transform: scale(1.05);
}

/* Rating de plantas */
.plant-rating {
    background: #f8f9fa;
    padding: 0.5rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.plant-rating span {
    color: #666;
    font-weight: 500;
}

/* Especificaciones de plantas */
.plant-specs {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
    flex-wrap: wrap;
}

.plant-specs span {
    background: #e8f5e8;
    color: #2e7d32;
    padding: 0.3rem 0.6rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.plant-specs i {
    font-size: 0.7rem;
}

/* Imagen principal del artículo - responsiva y profesional */
.article-content .container .article-body .article-image,
.article-content .article-image,
.container .article-image,
.article-body .article-image,
.article-image {
    width: 100% !important;
    max-width: 300px !important;
    height: 120px !important;
    object-fit: cover !important;
    border-radius: 12px !important;
    margin: 1rem auto !important;
    display: block !important;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12) !important;
    transition: transform 0.3s ease !important;
}

.article-content .container .article-body .article-image:hover,
.article-content .article-image:hover,
.container .article-image:hover,
.article-body .article-image:hover,
.article-image:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 40px rgba(0,0,0,0.15) !important;
}

/* Grid de plantas profesional */
.plant-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 2.5rem 0;
}

.plant-card {
    background: #ffffff;
    border: 1px solid #e8f4f8;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(76, 175, 80, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.plant-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #4caf50, #66bb6a);
}

.plant-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(76, 175, 80, 0.15);
    border-color: #4caf50;
}

.plant-card h3 {
    color: #2e7d32;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.plant-card h3 i {
    color: #4caf50;
    font-size: 1.1rem;
}

.plant-card p {
    margin-bottom: 0.8rem;
    line-height: 1.6;
    color: #424242;
}

.plant-card p strong {
    color: #2e7d32;
    font-weight: 600;
}

/* Sección de consejos mejorada */
.tips-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2.5rem 0;
}

.tip-box {
    background: linear-gradient(135deg, #f8fffe 0%, #f1f8e9 100%);
    border: 1px solid #c8e6c9;
    border-radius: 12px;
    padding: 1.8rem;
    transition: transform 0.3s ease;
}

.tip-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(76, 175, 80, 0.12);
}

.tip-box h4 {
    color: #2e7d32;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tip-box h4 i {
    color: #4caf50;
    font-size: 1.2rem;
}

.tip-box p {
    color: #424242;
    line-height: 1.6;
    margin: 0;
}

/* Combinaciones recomendadas */
.combination-box {
    background: #fff3e0;
    border: 1px solid #ffcc02;
    border-left: 4px solid #ff9800;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1rem 0;
    transition: all 0.3s ease;
}

.combination-box:hover {
    background: #fff8e1;
    transform: translateX(5px);
}

.combination-box h4 {
    color: #e65100;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.combination-box p {
    color: #424242;
    margin: 0;
    line-height: 1.6;
}

/* Lista de beneficios mejorada */
.benefits-list {
    background: #f3e5f5;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    list-style: none;
}

.benefits-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #e1bee7;
    position: relative;
    padding-left: 2rem;
}

.benefits-list li:last-child {
    border-bottom: none;
}

.benefits-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4caf50;
    font-weight: bold;
    font-size: 1.2rem;
}

/* CTA Section mejorada */
.cta-section {
    background: linear-gradient(135deg, #e8f5e8 0%, #f1f8e9 100%);
    border: 2px solid #4caf50;
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    margin: 3rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(76,175,80,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.cta-section h3 {
    color: #2e7d32;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.cta-section p {
    color: #424242;
    line-height: 1.6;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: #4caf50;
    color: white;
    border: 2px solid #4caf50;
}

.btn-primary:hover {
    background: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(76,175,80,0.3);
}

.btn-secondary {
    background: transparent;
    color: #4caf50;
    border: 2px solid #4caf50;
}

.btn-secondary:hover {
    background: #4caf50;
    color: white;
    transform: translateY(-2px);
}

/* Separación en móviles */
@media (max-width: 768px) {
    .article-content .container .article-body .article-image,
    .article-content .article-image,
    .container .article-image,
    .article-body .article-image,
    .article-image {
        height: 100px !important;
        margin: 0.5rem auto !important;
    }

    .plant-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 2rem 0;
    }

    .plant-card {
        margin-bottom: 1rem;
        padding: 1.5rem;
    }

    .plant-image {
        height: 180px;
    }

    .plant-specs {
        flex-direction: column;
        gap: 0.5rem;
    }

    .plant-specs span {
        align-self: flex-start;
    }

    .tips-section {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin: 2rem 0;
    }

    .tip-box {
        margin-bottom: 1rem;
        padding: 1.5rem;
    }

    .combination-box {
        margin: 1rem 0;
        padding: 1.2rem;
    }

    .cta-section {
        padding: 2rem 1.5rem;
        margin: 2rem 0;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    /* Separación adicional entre secciones en móvil */
    .article-content h2 {
        margin-top: 2.5rem;
        margin-bottom: 1.5rem;
        padding-top: 1rem;
        border-top: 1px solid #e0e0e0;
    }

    .article-content h2:first-of-type {
        border-top: none;
        padding-top: 0;
    }

    .lead {
        font-size: 1.1rem;
        padding: 1.2rem;
    }

    .highlight-box {
        padding: 1.2rem;
        margin: 1.5rem 0;
    }
}

/* Pantallas muy pequeñas */
@media (max-width: 480px) {
    .article-content .container .article-body .article-image,
    .article-content .article-image,
    .container .article-image,
    .article-body .article-image,
    .article-image {
        height: 80px !important;
        border-radius: 8px !important;
    }

    .plant-card {
        padding: 1.2rem;
    }

    .plant-card h3 {
        font-size: 1.1rem;
    }

    .plant-image {
        height: 150px;
    }

    .tip-box {
        padding: 1.2rem;
    }

    .cta-section {
        padding: 1.5rem 1rem;
    }

    .cta-section h3 {
        font-size: 1.3rem;
    }

    .lead {
        font-size: 1rem;
        padding: 1rem;
    }
}

/* Contenedor principal con estilo profesional */
.article-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
    min-height: 100vh;
}

/* Header del artículo mejorado */
.article-header {
    background: linear-gradient(135deg, #e8f5e8 0%, #f1f8e9 100%);
    border-radius: 20px;
    padding: 3rem;
    margin: 2rem 0;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
}

.article-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 60%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(76,175,80,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.article-header h1 {
    position: relative;
    z-index: 2;
    font-size: 2.5rem;
    color: #2e7d32;
    text-align: center;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.article-meta {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    position: relative;
    z-index: 2;
}

/* Grid de plantas con diseño premium */
.plant-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2.5rem;
    margin: 3rem 0;
    padding: 2rem;
    background: rgba(255,255,255,0.7);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
}

.plant-card {
    background: linear-gradient(145deg, #ffffff 0%, #fafafa 100%);
    border: 1px solid rgba(76,175,80,0.2);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 
        0 10px 30px rgba(0,0,0,0.1),
        0 1px 8px rgba(76,175,80,0.1),
        inset 0 1px 0 rgba(255,255,255,0.8);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.plant-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #4caf50, #66bb6a, #81c784);
}

.plant-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(76,175,80,0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.plant-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 60px rgba(0,0,0,0.15),
        0 5px 20px rgba(76,175,80,0.2),
        inset 0 1px 0 rgba(255,255,255,0.9);
    border-color: #4caf50;
}

.plant-card:hover::after {
    opacity: 1;
}

/* Secciones con containers mejorados */
.section-container {
    background: rgba(255,255,255,0.9);
    border-radius: 16px;
    padding: 2.5rem;
    margin: 2rem 0;
    box-shadow: 
        0 8px 32px rgba(0,0,0,0.08),
        0 2px 8px rgba(0,0,0,0.04);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.8);
}

.tips-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    padding: 2rem;
    background: rgba(255,255,255,0.8);
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.tip-box {
    background: linear-gradient(135deg, #ffffff 0%, #f8fffe 100%);
    border: 1px solid rgba(200,230,201,0.6);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 
        0 6px 20px rgba(0,0,0,0.06),
        0 1px 4px rgba(76,175,80,0.1);
    position: relative;
    overflow: hidden;
}

.tip-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #4caf50, #66bb6a);
}

.tip-box:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 12px 35px rgba(0,0,0,0.12),
        0 3px 12px rgba(76,175,80,0.15);
    border-color: #4caf50;
}

/* CTA Section premium */
.cta-section {
    background: linear-gradient(135deg, #e8f5e8 0%, #f1f8e9 100%);
    border: 2px solid #4caf50;
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    margin: 3rem 0;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 15px 45px rgba(76,175,80,0.15),
        0 5px 15px rgba(0,0,0,0.08);
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(76,175,80,0.15) 0%, transparent 70%);
    pointer-events: none;
}

/* Gallery de fotos adicionales */
.photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
    padding: 2rem;
    background: rgba(255,255,255,0.9);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 4/3;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
}

/* Pantallas grandes mejoradas */
@media (min-width: 1200px) {
    .article-container {
        padding: 0 3rem;
    }

    .article-header {
        padding: 4rem;
        margin: 3rem 0;
    }

    .article-header h1 {
        font-size: 3rem;
    }

    .article-content .container .article-body .article-image,
    .article-content .article-image,
    .container .article-image,
    .article-body .article-image,
    .article-image {
        max-width: 350px !important;
        height: 140px !important;
        border-radius: 16px !important;
        box-shadow: 
            0 20px 60px rgba(0,0,0,0.15),
            0 8px 20px rgba(0,0,0,0.08) !important;
    }

    .plant-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 1200px;
        margin: 3rem auto;
        gap: 3rem;
        padding: 3rem;
    }

    .plant-card {
        padding: 3rem;
    }

    .tips-section {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1200px;
        margin: 3rem auto;
        padding: 3rem;
    }

    .photo-gallery {
        grid-template-columns: repeat(4, 1fr);
        max-width: 1200px;
        margin: 3rem auto;
        padding: 3rem;
    }

    .cta-section {
        max-width: 800px;
        margin: 3rem auto;
        padding: 4rem;
    }
}

/* Pantallas extra grandes */
@media (min-width: 1600px) {
    .plant-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1400px;
    }

    .tips-section {
        grid-template-columns: repeat(4, 1fr);
        max-width: 1400px;
    }

    .photo-gallery {
        grid-template-columns: repeat(5, 1fr);
        max-width: 1400px;
    }
}

/* ========================================
   ESTILOS PARA CONSEJOS Y COMBINACIONES
   ======================================== */

/* Sección de Consejos */
.tips-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.tip-box {
    background: linear-gradient(145deg, #ffffff, #f0f8f0);
    border: 2px solid #e8f5e8;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(72, 156, 82, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tip-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4a8c52, #6db46e);
}

.tip-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(72, 156, 82, 0.2);
    border-color: #4a8c52;
}

.tip-box h4 {
    color: #2d5a33;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tip-box h4 i {
    color: #4a8c52;
    font-size: 1.2rem;
}

.tip-box p {
    color: #4a5a4a;
    line-height: 1.6;
    margin: 0;
}

/* Sección de Combinaciones */
.combination-box {
    background: linear-gradient(145deg, #f9fff9, #f0f8f0);
    border-left: 5px solid #4a8c52;
    border-radius: 0 12px 12px 0;
    padding: 1.5rem;
    margin: 1rem 0;
    box-shadow: 0 3px 12px rgba(72, 156, 82, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.combination-box::before {
    content: '🌿';
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    opacity: 0.3;
}

.combination-box:hover {
    transform: translateX(8px);
    box-shadow: 0 5px 20px rgba(72, 156, 82, 0.15);
    border-left-color: #2d5a33;
}

.combination-box h4 {
    color: #2d5a33;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.combination-box p {
    color: #4a5a4a;
    line-height: 1.6;
    margin: 0;
    font-size: 1rem;
}

/* Botones flotantes mejorados */
.floating-buttons {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.floating-buttons.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-button,
.back-to-top {
    width: 55px;
    height: 55px;
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.back-button {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    margin-bottom: 0.5rem;
}

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

.back-button:hover::before {
    left: 100%;
}

.back-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 25px rgba(255, 107, 107, 0.4);
    background: linear-gradient(135deg, #ff5252, #e53e3e);
}

.back-to-top {
    background: linear-gradient(135deg, #4a8c52, #6db46e);
}

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

.back-to-top:hover::before {
    left: 100%;
}

.back-to-top:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 25px rgba(72, 156, 82, 0.4);
    background: linear-gradient(135deg, #2d5a33, #4a8c52);
}

.back-button i,
.back-to-top i {
    transition: transform 0.3s ease;
}

.back-button:hover i {
    transform: translateX(-2px);
}

.back-to-top:hover i {
    transform: translateY(-2px);
}

/* Animación de entrada escalonada */
.floating-buttons.visible .back-button {
    animation: slideInRight 0.4s ease 0.1s both;
}

.floating-buttons.visible .back-to-top {
    animation: slideInRight 0.4s ease 0.2s both;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive para botones flotantes */
@media (max-width: 768px) {
    .floating-buttons {
        bottom: 1.5rem;
        right: 1.5rem;
        gap: 0.8rem;
    }
    
    .back-button,
    .back-to-top {
        width: 50px;
        height: 50px;
        font-size: 1.1rem;
    }
}

/* Botones de navegación en sidebar */
.navigation-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin: 3rem 0 2rem 0;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8fffe 0%, #f1f8f1 100%);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(72, 156, 82, 0.1);
}

.nav-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border: 2px solid #4a8c52;
    border-radius: 8px;
    background: linear-gradient(145deg, #ffffff, #f0f8f0);
    color: #2d5a33;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.nav-btn:hover {
    background: linear-gradient(145deg, #4a8c52, #6db46e);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(72, 156, 82, 0.3);
}

.nav-btn i {
    font-size: 1.1rem;
}

/* Responsive para navegación */
@media (max-width: 768px) {
    .navigation-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-btn {
        width: 100%;
        justify-content: center;
    }
    
    .tips-section {
        grid-template-columns: 1fr;
    }
}

