/* Global Styles */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #0a192f; /* Dark blue - main background */
    color: #cdd6f4; /* Light grayish blue - main text */
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3 {
    font-family: 'Orbitron', sans-serif;
    color: #64ffda; /* Cyan / Light teal - accent for headers */
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    text-shadow: 0 0 15px rgba(100, 255, 218, 0.5);
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #64ffda;
    margin: 0.5rem auto 0;
    border-radius: 2px;
}

a {
    color: #8892b0; /* Lighter slate - for links */
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #64ffda;
}

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

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

/* Header & Navbar */
header {
    background-color: rgba(10, 25, 47, 0.85); /* Slightly transparent dark blue */
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-family: 'Orbitron', sans-serif;
    color: #64ffda;
}

#logo-img {
    width: 40px; /* Adjust as needed */
    height: 40px; /* Adjust as needed */
    margin-right: 10px;
    /* Temporary simple SVG as placeholder */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath fill='%2364ffda' d='M50 0L100 25V75L50 100L0 75V25L50 0ZM20 35V65L50 80L80 65V35L50 20L20 35Z'/%3E%3C/svg%3E");
    background-size: cover;
}

.nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin-left: 25px;
}

.nav-links a {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 1px;
}

/* Menu Toggle for Mobile */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: #64ffda;
    margin: 4px 0;
    transition: all 0.3s ease-in-out;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px; /* Account for fixed header */
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0a192f 0%, #112240 100%); /* Dark blue gradient */
}

.hero-animation-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(100, 255, 218, 0.1) 0%, transparent 30%),
        radial-gradient(circle at 80% 70%, rgba(79, 87, 255, 0.1) 0%, transparent 30%);
    animation: subtleShine 15s ease-in-out infinite alternate;
    z-index: 0;
}

@keyframes subtleShine {
    0% { opacity: 0.6; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.05); }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    animation: fadeInDown 1s ease-out 0.5s backwards;
}

.hero-content p {
    font-size: 1.2rem;
    color: #a8b2d1; /* Lighter slate for paragraph text */
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 1s backwards;
}

.cta-button {
    display: inline-block;
    background-color: transparent;
    color: #64ffda;
    border: 2px solid #64ffda;
    padding: 12px 30px;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
    animation: fadeInUp 1s ease-out 1.5s backwards;
}

.cta-button:hover {
    background-color: #64ffda;
    color: #0a192f;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(100, 255, 218, 0.3);
}

