/* 
 * AG Medical Corp - Premium Design
 * Version: 2.4.4
 * Last Updated: 2025-01-XX
 * Mobile menu redesigned: slides from left with overlay
 * Body scroll locked when menu is open
 * Fixed overlay positioning to cover entire viewport
 * Menu properly layered above overlay
 * Fixed hero section padding to prevent header overlap
 */

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0052A3;
    --primary-dark: #003D7A;
    --accent-color: #00A8E8;
    --accent-light: #4FC3F7;
    --text-color: #1A1A1A;
    --text-secondary: #4A5568;
    --light-bg: #F7FAFC;
    --white: #ffffff;
    --success: #10B981;
    --gold: #F59E0B;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-md: 0 8px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 30px 60px rgba(0, 0, 0, 0.15);
    --gradient-primary: linear-gradient(135deg, #0052A3 0%, #00A8E8 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(0, 82, 163, 0.95) 0%, rgba(0, 168, 232, 0.9) 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    padding: 1.2rem 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo h2 {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    background-blend-mode: overlay;
    color: var(--white);
    text-align: center;
    padding-top: 120px;
    padding-bottom: 4rem;
    overflow: hidden;
}

/* Hero with background image */
.hero[style*="background-image"] {
    background-blend-mode: multiply;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 82, 163, 0.85) 0%, rgba(0, 168, 232, 0.75) 100%);
    backdrop-filter: blur(0px);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-particles {
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--white);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    background: var(--accent-color);
    color: var(--white);
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: #25D366;
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    background: #128C7E;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 1s ease-out;
}

.fade-in-delay {
    animation: fadeIn 1s ease-out 0.3s both;
}

