/* === CSS RESET === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* === VARIABLES === */
:root {
    --primary: #1e441e;
    --secondary: #d97706;
    --success: #059669;
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    --container-max: 1200px;
    --section-padding: 5rem;
    --border-radius: 0.75rem;
    --border-radius-lg: 1rem;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* === LAYOUT === */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1rem;
}

section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.section-header p {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: var(--gray-600);
    line-height: 1.6;
    font-weight: 400;
}

/* === NAVIGATION === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
}

.logo {
    width: 95px;
    height: 50px;
    border-radius: var(--border-radius);
    object-fit: contain;
    background: var(--white);
    padding: 4px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    padding: 8px;
    width: 40px;
    height: 40px;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
}

.nav-toggle:hover {
    background: var(--gray-100);
}

.nav-toggle span {
    width: 20px;
    height: 2px;
    background: var(--gray-700);
    border-radius: 1px;
    transition: var(--transition);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    color: var(--gray-700);
    transition: var(--transition);
    padding: 0.5rem 0;
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-whatsapp {
    background: var(--success);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.nav-whatsapp:hover {
    background: #047857;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* === MOBILE NAVIGATION === */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .logo {
        width: 85px;
        height: 45px;
        padding: 3px;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 1rem 0;
        gap: 0;
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-link {
        padding: 0.75rem 2rem;
        width: 100%;
        border-bottom: 1px solid var(--gray-100);
    }
    
    .nav-link::after {
        display: none;
    }
    
    .nav-link:hover {
        background: var(--gray-50);
        padding-left: 2.5rem;
    }
    
    .nav-whatsapp {
        margin: 0.5rem 2rem;
        text-align: center;
        border-radius: var(--border-radius-lg);
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }
}

/* === HERO SECTION === */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: var(--white);
    overflow: hidden;
    padding: 0;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -2;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 68, 30, 0.8) 0%, rgba(30, 68, 30, 0.6) 100%);
    z-index: -1;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.hero-title {
    font-size: clamp(2.75rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    letter-spacing: -0.02em;
}

.highlight-secondary {
    color: var(--secondary);
    text-shadow: 0 4px 20px rgba(217, 119, 6, 0.3);
}

.highlight {
    color: #fbbf24;
    text-shadow: 0 0 20px rgba(251, 191, 36, 0.4);
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.125rem);
    margin-bottom: 3rem;
    opacity: 0.85;
    font-weight: 400;
    line-height: 1.7;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9);
}

.hero-location {
    font-size: clamp(0.875rem, 2vw, 1rem);
    margin-bottom: 1.5rem;
    color: var(--secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.95;
    position: relative;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.125rem);
    margin-bottom: 2.5rem;
    opacity: 0.85;
    font-weight: 400;
    line-height: 1.6;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9);
}

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

/* === SCROLL INDICATOR === */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid var(--white);
    border-bottom: 2px solid var(--white);
    transform: rotate(45deg);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) rotate(45deg) translateY(0);
    }
    40% {
        transform: translateX(-50%) rotate(45deg) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) rotate(45deg) translateY(-5px);
    }
}

/* === BUTTONS === */
.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: var(--border-radius);
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    min-width: 160px;
    text-align: center;
    text-decoration: none;
    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.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--success) 0%, #047857 100%);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(5, 150, 105, 0.3);
    font-weight: 600;
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #047857 0%, #065f46 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(5, 150, 105, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(20px);
    font-weight: 500;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.2);
}

.btn-full {
    width: 100%;
}

/* === PRODUCTS SECTION === */
.products {
    background: linear-gradient(180deg, var(--white) 0%, var(--gray-50) 100%);
    position: relative;
    padding: 8rem 0;
}

.product-showcase {
    max-width: 1000px;
    margin: 0 auto;
}

.product-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-100);
}

.product-image-container {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.product-hero-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: var(--transition);
}

.product-hero-image:hover {
    transform: scale(1.05);
}

.product-details h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.product-details h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 1rem;
}

.product-description {
    font-size: 1.125rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.product-highlights {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 2rem 1.5rem;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--gray-100);
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}

.highlight-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--primary);
}

.highlight-icon {
    font-size: 1.75rem;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--success) 100%);
    color: var(--white);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 8px 24px rgba(30, 68, 30, 0.2);
}

