html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}
/* Reset y Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #99b873;
    --primary-dark: #7fa15f;
    --primary-light: #b8c79a;
    --text-dark: #000000;
    --text-light: #cccccc;
    --text-white: #ffffff;
    --bg-dark: #000000;
    --bg-darker: #0a0a0a;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #333333;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 32px rgba(0, 0, 0, 0.5);
    --font-family: 'Montserrat', sans-serif;
}

/* Base */
body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-light);
    background: var(--bg-dark);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
    position: relative;
    font-size: 18px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--bg-dark) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 80px;
}

.nav-logo {
    flex: 1;
}

.site-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-white);
    margin: 0;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.site-title .highlight {
    color: var(--primary-color);
    font-size: 0.75rem;
    display: block;
    letter-spacing: 3px;
    font-weight: 500;
    margin-top: 4px;
}

.nav-logo img {
    height: 60px;
    width: auto;
    filter: brightness(0) invert(1);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-white);
    font-weight: 500;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-white);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out, transform 8s ease-out;
    transform: scale(1.05);
}

.carousel-slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(18, 18, 18, 0.9) 0%, rgba(18, 18, 18, 0.4) 100%);
    z-index: -1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, var(--primary-color) 0%, transparent 50%);
    opacity: 0.1;
    animation: pulse 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes pulse {
    0%, 100% { opacity: 0.1; }
    50% { opacity: 0.15; }
}

.hero-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 3rem 2rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(153, 184, 115, 0.15);
    border: 1px solid rgba(153, 184, 115, 0.4);
    border-radius: 50px;
    color: var(--primary-light);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    backdrop-filter: blur(5px);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--text-white);
    letter-spacing: -1px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.hero-subtitle {
    font-size: clamp(1.25rem, 3vw, 2.2rem);
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-weight: 500;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
}

.highlight-text {
    color: var(--primary-color);
    font-weight: 700;
}

.hero-description {
    font-size: 1.2rem;
    color: #9ca3af;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn-large {
    padding: 1rem 3rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.glow-effect {
    box-shadow: 0 0 20px rgba(153, 184, 115, 0.4);
    animation: pulseGlow 3s infinite;
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 20px rgba(153, 184, 115, 0.4); }
    50% { box-shadow: 0 0 40px rgba(153, 184, 115, 0.6); transform: translateY(-2px); }
    100% { box-shadow: 0 0 20px rgba(153, 184, 115, 0.4); }
}

/* Hero Content Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }
}

.placeholder-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, var(--primary-color) 50%, transparent 70%);
    opacity: 0.1;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Buttons */
.btn {
    padding: 14px 28px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--bg-dark);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--text-white);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--bg-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.125rem;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-white);
    position: relative;
    display: inline-block;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-light);
    font-size: clamp(1rem, 2vw, 1.125rem);
}

/* Products Overview Section */
.products-overview {
    padding: 80px 0;
    background: var(--bg-darker);
}

.products-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.category-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(153, 184, 115, 0.2);
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    backdrop-filter: blur(10px);
    flex: 1 1 280px;
    max-width: 350px;
}

.category-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    background: rgba(153, 184, 115, 0.1);
    box-shadow: 0 20px 40px rgba(153, 184, 115, 0.3);
}

.category-card:hover h3,
.category-card:hover p {
    color: var(--text-white);
}

.category-icon {
    margin-bottom: 1.5rem;
}

.placeholder-icon {
    background: var(--primary-color);
    color: var(--bg-dark);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 10px 25px rgba(153, 184, 115, 0.4);
    transition: all 0.3s ease;
}

.category-card:hover .placeholder-icon {
    transform: scale(1.1);
    box-shadow: 0 15px 35px rgba(153, 184, 115, 0.6);
}

.category-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-white);
}

/* About Section */
.about-section {
    padding: 100px 0;
    background: var(--bg-dark);
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    text-align: center;
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    padding: 20px;
    box-sizing: border-box;
}

.about-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 20px;
    position: relative;
    z-index: 2;
    padding: 10px;
    background: var(--bg-card);
    border: 1px solid rgba(153, 184, 115, 0.3);
}

