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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.main-header {
    background: linear-gradient(135deg, #2c5530, #4a7c59);
    color: white;
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 12px;
    padding-right: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar {
    position: relative;
}

.logo-nav-container {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex: 1;
    min-width: 0;
}

.logo {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    margin-left: -8px;
    align-items: center;
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

/* Iconos dentro del enlace del menú: tamaño y alineación consistentes */
.nav-link i {
    font-size: 1rem;
    line-height: 1;
    vertical-align: middle;
}

/* Ajustes para pantallas medianas: reducir espacio y padding para evitar desbordes */
@media (max-width: 1280px) {
    .nav-menu { gap: 1rem; }
    .nav-link { padding: 0.4rem 0.7rem; }
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero-section {
    background: 
        linear-gradient(135deg, rgba(44, 85, 48, 0.95), rgba(74, 124, 89, 0.95)),
        radial-gradient(circle at 20% 80%, rgba(255, 107, 53, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Slideshow de fondo del hero */
.hero-slideshow {
    position: absolute;
    inset: 0;
    z-index: 0; /* Detrás del contenido y del grano (::before) */
    pointer-events: none;
    background-image: url('1a (2).jpeg');
    background-size: cover;
    background-position: center 22%;
    background-repeat: no-repeat;
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Enfocar ligeramente hacia la parte superior para resaltar el rostro */
    object-position: center 22%;
    opacity: 0;
    transition: opacity 1.2s ease;
    will-change: opacity;
    /* Mejora de calidad percibida para aspecto profesional */
    filter: url(#image-sharpen) contrast(1.04) saturate(1.05) brightness(1.02);
    image-rendering: -webkit-optimize-contrast;
    /* Zoom sutil para acercar el encuadre al rostro */
    transform: scale(1.02);
    transform-origin: center 22%;
}

@media (min-width: 1200px) {
    .hero-slide {
        transform: scale(1.04);
        object-position: center 20%;
        transform-origin: center 20%;
    }
}

@media (max-width: 992px) {
    .hero-slide {
        transform: scale(1.01);
        object-position: center 25%;
        transform-origin: center 25%;
    }
}

@media (max-width: 768px) {
    .hero-slide {
        transform: scale(1.00);
        object-position: center 30%;
        transform-origin: center 30%;
    }
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.02)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.02)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.01)"/><circle cx="20" cy="60" r="0.5" fill="rgba(255,255,255,0.01)"/><circle cx="80" cy="40" r="0.5" fill="rgba(255,255,255,0.01)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.08; /* Menos grano para mayor nitidez del fondo */
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Bloque de texto del hero para máxima legibilidad */
.hero-text-block {
    margin: 0 auto;
    padding: 18px 24px;
    background: linear-gradient(180deg, rgba(255,255,255,0.72), rgba(255,255,255,0.62));
    border-radius: 16px;
    backdrop-filter: blur(5px) saturate(120%);
    box-shadow: 0 8px 40px rgba(0,0,0,0.12);
    max-width: 760px;
}

.hero-logo-container {
    position: relative;
    margin-top: 12px;
    margin-bottom: 3rem;
    margin-left: auto;
    margin-right: auto;
    display: inline-block;
    /* Eliminamos perspective y filter para simplificar */
}

.hero-logo-container::after {
    /* Eliminamos el pseudo-elemento para quitar efectos de fondo */
    display: none;
}

.hero-logo {
    height: 320px; /* Aumentamos de 220px a 320px */
    width: auto;
    max-width: 100%;
    border-radius: 25px;
    transition: all 0.3s ease; /* Simplificamos la transición */
    /* Eliminamos la animación logoFloat */
    position: relative;
    z-index: 3;
    /* Simplificamos las sombras */
    box-shadow: 0 10px 30px rgba(44, 85, 48, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

/* Logo centrado dentro del hero */

@media (max-width: 992px) {
    .hero-content { 
        display: block;
        max-width: 900px;
    }
    .hero-logo-container { 
        margin-bottom: 2rem; 
    }
}

@media (max-width: 768px) {
    .hero-logo { height: 280px; }
    .hero-logo-container { 
        margin-bottom: 2rem; 
    }
}

.hero-logo:hover {
    /* Simplificamos el efecto hover */
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(44, 85, 48, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Eliminamos .logo-glow y sus efectos para simplificar */

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

/* Eliminamos logoFloat y glowPulse ya que no se usan más */

@keyframes rotate {
    0% { 
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% { 
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1f5d3a; /* Verde profundo, agradable y legible */
    text-shadow: none;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    opacity: 0.95;
    color: #264e38; /* Verde armónico para subtítulo */
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: #2c5530; /* Verde de marca, legible sobre blanco translúcido */
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: #38bdf8;
    color: white;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background: #38bdf8;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(56,189,248,0.3);
    color: #fff;
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

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

/* Texto negro específico dentro del hero */
.hero-section .btn-primary,
.hero-section .btn-primary i {
    color: #fff !important;
}

.hero-section .btn-secondary {
    color: #111 !important;
    border-color: #111 !important;
}

.hero-section .btn-secondary:hover {
    background: white;
    color: #111 !important;
    border-color: #111 !important;
}

/* Secciones generales */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: #2c5530;
}

.section-subtitle {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #666;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.founder-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.founder-image {
    margin-bottom: 1.5rem;
    border-radius: 12px;
    overflow: hidden;
}

.founder-photo {
    width: 100%;
    height: 420px;
    display: block;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
    /* Mejora de calidad percibida */
    filter: url(#image-sharpen) contrast(1.06) saturate(1.08) brightness(1.02);
    image-rendering: -webkit-optimize-contrast;
    will-change: filter;
}

@media (min-width: 1200px) {
    .founder-photo { height: 480px; }
}

@media (max-width: 992px) {
    .founder-photo { height: 340px; }
}

@media (max-width: 768px) {
    .founder-photo { height: 260px; }
}

@media (max-width: 480px) {
    .founder-photo { height: 200px; }
}

.founder-details h3 {
    color: #2c5530;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.founder-title {
    color: #ff6b35;
    font-weight: 600;
    margin-bottom: 1rem;
}

.founder-bio {
    color: #444;
    line-height: 1.7;
    font-size: 1rem;
    background: #fff;
    border-left: 4px solid #ff6b35;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    margin-bottom: 1rem;
}

.bio-highlights {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 1rem;
    display: grid;
    gap: 0.5rem;
}

.bio-highlights li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: #555;
}

.bio-highlights i {
    color: #2c5530;
    margin-top: 2px;
}

.credentials {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.credential-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
}

.credential-item i {
    color: #2c5530;
}

.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.mission, .vision {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #2c5530;
}

.brand-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.values-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #2c5530;
}

.values-list {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0;
    display: grid;
    gap: 0.5rem;
}

.values-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: #555;
}

.values-list i {
    color: #2c5530;
    margin-top: 2px;
}

.brand-tagline {
    font-size: clamp(1.6rem, 2.4vw, 2.2rem);
    font-weight: 800;
    color: #38bdf8;
    text-align: center;
    letter-spacing: 0.3px;
    margin-top: 1.25rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.brand-tagline::after {
    content: '';
    display: block;
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, #38bdf8, #60a5fa);
    border-radius: 999px;
    margin: 8px auto 0;
}

@media (max-width: 480px) {
    .brand-tagline { font-size: 1.4rem; }
    .brand-tagline::after { width: 90px; height: 2px; }
}

.who-we-are {
    color: #444;
    line-height: 1.7;
}

.mission-vision .brand-tagline,
.mission-vision .brand-values {
    grid-column: 1 / -1;
}

.mission h4, .vision h4 {
    color: #2c5530;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.stat-item {
    text-align: center;
    background: #2c5530;
    color: white;
    padding: 2rem 1rem;
    border-radius: 15px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Gallery Section */
.gallery-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.2rem;
    margin-top: 3rem;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
    justify-items: center;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1), 0 5px 15px rgba(0,0,0,0.07);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
    background: white;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.gallery-item:hover {
    transform: translateY(-20px) rotateX(5deg) rotateY(5deg) scale(1.05);
    box-shadow: 0 35px 80px rgba(0,0,0,0.25), 0 15px 35px rgba(0,0,0,0.15);
}

.gallery-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
    filter: brightness(0.9) contrast(1.1) saturate(1.1);
}

.gallery-item:hover .gallery-image {
    transform: scale(1.15) rotate(2deg);
    filter: brightness(1.1) contrast(1.2) saturate(1.3) blur(0.5px);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(44, 85, 48, 0.85) 0%, 
        rgba(255, 107, 53, 0.85) 50%, 
        rgba(44, 85, 48, 0.85) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
    backdrop-filter: blur(10px) saturate(180%);
    border-radius: 20px;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
    backdrop-filter: blur(5px) saturate(200%);
}

.gallery-content {
    text-align: center;
    color: white;
    transform: translateY(30px) scale(0.8);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.gallery-item:hover .gallery-content {
    transform: translateY(0) scale(1);
}

.gallery-content i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    animation: floatIcon 3s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

.gallery-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gallery-content p {
    font-size: 0.9rem;
    opacity: 0.9;
    line-height: 1.4;
}

/* Efecto de zoom profesional */
.gallery-item:hover .gallery-image {
    transform: scale(1.15) rotate(2deg);
    filter: brightness(1.1) contrast(1.2) saturate(1.3) blur(0.5px);
}

/* Efecto de brillo dinámico */
.gallery-item::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    opacity: 0;
    transition: all 0.6s ease;
    pointer-events: none;
    z-index: 2;
}

.gallery-item:hover::after {
    opacity: 1;
    transform: scale(0.8);
}

/* Mejoras en el overlay para efecto lightbox */
.gallery-overlay {
    background: linear-gradient(135deg, 
        rgba(44, 85, 48, 0.85) 0%, 
        rgba(255, 107, 53, 0.85) 50%, 
        rgba(44, 85, 48, 0.85) 100%);
    backdrop-filter: blur(10px) saturate(180%);
    border-radius: 20px;
    cursor: pointer;
}

.gallery-item:hover .gallery-overlay {
    backdrop-filter: blur(5px) saturate(200%);
    box-shadow: inset 0 0 50px rgba(255,255,255,0.1);
}

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

@keyframes floatIcon {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-8px) rotate(2deg);
    }
    66% {
        transform: translateY(-4px) rotate(-1deg);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Animación de entrada para las imágenes */
.gallery-item {
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: calc(var(--animation-order, 0) * 0.1s);
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        transparent);
    transition: left 0.8s ease;
    z-index: 1;
}

.gallery-item:hover::before {
    left: 100%;
}

/* ===== SECCIÓN DE TESTIMONIOS ===== */
/* Testimonials Carousel Section */
.testimonials-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fffe 0%, #f0f9f7 100%);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23ffffff" opacity="0.05"/><circle cx="10" cy="60" r="0.5" fill="%23ffffff" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.testimonials-carousel {
    max-width: 1200px;
    margin: 4rem auto 0;
    position: relative;
}

.carousel-container {
    overflow: hidden;
    border-radius: 25px;
    position: relative;
}

.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.testimonial-slide {
    min-width: 100%;
    padding: 0 1rem;
    box-sizing: border-box;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 25px;
    padding: 3rem;
    box-shadow: 
        0 25px 50px rgba(44, 85, 48, 0.1),
        0 10px 20px rgba(44, 85, 48, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2c5530, #ff6b35, #2c5530);
    border-radius: 25px 25px 0 0;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 35px 70px rgba(44, 85, 48, 0.15),
        0 15px 30px rgba(44, 85, 48, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}

.testimonial-quote {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 1.3rem;
    line-height: 1.8;
    color: #2c3e50;
    margin: 0 0 2.5rem 0;
    font-style: italic;
    position: relative;
    padding-left: 2rem;
    text-align: center;
}

.testimonial-quote::before {
    content: '"';
    position: absolute;
    left: -0.2rem;
    top: -0.8rem;
    font-size: 5rem;
    color: #ff6b35;
    font-family: 'Georgia', serif;
    line-height: 1;
    opacity: 0.2;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
}

.author-name {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c5530;
    font-style: normal;
    letter-spacing: 0.5px;
}

.author-pet {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1rem;
    color: #7f8c8d;
    font-weight: 400;
    font-style: italic;
}

/* Carousel Navigation */
.carousel-navigation {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}

.carousel-btn {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(44, 85, 48, 0.1);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.carousel-btn:hover {
    background: rgba(44, 85, 48, 0.9);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(44, 85, 48, 0.2);
}

.carousel-btn i {
    font-size: 1.2rem;
    color: #2c5530;
    transition: color 0.3s ease;
}

.carousel-btn:hover i {
    color: white;
}

.prev-btn {
    left: -25px;
}

.next-btn {
    right: -25px;
}

/* Carousel Indicators */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #2c5530;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.5;
}

.indicator.active {
    background: #2c5530;
    opacity: 1;
    transform: scale(1.2);
}

.indicator:hover {
    opacity: 0.8;
    transform: scale(1.1);
}

/* Responsive Testimonials Carousel */
@media (max-width: 768px) {
    .testimonials-section {
        padding: 60px 0;
    }
    
    .testimonials-carousel {
        margin: 3rem auto 0;
        padding: 0 1rem;
    }
    
    .testimonial-slide {
        padding: 0 0.5rem;
    }
    
    .testimonial-card {
        padding: 2rem;
        border-radius: 20px;
    }
    
    .testimonial-quote {
        font-size: 1.1rem;
        line-height: 1.7;
        padding-left: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .testimonial-quote::before {
        font-size: 4rem;
        left: -0.1rem;
        top: -0.6rem;
    }
    
    .author-name {
        font-size: 1.1rem;
    }
    
    .author-pet {
        font-size: 0.9rem;
    }
    
    .carousel-btn {
        width: 45px;
        height: 45px;
    }
    
    .carousel-btn i {
        font-size: 1rem;
    }
    
    .prev-btn {
        left: -22px;
    }
    
    .next-btn {
        right: -22px;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
    }
}

/* ===== SECCIÓN DE COMENTARIOS ===== */
.reviews-section {
    padding: 100px 0;
    background: #ffffff;
}

.reviews-header .section-title {
    text-align: center;
}

.reviews-header .section-subtitle {
    text-align: center;
    color: #6b7280;
}

.reviews-summary {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 2rem;
    align-items: center;
    margin-top: 1.5rem;
}

.average-rating {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 1.25rem;
    text-align: center;
}

.avg-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #2c5530;
}

.avg-stars {
    margin: 0.25rem 0 0.5rem 0;
}

.avg-stars i {
    color: #f59e0b; /* oro */
    font-size: 1.2rem;
}

.avg-count {
    color: #6b7280;
    font-weight: 600;
}

.rating-distribution {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.distribution-row {
    display: grid;
    grid-template-columns: 120px 1fr 50px;
    align-items: center;
    gap: 10px;
}

.distribution-row .label {
    color: #374151;
    font-weight: 600;
}

.distribution-row .bar {
    height: 10px;
    background: #eef2f7;
    border-radius: 999px;
    overflow: hidden;
}

.distribution-row .fill {
    height: 100%;
    background: linear-gradient(90deg, #ff6b35, #f59e0b);
    width: 0%;
}

.distribution-row .count {
    text-align: right;
    color: #6b7280;
    font-weight: 600;
}

.reviews-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
}

.filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-chip {
    background: #f1f5f9;
    border: 1px solid #e5e7eb;
    color: #2c5530;
    padding: 8px 12px;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 600;
}

.filter-chip.active {
    background: #2c5530;
    color: #fff;
    border-color: #2c5530;
}

.reviews-list {
    margin-top: 1.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.review-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 1rem 1.25rem;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.author-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #2c5530;
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 700;
}

.author-name {
    font-weight: 700;
    color: #1f2937;
}

.rating-stars i {
    color: #f59e0b;
}

.review-body {
    color: #374151;
}

.review-meta {
    color: #6b7280;
    font-size: 0.9rem;
    margin-top: 8px;
}

.reviews-form-card {
    margin-top: 2rem;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 1.25rem;
}

.review-form .form-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}

.review-form label {
    font-weight: 600;
    color: #2c5530;
}

.review-form input,
.review-form textarea,
.review-form select {
    border: 1px solid #d1d5db;
    border-radius: 10px;
    padding: 10px 12px;
}

.input-stars {
    display: flex;
    gap: 6px;
}

.input-stars .star {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1.4rem;
    color: #cbd5e1;
}

.input-stars .star.active {
    color: #f59e0b;
}

.reviews-hint {
    color: #6b7280;
    font-size: 0.9rem;
}

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

@media (max-width: 480px) {
    .testimonials-section {
        padding: 40px 0;
    }
    
    .testimonials-carousel {
        margin: 2rem auto 0;
        padding: 0 0.5rem;
    }
    
    .testimonial-slide {
        padding: 0 0.25rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
        border-radius: 15px;
    }
    
    .testimonial-quote {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
        padding-left: 1rem;
    }
    
    .testimonial-quote::before {
        font-size: 3rem;
        top: -0.4rem;
    }
    
    .author-name {
        font-size: 1rem;
    }
    
    .author-pet {
        font-size: 0.85rem;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
    }
    
    .carousel-btn i {
        font-size: 0.9rem;
    }
    
    .prev-btn {
        left: -20px;
    }
    
    .next-btn {
        right: -20px;
    }
    
    .carousel-indicators {
        margin-top: 2rem;
        gap: 0.8rem;
    }
    
    .indicator {
        width: 8px;
        height: 8px;
    }
}

/* Responsive Gallery */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
        margin-top: 2rem;
        max-width: 100%;
    }
    
    .gallery-image {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.6rem;
        padding: 0 0.5rem;
    }
    
    .gallery-image {
        height: 140px;
    }
    
    .gallery-item {
        border-radius: 8px;
    }
    
    .gallery-content i {
        font-size: 1.5rem;
    }
}

/* Pricing Section */
.pricing-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.pricing-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.pricing-card.featured {
    border: 3px solid #ff6b35;
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #ff6b35;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.pricing-header h3 {
    color: #2c5530;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.price {
    margin-bottom: 2rem;
}

.currency {
    font-size: 1.2rem;
    vertical-align: top;
}

.amount {
    font-size: 3rem;
    font-weight: 700;
    color: #2c5530;
}

.period {
    font-size: 1rem;
    color: #666;
}

.pricing-features ul {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pricing-features i {
    color: #2c5530;
}

.pricing-btn {
    background: #2c5530;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.pricing-btn:hover {
    background: #1e3a21;
    transform: translateY(-2px);
}

.pricing-note {
    text-align: center;
    color: #666;
    font-style: italic;
}

/* FAQ Section */
.faq-section {
    padding: 60px 0;
    background: #f7f9fc;
}

.faq-section .section-title {
    text-align: center;
    margin-bottom: 12px;
}

.faq-section .section-subtitle {
    text-align: center;
    color: #667;
    margin-bottom: 24px;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    margin-bottom: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 16px 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #2c5530;
}

.faq-item summary::-webkit-details-marker { 
    display: none; 
}

.faq-item summary::after {
    content: "+";
    font-weight: 700;
    color: #7c3aed;
}

.faq-item[open] summary::after {
    content: "–";
}

.faq-answer {
    padding: 0 20px 16px 20px;
    color: #374151;
}

.faq-answer ul {
    margin: 8px 0 0 0;
    padding-left: 18px;
}

.faq-answer li {
    margin: 4px 0;
}

@media (max-width: 640px) {
  .faq-section { padding: 40px 0; }
  .faq-item summary { padding: 14px 16px; }
}

/* Blog Section */
.blog-section {
    padding: 80px 0;
    background: #fff;
}

.blog-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.blog-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.filter-btn {
    background: #f1f3f5;
    color: #2c5530;
    border: 1px solid #e1e6ea;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.filter-btn:hover {
    background: #e9ecef;
}

.filter-btn.active {
    background: #2c5530;
    color: #fff;
    border-color: #2c5530;
}

.blog-add-btn {
    background: #ff6b35;
    color: white;
    border: none;
    padding: 0.7rem 1.2rem;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-add-btn:hover {
    background: #e65e2f;
    transform: translateY(-2px);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.blog-image {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 */
    overflow: hidden;
}

.blog-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    transform: scale(1.05);
}

.blog-content {
    padding: 1.25rem 1.25rem 1.5rem;
}

.blog-title {
    font-size: 1.25rem;
    color: #2c5530;
    margin: 0 0 0.5rem 0;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 0.75rem;
}

.blog-tag {
    display: inline-block;
    background: #f1f3f5;
    color: #2c5530;
    border: 1px solid #e1e6ea;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.8rem;
}

.blog-excerpt {
    color: #333;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.blog-btn {
    background: #2c5530;
    color: white !important;
    border: none;
    padding: 0.8rem 1.2rem;
    border-radius: 999px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-btn:hover {
    background: #1e3a21;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .blog-toolbar {
        flex-direction: column;
        align-items: stretch;
    }
    .blog-add-btn {
        width: 100%;
    }
}

/* Platforms Section */
.platforms-section {
    padding: 80px 0;
    background: white;
}

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.platform-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.platform-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.platform-card.whatsapp:hover { border-color: #25d366; }
.platform-card.zoom:hover { border-color: #2d8cff; }
.platform-card.skype:hover { border-color: #00aff0; }
.platform-card.teams:hover { border-color: #6264a7; }
.platform-card.meet:hover { border-color: #34a853; }
.platform-card.telegram:hover { border-color: #0088cc; }
.platform-card.facetime:hover { border-color: #007aff; }
.platform-card.messenger:hover { border-color: #0084ff; }

.platform-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.platform-card.whatsapp .platform-icon { color: #25d366; }
.platform-card.zoom .platform-icon { color: #2d8cff; }
.platform-card.skype .platform-icon { color: #00aff0; }
.platform-card.teams .platform-icon { color: #6264a7; }
.platform-card.meet .platform-icon { color: #34a853; }
.platform-card.telegram .platform-icon { color: #0088cc; }
.platform-card.facetime .platform-icon { color: #007aff; }
.platform-card.messenger .platform-icon { color: #0084ff; }

.platform-card h3 {
    color: #2c5530;
    margin-bottom: 0.5rem;
}

.platform-card p {
    color: #666;
    margin-bottom: 1.5rem;
}

.platform-btn {
    background: #2c5530;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.platform-btn:hover {
    background: #1e3a21;
    transform: translateY(-2px);
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.service-icon {
    font-size: 3rem;
    color: #2c5530;
    margin-bottom: 1rem;
}

.service-card h3 {
    color: #2c5530;
    margin-bottom: 1rem;
}

/* Work Section */
.work-section {
    padding: 80px 0;
    background: white;
}

.work-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.work-info h3 {
    color: #2c5530;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.work-benefits {
    list-style: none;
    margin-top: 2rem;
}

.work-benefits li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.work-benefits i {
    color: #2c5530;
}

.work-form {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c5530;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2c5530;
}

.submit-btn {
    background: #2c5530;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    justify-content: center;
}

.submit-btn:hover {
    background: #1e3a21;
    transform: translateY(-2px);
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-icon {
    background: #2c5530;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.contact-details h3 {
    color: #2c5530;
    margin-bottom: 0.5rem;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-social {
    margin-top: 1.5rem;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.contact-handle {
    width: 100%;
    text-align: center;
    font-weight: 700;
    color: #2c5530;
    margin-bottom: 0.5rem;
}

.contact-social-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-social-btn[aria-disabled="true"] {
    opacity: 0.6;
    pointer-events: none;
    cursor: not-allowed;
}

.contact-social-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,0.18); }
.contact-social-btn i { font-size: 18px; }
.contact-social-btn.whatsapp { background: #25D366; }
.contact-social-btn.instagram { background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af, #515bd4); }
.contact-social-btn.youtube { background: #FF0000; }
.contact-social-btn.tiktok { background: #000; }
.contact-social-btn.linkedin { background: #0A66C2; }

/* Footer */
.footer {
    background: #2c5530;
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-logo {
    height: 140px;
    width: auto;
    max-width: 100%;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .footer-logo { height: 120px; }
}

@media (max-width: 480px) {
    .footer-logo { height: 100px; }
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #ff6b35;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        display: none;
    }
    
    /* Menú desplegable en móvil cuando se activa con el botón hamburguesa */
    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(44, 85, 48, 0.95);
        padding: 0.75rem 1rem;
        gap: 0.5rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
}

/* Activar menú hamburguesa también en anchos medianos para evitar overflow */
@media (max-width: 1150px) {
    .hamburger { display: flex; }
    .nav-menu { display: none; }
    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(44, 85, 48, 0.95);
        padding: 0.75rem 1rem;
        gap: 0.5rem;
    }
}
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .mission-vision {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .work-content {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-section {
        padding: 100px 0 60px;
    }
    
    .hero-logo {
        height: 80px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .platforms-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Social Sidebar */
.social-sidebar {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1000;
}

.social-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 2px solid rgba(255,255,255,0.8);
    overflow: hidden;
}

.social-btn img {
    width: 24px;
    height: 24px;
    filter: invert(1) brightness(1.2);
}

.social-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 12px 28px rgba(0,0,0,0.22);
}

.social-btn.whatsapp { background-color: #25D366; }
.social-btn.tiktok { background-color: #000000; }
.social-btn.instagram { background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af, #515bd4); }
.social-btn.youtube { background-color: #FF0000; }

@media (max-width: 768px) {
    .social-sidebar { right: 12px; gap: 10px; }
    .social-btn { width: 46px; height: 46px; }
    .social-btn img { width: 22px; height: 22px; }
}

@media (max-width: 480px) {
    .social-sidebar { right: 10px; gap: 8px; }
    .social-btn { width: 42px; height: 42px; }
    .social-btn img { width: 20px; height: 20px; }
}

/* ===== Chatbot (esquina inferior izquierda) ===== */
.chatbot {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 1001;
}

.chatbot-toggle {
    background: #2c5530;
    color: #fff;
    border: none;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.bot-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
}

.chatbot-toggle:hover {
    background: #1e3a21;
    transform: translateY(-2px);
}

.chatbot-panel {
    display: none;
    width: 360px;
    max-height: 65vh;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.18);
    overflow: hidden;
}

.chatbot-quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 8px 10px;
    border-bottom: 1px solid #eef2ee;
}

.quick-btn {
    background: #f1f5f9;
    border: 1px solid #e5e7eb;
    color: #2c5530;
    padding: 6px 10px;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.chatbot.open .chatbot-panel { display: flex; flex-direction: column; }

.chatbot-header {
    background: #2c5530;
    color: #fff;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.chatbot-title { font-weight: 700; }
.chatbot-actions button {
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    margin-left: 8px;
}

.chatbot-settings-panel {
    padding: 10px 14px;
    border-bottom: 1px solid #eef2ee;
}
.chatbot-settings-panel label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
}
.chatbot-settings-panel input {
    width: 100%;
    padding: 10px;
    border: 1px solid #dde3de;
    border-radius: 10px;
}
.chatbot-settings-panel small { color: #6c757d; }

.chatbot-messages {
    flex: 1;
    padding: 14px;
    overflow-y: auto;
    background: #f7faf7;
}
.chat-msg {
    max-width: 85%;
    margin-bottom: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    line-height: 1.5;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.chat-msg.user {
    background: #e9f2ea;
    color: #1e3120;
    margin-left: auto;
}
.chat-msg.bot {
    background: #fff;
    color: #222;
    border: 1px solid #eef2ee;
}

.chatbot-input {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    border-top: 1px solid #eef2ee;
}
.chatbot-textarea {
    flex: 1;
    resize: none;
    padding: 10px 12px;
    border: 1px solid #dde3de;
    border-radius: 12px;
}
.chatbot-send {
    background: #ff6b35;
    color: #fff;
    border: none;
    padding: 10px 12px;
    border-radius: 12px;
    cursor: pointer;
}
.chatbot-send:hover { background: #e65e2f; }

@media (max-width: 480px) {
    .chatbot-panel {
        width: calc(100vw - 32px);
        max-height: 70vh;
    }
}

/* ===== Página de Artículo ===== */
.article-header-bar {
    background: #2c5530;
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.article-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
}
.article-back {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}
.article-back i { margin-right: 8px; }
.article-logo {
    height: 36px;
    object-fit: contain;
}

.article-section {
    padding: 32px 0 64px;
    background: #f7faf7;
}
.article-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    overflow: hidden;
}
.article-hero {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #eef3ee;
}
.article-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.article-content-wrap {
    padding: 24px;
}
.article-title {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 12px;
    color: #1e3120;
}
.article-meta {
    display: flex;
    gap: 12px;
    align-items: center;
    color: #5b705e;
    margin-bottom: 16px;
    font-size: 0.95rem;
}
.article-body {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #2a2a2a;
}
.article-body p { margin-bottom: 16px; }
.article-body img {
    max-width: 100%;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .article-title { font-size: 1.6rem; }
    .article-content-wrap { padding: 16px; }
}
/* Shorts Section */
.shorts-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f6f8f7 100%);
}

.shorts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.shorts-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.short-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1), 0 5px 15px rgba(0,0,0,0.08);
    background: #fff;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.4s ease;
    aspect-ratio: 9 / 16;
}

.short-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0,0,0,0.2), 0 10px 25px rgba(0,0,0,0.12);
}

.short-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.95) contrast(1.05) saturate(1.05);
}

.short-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.75rem 1rem;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.65) 90%);
    color: #fff;
    pointer-events: none;
}

.short-title {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
}

.short-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    gap: 0.4rem;
    z-index: 2;
}

.short-badge {
    background: #2c5530;
    color: #fff;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 999px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

@media (max-width: 480px) {
    .short-title { font-size: 0.95rem; }
}
.page-loader {
    position: fixed;
    inset: 0;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}
.page-loader.hide { opacity: 0; visibility: hidden; }
.loader-box { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.loader-logo { width: 140px; height: auto; border-radius: 12px; }
.loader-spinner { width: 64px; height: 64px; border: 6px solid #e5e7eb; border-top-color: #2c5530; border-radius: 50%; animation: spin 1s linear infinite; }
.loader-text { font-family: 'Poppins', sans-serif; color: #2c5530; font-weight: 600; }
@keyframes spin { to { transform: rotate(360deg); } }
.shorts-section { position: relative; }
.shorts-loader { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 24px; background: rgba(255,255,255,0.9); backdrop-filter: blur(2px); z-index: 3; }