.highlight-text h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.highlight-text p {
    color: var(--gray-600);
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 400;
}

/* === QUALITY SECTION === */
.quality-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.quality-text h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.quality-text p {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: var(--gray-600);
    margin-bottom: 3rem;
    line-height: 1.6;
    font-weight: 400;
}

.quality-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--gray-100);
}

.stat {
    text-align: center;
    padding: 0.5rem;
}

.stat-number {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.75rem;
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    color: var(--gray-600);
    font-weight: 500;
    line-height: 1.3;
}

.quality-image img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: 500px;
    object-fit: cover;
}

/* === CONTACT SECTION === */
.contact {
    background: var(--gray-50);
}

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

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

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.contact-icon {
    font-size: 1.5rem;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.contact-details a {
    color: var(--primary);
    font-weight: 500;
    transition: var(--transition);
}

.contact-details a:hover {
    color: var(--success);
}

.contact-details p {
    color: var(--gray-600);
}

/* === FORM STYLES === */
.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--gray-700);
}

.form-group input,
.form-group textarea {
    padding: 0.875rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30, 68, 30, 0.1);
}

/* === FOOTER === */
.footer {
    background: var(--gray-900);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-brand p {
    color: var(--gray-400);
    line-height: 1.6;
}

.footer-logo {
    width: 114px;
    height: 60px;
    border-radius: var(--border-radius);
    object-fit: contain;
    background: var(--white);
    padding: 4px;
    margin-bottom: 1rem;
    box-shadow: var(--shadow);
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: var(--white);
}

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

.footer-links a {
    color: var(--gray-400);
    transition: var(--transition);
    padding: 0.25rem 0;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 0.5rem;
}

.footer-contact p {
    color: var(--gray-400);
    margin-bottom: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: var(--gray-400);
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 768px) {
    section {
        padding: 4rem 0;
    }
    
    .container {
        padding: 0 1.25rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .product-main {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1.5rem;
    }
    
    .product-hero-image {
        height: 250px;
    }
    
    .quality-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .quality-image {
        order: -1;
    }
    
    .quality-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-item {
        padding: 1rem;
    }
    
/* === MOBILE FOOTER === */
@media (max-width: 768px) {
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-brand {
        order: 1;
    }
    
    .footer-brand h3 {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }
    
    .footer-brand p {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 1rem;
    }
    
    .footer-logo {
        width: 80px;
        height: 42px;
        margin: 0 auto 0.75rem auto;
    }
    
    /* Información de contacto compacta */
    .footer-contact {
        order: 2;
        background: rgba(255, 255, 255, 0.05);
        padding: 1rem;
        border-radius: var(--border-radius);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .footer-contact h4 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
        color: #fbbf24;
    }
    
    .footer-contact p {
        font-size: 0.85rem;
        margin-bottom: 0.25rem;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
    }
    
    .footer-contact p:first-of-type::before {
        content: "📱";
    }
    
    .footer-contact p:nth-of-type(2)::before {
        content: "📧";
    }
    
    .footer-contact p:last-of-type::before {
        content: "📍";
    }
    
    /* Links compactos */
    .footer-links {
        order: 3;
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 1.5rem;
        flex-wrap: wrap;
        margin-top: 0.5rem;
    }
    
    .footer-links h4 {
        display: none;
    }
    
    .footer-links a {
        font-size: 0.85rem;
        padding: 0.5rem 0.75rem;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 20px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        transition: var(--transition);
    }
    
    .footer-links a:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: translateY(-1px);
        padding-left: 0.75rem;
    }
    
    .footer-bottom {
        margin-top: 1.5rem;
        padding-top: 1rem;
    }
    
    .footer-bottom p {
        font-size: 0.8rem;
        color: var(--gray-500);
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 1.5rem 0 1rem;
    }
    
    .footer-content {
        gap: 1rem;
    }
    
    .footer-brand p {
        font-size: 0.85rem;
        max-width: 280px;
        margin: 0 auto 0.75rem auto;
    }
    
    .footer-logo {
        width: 70px;
        height: 37px;
    }
    
    .footer-contact {
        padding: 0.75rem;
    }
    
    .footer-contact p {
        font-size: 0.8rem;
    }
    
    .footer-links {
        gap: 0.75rem;
    }
    
    .footer-links a {
        font-size: 0.8rem;
        padding: 0.4rem 0.6rem;
    }
    
    .footer-bottom {
        margin-top: 1rem;
    }
    
    .footer-bottom p {
        font-size: 0.75rem;
    }
}
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .quality-text h2 {
        font-size: 2rem;
        text-align: center;
    }
    
    .quality-text p {
        text-align: center;
    }
}

/* === TABLET OPTIMIZATION === */
@media (max-width: 1024px) and (min-width: 769px) {
    .logo {
        width: 90px;
        height: 47px;
    }
    
    .footer-logo {
        width: 105px;
        height: 55px;
    }
}

@media (max-width: 480px) {
    :root {
        --section-padding: 2rem;
    }
    
    .logo {
        width: 76px;
        height: 40px;
        padding: 3px;
    }
    
    .footer-logo {
        width: 95px;
        height: 50px;
        padding: 3px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .product-main {
        padding: 1rem;
    }
    
    .product-hero-image {
        height: 200px;
    }
    
    .quality-stats {
        padding: 1rem;
    }
    
    .contact-form {
        padding: 1rem;
    }
}

/* === GALLERY SECTION === */
.gallery {
    background: var(--gray-50);
    position: relative;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    cursor: pointer;
    background: var(--white);
    height: 300px;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 68, 30, 0.8) 0%, rgba(30, 68, 30, 0.6) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
    color: var(--white);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: pulse 2s infinite;
}

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

.gallery-text {
    font-size: 1.125rem;
    font-weight: 600;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* === GALLERY MODAL === */
.gallery-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

.gallery-modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.gallery-modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    margin: auto;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { 
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }
    to { 
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.gallery-modal-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
}

.gallery-close {
    position: absolute;
    top: -60px;
    right: 10px;
    color: var(--white);
    font-size: 2rem;
    font-weight: 300;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(20px);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border: 2px solid rgba(255, 255, 255, 0.3);
    font-family: Arial, sans-serif;
    line-height: 1;
    z-index: 10001;
    user-select: none;
}

.gallery-close:hover {
    background: rgba(220, 53, 69, 0.8);
    transform: scale(1.1) rotate(90deg);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 20px rgba(220, 53, 69, 0.4);
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 -60px;
    pointer-events: none;
}

.gallery-prev,
.gallery-next {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.2);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: all;
    position: relative;
}

.gallery-prev {
    left: -60px;
}

.gallery-next {
    right: -60px;
}

.gallery-prev:hover,
.gallery-next:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.4);
}