.about-image-glow {
    position: absolute;
    top: 5%;
    left: 5%;
    right: 5%;
    bottom: 5%;
    background: var(--primary-color);
    opacity: 0.1;
    border-radius: 20px;
    z-index: 1;
    filter: blur(20px);
}

.about-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 2rem;
}

.about-features {
    margin-bottom: 2.5rem;
}

.about-features ul {
    list-style: none;
    padding: 0;
}

.about-features li {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-icon {
    color: var(--primary-color);
    font-weight: bold;
    background: rgba(153, 184, 115, 0.15);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.mv-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.mv-card:hover {
    border-color: var(--primary-color);
    background: rgba(153, 184, 115, 0.05);
    transform: translateY(-3px);
}

.mv-card h3 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.mv-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .mission-vision-grid {
        grid-template-columns: 1fr;
    }
}

.about-quote {
    font-size: 1.4rem;
    color: var(--primary-color);
    font-style: italic;
    padding: 1.5rem 2rem;
    background: rgba(153, 184, 115, 0.08);
    border-left: 4px solid var(--primary-color);
    border-radius: 0 12px 12px 0;
    margin-bottom: 3rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat-card {
    text-align: center;
    padding: 2rem 1rem;
    background: rgba(153, 184, 115, 0.1);
    border: 1px solid rgba(153, 184, 115, 0.3);
    border-radius: 12px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(153, 184, 115, 0.3);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    display: block;
    color: var(--text-light);
    font-size: 1rem;
}

@media (max-width: 900px) {
    .about-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .about-stats {
        grid-template-columns: 1fr;
    }
}

/* Maintain gap hack */
.category-card p {
    color: var(--text-light);
    line-height: 1.6;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

/* Product Detail Sections */
.product-detail {
    padding: 80px 0;
    background: var(--bg-dark);
}

.product-detail:nth-child(even) {
    background: var(--bg-darker);
}

.product-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.product-info p {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.coverage-list {
    margin-bottom: 2rem;
}

.coverage-list h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-white);
}

.coverage-list ul {
    list-style: none;
    padding-left: 0;
}

.coverage-list ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-light);
}

.coverage-list ul li:before {
    content: "✓";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.product-cta {
    background: rgba(153, 184, 115, 0.1);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(153, 184, 115, 0.3);
    backdrop-filter: blur(10px);
    align-self: center;
    transition: all 0.3s ease;
}

.product-cta:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(153, 184, 115, 0.3);
}

@media (min-width: 769px) {
    #accidentes .product-cta,
    #emergencias .product-cta,
    #cancer .product-cta {
        margin-top: 4rem;
    }
}

.product-cta h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-white);
}

.product-cta p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.coverage-plus {
    background: var(--primary-color);
    color: var(--text-dark);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.coverage-plus h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

/* Automotriz Products */
.automotriz-products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.auto-product-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(153, 184, 115, 0.2);
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.auto-product-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    background: rgba(153, 184, 115, 0.1);
    box-shadow: 0 15px 30px rgba(153, 184, 115, 0.3);
}

.auto-product-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-white);
}

.auto-product-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.benefits h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-white);
}

.benefits ul {
    list-style: none;
    padding-left: 0;
}

.benefits ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-light);
}

.benefits ul li:before {
    content: "✓";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-light) 100%);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 20%, var(--primary-color) 0%, transparent 50%);
    opacity: 0.05;
    animation: float 8s ease-in-out infinite;
}

.testimonials-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 20px;
}

.testimonial-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
    min-width: 100%;
    padding: 3rem;
    background: var(--bg-white);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    margin: 0 1rem;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 120px;
    color: var(--primary-color);
    opacity: 0.1;
    font-family: Georgia, serif;
}

.testimonial-content {
    position: relative;
    z-index: 2;
}

.testimonial-stars {
    color: #fbbf24;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.testimonial-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--bg-white);
    box-shadow: 0 10px 25px rgba(153, 184, 115, 0.3);
}

.author-info h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.author-info p {
    font-size: 0.875rem;
    color: var(--text-light);
}

.testimonial-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    pointer-events: none;
}

.testimonial-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    border: none;
    color: var(--text-dark);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(153, 184, 115, 0.3);
    pointer-events: all;
}

