:root {
    --primary-blue: #305430; 
    --primary-blue-light: #3c603c;
    --accent-gold: #486024; 
    --accent-gold-light: #607848;
    --accent-gold-dark: #3c5430;
    --light-gray: #f0f0e4;
    --light-blue-bg: #e4f0e4;
    --dark-text: #181818;
    --white: #ffffff;
    --whatsapp-green: #25d366;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Helvetica Neue', Arial, sans-serif; }
body { line-height: 1.6; color: var(--dark-text); scroll-behavior: smooth; background-color: var(--white); }

.skip-link {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3000;
    padding: 10px 14px;
    background: var(--primary-blue);
    color: var(--white);
    border-radius: 8px;
    text-decoration: none;
    transform: translateY(-200%);
    transition: transform 0.2s ease;
}
.skip-link:focus {
    transform: translateY(0);
}

*:focus-visible {
    outline: 3px solid var(--accent-gold);
    outline-offset: 3px;
}

section[id] { scroll-margin-top: 120px; }

/* Botón Flotante WhatsApp */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 2000;
    transition: all 0.3s ease;
    text-decoration: none;
    will-change: transform;
    animation: whatsapp-float 3.6s ease-in-out infinite;
}
.whatsapp-btn::before {
    content: '';
    position: absolute;
    inset: -10px;
    border-radius: 999px;
    background: rgba(37, 211, 102, 0.18);
    transform: scale(0.85);
    opacity: 0;
    pointer-events: none;
    animation: whatsapp-pulse 4.8s ease-out infinite;
}
.whatsapp-btn:hover {
    animation-play-state: paused;
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

@keyframes whatsapp-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}
@keyframes whatsapp-pulse {
    0% { transform: scale(0.85); opacity: 0; }
    12% { opacity: 1; }
    38% { transform: scale(1.15); opacity: 0; }
    100% { transform: scale(1.15); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .whatsapp-btn,
    .whatsapp-btn::before {
        animation: none;
    }
}

/* Navegación */
header {
    background: rgba(255, 255, 255, 0.98);
    padding: 0.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    backdrop-filter: blur(10px);
}
.logo-img { height: 90px; width: auto; transition: transform 0.3s ease; }
.logo-img:hover { transform: scale(1.05); }

nav a { 
    margin-left: 25px; 
    text-decoration: none; 
    color: var(--primary-blue); 
    font-weight: 600; 
    font-size: 0.95rem; 
    position: relative;
    transition: color 0.3s;
}
nav a:not(.btn)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-gold);
    transition: width 0.3s;
}
nav a:not(.btn):hover::after { width: 100%; }
nav a:hover { color: var(--accent-gold); }

/* Hero Section */
.hero {
    height: 90vh;
    background: linear-gradient(rgba(10, 31, 68, 0.75), rgba(10, 31, 68, 0.6)), 
                url('../gallery/DJI_0282.JPG');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding: 0 10%;
}
.hero h1 { 
    font-size: 3.5rem; 
    margin-bottom: 1.5rem; 
    text-transform: uppercase; 
    letter-spacing: 2px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
.hero p { 
    font-size: 1.3rem; 
    max-width: 800px; 
    opacity: 0.95; 
    margin-bottom: 2rem;
    font-weight: 300;
}
.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
}
.hero-btn {
    padding: 15px 40px;
    font-size: 1.1rem;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-dark));
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.4);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
}
.hero-btn:hover {
    background: linear-gradient(135deg, var(--white), #f0f0f0);
    color: var(--primary-blue);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}
.hero-btn.hero-btn--secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow: none;
}
.hero-btn.hero-btn--secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: none;
}

section { padding: 100px 10%; }
section:nth-child(even) { background-color: var(--light-blue-bg); }