.gallery-prev:active,
.gallery-next:active {
    transform: scale(0.95);
}

/* === MOBILE GALLERY === */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .gallery-item {
        height: 250px;
    }
    
    .gallery-modal-content {
        max-width: 95vw;
        max-height: 80vh;
        margin: auto;
    }
    
    .gallery-close {
        top: -40px;
        width: 40px;
        height: 40px;
        font-size: 2rem;
    }
    
    .gallery-nav {
        display: none;
    }
    
    .gallery-modal-image {
        max-height: 75vh;
    }
}

/* === PRIVACY BANNER & MODAL === */
.privacy-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(30, 68, 30, 0.95) 0%, rgba(30, 68, 30, 0.98) 100%);
    backdrop-filter: blur(20px);
    color: var(--white);
    padding: 1rem 0;
    z-index: 9998;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.privacy-banner.show {
    transform: translateY(0);
}

.privacy-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

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

.privacy-text {
    flex: 1;
    min-width: 300px;
}

.privacy-text h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #fbbf24;
}

.privacy-text p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.privacy-text a {
    color: #fbbf24;
    text-decoration: underline;
    font-weight: 500;
}

.privacy-text a:hover {
    color: var(--white);
}

.privacy-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.btn-accept {
    background: var(--success);
    color: var(--white);
    padding: 0.5rem 1rem;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-accept:hover {
    background: #047857;
    transform: translateY(-1px);
}

.btn-close {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    font-size: 1.125rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* === PRIVACY MODAL === */
.privacy-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

.privacy-modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.privacy-modal-content {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    max-width: 700px;
    max-height: 90vh;
    width: 100%;
    overflow: hidden;
    animation: slideIn 0.3s ease;
}

.privacy-modal-header {
    background: var(--primary);
    color: var(--white);
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.privacy-modal-header h3 {
    font-size: 1.25rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.privacy-modal-close {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    font-size: 1.125rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.privacy-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.privacy-modal-body {
    padding: 2rem;
    max-height: 60vh;
    overflow-y: auto;
    color: var(--gray-700);
    line-height: 1.6;
}

.privacy-modal-body h4 {
    color: var(--primary);
    font-size: 1.125rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.privacy-modal-body h5 {
    color: var(--gray-800);
    font-size: 1rem;
    margin: 1.5rem 0 0.5rem 0;
    font-weight: 600;
}

.privacy-modal-body ul {
    margin: 0.5rem 0 1rem 1.5rem;
}

.privacy-modal-body li {
    margin-bottom: 0.25rem;
}

.privacy-modal-footer {
    background: var(--gray-50);
    padding: 1rem 2rem;
    border-top: 1px solid var(--gray-200);
    text-align: center;
}

/* === MOBILE PRIVACY === */
@media (max-width: 768px) {
    .privacy-content {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
    
    .privacy-text {
        min-width: auto;
    }
    
    .privacy-text h4 {
        font-size: 1rem;
    }
    
    .privacy-text p {
        font-size: 0.85rem;
    }
    
    .privacy-actions {
        width: 100%;
        justify-content: center;
    }
    
    .privacy-modal {
        padding: 1rem;
    }
    
    .privacy-modal-content {
        max-height: 95vh;
    }
    
    .privacy-modal-header {
        padding: 1rem;
    }
    
    .privacy-modal-body {
        padding: 1rem;
        max-height: 70vh;
    }
    
    .privacy-modal-footer {
        padding: 1rem;
    }
}

/* === WHATSAPP FLOTANTE === */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 9997;
    animation: bounce-in 0.6s ease-out;
}

@keyframes bounce-in {
    0% {
        opacity: 0;
        transform: scale(0.3) rotate(15deg);
    }
    50% {
        opacity: 1;
        transform: scale(1.05) rotate(-5deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

.whatsapp-float-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #25D366 0%, #20B954 100%);
    color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-width: 60px;
    justify-content: center;
    border: none;
}

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

.whatsapp-float-btn:hover::before {
    left: 100%;
}

.whatsapp-float-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.5);
    background: linear-gradient(135deg, #128C7E 0%, #075E54 100%);
}

.whatsapp-float-btn:active {
    transform: translateY(-1px) scale(1.02);
}

.whatsapp-icon {
    font-size: 1.5rem;
    animation: pulse-icon 2s infinite;
    filter: drop-shadow(0 0 5px rgba(255,255,255,0.3));
}

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

.whatsapp-text {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
    white-space: nowrap;
    opacity: 1;
    max-width: 200px;
    transition: all 0.3s ease;
}

.whatsapp-tooltip {
    position: absolute;
    bottom: 100%;
    right: 0;
    background: var(--gray-800);
    color: var(--white);
    padding: 0.5rem 0.75rem;
    border-radius: var(--border-radius);
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    pointer-events: none;
    box-shadow: var(--shadow-lg);
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    right: 20px;
    border: 5px solid transparent;
    border-top-color: var(--gray-800);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* === RESPONSIVE WHATSAPP === */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-float-btn {
        padding: 0.875rem;
        width: 56px;
        height: 56px;
        border-radius: 50%;
        min-width: auto;
    }
    
    .whatsapp-text {
        display: none;
    }
    
    .whatsapp-icon {
        font-size: 1.75rem;
    }
    
    .whatsapp-tooltip {
        display: none;
    }
}

@media (max-width: 480px) {
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-float-btn {
        width: 50px;
        height: 50px;
        padding: 0.75rem;
    }
    
    .whatsapp-icon {
        font-size: 1.5rem;
    }
}

/* === ANIMACIONES ADICIONALES === */
.whatsapp-float-btn:hover .whatsapp-icon {
    animation: wiggle 0.5s ease-in-out;
}

@keyframes wiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-5deg); }
    75% { transform: rotate(5deg); }
}

/* Efecto de aparición gradual */
.whatsapp-float {
    animation: fade-in-up 1s ease-out 1.5s both;
}

@keyframes fade-in-up {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
