:root {
    /* Paleta Premium Light-Nature */
    --bg-main: #f4f7f5;
    --bg-darker: #e9ece9;
    --bg-glass: rgba(255, 255, 255, 0.75);
    --bg-glass-hover: rgba(255, 255, 255, 0.9);
    
    --primary: #10b981; /* Verde esmeralda brillante */
    --primary-hover: #059669;
    --secondary: #d97706; /* Madera/Naranja otoño */
    --secondary-hover: #b45309;
    
    --whatsapp-color: #25d366;
    --whatsapp-hover: #20ba56;
    
    --text-pure: #0c1913; /* Gris-verde muy oscuro para encabezados */
    --text-main: #2f3e37; /* Gris-verde para texto de lectura */
    --text-muted: #5c7066; /* Gris-verde atenuado */
    
    --border-light: rgba(16, 185, 129, 0.15);
    --border-strong: rgba(16, 185, 129, 0.35);
    --shadow-premium: 0 15px 35px rgba(12, 25, 19, 0.06);
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Tipografía */
h1, h2, h3, h4 {
    color: var(--text-pure);
    font-weight: 800;
    line-height: 1.25;
}

h1 span, h2 span, h3 span {
    color: var(--primary);
    background: linear-gradient(120deg, var(--primary), #34d399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-center { text-align: center; }
.subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-top: 12px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Contenedores y Estructuras */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

.bg-darker {
    background-color: var(--bg-darker);
}

.flex-row {
    display: flex;
    gap: 60px;
    align-items: center;
}

.section-rev {
    flex-direction: row-reverse;
}

/* Botones y Enlaces */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #059669);
    color: var(--text-pure);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.5);
    filter: brightness(1.1);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-pure);
    border: 2px solid var(--border-strong);
}

.btn-secondary:hover {
    background-color: var(--bg-glass);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.btn-whatsapp-large {
    background-color: var(--whatsapp-color);
    color: var(--text-pure);
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-large:hover {
    background-color: var(--whatsapp-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

.btn-whatsapp-secondary {
    background-color: rgba(37, 211, 102, 0.15);
    color: var(--whatsapp-color);
    border: 1px solid rgba(37, 211, 102, 0.4);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-whatsapp-secondary:hover {
    background-color: var(--whatsapp-color);
    color: #fff;
    transform: translateY(-2px);
}

.btn-outline-white {
    background-color: transparent;
    color: var(--text-pure);
    border: 2px solid var(--text-pure);
}

.btn-outline-white:hover {
    background-color: var(--text-pure);
    color: var(--bg-main);
    transform: translateY(-2px);
}

.btn-nav-whatsapp {
    background-color: var(--whatsapp-color);
    color: var(--text-pure);
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.2);
}

.btn-nav-whatsapp:hover {
    background-color: var(--whatsapp-hover);
    transform: scale(1.03);
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.3);
}

.btn-text {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    margin-top: 15px;
}

.btn-text:hover {
    color: var(--text-pure);
}

.btn-text:hover i {
    transform: translateX(5px);
}

.btn-text i {
    transition: var(--transition);
}

.w-100 { width: 100%; }

/* Navegación */
#navbar {
    position: fixed;
    top: 0; left: 0; width: 100%;
    padding: 24px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: var(--transition);
    background: transparent;
}

#navbar.scrolled {
    background: rgba(244, 247, 245, 0.9);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-light);
    padding: 14px 60px;
    box-shadow: 0 10px 30px rgba(12, 25, 19, 0.05);
}

/* Colores para navbar según scroll (para que sea legible sobre el hero oscuro) */
#navbar .logo {
    color: #ffffff;
}
#navbar .nav-links a {
    color: rgba(255, 255, 255, 0.9);
}
#navbar .menu-toggle {
    color: #ffffff;
}

#navbar.scrolled .logo {
    color: var(--text-pure);
}
#navbar.scrolled .nav-links a {
    color: var(--text-main);
}
#navbar.scrolled .menu-toggle {
    color: var(--text-pure);
}

.logo {
    font-size: clamp(1.1rem, 2.2vw, 1.45rem);
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    color: var(--primary);
    font-size: 1.6rem;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
}

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

.nav-links a:hover { color: var(--primary); }
.nav-links a:hover::after { width: 100%; }