h2 { 
    text-align: center; 
    color: var(--primary-blue); 
    margin-bottom: 4rem; 
    font-size: 2.5rem; 
    position: relative; 
    font-weight: 700;
}
h2::after { 
    content: ''; 
    width: 80px; 
    height: 4px; 
    background: linear-gradient(to right, var(--accent-gold), var(--accent-gold-light));
    position: absolute; 
    bottom: -15px; 
    left: 50%; 
    transform: translateX(-50%); 
    border-radius: 2px;
}
.section-desc {
    max-width: 820px;
    margin: -2.6rem auto 2.2rem auto;
    text-align: center;
    color: #555;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Equipo / Partners */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}
.team-card {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    border-top: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--accent-gold);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}
.team-card:hover::before { transform: scaleX(1); }
.team-card:hover { transform: translateY(-10px); box-shadow: 0 15px 40px rgba(0,0,0,0.1); }
.team-card h3 { color: var(--primary-blue); margin-bottom: 5px; font-size: 1.5rem; }
.team-card .role { color: var(--accent-gold); font-weight: bold; font-size: 0.9rem; text-transform: uppercase; display: block; margin-bottom: 20px; letter-spacing: 1px; }
.team-card p { font-size: 1rem; color: #666; line-height: 1.7; }

/* Servicios Mejorados */
.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 20px;
}
.service-item { 
    background: var(--white); 
    padding: 40px 20px; 
    border-radius: 12px; 
    text-align: center; 
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border-bottom: 4px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}
.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border-bottom: 4px solid var(--accent-gold);
}
.service-item i {
    font-size: 2.5rem !important;
    margin-bottom: 20px !important;
    color: var(--accent-gold) !important;
    background: rgba(197, 160, 89, 0.1);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}
.service-item:hover i {
    background: var(--accent-gold);
    color: white !important;
}

/* Galería Moderna */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    aspect-ratio: 4/3;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

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

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

/* Overlay efecto */
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 31, 68, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.gallery-overlay i {
    color: var(--primary-blue);
    font-size: 1.5rem;
    background: var(--accent-gold);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transform: scale(0);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gallery-item:hover .gallery-overlay i {
    transform: scale(1);
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 3000;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(5px);
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 4px;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

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

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    transition: color 0.3s;
    line-height: 1;
}

.lightbox-close:hover {
    color: var(--accent-gold);
}

/* Sobre Nosotros */
.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
    color: #444;
    line-height: 1.8;
}
.about-layout {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 32px;
    align-items: start;
}
.about-copy {
    background: var(--white);
    border: 1px solid rgba(10, 31, 68, 0.08);
    border-radius: 16px;
    padding: 34px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}
.about-lead {
    color: var(--primary-blue);
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 14px;
}
.about-text {
    color: #444;
    line-height: 1.8;
    margin-bottom: 18px;
}
.about-list {
    list-style: none;
    padding: 0;
    margin: 0 0 22px 0;
    display: grid;
    gap: 10px;
}
.about-list li {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 10px;
    align-items: start;
    color: #444;
}
.about-list li i {
    color: var(--accent-gold);
    margin-top: 2px;
}
.about-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.about-highlights {
    display: grid;
    gap: 14px;
}
.about-highlight {
    background: var(--white);
    border: 1px solid rgba(10, 31, 68, 0.08);
    border-radius: 16px;
    padding: 18px 18px;
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 14px;
    align-items: start;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}
.about-highlight-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(197, 160, 89, 0.12);
    color: var(--accent-gold-dark);
    font-size: 18px;
}
.about-highlight h3 {
    margin: 0 0 6px 0;
    color: var(--primary-blue);
    font-size: 1.05rem;
}
.about-highlight p {
    margin: 0;
    color: #555;
    line-height: 1.6;
    font-size: 0.95rem;
}
.values-grid {
    max-width: 1200px;
    margin: 26px auto 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}
.value-card {
    background: var(--white);
    border: 1px solid rgba(10, 31, 68, 0.08);
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}
.value-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(197, 160, 89, 0.12);
    color: var(--accent-gold-dark);
    font-size: 18px;
    margin-bottom: 12px;
}
.value-card h3 {
    margin: 0 0 8px 0;
    color: var(--primary-blue);
    font-size: 1.1rem;
}
.value-card p {
    margin: 0;
    color: #555;
    line-height: 1.6;
    font-size: 0.95rem;
}
.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}
.mv-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-left: 5px solid var(--accent-gold);
    transition: transform 0.3s ease;
}
.mv-card:hover { transform: translateY(-5px); }
.mv-card h3 { 
    color: var(--primary-blue); 
    margin-bottom: 20px; 
    font-size: 1.6rem; 
    display: flex; 
    align-items: center; 
    gap: 10px;
}
.mv-card h3 i { color: var(--accent-gold); }

