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

body {
    font-family: 'Montserrat', sans-serif;
    background-color: white;
    /* Changed from #f4f4f4 to white */
}

header {
    background-color: white;
    /* Clean white background */
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    /* Subtle shadow for depth */
}

/* Optional: Background Arrow Simulation (Placeholder) */
/* If the user wants a background pattern, we can add it here or via an image */
/* header {
    background-image: url('img/bg-arrow.png');
    background-size: cover;
} */

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100px;
}

/* Logo */
.logo img {
    max-height: 80px;
    width: auto;
}

/* Nav Styles */
nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    background: linear-gradient(90deg, #ff6b3d, #ff3d00);
    /* Orange gradient */
    padding: 15px 30px;
    /* More padding for a bolder look */
    border-radius: 50px;
    /* Rounded pill shape */
    box-shadow: 0 4px 15px rgba(255, 61, 0, 0.3);
    /* Orange glow shadow */
}

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

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    padding: 0 15px;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.nav-links a:hover {
    color: #fff;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
}

/* Separator lines */
.separator {
    width: 1px;
    height: 20px;
    background-color: rgba(255, 255, 255, 0.5);
    /* Semi-transparent white */
    margin: 0 5px;
    display: block;
    border: none;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #ff4500;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar-container {
        position: relative;
        padding: 0 20px;
    }

    .hamburger {
        display: block;
    }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        z-index: 1000;
    }

    .nav-links {
        display: none;
        /* Hidden by default on mobile */
        flex-direction: column;
        width: 100%;
        /* removed absolute positioning as parent nav handles it */
        background-color: white;
        /* Or orange if requested, but let's stick to white header extension or full overlay */
        /* User image shows Orange Background for the items? Or just buttons?
           Image shows: Solid Orange vertical block with links.
           Let's style it like the reference image. */
        background: linear-gradient(180deg, #ff6b3d, #ff3d00);
        margin-top: 0;
        padding: 20px 0;
        border-radius: 0 0 10px 10px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }

    .nav-links.active {
        display: flex;
        /* Show when active */
    }

    .separator {
        display: block;
        /* Keep separators in vertical mode? Or use different spacing?
                         Image shows "horizontal bars" between items. */
        width: 50%;
        height: 1px;
        background-color: rgba(255, 255, 255, 0.5);
        margin: 10px 0;
    }

    .nav-links li {
        margin: 10px 0;
        width: 100%;
        justify-content: center;
        flex-direction: column;
        /* To stack link and separator if needed */
    }

    .nav-links a {
        display: block;
        width: 100%;
        text-align: center;
        padding: 15px 0;
        font-size: 1.2rem;
    }
}

/* About Us Section */
.about-section {
    background: linear-gradient(90deg, #194F82 50%, #ff4500 50%);
    /* Sharp 50/50 Split */
    color: white;
    padding: 20px 0;
    /* Minimal padding */
    margin: 40px 20px 40px 0;
    /* Flush left (0), margin on right */
    border-radius: 0 100px 100px 0;
    /* Square left corners, rounded right corners */
    overflow: hidden;
    position: relative;
    /* Ensure positioning context for pseudo-element */
}

/* Orange Accent Removed */

.about-container {
    display: flex;
    max-width: 100%;
    /* Use full width of the section */
    margin: 0;
    /* Align left */
    align-items: center;
    /* Center vertically specifically for the image sizing */
    gap: 0;
    /* Remove gap to bring them closer if needed, or keep small */
    padding: 0;
    /* Remove all padding inside the blue box */
}

.about-image {
    flex: 0 0 45%;
    /* Explicit width to give it significant space */
    display: flex;
    justify-content: flex-start;
    /* Align image to the very left */
    align-items: center;
    position: relative;
    height: 100%;
    /* Ensure it takes full height of container */
}

.about-image img,
.about-image video {
    width: 100%;
    /* Force width */
    max-height: 110%;
    /* Allow it to overflow slightly if needed for "bigger" look */
    height: auto;
    object-fit: cover;
    /* or contain, depending on aspect ratio. user wants it Big */
    display: block;
    /* If transparent png, cover might cut it. Let's stick to width 100% and see. */
    /* mix-blend-mode: multiply; */
    /* Optional: if white bg needs to blend, but png is likely transparent */
}

.about-content {
    flex: 1;
    /* Take remaining space */
    padding: 20px 80px 20px 40px;
    /* Increased right padding for better readability */
    position: relative;
    z-index: 1;
    /* Ensure text is above vibration */
}

.info-block {
    margin-bottom: 25px;
}

.badge {
    background-color: #ff4500;
    /* Orange matching navbar */
    color: white;
    padding: 5px 15px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 10px;
}

.about-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: justify;
    font-weight: 400;
}