/* Content Sections */
.content-section {
    padding: 80px 0;
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

.alt-bg {
    background-color: #112240; /* Slightly Lighter Dark Blue */
}

/* Features Grid (About Section) */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.feature-item {
    background-color: rgba(17, 34, 64, 0.7); /* Semi-transparent card background */
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #1d3b53;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
    /* Temporary placeholder icons */
}

.feature-item h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.product-card {
    background-color: #0a192f;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #1d3b53;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(100, 255, 218, 0.1);
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background-color: #1d3b53; /* Placeholder if image fails */
}

.product-card h3 {
    font-size: 1.6rem;
    padding: 15px 20px 5px;
}

.product-card p {
    padding: 0 20px 20px;
    font-size: 0.95rem;
    color: #a8b2d1;
}

/* Technology Section */
.tech-showcase {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 20px;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.tech-image {
    width: 45%;
    min-width: 280px;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    object-fit: cover;
    height: 250px;
    border: 2px solid #64ffda;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    max-width: 600px;
    margin: 2rem auto 0;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px 15px;
    border-radius: 5px;
    border: 1px solid #1d3b53;
    background-color: #112240;
    color: #cdd6f4;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #8892b0;
}

.contact-form button {
    align-self: flex-start;
}

/* Footer */
footer {
    text-align: center;
    padding: 30px 20px;
    background-color: #0a192f;
    border-top: 1px solid #1d3b53;
    color: #8892b0;
}

.social-links img {
    width: 24px;
    height: 24px;
    margin: 0 10px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.social-links img:hover {
    opacity: 1;
}

/* --- NUEVAS SECCIONES --- */
/* Testimonios */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 2rem;
}

.testimonial-card {
    background: linear-gradient(135deg, #112240 70%, #1e3a5c 100%);
    border-radius: 10px;
    padding: 30px 25px;
    box-shadow: 0 6px 24px rgba(100,255,218,0.08);
    border: 1px solid #1d3b53;
    color: #cdd6f4;
    font-style: italic;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 16px 40px rgba(100,255,218,0.13);
}

.testimonial-author {
    display: block;
    margin-top: 1.2rem;
    font-style: normal;
    color: #64ffda;
    font-size: 1rem;
    font-family: 'Orbitron', sans-serif;
}

/* Proceso de Fabricación */
.process-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 24px;
    margin-top: 2.5rem;
}

.step {
    flex: 1 1 220px;
    background: #112240;
    border-radius: 10px;
    padding: 28px 20px;
    margin: 0 10px;
    min-width: 220px;
    max-width: 300px;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 20px rgba(100,255,218,0.06);
    border: 1px solid #1d3b53;
    transition: transform 0.3s, box-shadow 0.3s;
}

.step:hover {
    transform: scale(1.04);
    box-shadow: 0 8px 32px rgba(100,255,218,0.13);
}

.step-number {
    width: 46px;
    height: 46px;
    background: linear-gradient(135deg, #64ffda 70%, #4f57ff 100%);
    color: #0a192f;
    font-size: 2rem;
    font-family: 'Orbitron', sans-serif;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(100,255,218,0.15);
}

/* Galería */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin-top: 2.5rem;
}

.gallery-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(100,255,218,0.10);
    border: 2px solid #1d3b53;
    transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-img:hover {
    transform: scale(1.06) rotate(-2deg);
    box-shadow: 0 8px 30px rgba(100,255,218,0.17);
}

/* FAQ */
.faq-list {
    max-width: 700px;
    margin: 2rem auto 0 auto;
}

.faq-item {
    background: #112240;
    border-radius: 8px;
    margin-bottom: 16px;
    border: 1px solid #1d3b53;
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.faq-question {
    width: 100%;
    padding: 18px 20px;
    background: none;
    border: none;
    color: #64ffda;
    font-size: 1.2rem;
    font-family: 'Orbitron', sans-serif;
    text-align: left;
    cursor: pointer;
    outline: none;
    transition: background 0.3s;
    position: relative;
}

.faq-question:after {
    content: '+';
    position: absolute;
    right: 20px;
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.faq-item.active .faq-question:after {
    content: '-';
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    background: #1d3b53;
    color: #cdd6f4;
    font-size: 1rem;
    padding: 0 20px;
    transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1), padding 0.4s;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 15px 20px;
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(90deg, #64ffda 0%, #4f57ff 100%);
    color: #0a192f;
    text-align: center;
    padding: 60px 20px;
    margin: 0;
}

.cta-banner-content h2 {
    color: #0a192f;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.cta-banner-btn {
    background: #0a192f;
    color: #64ffda;
    border: 2px solid #0a192f;
    margin-top: 10px;
}

.cta-banner-btn:hover {
    background: #64ffda;
    color: #0a192f;
    border: 2px solid #64ffda;
}

/* --- RESPONSIVIDAD EXTRA --- */
@media (max-width: 1100px) {
    .process-steps {
        flex-direction: column;
        align-items: center;
    }
    .step {
        margin: 10px 0;
        max-width: 90vw;
    }
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
}
@media (max-width: 768px) {
    .testimonials-grid, .gallery-grid {
        grid-template-columns: 1fr;
    }
    .faq-question {
        font-size: 1rem;
        padding: 15px 12px;
    }
    .faq-answer {
        font-size: 0.95rem;
    }
    .cta-banner-content h2 {
        font-size: 1.4rem;
    }
    .cta-banner {
        padding: 35px 10px;
    }
}

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

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

/* Scroll Animations - to be triggered by JS */
.reveal {
    position: relative;
    transform: translateY(50px);
    opacity: 0;
    transition: all 1s ease-out;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 70px; /* Adjust based on header height */
        left: 0;
        background-color: rgba(10, 25, 47, 0.95); /* Darker, less transparent */
        padding: 1rem 0;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 1rem 0;
        text-align: center;
    }

    .menu-toggle {
        display: flex;
    }

    .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);
    }

    .hero-content p {
        font-size: 1rem;
    }

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

    .tech-image {
        width: 100%;
    }
}

/* Placeholder icons styling if you use text or simple shapes */
.feature-icon /*, .social-links img - if not using real SVGs */ {
    /* Example: if it's a div with background */
    background-color: #64ffda; /* Or use an SVG mask */
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    /* Add mask-image: url('path/to/icon.svg'); if you have separate SVGs */
}

/* Example SVGs for placeholders (embed if small, or link if complex) */
/* In HTML: <img src="./icon_innovation.svg" ... > */
/* Or, if you want to embed SVG for simpler icons directly for features: */
/* You'd create these files: icon_innovation.svg, icon_sustainability.svg, icon_efficiency.svg, icon_linkedin.svg, icon_twitter.svg */
/* For example, icon_innovation.svg might be: */
/* <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="#64ffda"><path d="M12 2c2.4 0 4.6.8 6.4 2.3l-1.3 1.3C15.8 4.5 14 4 12 4s-3.8.5-5.1 1.6L5.6 4.3C7.4 2.8 9.6 2 12 2zm0 18c-2.4 0-4.6-.8-6.4-2.3l1.3-1.3c1.3 1.1 3.1 1.6 5.1 1.6s3.8-.5 5.1-1.6l1.3 1.3c-1.8 1.5-4 2.3-6.4 2.3zm0-9c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-8 2c0-4.4 3.6-8 8-8s8 3.6 8 8-3.6 8-8 8-8-3.6-8-8zm2 0c0 3.3 2.7 6 6 6s6-2.7 6-6-2.7-6-6-6-6 2.7-6 6z"/></svg> */