/* General Section Description */
.section-desc {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #555;
    font-size: 1.1rem;
}

.benefits {
    background: var(--white);
}
.benefits-inner {
    max-width: 1200px;
    margin: 0 auto;
}
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-top: 24px;
}
.benefit-card {
    background: var(--white);
    border: 1px solid rgba(10, 31, 68, 0.08);
    border-radius: 14px;
    padding: 28px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 40px rgba(0,0,0,0.08);
}
.benefit-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(197, 160, 89, 0.12);
    color: var(--accent-gold-dark);
    font-size: 20px;
    margin-bottom: 14px;
}
.benefit-card h3 {
    color: var(--primary-blue);
    margin-bottom: 10px;
    font-size: 1.2rem;
}
.benefit-card p {
    color: #555;
    font-size: 0.98rem;
    line-height: 1.6;
}
.benefits-cta {
    margin-top: 28px;
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-strip {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
    color: var(--white);
    padding: 70px 10%;
}
.cta-strip-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.cta-strip-text h2 {
    color: var(--white);
    margin-bottom: 12px;
}
.cta-strip-text h2::after {
    display: none;
}
.cta-strip-text p {
    margin: 0;
    opacity: 0.9;
}
.cta-strip-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Productos */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}
.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: 0.3s;
    border: 1px solid #eee;
}
.product-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.15); }
.product-img-container {
    height: 250px;
    overflow: hidden;
    border-bottom: 3px solid var(--accent-gold);
}
.product-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-info { padding: 25px; }
.product-info h3 { color: var(--primary-blue); margin-bottom: 10px; font-size: 1.3rem; }
.product-info p { font-size: 0.95rem; color: #555; margin-bottom: 15px; }

.factory-contact {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
    color: white;
    padding: 40px;
    border-radius: 10px;
    margin-top: 60px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(10, 31, 68, 0.2);
    position: relative;
    overflow: hidden;
}
.factory-contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--accent-gold), var(--accent-gold-light));
}
.factory-contact h3 { 
    color: var(--accent-gold); 
    font-size: 1.8rem; 
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2); 
}
.factory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}
.factory-item i { font-size: 2rem; color: var(--accent-gold); margin-bottom: 10px; }

/* Contacto */
.contact-section { background: var(--light-gray); }
.contact-flex { display: flex; flex-wrap: wrap; gap: 50px; }
.contact-info { flex: 1; min-width: 300px; }
.contact-form { flex: 1.5; min-width: 300px; background: white; padding: 40px; border-radius: 10px; }
.contact-lead {
    margin: 10px 0 22px 0;
    color: #444;
    font-size: 1.05rem;
    line-height: 1.7;
    text-align: center;
}
.contact-info-card {
    background: var(--white);
    border: 1px solid rgba(10, 31, 68, 0.08);
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}
.contact-methods {
    display: grid;
    gap: 10px;
}
.contact-method {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 12px;
    align-items: center;
    padding: 12px 12px;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: background 0.2s ease, transform 0.2s ease;
}
.contact-method:hover {
    background: rgba(72, 96, 36, 0.08);
    transform: translateY(-1px);
}
.contact-method--static:hover {
    background: transparent;
    transform: none;
}
.contact-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(72, 96, 36, 0.12);
    color: var(--accent-gold-dark);
    font-size: 18px;
}
.contact-text {
    display: grid;
    gap: 2px;
}
.contact-label {
    font-weight: 700;
    color: var(--primary-blue);
    font-size: 0.95rem;
}
.contact-value {
    color: #555;
    font-size: 0.95rem;
}
.contact-meta {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(10, 31, 68, 0.08);
    display: grid;
    gap: 8px;
}
.contact-meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #555;
    font-size: 0.95rem;
}
.contact-meta-item i {
    color: var(--accent-gold);
}
.contact-form-title {
    margin: 0 0 8px 0;
    color: var(--primary-blue);
    font-size: 1.6rem;
}
.contact-form-subtitle {
    margin: 0 0 18px 0;
    color: #555;
}
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.contact-form-footnote {
    margin: 12px 0 0 0;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    text-align: center;
}