.about-content strong {
    font-weight: 700;
}

.about-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 30px;
}

.btn-outline {
    text-decoration: none;
    color: white;
    border: 1px solid white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background-color: white;
    color: #003366;
}

@media (max-width: 900px) {
    .about-container {
        flex-direction: column;
    }

    .about-image {
        flex: none;
        width: 100%;
        padding: 30px 20px 10px 20px;
        box-sizing: border-box;
    }

    .about-image video {
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    }

    .about-content {
        padding: 10px 30px 30px 30px;
    }

    .about-buttons {
        justify-content: center;
    }
}

/* Products Section */
.products-section {
    max-width: 100%;
    /* Allow full width */
    margin: 60px 0;
    /* Remove auto margin to avoid centering the container if width < 100% */
    padding: 0;
    /* Remove padding to align flush left */
}

.section-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
    padding-left: 0;
    /* Ensure flush left */
}

.section-arrow {
    height: 60px;
    /* Increased size for visibility */
    width: auto;
}

.section-header h2 {
    color: #003366;
    font-size: 2.5rem;
    /* Larger title */
    font-weight: 800;
    text-transform: uppercase;
    margin: 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    padding: 0 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.product-text-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
    padding: 20px 25px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    min-height: 90px;
}

.product-text-card .product-name {
    font-size: 1.3rem;
    font-weight: 400;
    line-height: 1.2;
    text-align: left;
    text-transform: uppercase;
}

.product-text-card i {
    font-size: 1.8rem;
    transform: rotate(-45deg);
    transition: transform 0.3s ease;
}

/* Style A: Blue border/shadow, Orange text/icon */
.card-style-a {
    border: 2px solid #003366;
    box-shadow: -6px 6px 0px #003366;
    color: #ff4500;
}
.card-style-a:hover {
    transform: translate(2px, -2px);
    box-shadow: -8px 8px 0px #003366;
}

/* Style B: Orange border/shadow, Blue text/icon */
.card-style-b {
    border: 2px solid #ff4500;
    box-shadow: -6px 6px 0px #ff4500;
    color: #003366;
}
.card-style-b:hover {
    transform: translate(2px, -2px);
    box-shadow: -8px 8px 0px #ff4500;
}

.product-text-card:hover i {
    transform: rotate(-45deg) translate(3px, -3px);
}

@media (max-width: 900px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .products-grid {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }

    .section-header {
        padding-left: 10px;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }
}

/* Contact Section Wrapper to handle background if needed, or just spacing */
.contact-section-wrapper {
    padding: 40px 20px 0 20px;
    background-color: transparent;
    /* Or white if sit on white */
}

/* The actual Blue rounded container */
.contact-section-inner {
    background-color: #003366;
    border-radius: 50px 50px 0 0;
    /* Rounded top corners */
    max-width: 1200px;
    /* Constrained width */
    margin: 0 auto;
    padding: 50px 40px;
    color: white;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.05);
    /* Subtle lift */
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    align-items: flex-start;
    /* Align top mostly */
}

/* Column 1: Map */
.contact-map-wrapper {
    height: 300px;
    border: 3px solid #ff4500;
    border-radius: 20px;
    /* Image shows clearly rounded corners */
    overflow: hidden;
    background-color: #fff;
}

/* Column 2: Form */
.contact-form-wrapper {
    background-color: transparent;
    /* Remove prev bg */
    padding: 0;
}

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

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 10px;
    /* Rounded inputs */
    font-family: 'Montserrat', sans-serif;
    background-color: #f0f0f0;
    /* Light gray background */
    color: #333;
    font-size: 0.9rem;
    font-weight: 700;
    /* Bold placeholder text style */
    text-transform: uppercase;
}

.contact-form textarea {
    resize: none;
    height: 120px;
}

/* Styling placeholders to look like the image (Light gray text) */
::placeholder {
    color: #999;
    opacity: 1;
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background-color: #ff4500;
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 800;
    cursor: pointer;
    margin-top: 10px;
}

/* Column 3: Info & Logo */
.contact-info-wrapper {
    text-align: left;
    /* Left align text */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Left align items */
    padding-left: 20px;
}