.fade-in-delay-2 {
    animation: fadeIn 1s ease-out 0.6s both;
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

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

/* About Section */
.about {
    background: var(--white);
    background-image: url('./assets/images/about-background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.75);
    z-index: 0;
}

.about .container {
    position: relative;
    z-index: 1;
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

.about-text {
    text-align: center;
    margin-bottom: 3rem;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    line-height: 1.8;
}

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

.fact-card {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

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

.fact-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.fact-card p {
    color: #666;
}

/* Products Section */
.products {
    background: var(--light-bg);
}

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

.product-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    position: relative;
    height: 250px;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: var(--white);
}

.product-category {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.product-info p {
    color: #666;
    line-height: 1.6;
}

.products-note {
    text-align: center;
    font-style: italic;
    color: #666;
    margin-top: 2rem;
}

/* Testimonials Section */
.testimonials {
    background: var(--white);
    background-image: url('./assets/images/testimonials-bg.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.70);
    z-index: 0;
}

.testimonials .container {
    position: relative;
    z-index: 1;
}

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

.testimonial-card {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 10px;
    position: relative;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.quote-icon {
    font-size: 4rem;
    color: var(--accent-color);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #555;
}

.testimonial-author h4 {
    color: var(--primary-color);
    margin-bottom: 0.3rem;
}

.testimonial-author p {
    color: #666;
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    background: var(--light-bg);
    background-image: url('./assets/images/contact-background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(247, 250, 252, 0.80);
    z-index: 0;
}

.contact .container {
    position: relative;
    z-index: 1;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-family: 'Roboto', sans-serif;
    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: var(--primary-color);
}

.form-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.form-buttons button,
.form-buttons a {
    flex: 1;
    min-width: 150px;
    text-align: center;
}

.form-success {
    background: #4CAF50;
    color: var(--white);
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
    text-align: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.info-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.info-card a {
    color: var(--accent-color);
    text-decoration: none;
}

.info-card a:hover {
    text-decoration: underline;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* Footer */
.footer {
    background: var(--text-color);
    color: var(--white);
    padding: 2rem 0;
    text-align: center;
}

.footer-content p {
    margin-bottom: 0.5rem;
}

.footer a {
    color: var(--accent-color);
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.footer-links {
    margin-top: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--white);
        flex-direction: column;
        padding: 2rem 1rem;
        box-shadow: var(--shadow-lg);
        display: none;
        gap: 0;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        overflow-x: hidden;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 999;
    }

    .nav-menu.active {
        display: flex;
        transform: translateX(0);
    }

    .nav-menu li {
        padding: 1rem 0;
        border-bottom: 1px solid #e0e0e0;
        width: 100%;
    }

    .nav-menu a {
        display: block;
        font-size: 1.1rem;
        padding: 0.5rem 0;
    }

}

/* Overlay oscuro cuando el menú está abierto */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 998;
}

.nav-overlay.active {
    opacity: 1;
    pointer-events: all;
}

    /* Hero más compacto en móvil */
    .hero {
        min-height: 100vh;
        padding-top: 100px;
        padding-bottom: 2rem;
        background-attachment: scroll;
    }

    .hero h1 {
        font-size: 1.6rem;
        line-height: 1.2;
        margin-bottom: 0.8rem;
    }

    .hero p,
    .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.4;
        margin-bottom: 1.5rem;
    }

    .hero-badge {
        margin-bottom: 1rem;
        font-size: 0.75rem;
    }

    /* Secciones más compactas */
    section {
        padding: 2.5rem 0;
    }

    .section-title {
        font-size: 1.6rem;
        margin-bottom: 0.5rem;
    }

    .section-intro {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }

    .section-label {
        font-size: 0.75rem;
        margin-bottom: 0.3rem;
    }

    .about-facts {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .form-buttons {
        flex-direction: column;
    }

    .form-buttons button,
    .form-buttons a {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    /* Hero ultra compacto */
    .hero {
        min-height: 100vh;
        padding-top: 85px;
        padding-bottom: 1.5rem;
    }

    .hero h1 {
        font-size: 1.4rem;
        line-height: 1.2;
        margin-bottom: 0.6rem;
    }

    .hero p,
    .hero-subtitle {
        font-size: 0.85rem;
        line-height: 1.4;
        margin-bottom: 1rem;
    }

    .hero-badge {
        font-size: 0.7rem;
        padding: 0.4rem 0.8rem;
        margin-bottom: 0.8rem;
    }

    /* Stats ultra compactos */
    .hero-stats {
        gap: 0.8rem;
        margin: 1rem 0;
    }

    .stat-number {
        font-size: 1.3rem;
    }

    .stat-label {
        font-size: 0.65rem;
    }

    /* CTAs más compactos */
    .hero-cta {
        gap: 0.5rem;
        margin-bottom: 0.8rem;
    }

    .btn-primary,
    .btn-secondary {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
    }

    /* Trust badges en una línea */
    .trust-badges {
        gap: 0.3rem;
        margin-top: 0.8rem;
    }

    .trust-item {
        font-size: 0.7rem;
    }

    /* Secciones más compactas */
    section {
        padding: 2rem 0;
    }

    .section-title {
        font-size: 1.4rem;
        margin-bottom: 0.4rem;
    }

    .section-intro {
        font-size: 0.85rem;
        margin-bottom: 1.5rem;
    }

    .section-label {
        font-size: 0.7rem;
    }

    /* Trust bar compacto */
    .trust-bar {
        padding: 1rem 0;
    }

    .trust-indicators {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        row-gap: 1.2rem;
    }

    .indicator-item {
        gap: 0.6rem;
        flex-direction: column;
        text-align: center;
    }

    .indicator-icon {
        font-size: 1.8rem;
    }

    .indicator-text {
        align-items: center;
    }

    .indicator-text strong {
        font-size: 0.8rem;
        white-space: normal;
        text-align: center;
    }

    .indicator-text span {
        font-size: 0.7rem;
        white-space: normal;
        text-align: center;
    }

    /* Brands compactos */
    .brands-title {
        font-size: 0.8rem;
        margin-bottom: 1rem;
    }

    .brands-grid {
        gap: 0.6rem;
    }

    .brand-logo {
        font-size: 0.9rem;
    }

    /* About compacto */
    .about-text p {
        font-size: 0.95rem;
        margin-bottom: 0.8rem;
    }

    .about-features {
        gap: 0.6rem;
        margin-top: 1.5rem;
    }

    .feature-item {
        padding: 0.7rem;
        font-size: 0.85rem;
    }

    .about-facts {
        gap: 0.8rem;
        margin-top: 2rem;
    }

    .fact-card {
        padding: 1.2rem;
    }

    .fact-icon {
        font-size: 2rem;
    }

    /* Products compactos */
    .products-grid {
        gap: 1.2rem;
    }

    .product-info {
        padding: 1.2rem;
    }

    .product-info h3 {
        font-size: 1.1rem;
    }

    .product-info p {
        font-size: 0.85rem;
    }

    /* Testimonials compactos */
    .testimonials-grid {
        gap: 1.2rem;
    }

    .testimonial-card {
        padding: 1.2rem;
    }

    .testimonial-text {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .quote-icon {
        font-size: 3rem;
        margin-bottom: 0.5rem;
    }

    /* Contact compacto */
    .contact-wrapper {
        gap: 2rem;
    }

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

    .info-card {
        padding: 1.2rem;
    }
}

/* ============================================================================
   PREMIUM DESIGN ENHANCEMENTS
   ============================================================================ */

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 2rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.badge-icon {
    font-size: 1.2rem;
}

/* Hero Subtitle */
.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Hero CTA */
.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.btn-large {
    padding: 1.1rem 2.8rem;
    font-size: 1.05rem;
}

.btn-secondary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: transparent;
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid var(--white);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Trust Badges */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.trust-item {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* Hero Particles */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    animation: particleFloat 20s ease-in-out infinite;
}

@keyframes particleFloat {
    0%, 100% { opacity: 0.3; transform: translateY(0); }
    50% { opacity: 0.6; transform: translateY(-20px); }
}

/* Trust Bar */
.trust-bar {
    background: var(--white);
    padding: 2rem 0;
    border-bottom: 1px solid #E5E7EB;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.trust-indicators {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.indicator-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 0;
}

.indicator-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.indicator-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
}

.indicator-text strong {
    color: var(--text-color);
    font-size: 1rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.indicator-text span {
    color: var(--text-secondary);
    font-size: 0.85rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    display: inline-block;
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.5rem;
}

.section-intro {
    max-width: 700px;
    margin: 1rem auto 0;
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* About Section Enhancements */
.about-main {
    margin-bottom: 3rem;
}

.about-subtitle {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.lead-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

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

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem;
    background: var(--light-bg);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: var(--white);
    box-shadow: var(--shadow);
    transform: translateX(5px);
}

.feature-icon {
    color: var(--success);
    font-size: 1.3rem;
    font-weight: bold;
}

.fact-badge {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.3rem 0.8rem;
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Product Card Enhancements */
.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
}

.badge-premium {
    background: var(--gold);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 82, 163, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.btn-overlay {
    padding: 0.8rem 1.8rem;
    background: var(--white);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-overlay:hover {
    background: var(--accent-color);
    color: var(--white);
    transform: scale(1.05);
}

.product-features {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.feature-tag {
    font-size: 0.75rem;
    color: var(--success);
    background: rgba(16, 185, 129, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-weight: 500;
}

.products-cta {
    text-align: center;
    margin-top: 4rem;
    padding: 3rem;
    background: var(--light-bg);
    border-radius: 15px;
}

.cta-text {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

/* Testimonial Enhancements */
.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.rating {
    display: flex;
    gap: 0.2rem;
}

.star {
    color: var(--gold);
    font-size: 1.1rem;
}

.verified-badge {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8rem;
    color: var(--success);
    font-weight: 600;
}

.verified-icon {
    background: var(--success);
    color: var(--white);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    margin-right: 1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-info h4 {
    margin-bottom: 0.2rem;
}

.testimonials-footer {
    text-align: center;
    margin-top: 3rem;
}

.trust-statement {
    font-size: 1.2rem;
    color: var(--text-color);
    font-weight: 600;
    padding: 1.5rem;
    background: var(--light-bg);
    border-radius: 10px;
    border-left: 4px solid var(--accent-color);
}

/* Brands Section */
.brands-section {
    background: var(--light-bg);
    padding: 3rem 0;
    border-bottom: 1px solid #E5E7EB;
}

.brands-title {
    text-align: center;
    font-size: 0.95rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2rem;
    font-weight: 600;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    align-items: center;
}

.brand-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.brand-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.brand-logo {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-color);
    text-align: center;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    /* Hero stats más compactos */
    .hero-stats {
        gap: 1rem;
        margin: 1.5rem 0;
    }
    
    .stat-item {
        gap: 0.2rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
        letter-spacing: 0;
    }
    
    .hero-cta {
        flex-direction: column;
        width: 100%;
        gap: 0.6rem;
        margin-bottom: 1rem;
    }
    
    .hero-cta a {
        width: 100%;
        text-align: center;
        padding: 0.8rem 1.5rem;
    }
    
    /* Trust badges más compactos */
    .trust-badges {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
        font-size: 0.75rem;
        margin-top: 1rem;
    }
    
    .trust-item {
        font-size: 0.75rem;
    }
    
    /* Trust bar más compacto */
    .trust-bar {
        padding: 1.5rem 0;
    }
    
    .trust-indicators {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
        row-gap: 1.5rem;
    }
    
    .indicator-item {
        gap: 0.8rem;
    }
    
    .indicator-icon {
        font-size: 1.5rem;
    }
    
    .indicator-text strong {
        font-size: 0.85rem;
        white-space: normal;
        line-height: 1.2;
    }
    
    .indicator-text span {
        font-size: 0.75rem;
        white-space: normal;
        line-height: 1.3;
    }
    
    /* About más compacto */
    .about-features {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .feature-item {
        padding: 0.8rem;
    }
    
    .about-facts {
        gap: 1rem;
    }
    
    .fact-card {
        padding: 1.5rem;
    }
    
    /* Brands más compacto */
    .brands-section {
        padding: 2rem 0;
    }
    
    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    
    .brand-item {
        padding: 1rem;
    }
    
    /* Products más compactos */
    .products-grid {
        gap: 1.5rem;
    }
    
    .product-card {
        margin-bottom: 0;
    }
    
    /* Testimonials más compactos */
    .testimonials-grid {
        gap: 1.5rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
}

