.hero {
    position: relative;
    overflow: hidden;
    min-height: 400px;
    contain: layout style paint;
}

.hero-slides {
    position: relative;
    min-height: 400px;
}

.hero-slide {
    display: none;
    min-height: inherit;
}

.hero-slide.active {
    display: block;
}

.hero-slide-inner {
    padding: 4rem 0 5rem;
    min-height: 400px;
}

.bg-gradient-1 {
    background: linear-gradient(135deg, #0c4a6e 0%, #0284c7 100%);
}

.bg-gradient-2 {
    background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 100%);
}

.bg-gradient-3 {
    background: linear-gradient(135deg, #064e3b 0%, #10b981 100%);
}

.hero-center {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    background: rgba(255,255,255,0.15);
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.25rem;
}

.hero-tag.tag-eco {
    background: rgba(34,197,94,0.3);
}

.hero-center h1 {
    font-size: 2.25rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-center h1 strong {
    color: #7dd3fc;
}

.hero-center p {
    color: rgba(255,255,255,0.9);
    font-size: 1.0625rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-ctas {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-hero-primary,
.btn-hero-wa,
.btn-hero-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: transform 0.2s, opacity 0.2s;
}

.btn-hero-primary {
    background: #fff;
    color: #0369a1;
}

.btn-hero-wa {
    background: #25D366;
    color: #fff;
}

.btn-hero-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.5);
}

.btn-hero-primary:hover,
.btn-hero-wa:hover,
.btn-hero-outline:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.hero-dots-wrap {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.2s;
}

.hero-dot:hover {
    background: rgba(255,255,255,0.6);
}

.hero-dot.active {
    background: #fff;
    width: 32px;
    border-radius: 6px;
}

.features-strip {
    background: #1e293b;
    padding: 1rem 0;
}

.features-flex {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.feat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 500;
}

.feat i {
    color: #38bdf8;
    font-size: 1.25rem;
}

@media (max-width: 768px) {
    .hero-slide-inner {
        padding: 3rem 0 4rem;
    }
    
    .hero-center h1 {
        font-size: 1.75rem;
    }
    
    .hero-center p {
        font-size: 0.9375rem;
        margin-bottom: 1.5rem;
    }
    
    .btn-hero-primary,
    .btn-hero-wa,
    .btn-hero-outline {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }
    
    .hero-dots-wrap {
        bottom: 1rem;
    }
    
    .hero-dot {
        width: 10px;
        height: 10px;
    }
    
    .hero-dot.active {
        width: 26px;
    }
    
    .feat {
        font-size: 0.8125rem;
    }
}

@media (max-width: 480px) {
    .hero-slide-inner {
        padding: 2.5rem 0 3.5rem;
    }
    
    .hero-center h1 {
        font-size: 1.5rem;
    }
    
    .hero-center p {
        font-size: 0.875rem;
    }
    
    .hero-ctas {
        flex-direction: column;
    }
    
    .btn-hero-primary,
    .btn-hero-wa,
    .btn-hero-outline {
        width: 100%;
        justify-content: center;
    }
    
    .features-flex {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
        text-align: center;
    }
    
    .feat {
        flex-direction: column;
        gap: 0.25rem;
        font-size: 0.75rem;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 0.375rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary-500);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-600);
}

.btn-secondary {
    background: white;
    color: var(--primary-600);
    border: 1px solid #e5e7eb;
}

.btn-secondary:hover {
    background: #f9fafb;
    border-color: var(--primary-300);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background: white;
    color: var(--primary-600);
}

.btn-whatsapp {
    background: #25D366;
    color: white;
}

.btn-whatsapp:hover {
    background: #20BD5A;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

.btn-sm {
    padding: 0.625rem 1.5rem;
    font-size: 0.875rem;
}

.section {
    padding: 5rem 0;
}

.section-sm {
    padding: 3rem 0;
}

.section-lg {
    padding: 7rem 0;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: #64748b;
    max-width: 600px;
    line-height: 1.7;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-100);
    color: var(--primary-700);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.cta-section {
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-700) 100%);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-content {
    position: relative;
    z-index: 10;
}

.cta-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.cta-text {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.product-card {
    background: #ffffff;
    border-radius: 0.5rem;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid #e5e7eb;
    transition: all 0.25s ease;
    position: relative;
    contain: layout style;
    content-visibility: auto;
    contain-intrinsic-size: auto 450px;
}

.product-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 0.5rem;
    border: 2px solid transparent;
    transition: border-color 0.25s ease;
    pointer-events: none;
    z-index: 10;
}

.product-card:hover::before {
    border-color: var(--primary-500);
}

.product-card:hover {
    border-color: transparent;
}