.contact-logo {
    max-width: 180px;
    margin-bottom: 30px;
    align-self: center;
    /* Center logo in column */
}

.contact-details {
    margin-bottom: 30px;
    width: 100%;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
}

.contact-item:hover {
    color: #ff4500;
    text-decoration: none;
}

.contact-item i {
    font-size: 1.2rem;
    width: 25px;
    /* Fixed width for icons aligned */
    text-align: center;
    color: white;
    /* Explicitly set to white */
}

.address-box-bottom {
    font-size: 0.75rem;
    /* Small text for address */
    line-height: 1.4;
    text-align: left;
    width: 100%;
    opacity: 0.9;
    font-weight: 600;
    text-transform: uppercase;
}

/* Responsive */
@media (max-width: 900px) {
    .contact-section-inner {
        width: 95%;
        /* Almost full width on mobile */
        padding: 30px 20px;
        border-radius: 30px 30px 0 0;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-info-wrapper {
        align-items: center;
        text-align: center;
        padding-left: 0;
    }

    .contact-item {
        justify-content: center;
    }
}

/* --- MODAL FOR PRODUCTS --- */
.modal {
    display: none; 
    position: fixed; 
    z-index: 2000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow-y: auto; 
    background-color: rgba(0,0,0,0.6); 
    backdrop-filter: blur(4px);
    padding: 50px 20px;
}

.modal-content {
    background-color: transparent;
    margin: auto;
    max-width: 900px;
    width: 100%;
    position: relative;
}

.close-button {
    color: white;
    position: absolute;
    top: -40px;
    right: 0;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
}
.close-button:hover { color: #f1f1f1; }

.modal-header {
    display: flex;
    align-items: stretch;
    margin-bottom: 25px;
    border-radius: 10px;
    overflow: hidden;
}

.modal-header h2 {
    background-color: #ff4500;
    color: white;
    margin: 0;
    padding: 15px 30px;
    font-size: 2rem;
    font-weight: 800;
    text-transform: uppercase;
    flex-grow: 1;
}

.modal-icon {
    background-color: #003366;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 30px;
    font-size: 1.8rem;
}

/* Accordion */
.accordion-item {
    background-color: #ffffff;
    border: 2px solid #ccc;
    border-radius: 12px;
    margin-bottom: 20px;
}

.accordion-header {
    background-color: #003366;
    color: white;
    padding: 15px 25px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    border-radius: 10px;
    transition: border-radius 0.3s ease;
}

.accordion-item.active .accordion-header {
    border-radius: 10px 10px 0 0;
}

.accordion-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
}

.accordion-icon {
    background-color: white;
    color: #003366;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    display: none;
    padding: 25px;
    background-color: white;
    border-radius: 0 0 10px 10px;
}

/* Inner Cards Grid */
.inner-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 20px;
}