.testimonial-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
    box-shadow: 0 15px 35px rgba(153, 184, 115, 0.5);
}

.testimonial-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* Products Overview Section */
.products-overview {
    padding: 80px 0;
    background: var(--bg-section);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-white);
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.product-category {
    margin-bottom: 60px;
}

.category-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
}

.products-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.edad-info {
    display: block;
    margin-top: 10px;
    padding: 5px 10px;
    background: var(--primary-color);
    color: var(--text-white);
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background: var(--bg-dark);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(153, 184, 115, 0.2);
    border-radius: 16px;
    padding: 25px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: all 0.3s ease;
}

.faq-card:hover {
    border-color: var(--primary-color);
    background: rgba(153, 184, 115, 0.1);
    box-shadow: 0 10px 30px rgba(153, 184, 115, 0.2);
    transform: translateY(-5px);
}

.faq-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: rgba(153, 184, 115, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.faq-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 10px;
}

.faq-content p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Partners Section */
.partners-section {
    padding: 80px 0;
    background: var(--bg-section);
}

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
}

.partner-card {
    background: rgba(153, 184, 115, 0.1);
    border: 1px solid rgba(153, 184, 115, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    flex: 1 1 300px;
    max-width: 350px;
}

.partner-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(153, 184, 115, 0.1);
    transform: translateY(-5px);
}

.partner-logo {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    background: var(--bg-darker);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-logo {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 600;
}

.partner-logo img {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
}

.partner-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 10px;
}

.partner-card p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
}

/* Blog Section */
.blog-section {
    padding: 100px 0;
    background: var(--bg-darker);
}

.blog-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.blog-tab {
    padding: 12px 30px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(153, 184, 115, 0.2);
    border-radius: 50px;
    color: var(--text-light);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.blog-tab:hover {
    border-color: var(--primary-color);
    background: rgba(153, 184, 115, 0.05);
    color: var(--text-white);
}

.blog-tab.active {
    background: var(--primary-color);
    color: var(--bg-dark);
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(153, 184, 115, 0.4);
}

.blog-content {
    margin-top: 40px;
}

.blog-tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.blog-tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.blog-posts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.blog-post {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(153, 184, 115, 0.2);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-post:hover {
    border-color: var(--primary-color);
    background: rgba(153, 184, 115, 0.1);
    box-shadow: 0 15px 35px rgba(153, 184, 115, 0.2);
    transform: translateY(-8px);
}

.blog-image {
    height: 220px;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(153, 184, 115, 0.1);
    position: relative;
    overflow: hidden;
}

.blog-image::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(45deg, transparent 40%, rgba(153, 184, 115, 0.1) 50%, transparent 60%);
    background-size: 200% 200%;
    animation: shine 3s infinite;
}

@keyframes shine {
    to { background-position: -200% -200%; }
}

.placeholder-image {
    color: var(--primary-color);
    opacity: 0.5;
    font-size: 3rem;
    position: relative;
    z-index: 1;
}

.blog-info {
    padding: 30px;
    flex-grow: 1;
}

.blog-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-info p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}



.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(153, 184, 115, 0.2);
    box-shadow: 0 10px 25px rgba(153, 184, 115, 0.3);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Contact Section */
#contacto {
    padding: 100px 0;
    background: var(--bg-dark);
    position: relative;
    z-index: 10;
    clear: both;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info-card, .contact-form-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(153, 184, 115, 0.2);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.3s ease;
}

.contact-info-card:hover, .contact-form-card:hover {
    border-color: rgba(153, 184, 115, 0.4);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(153, 184, 115, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    background: var(--primary-color);
    color: var(--bg-dark);
    transform: scale(1.1);
}

.contact-text h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-white);
}

.contact-text p {
    color: var(--text-light);
    font-size: 1rem;
    margin: 0;
}

.contact-map {
    margin-top: 40px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(153, 184, 115, 0.3);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 16px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    font-size: 16px; /* 16px exacto para evitar zoom automático en iOS */
    font-family: var(--font-family);
    transition: all 0.3s ease;
    color: var(--text-white);
}