.product-card-image {
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    cursor: pointer;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1.5rem;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.product-card:hover .product-card-image img {
    filter: brightness(1.05);
}

.product-card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(14, 165, 233, 0.03) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.product-card:hover .product-card-image::after {
    opacity: 1;
}

.product-card-image-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.0);
    transition: background 0.3s ease;
    pointer-events: none;
}

.product-card-image-overlay i {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--primary-600);
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.product-card:hover .product-card-image-overlay {
    background: rgba(15, 23, 42, 0.15);
}

.product-card:hover .product-card-image-overlay i {
    opacity: 1;
    transform: scale(1);
}

.product-card-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary-500);
    color: white;
    padding: 0.375rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.product-card-content {
    padding: 1.25rem 1.5rem 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    border-top: 1px solid #f3f4f6;
}

.product-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.4;
    font-family: 'Poppins', system-ui, sans-serif;
    margin: 0;
}

.product-card-description {
    color: #6b7280;
    font-size: 0.8125rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

.product-card-specs {
    display: flex;
    flex-direction: column;
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
    overflow: hidden;
    margin-top: auto;
}

.product-card-specs .spec-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.625rem 0.875rem;
    background: #fafafa;
    border-bottom: 1px solid #e5e7eb;
}

.product-card-specs .spec-item:last-child {
    border-bottom: none;
}

.product-card-specs .spec-item:nth-child(even) {
    background: #ffffff;
}

.product-card-specs .spec-item i {
    display: none;
}

.product-card-specs .spec-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.product-card-specs .spec-label {
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 500;
}

.product-card-specs .spec-value {
    font-size: 0.75rem;
    color: #111827;
    font-weight: 600;
    text-align: right;
}

.product-card-footer {
    display: flex;
    gap: 0.625rem;
    padding-top: 0.75rem;
}

.product-card-footer .btn {
    padding: 0.75rem 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
}

.product-card-footer .btn-primary {
    background: #111827;
    border: none;
    color: white;
}

.product-card-footer .btn-primary:hover {
    background: var(--primary-600);
}

.product-card-footer .btn-whatsapp {
    padding: 0.75rem;
    background: #22c55e;
    border: none;
}

.product-card-footer .btn-whatsapp:hover {
    background: #16a34a;
}

.news-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    contain: layout style;
    content-visibility: auto;
    contain-intrinsic-size: auto 400px;
}

.news-card:hover {
    border-color: var(--primary-300);
}

.news-card-image {
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--primary-50);
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-card-image img {
    transform: scale(1.05);
}

.news-card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-card-date {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-600);
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.news-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.news-card:hover .news-card-title {
    color: var(--primary-600);
}

.news-card-excerpt {
    color: #64748b;
    font-size: 0.875rem;
    line-height: 1.6;
    flex-grow: 1;
}

.news-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-600);
    font-weight: 600;
    margin-top: 1rem;
    transition: gap 0.2s ease;
}

.news-card-link:hover {
    gap: 0.75rem;
}

.products-slider {
    overflow: hidden;
    position: relative;
    padding: 1rem 0;
    width: 100%;
}

.products-slider-track {
    display: flex;
    gap: 1.25rem;
    padding: 0 2rem;
    animation: scroll 40s linear infinite;
    width: fit-content;
}

.products-slider-track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.products-slider-item {
    flex: 0 0 300px;
    max-width: 300px;
}

.products-slider-item .product-card {
    height: 100%;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    text-align: center;
    contain: layout style;
    content-visibility: auto;
    contain-intrinsic-size: auto 250px;
}

.feature-card:hover {
    border-color: var(--primary-300);
}

.feature-icon {
    width: 4rem;
    height: 4rem;
    background: var(--primary-100);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 2rem;
    color: var(--primary-600);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.75rem;
}

.feature-description {
    color: #64748b;
    font-size: 0.875rem;
    line-height: 1.6;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #64748b;
}

.breadcrumbs a {
    color: var(--primary-600);
    transition: color 0.2s ease;
}

.breadcrumbs a:hover {
    color: var(--primary-700);
}

.breadcrumbs-separator {
    color: #cbd5e1;
}

@media (max-width: 1024px) {
    .hero-arrow {
        width: 48px;
        height: 48px;
    }
    
    .hero-arrow-prev {
        left: 1rem;
    }
    
    .hero-arrow-next {
        right: 1rem;
    }
    
    .hero-stats {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 3rem 0;
    }

    .section-lg {
        padding: 4rem 0;
    }

    .cta-section {
        padding: 3rem 0;
        text-align: center;
    }

    .btn {
        padding: 0.75rem 1.5rem;
    }

    .btn-lg {
        padding: 0.875rem 2rem;
    }
}

@media (max-width: 480px) {
    .products-slider-item {
        flex: 0 0 280px;
        max-width: 280px;
    }
    
    .products-slider-track {
        padding: 0 1rem;
    }
}