.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: bold; }
.form-group input, .form-group textarea { 
    width: 100%; 
    padding: 12px; 
    border: 1px solid #ddd; 
    border-radius: 4px; 
    transition: all 0.3s ease;
    background: #fdfdfd;
}
.form-group input:focus, .form-group textarea:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 8px rgba(10, 31, 68, 0.1);
    outline: none;
    background: white;
}

/* Form Status Messages (Toast Notification) */
.form-status {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    padding: 16px 24px;
    border-radius: 8px;
    font-weight: 500;
    display: none; /* Controlled by JS */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    animation: slideInUp 0.4s ease-out forwards;
    max-width: 90%;
    width: auto;
    font-size: 0.95rem;
}

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

.form-status.success {
    background-color: #ffffff;
    color: #155724;
    border-left: 5px solid #28a745;
}

.form-status.error {
    background-color: #ffffff;
    color: #721c24;
    border-left: 5px solid #dc3545;
}
.btn.loading {
    opacity: 0.7;
    cursor: wait;
}

.btn {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-dark));
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    transition: 0.3s;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 10px rgba(197, 160, 89, 0.3);
}
.btn:hover { 
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(10, 31, 68, 0.3);
}
.btn.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    box-shadow: none;
}
.btn.btn-outline:hover {
    background: rgba(10, 31, 68, 0.06);
    transform: translateY(-2px);
    box-shadow: none;
}
.cta-strip .btn.btn-outline {
    border-color: rgba(255, 255, 255, 0.9);
    color: var(--white);
}
.cta-strip .btn.btn-outline:hover {
    background: rgba(255, 255, 255, 0.12);
}

footer { background: linear-gradient(to right, var(--primary-blue), var(--primary-blue-light)); color: white; padding: 50px 10%; text-align: center; }
.footer-details { margin-top: 20px; font-size: 0.9rem; opacity: 0.7; }

/* 404 Error Page */
.error-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    background: var(--light-blue-bg);
    padding: 20px;
    text-align: center;
}

.error-content {
    background: white;
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    width: 100%;
}

.error-icon {
    font-size: 5rem;
    color: var(--accent-gold);
    margin-bottom: 20px;
    animation: bounce 2s infinite;
}

.error-code {
    font-size: 6rem;
    color: var(--primary-blue);
    font-weight: 800;
    margin: 0;
    line-height: 1;
}

.error-title {
    font-size: 1.5rem;
    color: var(--primary-blue-dark);
    margin: 15px 0 20px;
}

.error-message {
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.error-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s ease;
}

.error-btn:hover {
    transform: translateY(-3px);
}

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

/* Mobile Menu Button */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1003; /* Ensure above backdrop and nav */
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-blue), var(--primary-blue-light));
    margin: 3px 0;
    transition: 0.4s;
    border-radius: 2px;
}

/* Menu Backdrop */
.menu-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}
.menu-backdrop.active {
    opacity: 1;
    pointer-events: all;
}

/* Media Queries */
@media screen and (max-width: 1024px) {
    header {
        padding: 0.5rem 4%;
    }
    .hero {
        padding: 0 6%;
    }
    section {
        padding: 80px 6%;
    }
    .team-grid,
    .products-grid,
    .mission-vision-grid {
        gap: 28px;
    }
    .team-card {
        padding: 34px;
    }
    .product-info {
        padding: 22px;
    }
    .cta-strip {
        padding: 60px 6%;
    }
}

