/* CSS Reset and Variables */
:root {
    --primary-color: #ffb300; /* Yellow/Orange Lucas Mill style */
    --primary-dark: #cc8e00;
    --secondary-color: #27723E; /* Lucas Mill Green (Main) */
    --secondary-dark: #1D542E; /* Lucas Mill Green (Darker for Nav/Footer) */
    --text-color: #333333;
    --light-grey: #EEF4F0; /* Lucas Mill Light Green Background */
    --white: #ffffff;
    --success: #25D366; /* WhatsApp Green */
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

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

.section-padding {
    padding: 80px 0;
}

.text-center { text-align: center; }
.mt-2 { margin-top: 20px; }
.mt-4 { margin-top: 40px; }
.bg-light { background-color: var(--light-grey); }
.shadow { box-shadow: 0 4px 6px rgba(0,0,0,0.1); }
.shadow-lg { box-shadow: 0 10px 15px rgba(0,0,0,0.1); }
.highlight { color: var(--primary-color); }
.highlight-text { color: var(--primary-dark); }

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 16px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}
.btn-primary:hover {
    background-color: var(--primary-dark);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
}
.btn-secondary:hover {
    background-color: #333;
}

.btn-whatsapp {
    background-color: var(--success);
    color: var(--white);
}
.btn-whatsapp:hover {
    background-color: #128C7E;
}
.btn-whatsapp.large {
    font-size: 20px;
    padding: 15px 30px;
}

.btn-primary-small {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: bold;
}
.btn-primary-small:hover {
    background-color: var(--primary-dark);
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    color: var(--secondary-color);
}

.section-header h2 {
    font-size: 36px;
    margin-bottom: 10px;
}

.divider {
    height: 4px;
    width: 60px;
    background-color: var(--primary-color);
    margin: 0 auto 20px;
}

/* Navigation */
.navbar {
    background-color: var(--secondary-dark);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

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

.logo-img {
    height: 40px; /* Ajusta la altura del logo según necesites */
    width: auto;
}

.logo-text {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links li a {
    color: var(--white);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links li a:hover:not(.btn-primary-small) {
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    background-color: var(--secondary-dark); /* Solid Lucas Mill Green */
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px; /* Offset for navbar */
}

.hero-text-card {
    max-width: 800px;
    padding: 30px;
    background: rgba(29, 84, 46, 0.85); /* Dark green transparent box */
    border-left: 5px solid var(--primary-color);
}

.hero-title {
    font-size: 56px;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 20px;
    color: var(--light-grey);
    margin-bottom: 15px;
    font-weight: 300;
}

.hero-subtext {
    font-size: 14px;
    color: var(--primary-color);
    margin-bottom: 30px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.benefit-card {
    text-align: center;
    padding: 30px 20px;
    background: var(--white);
    border-radius: 8px;
    transition: transform 0.3s;
    border-bottom: 3px solid transparent;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-bottom: 3px solid var(--primary-color);
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background-color: rgba(255, 179, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--primary-dark);
}

/* Models Section */
.featured-showcase {
    display: flex;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    margin-top: 40px;
    position: relative;
}

.model-image, .model-info {
    flex: 1;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 300px;
    background-color: #ddd;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #666;
}
.image-placeholder i { font-size: 48px; margin-bottom: 10px; }

.model-info {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
}

.model-title {
    font-size: 40px;
    margin-bottom: 10px;
}

.model-desc {
    font-size: 18px;
    margin-bottom: 20px;
    color: #555;
}

.features-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.features-list li i { color: var(--success); }

.models-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.model-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s;
}

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

.card-image-placeholder {
    height: 150px;
    background: #eaeaea;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #999;
}

.card-content {
    padding: 20px;
    position: relative;
}

.link-arrow {
    display: inline-block;
    margin-top: 15px;
    color: var(--primary-dark);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
}
.link-arrow i { transition: transform 0.2s; }
.link-arrow:hover i { transform: translateX(5px); }

/* Comparison Table */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    text-align: left;
    white-space: nowrap;
}

.comparison-table th, .comparison-table td {
    padding: 15px;
    border-bottom: 1px solid #ddd;
}

.comparison-table th {
    background-color: var(--light-grey);
    color: var(--secondary-dark);
    font-weight: bold;
    text-transform: uppercase;
}

.comparison-table tbody tr:hover {
    background-color: #f9f9f9;
}

/* Accessories Section */
.accessories-section {
    background-color: var(--white);
}

.accessories-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
}

.acc-category {
    background: var(--light-grey);
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
}

.acc-header {
    background-color: var(--secondary-dark);
    color: var(--white);
    padding: 15px 20px;
    font-family: var(--font-heading);
    font-size: 20px;
    text-transform: uppercase;
    font-weight: bold;
}

.acc-content {
    padding: 20px;
}

.acc-content h4 {
    color: var(--primary-dark);
    margin-bottom: 10px;
    font-size: 18px;
}

.acc-content hr {
    border: 0;
    height: 1px;
    background: #ccc;
    margin: 20px 0;
}

.acc-split-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.acc-text {
    flex: 1;
}

.acc-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.acc-image img {
    max-width: 100%;
    max-height: 200px;
    border-radius: 8px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.acc-image img:hover {
    transform: scale(1.02);
}

/* Extension Arrow Overlay */
.extension-arrow {
    position: absolute;
    bottom: 15%; /* Mover hacia abajo, hacia el cuadrado */
    left: 2%; /* Mover a la izquierda donde está el cuadro */
    width: 35%; /* Más compacto */
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: pointUpRight 1.5s infinite alternate;
}

.arrow-text {
    background: rgba(0, 0, 0, 0.7);
    color: var(--primary-color);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 5px;
    white-space: nowrap;
    text-shadow: 1px 1px 2px black;
}

.extension-arrow svg {
    width: 100%;
    height: 30px;
    filter: drop-shadow(2px 2px 3px rgba(0,0,0,0.8));
}

@keyframes pointUpRight {
    from { transform: translate(-5px, 5px); }
    to { transform: translate(5px, -5px); }
}

/* Contact Section */
.contact-section {
    background-color: var(--secondary-color);
    color: var(--white);
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.contact-info, .contact-form-container {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 8px;
    backdrop-filter: blur(5px);
}

.contact-info h3, .contact-form-container h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 24px;
}

.info-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 18px;
}

.info-list li i {
    color: var(--primary-color);
    font-size: 24px;
    margin-top: 2px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border-radius: 50%;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--primary-color);
    color: var(--secondary-dark);
    transform: translateY(-3px);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--white);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.9);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 16px;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--white);
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
    padding: 15px;
    font-size: 18px;
    border: none;
    cursor: pointer;
}