.form-group input::placeholder,
.form-group textarea::placeholder,
.form-group select::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 15px rgba(153, 184, 115, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

/* Final CTA */
.final-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary-color) 100%);
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.1) 0%, transparent 50%);
    animation: pulse 3s ease-in-out infinite;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-white);
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.cta-content .btn-primary {
    background: var(--text-white);
    color: var(--bg-dark);
    font-size: 1.125rem;
    padding: 18px 36px;
    border: none;
    box-shadow: var(--shadow-lg);
}

.cta-content .btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}


/* Footer */
.footer {
    background: var(--bg-darker);
    color: var(--text-white);
    padding: 80px 0 30px;
    border-top: 1px solid rgba(153, 184, 115, 0.2);
    position: relative;
    overflow: hidden;
    padding-bottom: calc(40px + env(safe-area-inset-bottom));
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.footer-section p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 0.8rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 1rem;
}

.footer-section ul li a {
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.social-icons {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.social-icon {
    color: var(--text-white);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
    box-sizing: border-box;
}

.social-icon svg {
    width: 38px;
    height: 38px;
    stroke-width: 1.5;
}

.social-icon:hover {
    color: var(--bg-dark);
    background: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 10px 25px rgba(153, 184, 115, 0.4);
    transform: translateY(-5px) scale(1.05);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    text-align: center;
    margin-top: 2rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Animaciones suaves para secciones */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.section-header.animate {
    opacity: 1;
    transform: translateY(0);
}

.category-card {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.category-card.animate {
    opacity: 1;
    transform: translateY(0);
}

/* --- Article Reading Pages CSS --- */
.article-header {
    padding: 220px 0 60px;
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.article-header::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 100px;
    background: var(--primary-color);
    filter: blur(100px);
    opacity: 0.15;
    z-index: 1;
}

.article-header .container {
    position: relative;
    z-index: 2;
}

.article-breadcrumb {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.article-breadcrumb a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-breadcrumb a:hover {
    color: var(--primary-color);
}

.article-header h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -1px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.article-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    color: rgba(255,255,255,0.5);
    font-size: 0.95rem;
}

.article-hero-image {
    width: 100%;
    max-width: 1000px;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    margin: -40px auto 60px;
    display: block;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border: 1px solid rgba(153, 184, 115, 0.2);
    position: relative;
    z-index: 5;
}

.article-content {
    padding: 0 0 100px;
    background: var(--bg-darker);
}

.article-body {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 60px;
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-light);
}

.article-body h2 {
    font-size: 2rem;
    color: var(--text-white);
    margin: 3rem 0 1.5rem;
    font-weight: 700;
}

.article-body h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 2rem 0 1rem;
    font-weight: 600;
}

.article-body p {
    margin-bottom: 1.5rem;
}

.article-body ul {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
    list-style-type: none;
}

.article-body ul li {
    position: relative;
    margin-bottom: 0.8rem;
}

.article-body ul li::before {
    content: "✦";
    color: var(--primary-color);
    position: absolute;
    left: -1.5rem;
}

.article-cta {
    max-width: 800px;
    margin: 4rem auto 0;
    text-align: center;
    background: linear-gradient(135deg, rgba(153, 184, 115, 0.1) 0%, rgba(153, 184, 115, 0.02) 100%);
    border: 1px solid rgba(153, 184, 115, 0.3);
    border-radius: 20px;
    padding: 3rem;
}

.article-cta h3 {
    color: var(--text-white);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.article-cta p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.btn-floating-back {
    position: fixed;
    bottom: calc(40px + env(safe-area-inset-bottom));
    left: calc(40px + env(safe-area-inset-left));
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(153, 184, 115, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    z-index: 100;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.btn-floating-back:hover {
    background: var(--primary-color);
    color: var(--bg-dark);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 15px 35px rgba(153, 184, 115, 0.4);
}

@media (max-width: 768px) {
    .article-body {
        padding: 30px 20px;
    }
    .article-hero-image {
        height: 250px;
        margin: 0 0 40px 0;
        width: 100%;
    }
    .btn-floating-back {
        bottom: calc(20px + env(safe-area-inset-bottom));
        left: env(safe-area-inset-left, 20px);
        width: 50px;
        height: 50px;
    }
}

/* WhatsApp Floating Button - Premium Glassmorphism */
.whatsapp-float {
    position: fixed;
    bottom: calc(40px + env(safe-area-inset-bottom));
    right: calc(40px + env(safe-area-inset-right));
    width: 90px;
    height: 90px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(37, 211, 102, 0.4);
    color: #25d366;
    border-radius: 50%;
    box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
}

.whatsapp-float svg {
    width: 55px;
    height: 55px;
    fill: currentColor;
    filter: drop-shadow(0 0 8px rgba(37, 211, 102, 0.5));
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-8px);
    background: rgba(37, 211, 102, 0.1);
    border-color: #25d366;
    box-shadow: 0px 15px 35px rgba(37, 211, 102, 0.4);
    color: #25d366;
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: calc(15px + env(safe-area-inset-bottom));
        right: calc(15px + env(safe-area-inset-right));
        width: 55px;
        height: 55px;
    }
    .whatsapp-float svg {
        width: 35px;
        height: 35px;
    }
}

/* Telegram Floating Button - Premium Glassmorphism */
.telegram-float {
    position: fixed;
    bottom: calc(140px + env(safe-area-inset-bottom));
    right: calc(40px + env(safe-area-inset-right));
    width: 90px;
    height: 90px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(36, 161, 222, 0.4);
    color: #24A1DE;
    border-radius: 50%;
    box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
}

.telegram-float svg {
    width: 55px;
    height: 55px;
    fill: currentColor;
    filter: drop-shadow(0 0 8px rgba(36, 161, 222, 0.5));
}

.telegram-float:hover {
    transform: scale(1.1) translateY(-8px);
    background: rgba(36, 161, 222, 0.1);
    border-color: #24A1DE;
    box-shadow: 0px 15px 35px rgba(36, 161, 222, 0.4);
    color: #24A1DE;
}

@media (max-width: 768px) {
    .telegram-float {
        bottom: calc(80px + env(safe-area-inset-bottom));
        right: calc(15px + env(safe-area-inset-right));
        width: 55px;
        height: 55px;
    }
    .telegram-float svg {
        width: 35px;
        height: 35px;
    }
}

.product-detail {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.product-detail.animate {
    opacity: 1;
    transform: translateY(0);
}



.final-cta {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.final-cta.animate {
    opacity: 1;
    transform: translateY(0);
}
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(18, 18, 18, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        width: 100%;
        max-width: 100vw;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        padding: 2rem 0;
        z-index: 999;
        height: 100dvh;
        padding-bottom: env(safe-area-inset-bottom);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        margin-bottom: 10px;
    }

    .hero-content {
        padding: 2rem 1.5rem;
    }

    .product-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .product-cta {
        position: static;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .products-categories {
        grid-template-columns: 1fr;
    }

    .automotriz-products {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .cta-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .products-overview,
    .product-detail {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .cta-content h2 {
        font-size: 1.75rem;
    }

    .final-cta {
        padding: 60px 0;
    }
}


/* Mobile Performance Optimizations (Remove heavy blurs on mobile) */
@media (max-width: 768px) {
    /* Replace backdrop-filter with solid semi-transparent colors */
    .header,
    .nav-menu,
    .hero-badge,
    .category-card,
    .blog-post,
    .contact-info-card, 
    .contact-form-card,
    .btn-floating-back,
    .whatsapp-float,
    .telegram-float,
    .product-cta {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    /* Fallback backgrounds for elements that relied heavily on blur */
    .nav-menu {
        background: rgba(18, 18, 18, 0.98) !important;
    }
    
    .category-card, .blog-post, .contact-info-card, .contact-form-card {
        background: rgba(25, 25, 25, 0.95) !important;
    }

    .whatsapp-float, .telegram-float, .btn-floating-back {
        background: rgba(30, 30, 30, 0.95) !important;
    }

    /* Disable heavy filter blur */
    .about-image-glow {
        filter: none !important;
        opacity: 0.05 !important;
    }
    
    /* Disable heavy infinite animations */
    .hero::before {
        display: none !important;
        animation: none !important;
    }
}


/* Global Mobile Zoom Out */
@media (max-width: 768px) {
    html, body {
        font-size: 15px !important;
    }
}