.menu-toggle {
    display: none;
    color: var(--text-pure);
    font-size: 1.6rem;
    cursor: pointer;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: url('../img/desbroces/Desbroce2.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at center, rgba(10, 15, 13, 0.45) 0%, rgba(5, 8, 6, 0.95) 100%);
    z-index: 1;
}

.hero-content {
    max-width: 900px;
    text-align: center;
    z-index: 2;
    padding: 0 24px;
    margin-top: 40px;
}

.hero-tagline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid var(--border-light);
    color: var(--primary);
    padding: 8px 18px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    line-height: 1.15;
    color: #ffffff;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: #e2e8f0;
    font-weight: 300;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-badges .badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #ffffff;
}

.hero-badges .badge i {
    color: var(--primary);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.9rem;
    color: var(--text-muted);
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.scroll-indicator i {
    font-size: 1.3rem;
    color: var(--primary);
    animation: bounce 2s infinite;
    margin-top: 5px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-12px); }
    60% { transform: translateY(-6px); }
}

/* Features Bar (Removed)
.features-bar {
    background-color: var(--bg-darker);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    padding: 35px 0;
}

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

.feature-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.feature-item i {
    font-size: 2.2rem;
    color: var(--primary);
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid var(--border-light);
    padding: 18px;
    border-radius: 12px;
}

.feature-item h3 {
    font-size: 1.15rem;
    margin-bottom: 5px;
}

.feature-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}
*/

/* Servicios List Rows */
.section-header {
    margin-bottom: 70px;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 90px;
    margin-top: 50px;
}

.service-row {
    display: flex;
    gap: 60px;
    align-items: center;
}

.service-row.reverse {
    flex-direction: row-reverse;
}

.service-media {
    flex: 1.1;
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    border: 1px solid var(--border-light);
}

.service-media img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.service-row:hover .service-media img {
    transform: scale(1.04);
}

.service-text {
    flex: 0.9;
}

.service-icon-wrapper {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid var(--border-light);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 24px;
}

.service-text h3 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.service-text p {
    color: var(--text-main);
    font-size: 1.1rem;
    margin-bottom: 24px;
}

.service-features {
    list-style: none;
    margin-bottom: 25px;
}

.service-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 1rem;
    color: var(--text-main);
}

.service-features li i {
    color: var(--primary);
    margin-top: 4px;
}

/* Banner CTA */
.banner-cta {
    background: linear-gradient(135deg, rgba(10, 15, 13, 0.9) 0%, rgba(5, 8, 6, 0.98) 100%), url('../img/desbroces/Desbroce2.jpg');
    background-size: cover;
    background-position: center;
    padding: 90px 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    position: relative;
}

.banner-cta h2 {
    font-size: 2.6rem;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #ffffff;
}

.banner-cta p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #e2e8f0;
}

.banner-cta strong {
    color: var(--primary);
}

.banner-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Galería Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.gallery-item {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-premium);
}

.gallery-img-wrapper {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
}

.gallery-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.gallery-hover {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(5, 8, 6, 0.95) 0%, rgba(10, 15, 13, 0.45) 60%, rgba(10, 15, 13, 0.1) 100%);
    opacity: 0;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
}

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

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

.gallery-category {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.gallery-hover h4 {
    font-size: 1.4rem;
    margin-bottom: 5px;
    color: var(--text-pure);
}

.gallery-hover p {
    color: var(--text-main);
    font-size: 0.95rem;
}

/* Calculadora Glassmorphism */
.glass-panel {
    background: var(--bg-glass);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 45px;
    backdrop-filter: blur(16px);
    flex: 1;
    box-shadow: var(--shadow-premium);
}

.calc-info, .contact-info {
    flex: 1;
}

.calc-info h2, .contact-info h2 {
    font-size: 2.8rem;
    margin-bottom: 25px;
}

.calc-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.calc-feat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
}

.calc-feat-item i {
    color: var(--primary);
    background: rgba(16, 185, 129, 0.1);
    padding: 8px;
    border-radius: 50%;
}

.calc-form h3, .contact-form h3 {
    font-size: 1.7rem;
    margin-bottom: 25px;
    color: var(--text-pure);
}

.form-group {
    margin-bottom: 24px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-main);
}

.form-control {
    width: 100%;
    padding: 15px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--border-light);
    color: #0c1913;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: #ffffff;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.12);
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.checkbox-wrapper input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--primary);
    cursor: pointer;
}

.checkbox-wrapper label {
    margin-bottom: 0;
    cursor: pointer;
}

.calc-result {
    margin-top: 30px;
    text-align: center;
    border-top: 1px solid var(--border-light);
    padding-top: 25px;
}

.price {
    font-size: 3.5rem;
    color: var(--primary);
    margin: 10px 0;
    font-weight: 800;
    text-shadow: 0 0 25px rgba(16, 185, 129, 0.4);
}

.calc-result small {
    color: var(--text-muted);
    font-size: 0.85rem;
    display: block;
    margin-top: 10px;
}