.inner-card {
    background-color: white;
    border-radius: 10px;
    border: 1px solid #ddd;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.inner-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

.card-placeholder {
    height: 120px;
    background-color: #f9f9f9;
}

/* Badges */
.card-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    color: white;
    font-size: 0.6rem;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    z-index: 2;
}
.badge-orange { background-color: #ff4500; }
.badge-blue { background-color: #002244; }

/* Bottom Ribbons */
.card-bottom {
    display: flex;
    flex-direction: column;
    padding: 10px 15px;
}

.inner-cat {
    font-size: 0.65rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.card-bottom h4 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 800;
    text-transform: uppercase;
}

/* Color Themes */
.card-indicativo .card-bottom {
    background-color: #003366;
    color: white;
}
.card-intermedio .card-bottom {
    background-color: #fce83f; 
    color: #333;
}
.card-alta .card-bottom {
    background-color: #cc1b1b;
    color: white;
}

@media (max-width: 600px) {
    .modal-header h2 { font-size: 1.4rem; padding: 15px; }
    .modal-icon { padding: 0 20px; }
    .inner-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- FICHA TÉCNICA MODAL --- */
.modal-ficha {
    max-width: 900px;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.ficha-close {
    top: 10px;
    right: 20px;
    z-index: 10;
    color: #333;
}
.ficha-close:hover {
    color: #ff4500;
}
.ficha-header-top {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: 5px;
    position: relative;
    padding-right: 10px;
}
.ficha-line {
    flex-grow: 1;
    height: 2px;
    background-color: #ff4500;
    margin-right: 20px;
    margin-left: 20px;
}
.ficha-title-wrap {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #003366;
}
.ficha-title-wrap i {
    font-size: 2.2rem;
}
.ficha-title-wrap h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0;
    line-height: 1;
}

.ficha-card {
    background-color: white;
    box-shadow: -8px 8px 0px #ff4500;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    overflow: hidden; 
    position: relative;
}

/* Red Badge */
.ficha-security-badge {
    background-color: #cc1b1b;
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 15px 30px;
    border-radius: 20px 0 0 0;
    position: absolute;
    bottom: 0;
    right: 0;
}

.ficha-blue-bar {
    background-color: #003366;
    color: white;
    padding: 25px 40px;
    text-align: left;
}
.ficha-subtitle {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 5px;
    display: block;
}
.ficha-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin: 0;
    line-height: 1;
}

.ficha-main {
    display: flex;
    padding: 40px;
    gap: 40px;
    position: relative;
    min-height: 400px;
    padding-bottom: 80px; /* Space for the bottom-right badge */
}

.ficha-image-area {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}
.placeholder-img-ficha {
    width: 100%;
    height: 100%;
    min-height: 300px;
    background-color: #f0f0f0;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #999;
    font-weight: bold;
}

.ficha-specs-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 25px;
    z-index: 1; 
}

.ficha-spec-item h4 {
    color: #666;
    font-size: 1rem;
    margin: 0 0 5px 0;
    font-weight: 600;
}
.ficha-spec-item p {
    color: #333;
    font-size: 1.1rem;
    margin: 0;
    line-height: 1.4;
}

.colors-spec h4 {
    margin-bottom: 10px;
    color: #333;
    font-weight: 800;
    font-size: 1.2rem;
}
.color-swatches {
    display: flex;
    gap: 10px;
}
.swatch {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-block;
}

/* Ficha List Styles */
.ficha-specs-area ul {
    list-style: none;
    padding: 0;
    margin: 5px 0 0 0;
}
.ficha-specs-area li {
    font-size: 1rem;
    color: #333;
    position: relative;
    padding-left: 15px;
    margin-bottom: 3px;
    font-weight: 500;
}
.ficha-specs-area li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #ff4500;
}

@media (max-width: 768px) {
    .ficha-main {
        flex-direction: column;
        padding: 20px;
        padding-bottom: 80px; 
    }
    .ficha-security-badge {
        font-size: 1.1rem;
        padding: 10px 20px;
    }
    .ficha-title-wrap h2 { font-size: 1.8rem; }
    .ficha-title { font-size: 1.6rem; }
}

/* --- SOCIAL LINKS --- */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    color: white;
    background-color: #ff4500;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    transform: translateY(-5px);
    background-color: white;
    color: #ff4500;
}

/* --- PRIVACY MODAL --- */
.privacy-modal-content {
    background-color: white;
    border-radius: 20px;
    overflow: hidden;
    padding: 0;
}

.privacy-body {
    padding: 40px;
    max-height: 70vh;
    overflow-y: auto;
    color: #333;
    line-height: 1.6;
}

.privacy-body h3 {
    color: #003366;
    margin-bottom: 20px;
    text-align: center;
}

.privacy-body h4 {
    margin: 25px 0 10px 0;
    color: #003366;
    border-bottom: 2px solid #ff4500;
    display: inline-block;
}

.privacy-body p {
    margin-bottom: 15px;
    text-align: justify;
}

.privacy-body ul, .privacy-body ol {
    margin-bottom: 15px;
    padding-left: 20px;
}

.privacy-body li {
    margin-bottom: 8px;
}

.privacy-body a {
    color: #ff4500;
    text-decoration: none;
}

.privacy-body a:hover {
    text-decoration: underline;
}

.privacy-close {
    color: #003366 !important;
}

@media (max-width: 600px) {
    .social-links {
        justify-content: center;
    }
}

/* Ficha Download Button */
.ficha-download-container {
    margin-top: 30px;
    display: flex;
    justify-content: flex-start;
}

.ficha-download-btn {
    background-color: #002060;
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 32, 96, 0.2);
}

.ficha-download-btn i {
    font-size: 1.1rem;
}

.ficha-download-btn:hover {
    background-color: #003399;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 32, 96, 0.3);
}

.ficha-download-btn:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .ficha-download-btn {
        width: 100%;
        justify-content: center;
    }
}