.form-status {
    text-align: center;
    font-weight: bold;
    font-size: 16px;
}
.form-status.success {
    color: var(--primary-color);
}
.form-status.error {
    color: #ffb300; /* Yellow instead of red to contrast on green better */
}

.mb-2 {
    margin-bottom: 15px;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    height: 250px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.video-item iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Videos Section */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.video-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
}

.video-info h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

/* Image Modal (Lightbox) */
.clickable-img {
    cursor: zoom-in;
}

.modal {
    display: none; 
    position: fixed; 
    z-index: 2000; 
    padding-top: 50px; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgb(0,0,0); 
    background-color: rgba(0,0,0,0.9); /* Black with opacity */
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 900px;
    animation-name: zoom;
    animation-duration: 0.6s;
}

@keyframes zoom {
    from {transform:scale(0)} 
    to {transform:scale(1)}
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close-modal:hover,
.close-modal:focus {
    color: var(--primary-color);
    text-decoration: none;
    cursor: pointer;
}

.contact-title {
    color: var(--white);
    font-size: 48px;
}

/* Footer & Float button */
footer {
    background-color: var(--secondary-dark);
    color: #f4f4f4;
    padding: 30px 0;
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--white);
    margin-bottom: 10px;
}

.footer-logo-img {
    height: 30px;
    /* Removed filter so original colors show, since background is now dark green */
}

.float-wa {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px #999;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.float-wa:hover {
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 900px) {
    .benefits-grid, .models-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .featured-showcase {
        flex-direction: column;
    }
    
    .badge {
        position: static;
        display: inline-block;
        margin-bottom: 10px;
    }

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

@media (max-width: 768px) {
    .menu-toggle { display: block; }
    
    .nav-links {
        position: absolute;
        top: 80px;
        left: -100%;
        flex-direction: column;
        background-color: var(--secondary-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0,0,0,0.2);
    }
    
    .nav-links.active { left: 0; }
    
    .hero-title { font-size: 40px; }
    
    .benefits-grid, .models-grid, .accessories-grid, .videos-grid {
        grid-template-columns: 1fr;
    }

    .acc-split-content {
        flex-direction: column;
        text-align: center;
    }
}

/* --- Clientes Section --- */
.clients-section {
    background-color: var(--light-bg);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.client-card {
    background: white;
    padding: 30px 20px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 180px;
}

.client-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-bottom: 3px solid var(--primary-color);
}

.client-logo {
    max-width: 130px;
    max-height: 70px;
    object-fit: contain;
    margin-bottom: 15px;
}

.client-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.client-card:hover .client-icon {
    color: var(--primary-color);
}

.client-card h4 {
    color: var(--text-dark);
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    margin: 0;
    line-height: 1.4;
}