/* Contacto & Formularios */
.form-intro {
    color: var(--text-muted);
    margin-bottom: 25px;
    margin-top: -15px;
    font-size: 1rem;
}

.form-group-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.contact-submit-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 25px;
}

.contact-info p {
    color: var(--text-main);
    font-size: 1.15rem;
    margin-bottom: 30px;
}

.info-blocks {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.info-icon {
    font-size: 1.6rem;
    color: var(--primary);
    background: rgba(16, 185, 129, 0.08);
    padding: 14px;
    border-radius: 50%;
    border: 1px solid var(--border-light);
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-item h4 {
    font-size: 1.15rem;
    margin-bottom: 5px;
}

.info-item p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 0;
}

.contact-link {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

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

.success-msg {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    background-color: rgba(16, 185, 129, 0.15);
    border: 1px solid var(--primary);
    color: #065f46;
    font-weight: 600;
    text-align: center;
}

.error-msg {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    background-color: rgba(220, 38, 38, 0.12);
    border: 1px solid #dc2626;
    color: #7f1d1d;
    font-weight: 600;
    text-align: center;
}

/* Animaciones de Entrada Scroll */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.scale-up { transform: scale(0.93); }
.scale-up.active { transform: scale(1); }

.slide-left { transform: translateX(-40px); }
.slide-left.active { transform: translateX(0); }

.slide-right { transform: translateX(40px); }
.slide-right.active { transform: translateX(0); }

/* Footer */
footer {
    background-color: #030504;
    padding: 60px 0 40px;
    border-top: 1px solid var(--border-light);
}

.footer-logo {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: #ffffff;
}

.footer-logo i { color: var(--primary); }
.footer-quote { color: #94a3b8; font-size: 1.05rem; margin-bottom: 15px; }
.footer-email {
    margin-bottom: 20px;
}
.footer-email a {
    color: #94a3b8;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.footer-email a:hover {
    color: var(--primary);
}
.footer-copyright { color: rgba(148, 163, 184, 0.5); font-size: 0.9rem; margin-bottom: 30px; }

.social-links a {
    color: var(--text-muted);
    font-size: 1.6rem;
    margin: 0 14px;
    transition: var(--transition);
    display: inline-block;
}

.social-links a:hover {
    color: var(--primary);
    transform: translateY(-4px);
}

.social-links a:hover i.fa-whatsapp {
    color: var(--whatsapp-color);
}

/* Botón Flotante de WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--whatsapp-color);
    color: var(--text-pure);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.1rem;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
    z-index: 999;
    text-decoration: none;
    transition: var(--transition);
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: var(--whatsapp-color);
    opacity: 0.4;
    z-index: -1;
    animation: pulse 2s infinite;
}

.whatsapp-tooltip {
    position: absolute;
    right: 80px;
    background-color: rgba(10, 15, 13, 0.95);
    border: 1px solid var(--border-light);
    color: var(--text-pure);
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    transform: translateX(10px);
    box-shadow: var(--shadow-premium);
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translateY(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent transparent rgba(10, 15, 13, 0.95);
}

.whatsapp-float:hover {
    background-color: var(--whatsapp-hover);
    transform: scale(1.08) translateY(-3px);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.6);
}

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

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.3); opacity: 0; }
    100% { transform: scale(1); opacity: 0; }
}

/* Responsividad */
@media (max-width: 1024px) {
    .flex-row {
        flex-direction: column;
        gap: 50px;
    }
    
    .calc-info, .calc-form, .contact-info, .contact-form {
        width: 100%;
    }
    
    .section-rev {
        flex-direction: column;
    }
    
    #navbar {
        padding: 20px 40px;
    }
    
    #navbar.scrolled {
        padding: 14px 40px;
    }
    
    .hero h1 {
        font-size: 3.2rem;
    }

    .service-row, .service-row.reverse {
        flex-direction: column;
        gap: 30px;
    }
    
    .service-media, .service-text {
        width: 100%;
    }
    
    .service-media img {
        height: 300px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
    
    /* Menú Móvil Drawer */
    .menu-toggle {
        display: block;
        z-index: 1001;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 80%;
        max-width: 380px;
        background: rgba(244, 247, 245, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
        border-left: 1px solid var(--border-light);
        z-index: 1000;
        gap: 35px;
        box-shadow: -10px 0 40px rgba(12, 25, 19, 0.15);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .btn-nav-whatsapp {
        display: none; /* Se oculta de la barra y se añade en otros lados */
    }
}

@media (max-width: 600px) {
    .hero h1 {
        font-size: 2.3rem;
    }
    
    .hero p {
        font-size: 1.05rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .form-group-row, .contact-submit-options {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .glass-panel {
        padding: 24px;
    }
    
    .price {
        font-size: 2.8rem;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 56px;
        height: 56px;
        font-size: 1.8rem;
    }
    
    .whatsapp-tooltip {
        display: none; /* Ocultar tooltip en móviles pequeños */
    }

    .machinery-badge {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 16px;
        padding: 20px;
    }
    .machinery-badge-text {
        text-align: center;
        align-items: center;
    }
    .machinery-img {
        width: 140px;
        height: 130px;
        width: 95px;
        height: 95px;
    }
}

/* =========================================================
   Filtros de Galería y Lightbox
   ========================================================= */
.gallery-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
    margin-top: 30px;
}

.filter-btn {
    background-color: var(--bg-glass);
    border: 1px solid var(--border-light);
    color: var(--text-main);
    padding: 10px 22px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.25);
    transform: translateY(-1px);
}

.gallery-item {
    transition: opacity 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.gallery-item.hidden {
    opacity: 0;
    transform: scale(0.9);
    position: absolute;
    width: 0;
    height: 0;
    padding: 0;
    margin: 0;
    border: none;
    overflow: hidden;
    pointer-events: none;
}

/* Lightbox Modal */
.lightbox {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(5, 8, 6, 0.96);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 12px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.lightbox.active .lightbox-img {
    transform: scale(1);
}

.lightbox-caption {
    color: #ffffff;
    margin-top: 18px;
    font-size: 1.15rem;
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.5px;
}

.lightbox-close {
    position: absolute;
    top: -45px;
    right: 0;
    color: #ffffff;
    font-size: 2.2rem;
    cursor: pointer;
    transition: var(--transition);
}

.lightbox-close:hover {
    color: var(--primary);
    transform: rotate(90deg) scale(1.1);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #ffffff;
    font-size: 2.8rem;
    cursor: pointer;
    transition: var(--transition);
    user-select: none;
    padding: 10px;
}

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

.lightbox-prev {
    left: -65px;
}

.lightbox-next {
    right: -65px;
}

@media (max-width: 768px) {
    .lightbox-prev { left: -30px; font-size: 2.2rem; }
    .lightbox-next { right: -30px; font-size: 2.2rem; }
    .lightbox-close { top: -45px; right: 10px; }
}

/* =========================================================
   Insignias de Maquinaria (Premium)
   ========================================================= */
.machinery-badge {
    display: flex;
    align-items: center;
    gap: 24px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.07) 0%, rgba(5, 150, 105, 0.15) 100%);
    border: 2px solid var(--primary);
    border-radius: 16px;
    padding: 24px 30px;
    margin: 35px 0;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.08);
    transition: var(--transition);
}

.machinery-badge:hover {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(5, 150, 105, 0.22) 100%);
    border-color: #34d399;
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(16, 185, 129, 0.18);
}

.machinery-img {
    width: 180px;
    height: 160px;
    object-fit: contain;
    filter: drop-shadow(0 8px 16px rgba(12, 25, 19, 0.25));
    flex-shrink: 0;
    transition: var(--transition);
}

.machinery-badge:hover .machinery-img {
    transform: scale(1.08) rotate(2deg);
}

.machinery-badge-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
}

.machinery-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 2px;
}

.machinery-badge-text strong {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-pure);
    line-height: 1.2;
}

.machinery-badge-text span {
    font-size: 1.05rem;
    color: var(--text-main);
    line-height: 1.45;
}

/* =========================================================
   Nuevo diseño de sección Contacto
   ========================================================= */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}

.info-item-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: var(--bg-glass);
    border: 1px solid var(--border-light);
    border-radius: 14px;
    padding: 20px 22px;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.06);
    transition: var(--transition);
}

.info-item-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.12);
    border-color: var(--primary);
}

.info-item-card .info-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.info-item-card h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-pure);
    margin-bottom: 4px;
}

.info-item-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.4;
}

.contact-form-centered {
    max-width: 860px;
    margin: 0 auto;
    padding: 42px 48px;
    border-radius: 20px;
}

.contact-form-centered h3 {
    font-size: 1.7rem;
    margin-bottom: 8px;
    color: var(--text-pure);
}

.contact-form-centered .form-intro {
    color: var(--text-muted);
    margin-bottom: 28px;
}

@media (max-width: 768px) {
    .contact-info-grid {
        grid-template-columns: 1fr 1fr;
    }
    .contact-form-centered {
        padding: 28px 20px;
    }
}

@media (max-width: 480px) {
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
}