@media screen and (max-width: 768px) {
    header {
        padding: 0.5rem 1.2rem;
    }

    .menu-toggle {
        display: flex;
    }
    
    .menu-backdrop {
        display: block; /* But hidden by opacity/pointer-events */
    }

    nav {
        position: fixed;
        top: 72px;
        right: calc(-100% - 18px);
        height: auto;
        max-height: calc(100vh - 92px);
        width: 75%;
        max-width: 320px;
        background: linear-gradient(to bottom, #ffffff, var(--light-blue-bg));
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        z-index: 1002;
        padding: 14px 0;
        display: flex;
        border: 1px solid rgba(197, 160, 89, 0.2);
        border-radius: 18px;
        overflow: auto;
        overscroll-behavior: contain;
    }

    nav.active {
        right: 12px;
    }

    nav a {
        margin: 8px 0;
        font-size: 1.05rem;
        margin-left: 0; /* Override default margin */
        color: var(--primary-blue);
        width: 100%;
        text-align: center;
        padding: 9px 0;
    }
    nav a:hover {
        color: var(--accent-gold);
        background: rgba(197, 160, 89, 0.05);
    }

    .hero {
        background-attachment: scroll;
    }
    .hero {
        height: auto;
        min-height: 78vh;
        padding: 0 5%;
    }
    .hero-actions {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    .hero-btn {
        width: 100%;
        max-width: 320px;
    }

    .about-layout {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .about-copy {
        padding: 26px;
    }
    
    /* Animation for hamburger to X */
    .menu-toggle.active .bar {
        background-color: var(--accent-gold);
    }
    .menu-toggle.active .bar:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active .bar:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    /* Adjust sections */
    .hero h1 {
        font-size: 2.5rem;
    }
    
    section {
        padding: 60px 5%;
    }

    .section-desc {
        font-size: 1rem;
        margin: 0 auto 26px auto;
    }

    .benefits-grid {
        gap: 16px;
    }
    .benefit-card {
        padding: 22px;
    }
    .cta-strip {
        padding: 50px 5%;
    }
    .cta-strip-inner {
        justify-content: center;
        text-align: center;
        flex-direction: column;
        align-items: center;
    }
    .cta-strip-actions {
        width: 100%;
        justify-content: center;
    }

    /* Make services more compact on tablet/mobile */
    .services-list {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }
    .service-item {
        padding: 30px 15px;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 22px;
    }
    .product-img-container {
        height: 210px;
    }
    .product-info {
        padding: 18px;
    }

    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 22px;
    }
    .team-card {
        padding: 26px;
    }

    .values-grid {
        margin-top: 18px;
        gap: 14px;
    }
    .value-card {
        padding: 18px;
    }

    .mission-vision-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 18px;
        margin-top: 34px;
    }
    .mv-card {
        padding: 26px;
    }

    /* Contact Section Responsive (Tablet/Mobile) */
    .contact-flex {
        flex-direction: column;
        gap: 30px;
    }
    
    .contact-info {
        width: 100%;
        min-width: 0;
        text-align: center;
        padding: 0 10px;
        order: -1;
    }
    
    .contact-info h2 {
        margin-bottom: 2rem;
    }

    .contact-form {
        width: 100%;
        min-width: 0;
        padding: 30px;
        margin-top: 10px;
    }
    
    .contact-form button {
        width: 100%;
    }
    
    .form-group input, 
    .form-group textarea {
        font-size: 16px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .section-desc {
        margin: -2.3rem auto 1.6rem auto;
        padding: 0 6px;
    }
}

@media screen and (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .logo-img {
        height: 60px;
    }

    nav {
        top: 66px;
        width: 86%;
        max-width: 340px;
        max-height: calc(100vh - 86px);
        padding: 12px 0;
    }
    nav.active {
        right: 10px;
    }
    nav a {
        margin: 6px 0;
        font-size: 1rem;
        padding: 8px 0;
    }

    .hero-btn {
        padding: 14px 22px;
        font-size: 1rem;
        min-width: 0;
    }
    
    .whatsapp-btn {
        width: 50px;
        height: 50px;
        font-size: 25px;
        bottom: 20px;
        right: 20px;
    }

    /* Very compact services grid for mobile (2 columns) */
    .services-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .service-item {
        padding: 20px 10px;
        font-size: 0.9rem;
    }
    
    .service-item i {
        width: 50px;
        height: 50px;
        font-size: 1.5rem !important;
        margin-bottom: 10px !important;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }
    .product-img-container {
        height: 190px;
    }
    .product-info h3 {
        font-size: 1.2rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .team-card {
        padding: 20px;
    }

    .cta-strip {
        padding: 44px 5%;
    }

    /* Better Mobile Forms */
    .contact-form {
        padding: 20px;
    }

    .form-status {
        left: 16px;
        right: 16px;
        bottom: 16px;
        max-width: none;
    }

    /* Compact Gallery for Mobile */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    /* Contact Section Responsive */
    /* Handled in 768px query, specific adjustments here if needed */
}

/* Load More Button Container */
.load-more-container {
    text-align: center;
    margin-top: 30px;
}
.gallery-item.hidden {
    display: none;
}
